@livetiles/reach-components-react 0.4.0-preview.758 → 0.4.0-preview.759
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
|
@@ -113,7 +113,7 @@ var XU=function(){return XU=Object.assign||function(e){for(var t,n=1,i=arguments
|
|
|
113
113
|
object-assign
|
|
114
114
|
(c) Sindre Sorhus
|
|
115
115
|
@license MIT
|
|
116
|
-
*/function FH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var EH=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=FH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))kH.call(n,a)&&(r[a]=n[a]);if(wH){i=wH(n);for(var s=0;s<i.length;s++)xH.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},CH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",SH=function(){};if("production"!==ma.env.NODE_ENV){var OH=CH,DH={},PH=Function.call.bind(Object.prototype.hasOwnProperty);SH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function TH(e,t,n,i,r){if("production"!==ma.env.NODE_ENV)for(var o in e)if(PH(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]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,OH)}catch(e){a=e}if(!a||a instanceof Error||SH((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 DH)){DH[a.message]=!0;var l=r?r():"";SH("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}TH.resetWarningCache=function(){"production"!==ma.env.NODE_ENV&&(DH={})};var AH=TH,LH=w.default,IH=EH,MH=CH,jH=AH,RH=Function.call.bind(Object.prototype.hasOwnProperty),NH=function(){};function zH(){return null}"production"!==ma.env.NODE_ENV&&(NH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function BH(){}function GH(){}GH.resetWarningCache=BH;if("production"!==ma.env.NODE_ENV){var UH=w.default;_H.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(zH),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 `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",MH);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 `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return LH.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(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 u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(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(RH(s,u)){var d=e(s,u,i,r,o+"."+u,MH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==ma.env.NODE_ENV&&NH(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."),zH;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"===d(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"!==ma.env.NODE_ENV&&NH("Invalid argument supplied to oneOfType, expected an instance of array."),zH;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return NH("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),zH}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,MH))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var h=d(s,u,i,r,o+"."+u,MH);if(h)return h}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=IH({},t[n],e);for(var d in u){var h=e[d];if(!h)return new a("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=h(s,d,i,r,o+"."+d,MH);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==ma.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==MH){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==ma.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(NH("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[p]=!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 c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(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 d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function h(e){var t=d(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=jH,r.resetWarningCache=jH.resetWarningCache,r.PropTypes=r,r}(UH.isElement,!0)}else _H.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,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:GH,resetWarningCache:BH};return n.PropTypes=n,n}();var qH=_H.exports,WH=!1,HH="production"!==ma.env.NODE_ENV?qH.oneOfType([qH.number,qH.shape({enter:qH.number,exit:qH.number,appear:qH.number}).isRequired]):null;"production"!==ma.env.NODE_ENV&&qH.oneOfType([qH.string,qH.shape({enter:qH.string,exit:qH.string,active:qH.string}),qH.shape({enter:qH.string,enterDone:qH.string,enterActive:qH.string,exit:qH.string,exitDone:qH.string,exitActive:qH.string})]);var QH=m.default.createContext(null),VH="unmounted",YH="exited",KH="entering",$H="entered",ZH="exiting",XH=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=YH,i.appearStatus=KH):r=$H:r=t.unmountOnExit||t.mountOnEnter?VH:YH,i.state={status:r},i.nextCallback=null,i}bH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===VH?{status:YH}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==KH&&n!==$H&&(t=KH):n!==KH&&n!==$H||(t=ZH)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===KH?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===YH&&this.setState({status:VH})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[b.default.findDOMNode(this),i],o=r[0],a=r[1],s=this.getTimeouts(),l=i?s.appear:s.enter;!e&&!n||WH?this.safeSetState({status:$H},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:KH},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:$H},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:b.default.findDOMNode(this);t&&!WH?(this.props.onExit(i),this.safeSetState({status:ZH},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:YH},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:YH},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:b.default.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],a=r[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===VH)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var i=vH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.default.createElement(QH.Provider,{value:null},"function"==typeof n?n(e,i):m.default.cloneElement(m.default.Children.only(n),i))},t}(m.default.Component);function JH(){}XH.contextType=QH,XH.propTypes="production"!==ma.env.NODE_ENV?{nodeRef:qH.shape({current:"undefined"==typeof Element?qH.any:function(e,t,n,i,r,o){var a=e[t];return qH.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,i,r,o)}}),children:qH.oneOfType([qH.func.isRequired,qH.element.isRequired]).isRequired,in:qH.bool,mountOnEnter:qH.bool,unmountOnExit:qH.bool,appear:qH.bool,enter:qH.bool,exit:qH.bool,timeout:function(e){var t=HH;e.addEndListener||(t=t.isRequired);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.apply(void 0,[e].concat(i))},addEndListener:qH.func,onEnter:qH.func,onEntering:qH.func,onEntered:qH.func,onExit:qH.func,onExiting:qH.func,onExited:qH.func}:{},XH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:JH,onEntering:JH,onEntered:JH,onExit:JH,onExiting:JH,onExited:JH},XH.UNMOUNTED=VH,XH.EXITED=YH,XH.ENTERING=KH,XH.ENTERED=$H,XH.EXITING=ZH;var eQ=XH;function tQ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nQ(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&i.isValidElement(e)?t(e):e}(e)})),n}function iQ(e,t,n){return null!=n[t]?n[t]:e.props[t]}function rQ(e,t,n){var r=nQ(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,r=Object.create(null),o=[];for(var a in e)a in t?o.length&&(r[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var u=r[l][i];s[r[l][i]]=n(u)}s[l]=n(l)}for(i=0;i<o.length;i++)s[o[i]]=n(o[i]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if(i.isValidElement(s)){var l=a in t,u=a in r,c=t[a],d=i.isValidElement(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&i.isValidElement(c)&&(o[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:c.props.in,exit:iQ(s,"exit",e),enter:iQ(s,"enter",e)})):o[a]=i.cloneElement(s,{in:!1}):o[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:iQ(s,"exit",e),enter:iQ(s,"enter",e)})}})),o}var oQ=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},aQ=function(e){function t(t,n){var i,r=(i=e.call(this,t,n)||this).handleExited.bind(tQ(i));return i.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},i}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,nQ(n.children,(function(e){return i.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:iQ(e,"appear",n),enter:iQ(e,"enter",n),exit:iQ(e,"exit",n)})}))):rQ(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=nQ(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=mH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=vH(e,["component","childFactory"]),r=this.state.contextValue,o=oQ(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?m.default.createElement(QH.Provider,{value:r},o):m.default.createElement(QH.Provider,{value:r},m.default.createElement(t,i,o))},t}(m.default.Component);aQ.propTypes="production"!==ma.env.NODE_ENV?{component:qH.any,children:qH.node,appear:qH.bool,enter:qH.bool,exit:qH.bool,childFactory:qH.func}:{},aQ.defaultProps={component:"div",childFactory:function(e){return e}};var sQ=aQ,lQ={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},uQ={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},cQ=0,dQ=1,hQ=2,fQ=3,pQ=4,gQ=function(){};function mQ(e){return"number"==typeof e&&!isNaN(e)&&e>0}function vQ(e){return Object.keys(e).map((function(t){return e[t]}))}var yQ=!("undefined"==typeof window||!window.document||!window.document.createElement);var bQ,_Q=((bQ=function(e,t,n){var i=e[t];return!1===i||mQ(i)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+i+" given.")}).isRequired=function(e,t,n){if(void 0===e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");bQ(e,t,n)},bQ),wQ={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach((function(e){return clearTimeout(e)})),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];this.list.has(e)&&this.list.get(e).forEach((function(n){var r=setTimeout((function(){n.apply(void 0,i)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(r)}))}};function kQ(e){var t=e.enter,n=e.exit,i=e.duration,r=void 0===i?750:i,o=e.appendPosition,a=void 0!==o&&o;return function(e){var i,o,s=e.children,l=e.position,u=e.preventExitTransition,c=vH(e,["children","position","preventExitTransition"]),d=a?t+"--"+l:t,h=a?n+"--"+l:n;Array.isArray(r)&&2===r.length?(i=r[0],o=r[1]):i=o=r;return m.default.createElement(eQ,mH({},c,{timeout:u?0:{enter:i,exit:o},onEnter:function(e){e.classList.add(d),e.style.animationFillMode="forwards",e.style.animationDuration=.001*i+"s"},onEntered:function(e){e.classList.remove(d),e.style.cssText=""},onExit:u?gQ:function(e){e.classList.add(h),e.style.animationFillMode="forwards",e.style.animationDuration=.001*o+"s"}}),s)}}function xQ(e){var t,n,i=e.delay,r=e.isRunning,o=e.closeToast,a=e.type,s=e.hide,l=e.className,u=e.style,c=e.controlledProgress,d=e.progress,h=e.rtl,f=mH({},u,{animationDuration:i+"ms",animationPlayState:r?"running":"paused",opacity:s?0:1,transform:c?"scaleX("+d+")":null}),p=Yq("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+a,((t={})["Toastify__progress-bar--rtl"]=h,t),l),g=((n={})[c&&d>=1?"onTransitionEnd":"onAnimationEnd"]=c&&d<1?null:o,n);return m.default.createElement("div",mH({className:p,style:f},g))}function FQ(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function EQ(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}xQ.propTypes={delay:_Q.isRequired,isRunning:qH.bool.isRequired,closeToast:qH.func.isRequired,rtl:qH.bool.isRequired,type:qH.string,hide:qH.bool,className:qH.oneOfType([qH.string,qH.object]),progress:qH.number,controlledProgress:qH.bool},xQ.defaultProps={type:uQ.DEFAULT,hide:!1};var CQ=yQ&&/(msie|trident)/i.test(navigator.userAgent),SQ=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={isRunning:!0,preventExitTransition:!1},t.flag={canCloseOnClick:!0,canDrag:!1},t.drag={start:0,x:0,y:0,deltaX:0,removalDistance:0},t.boundingRect=null,t.ref=null,t.pauseToast=function(){t.props.autoClose&&t.setState({isRunning:!1})},t.playToast=function(){t.props.autoClose&&t.setState({isRunning:!0})},t.onDragStart=function(e){t.flag.canCloseOnClick=!0,t.flag.canDrag=!0,t.boundingRect=t.ref.getBoundingClientRect(),t.ref.style.transition="",t.drag.start=t.drag.x=FQ(e.nativeEvent),t.drag.removalDistance=t.ref.offsetWidth*(t.props.draggablePercent/100)},t.onDragMove=function(e){t.flag.canDrag&&(t.state.isRunning&&t.pauseToast(),t.drag.x=FQ(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=EQ(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}},t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,i=e.bottom,r=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=r&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=i?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(CQ)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame((function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame((function(){n.height=0,n.padding=0,n.margin=0})),setTimeout((function(){return t.props.onExited()}),400)}))}},t}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e,t=this,n=this.props,i=n.closeButton,r=n.children,o=n.autoClose,a=n.pauseOnHover,s=n.onClick,l=n.closeOnClick,u=n.type,c=n.hideProgressBar,d=n.closeToast,h=n.transition,f=n.position,p=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,_=n.role,w=n.progress,k=n.rtl,x={className:Yq("Toastify__toast","Toastify__toast--"+u,(e={},e["Toastify__toast--rtl"]=k,e),p)};o&&a&&(x.onMouseEnter=this.pauseToast,x.onMouseLeave=this.playToast),l&&(x.onClick=function(e){s&&s(e),t.flag.canCloseOnClick&&d()});var F=parseFloat(w)===w;return m.default.createElement(h,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:f,preventExitTransition:this.state.preventExitTransition},m.default.createElement("div",mH({onClick:s},x,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),m.default.createElement("div",mH({},this.props.in&&{role:_},{className:Yq("Toastify__toast-body",g)}),r),i&&i,(o||F)&&m.default.createElement(xQ,mH({},b&&!F?{key:"pb-"+b}:{},{rtl:k,delay:o,isRunning:this.state.isRunning,closeToast:d,hide:c,type:u,style:y,className:v,controlledProgress:F,progress:w}))))},t}(i.Component);function OQ(e){var t=e.closeToast,n=e.type,i=e.ariaLabel;return m.default.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":i},"✖︎")}SQ.propTypes={closeButton:qH.oneOfType([qH.node,qH.bool]).isRequired,autoClose:_Q.isRequired,children:qH.node.isRequired,closeToast:qH.func.isRequired,position:qH.oneOf(vQ(lQ)).isRequired,pauseOnHover:qH.bool.isRequired,pauseOnFocusLoss:qH.bool.isRequired,closeOnClick:qH.bool.isRequired,transition:qH.func.isRequired,rtl:qH.bool.isRequired,hideProgressBar:qH.bool.isRequired,draggable:qH.bool.isRequired,draggablePercent:qH.number.isRequired,in:qH.bool,onExited:qH.func,onOpen:qH.func,onClose:qH.func,type:qH.oneOf(vQ(uQ)),className:qH.oneOfType([qH.string,qH.object]),bodyClassName:qH.oneOfType([qH.string,qH.object]),progressClassName:qH.oneOfType([qH.string,qH.object]),progressStyle:qH.object,progress:qH.number,updateId:qH.oneOfType([qH.string,qH.number]),ariaLabel:qH.string,containerId:qH.oneOfType([qH.string,qH.number]),role:qH.string},SQ.defaultProps={type:uQ.DEFAULT,in:!0,onOpen:gQ,onClose:gQ,className:null,bodyClassName:null,progressClassName:null,updateId:null},OQ.propTypes={closeToast:qH.func,arialLabel:qH.string},OQ.defaultProps={ariaLabel:"close"};var DQ=kQ({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),PQ=kQ({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});kQ({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),kQ({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var TQ=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;wQ.cancelEmit(fQ).on(cQ,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(dQ,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(hQ,this)},n.componentWillUnmount=function(){wQ.emit(fQ,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){wQ.emit(pQ,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,o=this.props.closeButton;return i.isValidElement(e)||!1===e?o=e:!0===e&&(o=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:m.default.createElement(OQ,null)),!1!==o&&i.cloneElement(o,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||mQ(e)?e:this.props.autoClose},n.canBeRendered=function(e){return i.isValidElement(e)||"string"==typeof e||"number"==typeof e||"function"==typeof e},n.parseClassName=function(e){return"string"==typeof e?e:null!==e&&"object"==typeof e&&"toString"in e?e.toString():null},n.belongToContainer=function(e){return e.containerId===this.props.containerId},n.buildToast=function(e,t){var n=this,r=t.delay,o=vH(t,["delay"]);if(!this.canBeRendered(e))throw new Error("The element you provided cannot be rendered. You provided an element of type "+typeof e);var a=o.toastId,s=o.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(o)||this.isToastActive(a)&&null==s)){var l=function(){return n.removeToast(a)},u={id:a,key:o.key||this.toastKey++,type:o.type,closeToast:l,updateId:o.updateId,rtl:this.props.rtl,position:o.position||this.props.position,transition:o.transition||this.props.transition,className:this.parseClassName(o.className||this.props.toastClassName),bodyClassName:this.parseClassName(o.bodyClassName||this.props.bodyClassName),onClick:o.onClick||this.props.onClick,closeButton:this.makeCloseButton(o.closeButton,a,o.type),pauseOnHover:"boolean"==typeof o.pauseOnHover?o.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof o.pauseOnFocusLoss?o.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof o.draggable?o.draggable:this.props.draggable,draggablePercent:"number"!=typeof o.draggablePercent||isNaN(o.draggablePercent)?this.props.draggablePercent:o.draggablePercent,closeOnClick:"boolean"==typeof o.closeOnClick?o.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(o.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(o.autoClose),hideProgressBar:"boolean"==typeof o.hideProgressBar?o.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(o.progress),role:"string"==typeof o.role?o.role:this.props.role};"function"==typeof o.onOpen&&(u.onOpen=o.onOpen),"function"==typeof o.onClose&&(u.onClose=o.onClose),i.isValidElement(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=i.cloneElement(e,{closeToast:l}):"function"==typeof e&&(e=e({closeToast:l})),mQ(r)?setTimeout((function(){n.appendToast(u,e,o.staleToastId)}),r):this.appendToast(u,e,o.staleToastId)}},n.appendToast=function(e,t,n){var i,r=e.id,o=e.updateId;this.collection=mH({},this.collection,((i={})[r]={options:e,content:t,position:e.position},i)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[r])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,i=n.className,r=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var i=e.collection[n],r=i.position,o=i.options,a=i.content;t[r]||(t[r]=[]),-1!==e.state.toast.indexOf(o.id)?t[r].push(m.default.createElement(SQ,mH({},o,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+o.key}),a)):(t[r].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var o,a=1===t[n].length&&null===t[n][0],s={className:Yq("Toastify__toast-container","Toastify__toast-container--"+n,(o={},o["Toastify__toast-container--rtl"]=e.props.rtl,o),e.parseClassName(i)),style:a?mH({},r,{pointerEvents:"none"}):mH({},r)};return m.default.createElement(sQ,mH({},s,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return m.default.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(i.Component);TQ.propTypes={position:qH.oneOf(vQ(lQ)),autoClose:_Q,closeButton:qH.oneOfType([qH.node,qH.bool]),hideProgressBar:qH.bool,pauseOnHover:qH.bool,closeOnClick:qH.bool,newestOnTop:qH.bool,className:qH.oneOfType([qH.string,qH.object]),style:qH.object,toastClassName:qH.oneOfType([qH.string,qH.object]),bodyClassName:qH.oneOfType([qH.string,qH.object]),progressClassName:qH.oneOfType([qH.string,qH.object]),progressStyle:qH.object,transition:qH.func,rtl:qH.bool,draggable:qH.bool,draggablePercent:qH.number,pauseOnFocusLoss:qH.bool,enableMultiContainer:qH.bool,containerId:qH.oneOfType([qH.string,qH.number]),role:qH.string,onClick:qH.func},TQ.defaultProps={position:lQ.TOP_RIGHT,transition:DQ,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:m.default.createElement(OQ,null),pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,className:null,style:null,toastClassName:null,bodyClassName:null,progressClassName:null,progressStyle:null,role:"alert"};var AQ=new Map,LQ=null,IQ=null,MQ={},jQ=[],RQ=!1;function NQ(){return AQ.size>0}function zQ(e,t){var n=function(e){return NQ()?e?AQ.get(e):AQ.get(LQ):null}(t.containerId);if(!n)return null;var i=n.collection[e];return void 0===i?null:i}function BQ(e,t){return mH({},e,{type:t,toastId:UQ(e)})}function GQ(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function UQ(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:GQ()}function qQ(e,t){return NQ()?wQ.emit(cQ,e,t):(jQ.push({action:cQ,content:e,options:t}),RQ&&yQ&&(RQ=!1,IQ=document.createElement("div"),document.body.appendChild(IQ),s.render(m.default.createElement(TQ,MQ),IQ))),t.toastId}var WQ=function(e,t){return qQ(e,BQ(t,t&&t.type||uQ.DEFAULT))},HQ=function(e){uQ[e]!==uQ.DEFAULT&&(WQ[uQ[e].toLowerCase()]=function(t,n){return qQ(t,BQ(n,n&&n.type||uQ[e]))})};for(var QQ in uQ)HQ(QQ);function VQ(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}WQ.warn=WQ.warning,WQ.dismiss=function(e){return void 0===e&&(e=null),NQ()&&wQ.emit(dQ,e)},WQ.isActive=function(e){var t=!1;return AQ.size>0&&AQ.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},WQ.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=zQ(e,t);if(n){var i=n.options,r=n.content,o=mH({},i,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=GQ();var a=void 0!==o.render?o.render:r;delete o.render,qQ(a,o)}}),0)},WQ.done=function(e){WQ.update(e,{progress:1})},WQ.onChange=function(e){"function"==typeof e&&wQ.on(pQ,e)},WQ.configure=function(e){RQ=!0,MQ=e},WQ.POSITION=lQ,WQ.TYPE=uQ,wQ.on(hQ,(function(e){LQ=e.props.containerId||e,AQ.set(LQ,e),jQ.forEach((function(e){wQ.emit(e.action,e.content,e.options)})),jQ=[]})).on(fQ,(function(e){e?AQ.delete(e.props.containerId||e):AQ.clear(),0===AQ.size&&wQ.off(cQ).off(dQ),yQ&&IQ&&document.body.removeChild(IQ)}));VQ(".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}");var YQ=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new KQ(e,this.selector,this.caught))},e}(),KQ=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.selector=n,r.caught=i,r}return xo(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var i=new GW(this,void 0,void 0);this.add(i),VW(this,n,void 0,void 0,i)}},t}(BW);function $Q(e,t){return void 0===t&&(t=MW),function(n){return n.lift(new ZQ(e,t))}}var ZQ=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new XQ(e,this.dueTime,this.scheduler))},e}(),XQ=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return xo(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(JQ,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(sW);function JQ(e){e.debouncedNext()}var eV=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new tV(e,this.callback))},e}(),tV=function(e){function t(t,n){var i=e.call(this,t)||this;return i.add(new rW(n)),i}return xo(t,e),t}(sW);var nV=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(e);return r.add(t.subscribe(i)),r},e}();function iV(){return new vW}function rV(e,t){return"function"==typeof t?function(n){return n.pipe(rV((function(n,i){return KW(e(n,i)).pipe(RW((function(e,r){return t(n,e,i,r)})))})))}:function(t){return t.lift(new oV(e))}}var oV=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new aV(e,this.project))},e}(),aV=function(e){function t(t,n){var i=e.call(this,t)||this;return i.project=n,i.index=0,i}return xo(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new GW(this,void 0,void 0);this.destination.add(r),this.innerSubscription=VW(this,e,t,n,r)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,i,r){this.destination.next(t)},t}(BW);function sV(e,t,n){return function(i){return i.lift(new lV(e,t,n))}}var lV=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new uV(e,this.nextOrObserver,this.error,this.complete))},e}(),uV=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._tapNext=cW,o._tapError=cW,o._tapComplete=cW,o._tapError=i||cW,o._tapComplete=r||cW,Kq(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cW,o._tapError=n.error||cW,o._tapComplete=n.complete||cW),o}return xo(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(sW),cV=function(e,t){return cV=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},cV(e,t)};var dV=function(){return dV=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},dV.apply(this,arguments)};function hV(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 fV(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 pV(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 gV(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function mV(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var vV,yV,bV,_V,wV=o.createGlobalStyle(vV||(vV=mV(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),kV=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},xV=function(e){return o.css(yV||(yV=mV(["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"],["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"])),e&&"height: 10px;",e&&"height: 10px;",e?"100%":"10px")},FV=o.createGlobalStyle(bV||(bV=mV(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"])),(function(e){return e.theme.textColors.default}),xV(!0),xV()),EV=Yq(["browser-version-"+lm,"browser-name-"+sm],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(_V||(_V={}));var CV="Language",SV="Locale";function OV(){var e=bE();return i.useMemo((function(){return{getLocalLanguage:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){switch(t.label){case 0:return[4,e.getString(CV)];case 1:return[2,hk(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.setString(CV,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.setString(SV,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.getString(SV)]}))}))}}}),[e])}var DV="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},PV=function(e){return e&&e.Math==Math&&e},TV=PV("object"==typeof globalThis&&globalThis)||PV("object"==typeof window&&window)||PV("object"==typeof self&&self)||PV("object"==typeof DV&&DV)||Function("return this")(),AV={},LV=function(e){try{return!!e()}catch(e){return!0}},IV=!LV((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),MV={},jV={}.propertyIsEnumerable,RV=Object.getOwnPropertyDescriptor,NV=RV&&!jV.call({1:2},1);MV.f=NV?function(e){var t=RV(this,e);return!!t&&t.enumerable}:jV;var zV=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},BV={}.toString,GV=function(e){return BV.call(e).slice(8,-1)},UV=GV,qV="".split,WV=LV((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==UV(e)?qV.call(e,""):Object(e)}:Object,HV=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},QV=WV,VV=HV,YV=function(e){return QV(VV(e))},KV=function(e){return"object"==typeof e?null!==e:"function"==typeof e},$V=KV,ZV=function(e,t){if(!$V(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!$V(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!$V(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!$V(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},XV={}.hasOwnProperty,JV=function(e,t){return XV.call(e,t)},eY=KV,tY=TV.document,nY=eY(tY)&&eY(tY.createElement),iY=function(e){return nY?tY.createElement(e):{}},rY=iY,oY=!IV&&!LV((function(){return 7!=Object.defineProperty(rY("div"),"a",{get:function(){return 7}}).a})),aY=IV,sY=MV,lY=zV,uY=YV,cY=ZV,dY=JV,hY=oY,fY=Object.getOwnPropertyDescriptor;AV.f=aY?fY:function(e,t){if(e=uY(e),t=cY(t,!0),hY)try{return fY(e,t)}catch(e){}if(dY(e,t))return lY(!sY.f.call(e,t),e[t])};var pY={},gY=KV,mY=function(e){if(!gY(e))throw TypeError(String(e)+" is not an object");return e},vY=IV,yY=oY,bY=mY,_Y=ZV,wY=Object.defineProperty;pY.f=vY?wY:function(e,t,n){if(bY(e),t=_Y(t,!0),bY(n),yY)try{return wY(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 kY=pY,xY=zV,FY=IV?function(e,t,n){return kY.f(e,t,xY(1,n))}:function(e,t,n){return e[t]=n,e},EY={exports:{}},CY=TV,SY=FY,OY=function(e,t){try{SY(CY,e,t)}catch(n){CY[e]=t}return t},DY=OY,PY="__core-js_shared__",TY=TV[PY]||DY(PY,{}),AY=TY,LY=Function.toString;"function"!=typeof AY.inspectSource&&(AY.inspectSource=function(e){return LY.call(e)});var IY=AY.inspectSource,MY=IY,jY=TV.WeakMap,RY="function"==typeof jY&&/native code/.test(MY(jY)),NY={exports:{}},zY=TY;(NY.exports=function(e,t){return zY[e]||(zY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var BY,GY,UY,qY=0,WY=Math.random(),HY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++qY+WY).toString(36)},QY=NY.exports,VY=HY,YY=QY("keys"),KY=function(e){return YY[e]||(YY[e]=VY(e))},$Y={},ZY=RY,XY=KV,JY=FY,eK=JV,tK=KY,nK=$Y,iK=TV.WeakMap;if(ZY){var rK=new iK,oK=rK.get,aK=rK.has,sK=rK.set;BY=function(e,t){return sK.call(rK,e,t),t},GY=function(e){return oK.call(rK,e)||{}},UY=function(e){return aK.call(rK,e)}}else{var lK=tK("state");nK[lK]=!0,BY=function(e,t){return JY(e,lK,t),t},GY=function(e){return eK(e,lK)?e[lK]:{}},UY=function(e){return eK(e,lK)}}var uK={set:BY,get:GY,has:UY,enforce:function(e){return UY(e)?GY(e):BY(e,{})},getterFor:function(e){return function(t){var n;if(!XY(t)||(n=GY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},cK=TV,dK=FY,hK=JV,fK=OY,pK=IY,gK=uK.get,mK=uK.enforce,vK=String(String).split("String");(EY.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||hK(n,"name")||dK(n,"name",t),mK(n).source=vK.join("string"==typeof t?t:"")),e!==cK?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:dK(e,t,n)):o?e[t]=n:fK(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&gK(this).source||pK(this)}));var yK=TV,bK=TV,_K=function(e){return"function"==typeof e?e:void 0},wK=function(e,t){return arguments.length<2?_K(yK[e])||_K(bK[e]):yK[e]&&yK[e][t]||bK[e]&&bK[e][t]},kK={},xK=Math.ceil,FK=Math.floor,EK=function(e){return isNaN(e=+e)?0:(e>0?FK:xK)(e)},CK=EK,SK=Math.min,OK=function(e){return e>0?SK(CK(e),9007199254740991):0},DK=EK,PK=Math.max,TK=Math.min,AK=YV,LK=OK,IK=function(e,t){var n=DK(e);return n<0?PK(n+t,0):TK(n,t)},MK=function(e){return function(t,n,i){var r,o=AK(t),a=LK(o.length),s=IK(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}},jK={includes:MK(!0),indexOf:MK(!1)},RK=JV,NK=YV,zK=jK.indexOf,BK=$Y,GK=function(e,t){var n,i=NK(e),r=0,o=[];for(n in i)!RK(BK,n)&&RK(i,n)&&o.push(n);for(;t.length>r;)RK(i,n=t[r++])&&(~zK(o,n)||o.push(n));return o},UK=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qK=GK,WK=UK.concat("length","prototype");kK.f=Object.getOwnPropertyNames||function(e){return qK(e,WK)};var HK={};HK.f=Object.getOwnPropertySymbols;var QK=kK,VK=HK,YK=mY,KK=wK("Reflect","ownKeys")||function(e){var t=QK.f(YK(e)),n=VK.f;return n?t.concat(n(e)):t},$K=JV,ZK=KK,XK=AV,JK=pY,e$=LV,t$=/#|\.prototype\./,n$=function(e,t){var n=r$[i$(e)];return n==a$||n!=o$&&("function"==typeof t?e$(t):!!t)},i$=n$.normalize=function(e){return String(e).replace(t$,".").toLowerCase()},r$=n$.data={},o$=n$.NATIVE="N",a$=n$.POLYFILL="P",s$=n$,l$=TV,u$=AV.f,c$=FY,d$=EY.exports,h$=OY,f$=function(e,t){for(var n=ZK(t),i=JK.f,r=XK.f,o=0;o<n.length;o++){var a=n[o];$K(e,a)||i(e,a,r(t,a))}},p$=s$,g$=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?l$:u?l$[s]||h$(s,{}):(l$[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=u$(n,i))&&a.value:n[i],!p$(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;f$(o,r)}(e.sham||r&&r.sham)&&c$(o,"sham",!0),d$(n,i,o,e)}},m$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},v$=HV,y$=function(e){return Object(v$(e))},b$=m$,_$=y$,w$=WV,k$=OK,x$=function(e){return function(t,n,i,r){b$(n);var o=_$(t),a=w$(o),s=k$(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}},F$={left:x$(!1),right:x$(!0)},E$=LV,C$=function(e,t){var n=[][e];return!!n&&E$((function(){n.call(null,t||function(){throw 1},1)}))},S$=IV,O$=LV,D$=JV,P$=Object.defineProperty,T$={},A$=function(e){throw e},L$=g$,I$=F$.left,M$=function(e,t){if(D$(T$,e))return T$[e];t||(t={});var n=[][e],i=!!D$(t,"ACCESSORS")&&t.ACCESSORS,r=D$(t,0)?t[0]:A$,o=D$(t,1)?t[1]:void 0;return T$[e]=!!n&&!O$((function(){if(i&&!S$)return!0;var e={length:-1};i?P$(e,1,{enumerable:!0,get:A$}):e[1]=1,n.call(e,r,o)}))},j$=C$("reduce"),R$=M$("reduce",{1:0});L$({target:"Array",proto:!0,forced:!j$||!R$},{reduce:function(e){return I$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var N$=TV.Promise,z$=EY.exports,B$=LV,G$=!!Object.getOwnPropertySymbols&&!B$((function(){return!String(Symbol())})),U$=G$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,q$=TV,W$=NY.exports,H$=JV,Q$=HY,V$=G$,Y$=U$,K$=W$("wks"),$$=q$.Symbol,Z$=Y$?$$:$$&&$$.withoutSetter||Q$,X$=function(e){return H$(K$,e)||(V$&&H$($$,e)?K$[e]=$$[e]:K$[e]=Z$("Symbol."+e)),K$[e]},J$=pY.f,eZ=JV,tZ=X$("toStringTag"),nZ=function(e,t,n){e&&!eZ(e=n?e:e.prototype,tZ)&&J$(e,tZ,{configurable:!0,value:t})},iZ=wK,rZ=pY,oZ=IV,aZ=X$("species"),sZ={exports:{}},lZ={},uZ=lZ,cZ=X$("iterator"),dZ=Array.prototype,hZ=m$,fZ=function(e,t,n){if(hZ(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)}},pZ={};pZ[X$("toStringTag")]="z";var gZ="[object z]"===String(pZ),mZ=GV,vZ=X$("toStringTag"),yZ="Arguments"==mZ(function(){return arguments}()),bZ=gZ?mZ: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),vZ))?n:yZ?mZ(t):"Object"==(i=mZ(t))&&"function"==typeof t.callee?"Arguments":i},_Z=bZ,wZ=lZ,kZ=X$("iterator"),xZ=mY,FZ=mY,EZ=function(e){return void 0!==e&&(uZ.Array===e||dZ[cZ]===e)},CZ=OK,SZ=fZ,OZ=function(e){if(null!=e)return e[kZ]||e["@@iterator"]||wZ[_Z(e)]},DZ=function(e,t,n,i){try{return i?t(xZ(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&xZ(r.call(e)),t}},PZ=function(e,t){this.stopped=e,this.result=t},TZ=sZ.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,h=SZ(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=OZ(e)))throw TypeError("Target is not iterable");if(EZ(a)){for(s=0,l=CZ(e.length);l>s;s++)if((u=i?h(FZ(d=e[s])[0],d[1]):h(e[s]))&&u instanceof PZ)return u;return new PZ(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=DZ(o,h,d.value,i))&&u&&u instanceof PZ)return u;return new PZ(!1)};TZ.stop=function(e){return new PZ(!0,e)};var AZ=X$("iterator"),LZ=!1;try{var IZ=0,MZ={next:function(){return{done:!!IZ++}},return:function(){LZ=!0}};MZ[AZ]=function(){return this},Array.from(MZ,(function(){throw 2}))}catch(e){}var jZ,RZ,NZ,zZ=mY,BZ=m$,GZ=X$("species"),UZ=function(e,t){var n,i=zZ(e).constructor;return void 0===i||null==(n=zZ(i)[GZ])?t:BZ(n)},qZ=wK("document","documentElement"),WZ=wK("navigator","userAgent")||"",HZ=/(iphone|ipod|ipad).*applewebkit/i.test(WZ),QZ=TV,VZ=LV,YZ=GV,KZ=fZ,$Z=qZ,ZZ=iY,XZ=HZ,JZ=QZ.location,eX=QZ.setImmediate,tX=QZ.clearImmediate,nX=QZ.process,iX=QZ.MessageChannel,rX=QZ.Dispatch,oX=0,aX={},sX="onreadystatechange",lX=function(e){if(aX.hasOwnProperty(e)){var t=aX[e];delete aX[e],t()}},uX=function(e){return function(){lX(e)}},cX=function(e){lX(e.data)},dX=function(e){QZ.postMessage(e+"",JZ.protocol+"//"+JZ.host)};eX&&tX||(eX=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return aX[++oX]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},jZ(oX),oX},tX=function(e){delete aX[e]},"process"==YZ(nX)?jZ=function(e){nX.nextTick(uX(e))}:rX&&rX.now?jZ=function(e){rX.now(uX(e))}:iX&&!XZ?(NZ=(RZ=new iX).port2,RZ.port1.onmessage=cX,jZ=KZ(NZ.postMessage,NZ,1)):!QZ.addEventListener||"function"!=typeof postMessage||QZ.importScripts||VZ(dX)||"file:"===JZ.protocol?jZ=sX in ZZ("script")?function(e){$Z.appendChild(ZZ("script")).onreadystatechange=function(){$Z.removeChild(this),lX(e)}}:function(e){setTimeout(uX(e),0)}:(jZ=dX,QZ.addEventListener("message",cX,!1)));var hX,fX,pX,gX,mX,vX,yX,bX,_X={set:eX,clear:tX},wX=TV,kX=AV.f,xX=GV,FX=_X.set,EX=HZ,CX=wX.MutationObserver||wX.WebKitMutationObserver,SX=wX.process,OX=wX.Promise,DX="process"==xX(SX),PX=kX(wX,"queueMicrotask"),TX=PX&&PX.value;TX||(hX=function(){var e,t;for(DX&&(e=SX.domain)&&e.exit();fX;){t=fX.fn,fX=fX.next;try{t()}catch(e){throw fX?gX():pX=void 0,e}}pX=void 0,e&&e.enter()},DX?gX=function(){SX.nextTick(hX)}:CX&&!EX?(mX=!0,vX=document.createTextNode(""),new CX(hX).observe(vX,{characterData:!0}),gX=function(){vX.data=mX=!mX}):OX&&OX.resolve?(yX=OX.resolve(void 0),bX=yX.then,gX=function(){bX.call(yX,hX)}):gX=function(){FX.call(wX,hX)});var AX=TX||function(e){var t={fn:e,next:void 0};pX&&(pX.next=t),fX||(fX=t,gX()),pX=t},LX={},IX=m$,MX=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=IX(t),this.reject=IX(n)};LX.f=function(e){return new MX(e)};var jX,RX,NX=mY,zX=KV,BX=LX,GX=TV,UX=WZ,qX=TV.process,WX=qX&&qX.versions,HX=WX&&WX.v8;HX?RX=(jX=HX.split("."))[0]+jX[1]:UX&&(!(jX=UX.match(/Edge\/(\d+)/))||jX[1]>=74)&&(jX=UX.match(/Chrome\/(\d+)/))&&(RX=jX[1]);var QX,VX,YX,KX,$X=RX&&+RX,ZX=g$,XX=TV,JX=wK,eJ=N$,tJ=EY.exports,nJ=function(e,t,n){for(var i in t)z$(e,i,t[i],n);return e},iJ=nZ,rJ=function(e){var t=iZ(e),n=rZ.f;oZ&&t&&!t[aZ]&&n(t,aZ,{configurable:!0,get:function(){return this}})},oJ=KV,aJ=m$,sJ=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},lJ=GV,uJ=IY,cJ=sZ.exports,dJ=function(e,t){if(!t&&!LZ)return!1;var n=!1;try{var i={};i[AZ]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},hJ=UZ,fJ=_X.set,pJ=AX,gJ=function(e,t){if(NX(e),zX(t)&&t.constructor===e)return t;var n=BX.f(e);return(0,n.resolve)(t),n.promise},mJ=function(e,t){var n=GX.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},vJ=LX,yJ=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},bJ=uK,_J=s$,wJ=$X,kJ=X$("species"),xJ="Promise",FJ=bJ.get,EJ=bJ.set,CJ=bJ.getterFor(xJ),SJ=eJ,OJ=XX.TypeError,DJ=XX.document,PJ=XX.process,TJ=JX("fetch"),AJ=vJ.f,LJ=AJ,IJ="process"==lJ(PJ),MJ=!!(DJ&&DJ.createEvent&&XX.dispatchEvent),jJ="unhandledrejection",RJ=_J(xJ,(function(){if(!(uJ(SJ)!==String(SJ))){if(66===wJ)return!0;if(!IJ&&"function"!=typeof PromiseRejectionEvent)return!0}if(wJ>=51&&/native code/.test(SJ))return!1;var e=SJ.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[kJ]=t,!(e.then((function(){}))instanceof t)})),NJ=RJ||!dJ((function(e){SJ.all(e).catch((function(){}))})),zJ=function(e){var t;return!(!oJ(e)||"function"!=typeof(t=e.then))&&t},BJ=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;pJ((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,h=c.resolve,f=c.reject,p=c.domain;try{d?(o||(2===t.rejection&&WJ(e,t),t.rejection=1),!0===d?s=r:(p&&p.enter(),s=d(r),p&&(p.exit(),u=!0)),s===c.promise?f(OJ("Promise-chain cycle")):(l=zJ(s))?l.call(s,h,f):h(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&UJ(e,t)}))}},GJ=function(e,t,n){var i,r;MJ?((i=DJ.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),XX.dispatchEvent(i)):i={promise:t,reason:n},(r=XX["on"+e])?r(i):e===jJ&&mJ("Unhandled promise rejection",n)},UJ=function(e,t){fJ.call(XX,(function(){var n,i=t.value;if(qJ(t)&&(n=yJ((function(){IJ?PJ.emit("unhandledRejection",i,e):GJ(jJ,e,i)})),t.rejection=IJ||qJ(t)?2:1,n.error))throw n.value}))},qJ=function(e){return 1!==e.rejection&&!e.parent},WJ=function(e,t){fJ.call(XX,(function(){IJ?PJ.emit("rejectionHandled",e):GJ("rejectionhandled",e,t.value)}))},HJ=function(e,t,n,i){return function(r){e(t,n,r,i)}},QJ=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,BJ(e,t,!0))},VJ=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw OJ("Promise can't be resolved itself");var r=zJ(n);r?pJ((function(){var i={done:!1};try{r.call(n,HJ(VJ,e,i,t),HJ(QJ,e,i,t))}catch(n){QJ(e,i,n,t)}})):(t.value=n,t.state=1,BJ(e,t,!1))}catch(n){QJ(e,{done:!1},n,t)}}};function YJ(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return tqn}));case"de":return Promise.resolve().then((function(){return nqn}));case"fr":return Promise.resolve().then((function(){return iqn}));case"es":return Promise.resolve().then((function(){return rqn}));case"zh-tw":return Promise.resolve().then((function(){return oqn}));case"zh-cn":return Promise.resolve().then((function(){return aqn}));case"ja":return Promise.resolve().then((function(){return sqn}));case"tr":return Promise.resolve().then((function(){return lqn}));case"it":return Promise.resolve().then((function(){return uqn}));default:return Promise.resolve().then((function(){return cqn}))}}function KJ(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return fqn}));case"ar-kw":return Promise.resolve().then((function(){return gqn}));case"ar-ly":return Promise.resolve().then((function(){return vqn}));case"ar-ma":return Promise.resolve().then((function(){return bqn}));case"ar-sa":return Promise.resolve().then((function(){return wqn}));case"ar-tn":return Promise.resolve().then((function(){return xqn}));case"ar":return Promise.resolve().then((function(){return Eqn}));case"bg":return Promise.resolve().then((function(){return Sqn}));case"bn":return Promise.resolve().then((function(){return Dqn}));case"ca":return Promise.resolve().then((function(){return Tqn}));case"cs":return Promise.resolve().then((function(){return Lqn}));case"da":return Promise.resolve().then((function(){return Mqn}));case"de-at":return Promise.resolve().then((function(){return Rqn}));case"de-ch":return Promise.resolve().then((function(){return zqn}));case"de":return Promise.resolve().then((function(){return Gqn}));case"el":return Promise.resolve().then((function(){return qqn}));case"en-au":return Promise.resolve().then((function(){return Hqn}));case"en-ca":return Promise.resolve().then((function(){return Vqn}));case"en-gb":return Promise.resolve().then((function(){return Kqn}));case"en-ie":return Promise.resolve().then((function(){return Zqn}));case"en-il":return Promise.resolve().then((function(){return Jqn}));case"en-nz":return Promise.resolve().then((function(){return tWn}));case"en-sg":return Promise.resolve().then((function(){return iWn}));case"es-do":return Promise.resolve().then((function(){return oWn}));case"es-us":return Promise.resolve().then((function(){return sWn}));case"es":return Promise.resolve().then((function(){return uWn}));case"et":return Promise.resolve().then((function(){return dWn}));case"fa":return Promise.resolve().then((function(){return fWn}));case"fi":return Promise.resolve().then((function(){return gWn}));case"fr-ca":return Promise.resolve().then((function(){return vWn}));case"fr-ch":return Promise.resolve().then((function(){return bWn}));case"fr":return Promise.resolve().then((function(){return wWn}));case"gu":return Promise.resolve().then((function(){return xWn}));case"he":return Promise.resolve().then((function(){return EWn}));case"hi":return Promise.resolve().then((function(){return SWn}));case"hr":return Promise.resolve().then((function(){return DWn}));case"hu":return Promise.resolve().then((function(){return TWn}));case"id":return Promise.resolve().then((function(){return LWn}));case"it-ch":return Promise.resolve().then((function(){return MWn}));case"it":return Promise.resolve().then((function(){return RWn}));case"ja":return Promise.resolve().then((function(){return zWn}));case"kn":return Promise.resolve().then((function(){return GWn}));case"ko":return Promise.resolve().then((function(){return qWn}));case"lt":return Promise.resolve().then((function(){return HWn}));case"lv":return Promise.resolve().then((function(){return VWn}));case"ml":return Promise.resolve().then((function(){return KWn}));case"mr":return Promise.resolve().then((function(){return ZWn}));case"ms-my":return Promise.resolve().then((function(){return JWn}));case"ms":return Promise.resolve().then((function(){return tHn}));case"nb":return Promise.resolve().then((function(){return iHn}));case"nl-be":return Promise.resolve().then((function(){return oHn}));case"nl":return Promise.resolve().then((function(){return sHn}));case"pl":return Promise.resolve().then((function(){return uHn}));case"pt-br":return Promise.resolve().then((function(){return dHn}));case"pt":return Promise.resolve().then((function(){return fHn}));case"ro":return Promise.resolve().then((function(){return gHn}));case"ru":return Promise.resolve().then((function(){return vHn}));case"sk":return Promise.resolve().then((function(){return bHn}));case"sl":return Promise.resolve().then((function(){return wHn}));case"sr-cyrl":return Promise.resolve().then((function(){return xHn}));case"sr":return Promise.resolve().then((function(){return EHn}));case"sv":return Promise.resolve().then((function(){return SHn}));case"sw":return Promise.resolve().then((function(){return DHn}));case"ta":return Promise.resolve().then((function(){return THn}));case"te":return Promise.resolve().then((function(){return LHn}));case"th":return Promise.resolve().then((function(){return MHn}));case"tr":return Promise.resolve().then((function(){return RHn}));case"uk":return Promise.resolve().then((function(){return zHn}));case"vi":return Promise.resolve().then((function(){return GHn}));case"zh-cn":return Promise.resolve().then((function(){return qHn}));case"zh-hk":return Promise.resolve().then((function(){return HHn}));case"zh-tw":return Promise.resolve().then((function(){return VHn}));default:return Promise.resolve()}}RJ&&(SJ=function(e){sJ(this,SJ,xJ),aJ(e),QX.call(this);var t=FJ(this);try{e(HJ(VJ,this,t),HJ(QJ,this,t))}catch(e){QJ(this,t,e)}},(QX=function(e){EJ(this,{type:xJ,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=nJ(SJ.prototype,{then:function(e,t){var n=CJ(this),i=AJ(hJ(this,SJ));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=IJ?PJ.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&BJ(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),VX=function(){var e=new QX,t=FJ(e);this.promise=e,this.resolve=HJ(VJ,e,t),this.reject=HJ(QJ,e,t)},vJ.f=AJ=function(e){return e===SJ||e===YX?new VX(e):LJ(e)},"function"==typeof eJ&&(KX=eJ.prototype.then,tJ(eJ.prototype,"then",(function(e,t){var n=this;return new SJ((function(e,t){KX.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof TJ&&ZX({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return gJ(SJ,TJ.apply(XX,arguments))}}))),ZX({global:!0,wrap:!0,forced:RJ},{Promise:SJ}),iJ(SJ,xJ,!1),rJ(xJ),YX=JX(xJ),ZX({target:xJ,stat:!0,forced:RJ},{reject:function(e){var t=AJ(this);return t.reject.call(void 0,e),t.promise}}),ZX({target:xJ,stat:!0,forced:RJ},{resolve:function(e){return gJ(this,e)}}),ZX({target:xJ,stat:!0,forced:NJ},{all:function(e){var t=this,n=AJ(t),i=n.resolve,r=n.reject,o=yJ((function(){var n=aJ(t.resolve),o=[],a=0,s=1;cJ(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=AJ(t),i=n.reject,r=yJ((function(){var r=aJ(t.resolve);cJ(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var $J=function(e){var n,r=e.children,o=e.language,a=i.useState(null),s=a[0],l=a[1],u=OV(),c=u.getLocalLanguage,d=u.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return fV(this,void 0,void 0,(function(){var e,t,n;return pV(this,(function(i){switch(i.label){case 0:return[4,d()];case 1:return e=i.sent(),t=h,null==o?[3,2]:(n=o,[3,4]);case 2:return[4,c()];case 3:n=i.sent(),i.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return i.sent(),[2]}}))}))})().then((function(){return null}),im.error)}),[]),(null===(n=null==s?void 0:s.resources)||void 0===n?void 0:n[s.language])?t.jsx(EE.Provider,dV({value:{language:s.language,changeLocale:function(e){return function(e,t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,ZJ(e||t)];case 1:return n.sent(),l((function(t){return dV(dV({},t),{locale:e})})),[2]}}))}))}(e,s.language)},changeLanguage:function(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:return[4,f(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),s.locale?[3,3]:[4,ZJ(e)];case 2:n.sent(),n.label=3;case 3:return l((function(n){return dV(dV({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:h,addResources:function(e){l((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=dV(dV(dV({},n),t.resources[i]),e[i]),r}),{});return dV(dV({},t),{resources:dV(dV({},t.resources),n)})}))}}},{children:t.jsx(tE,dV({locale:s.locale||s.language,messages:s.resources[s.language]},{children:t.jsx(FE,{children:r},void 0)}),void 0)}),void 0):null;function h(e,t){return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==s?void 0:s.language)===e&&(null==s?void 0:s.locale)===t?[2]:[4,f(e)];case 1:return n=i.sent(),[4,ZJ(t||e)];case 2:return i.sent(),l({language:e,locale:t,resources:n}),[2]}}))}))}function f(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,p(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),im.error(t),[2,null];case 3:return[2]}}))}))}function p(e){var t;return fV(this,void 0,void 0,(function(){var n,i,r;return pV(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==s?void 0:s.resources)||void 0===t?void 0:t[e])return[2,s.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,i=[e],[4,YJ(e)];case 2:return[2,n.apply(void 0,i.concat([o.sent().default]))];case 3:return r=o.sent(),im.error(r),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,i,r,o=window.__localeResourcesInterceptor||{};return dV(dV(dV({},null!==(r=null==s?void 0:s.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),o[e]&&((i={})[e]=o[e],i))}};function ZJ(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,KJ(e)];case 2:return n.sent(),is.locale(e),[3,4];case 3:return t=n.sent(),im.error(t),[3,4];case 4:return[2]}}))}))}var XJ,JJ,e0,t0,n0,i0,r0,o0,a0,s0,l0,u0,c0,d0=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages","sharedItems","userLocationLookup"],h0=function(){},f0=i.createContext(null);function p0(){return i.useContext(f0)}function g0(){var e=i.useContext(f0);return null==e?void 0:e.user}function m0(){var e=g0();return function(e){var t,n=new h0;if(!e)return n;for(var i=0;i<d0.length;i++){var r=d0[i];e.featureMask?n[r]="1"===e.featureMask[i]:n[r]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[r])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(XJ||(XJ={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(JJ||(JJ={})),function(e){e.large="large",e.small="small"}(e0||(e0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(t0||(t0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(n0||(n0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(i0||(i0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(r0||(r0={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(o0||(o0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(a0||(a0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(s0||(s0={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(l0||(l0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(u0||(u0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(c0||(c0={}));var v0=KV,y0=GV,b0=X$("match"),_0=function(e){var t;return v0(e)&&(void 0!==(t=e[b0])?!!t:"RegExp"==y0(e))},w0=_0,k0=function(e){if(w0(e))throw TypeError("The method doesn't accept regular expressions");return e},x0=X$("match"),F0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x0]=!1,"/./"[e](t)}catch(e){}}return!1},E0=k0,C0=HV;g$({target:"String",proto:!0,forced:!F0("includes")},{includes:function(e){return!!~String(C0(this)).indexOf(E0(e),arguments.length>1?arguments[1]:void 0)}});var S0=g$,O0=AV.f,D0=OK,P0=k0,T0=HV,A0=F0,L0="".endsWith,I0=Math.min,M0=A0("endsWith"),j0=!M0&&!!function(){var e=O0(String.prototype,"endsWith");return e&&!e.writable}();function R0(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length)return!1;return i.some((function(t){return t.role.roleValue>=e}))}(e,t,r))}function N0(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length||n&&n.length!==i.length)return!1;return i.every((function(t){return t.role.roleValue>=e}))}(e,t,r))}function z0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function B0(e,t){var n=t,i=Array.isArray(t)?t:(null==n?void 0:n.groupIds)||[];if(!e||!(null==i?void 0:i.length))return o0.None;if(e.isSubscriptionOwner)return o0.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?o0.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),o0.Admin)}function G0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}S0({target:"String",proto:!0,forced:!j0&&!M0},{endsWith:function(e){var t=String(T0(this));P0(e);var n=arguments.length>1?arguments[1]:void 0,i=D0(t.length),r=void 0===n?i:I0(D0(n),i),o=String(e);return L0?L0.call(t,o,r):t.slice(r-o.length,r)===o}});var U0,q0,W0,H0,Q0,V0,Y0,K0,$0,Z0,X0,J0,e1,t1,n1,i1,r1={},o1={};function a1(){var e=rq();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:XJ.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){o1[t]||(o1[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o1[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o1[t]},getUserInfoById:function(t){o1[t]||(o1[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o1[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o1[t]},getUserAvatarUrl:function(t,n){r1[t]||(r1[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Hg.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return KW(r1[t])},clearUserInfoCache:function(e){o1[e]&&delete o1[e]},clearUserAvatarCache:function(e){r1[e]&&delete r1[e]}};function t(t){var n=Hg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function s1(){var e=rq(),t=iq(),n=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return fV(this,void 0,void 0,(function(){var n,o;return pV(this,(function(a){switch(a.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,r(t)];case 3:o=a.sent(),a.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=o0.Admin,isEditor:n||t>=o0.Editor,isAuthor:n||t>=o0.Author,isReader:n||t>=o0.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,i){return fV(this,void 0,void 0,(function(){var r,o,a;return pV(this,(function(s){switch(s.label){case 0:return(r=new FormData).append("file",i,i.name||"image."+uH.getExtension(i.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:r,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return fV(this,void 0,void 0,(function(){var i;return pV(this,(function(r){switch(r.label){case 0:return[4,t.fetchFromApi("/users/current?"+Hg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(i=r.sent()).status?null:i.json()]}}))}))}function r(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){return[2,e.custom("users/current?"+Hg.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function l1(e){switch(e){case n1.YouTube:return t1.YouTube;case n1.Vimeo:return t1.Vimeo;case n1.MicrosoftStream:return t1.MicrosoftStream;case n1.GenericUrl:return t1.GenericUrl;case n1.Kaltura:return t1.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(U0||(U0={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(q0||(q0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(W0||(W0={})),e.ItemResourceTypes=void 0,(H0=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",H0.Pages="pages",H0.Posts="posts",H0.Events="events",H0.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(Q0||(Q0={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(V0||(V0={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(Y0||(Y0={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(K0||(K0={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}($0||($0={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(Z0||(Z0={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(X0||(X0={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(J0||(J0={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(e1||(e1={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(t1||(t1={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(n1||(n1={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(i1||(i1={}));var u1=function(e){function t(t,n){var i=e.call(this)||this;return i.actualSizeInMb=t,i.maxSizeInMb=n,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}cV(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function c1(e,t){if(e.size>1e6*t){var n=new u1(e.size/1e6,t);throw i=n,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),im.error(i,r),(void 0).trackException({exception:i})),n}var i,r,o=new FormData;return o.append("file",e),o}function d1(){var e=Wg(),t=iq(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,o,a){return n("/"+a+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:o})},uploadFile:function(t,n,i,a,s){return fV(this,void 0,void 0,(function(){var l,u,c;return pV(this,(function(d){switch(d.label){case 0:if(!t)throw new Error("Requires itemId to be set before saving a file");return l="/"+i+"/"+t+"/files/"+s,u=c1(a,e.maxFileSizeInMb),[4,o()];case 1:return c=d.sent(),[2,r(l,{method:"PUT",body:u,headers:{authorization:"Bearer "+c,"subscription-id":n}}).then((function(e){return e.json()}))]}}))}))}}}),[e.maxFileSizeInMb,n,r,o])}var h1=GK,f1=UK,p1=Object.keys||function(e){return h1(e,f1)},g1=IV,m1=LV,v1=p1,y1=HK,b1=MV,_1=y$,w1=WV,k1=Object.assign,x1=Object.defineProperty,F1=!k1||m1((function(){if(g1&&1!==k1({b:1},k1(x1({},"a",{enumerable:!0,get:function(){x1(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!=k1({},e)[n]||v1(k1({},t)).join("")!=i}))?function(e,t){for(var n=_1(e),i=arguments.length,r=1,o=y1.f,a=b1.f;i>r;)for(var s,l=w1(arguments[r++]),u=o?v1(l).concat(o(l)):v1(l),c=u.length,d=0;c>d;)s=u[d++],g1&&!a.call(l,s)||(n[s]=l[s]);return n}:k1,E1=F1;g$({target:"Object",stat:!0,forced:Object.assign!==E1},{assign:E1});var C1=["rm"],S1=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function O1(e){return e.preferredContentLanguage||e.preferredUiLanguage||dk()||e.subscription&&e.subscription.defaultLanguage||"en"}function D1(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return dV(dV({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function P1(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function T1(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function A1(e,t,n,i,r,o){var a=i||r;if(null==e)return a;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!i)return L1(t,s.translations,a,o);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?L1(t,l.translations,a,o):a}function L1(e,t,n,i){return null==t&&(t={}),i||(i=O1(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var I1=mY,M1=function(){var e=I1(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},j1={},R1=LV;function N1(e,t){return RegExp(e,t)}j1.UNSUPPORTED_Y=R1((function(){var e=N1("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),j1.BROKEN_CARET=R1((function(){var e=N1("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var z1=M1,B1=j1,G1=RegExp.prototype.exec,U1=String.prototype.replace,q1=G1,W1=function(){var e=/a/,t=/b*/g;return G1.call(e,"a"),G1.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),H1=B1.UNSUPPORTED_Y||B1.BROKEN_CARET,Q1=void 0!==/()??/.exec("")[1];(W1||Q1||H1)&&(q1=function(e){var t,n,i,r,o=this,a=H1&&o.sticky,s=z1.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)),Q1&&(n=new RegExp("^"+l+"$(?!\\s)",s)),W1&&(t=o.lastIndex),i=G1.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:W1&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),Q1&&i&&i.length>1&&U1.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var V1=q1;g$({target:"RegExp",proto:!0,forced:/./.exec!==V1},{exec:V1});var Y1=EY.exports,K1=LV,$1=X$,Z1=V1,X1=FY,J1=$1("species"),e2=!K1((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),t2="$0"==="a".replace(/./,"$0"),n2=$1("replace"),i2=!!/./[n2]&&""===/./[n2]("a","$0"),r2=!K1((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]})),o2=function(e,t,n,i){var r=$1(e),o=!K1((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!K1((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[J1]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!e2||!t2||i2)||"split"===e&&!r2){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Z1?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:t2,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i2}),u=l[0],c=l[1];Y1(String.prototype,e,u),Y1(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&X1(RegExp.prototype[r],"sham",!0)},a2=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},s2=GV,l2=V1,u2=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"!==s2(e))throw TypeError("RegExp#exec called on incompatible receiver");return l2.call(e,t)},c2=mY,d2=HV,h2=a2,f2=u2;o2("search",1,(function(e,t,n){return[function(t){var n=d2(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=c2(e),o=String(this),a=r.lastIndex;h2(a,0)||(r.lastIndex=0);var s=f2(r,o);return h2(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var p2=EK,g2=HV,m2=function(e){return function(t,n){var i,r,o=String(g2(t)),a=p2(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}},v2={codeAt:m2(!1),charAt:m2(!0)}.charAt,y2=function(e,t,n){return t+(n?v2(e,t).length:1)},b2=o2,_2=mY,w2=y$,k2=OK,x2=EK,F2=HV,E2=y2,C2=u2,S2=Math.max,O2=Math.min,D2=Math.floor,P2=/\$([$&'`]|\d\d?|<[^>]*>)/g,T2=/\$([$&'`]|\d\d?)/g,A2=function(e){return void 0===e?e:String(e)};function L2(e){var t;return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(m9(H9.create()),[2,!0]):[2,!1]}))}))}function I2(e){var t;return fV(this,void 0,void 0,(function(){return pV(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(m9(Q9.create()),[2,!0]):[2,!1]}))}))}function M2(){var t=rq(),n=rq(L2),r=OV(),o=r.saveLanguageToLocalStorage,a=r.saveLocaleToLocalStorage;return i.useMemo((function(){return{updateNotificationTypeSettings:function(e){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},i=function(t){Object.keys(n).every((function(e){return e!==t}))&&delete e[t]},r=0,o=Object.keys(e||{});r<o.length;r++){var a=o[r];i(a)}return t.custom("users/current/notification_settings/types").put(e).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(e,n,i){return t.custom("users/current/notification_settings/"+u(n,i)+"/"+e).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:i,followPublicPublishableItemComments:r,followEditorPublishableItemComments:s,followAllPublishableItemComments:function(e,t){r(e,t),s(e,t)},followPublishableItemComments:l,resolveSegment:u,getFollowCommentSegment:c,toggleBookmark:function(e,t){null==t.bookmarks&&(t.bookmarks=[]);var i=t.bookmarks.findIndex((function(t){return t===e}));if(i<0)return n.one("users","current").all("bookmarks").put(e,null).then((function(){return t.bookmarks.push(e),!0}));return n.one("users","current").all("bookmarks").delete(e).then((function(){return t.bookmarks.splice(i,1),!1}))},getUserProperties:function(){return t.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(e){return t.custom("users/current/channels").put(e)},addContact:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.all("users/current/contacts").post(e)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.all("users/current/contacts/"+e.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return t.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/ui_language/"+e).put(null)];case 1:return n.sent(),[4,o(e)];case 2:return n.sent(),[2]}}))}))},setContentLanguage:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/content_language/"+e).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/locale/"+e).put(null)];case 1:return n.sent(),[4,a(e)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/notification_settings/groups/"+e).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(e,n){return fV(this,void 0,void 0,(function(){return pV(this,(function(i){switch(i.label){case 0:return[4,t.custom("users/current/notification_settings/groups/"+e).put(n).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},clearMyUnreadItems:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/"+e+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(e){return t.custom("users/current/terms_and_conditions/"+e).patch({})},deleteAccount:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(e){switch(e.label){case 0:return[4,t.custom("users/current").delete()];case 1:return[2,e.sent()]}}))}))}};function i(e,t,i,r){return n.custom("users/current/notification_settings/"+u(t,i)+"/"+e).put({enabled:r})}function r(e,t){l(e,t,W0.Public)}function s(e,t){l(e,t,W0.Editor)}function l(e,t,n){i(e,t,n,!0).then((function(){return null}),(function(e){return im.error(e)}))}function u(e,t){switch(t){case W0.Editor:return"editor_comments";case W0.Public:return c(e)+"_comments";case W0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function c(t){switch(t){case e.ItemResourceTypes.News:return"news";case e.ItemResourceTypes.Pages:return"page";case e.ItemResourceTypes.Events:return"event";default:throw Error("Invalid type")}}}),[t,o,a])}b2("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=F2(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=_2(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var g=C2(u,c);if(null===g)break;if(p.push(g),!h)break;""===String(g[0])&&(u.lastIndex=E2(c,k2(u.lastIndex),f))}for(var m="",v=0,y=0;y<p.length;y++){g=p[y];for(var b=String(g[0]),_=S2(O2(x2(g.index),c.length),0),w=[],k=1;k<g.length;k++)w.push(A2(g[k]));var x=g.groups;if(d){var F=[b].concat(w,_,c);void 0!==x&&F.push(x);var E=String(i.apply(void 0,F))}else E=s(b,c,_,w,x,i);_>=v&&(m+=c.slice(v,_)+E,v=_+b.length)}return m+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=T2;return void 0!==o&&(o=w2(o),u=P2),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=D2(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 j2,R2=pY,N2=mY,z2=p1,B2=IV?Object.defineProperties:function(e,t){N2(e);for(var n,i=z2(t),r=i.length,o=0;r>o;)R2.f(e,n=i[o++],t[n]);return e},G2=mY,U2=B2,q2=UK,W2=$Y,H2=qZ,Q2=iY,V2=KY("IE_PROTO"),Y2=function(){},K2=function(e){return"<script>"+e+"</"+"script>"},$2=function(){try{j2=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;$2=j2?function(e){e.write(K2("")),e.close();var t=e.parentWindow.Object;return e=null,t}(j2):((t=Q2("iframe")).style.display="none",H2.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(K2("document.F=Object")),e.close(),e.F);for(var n=q2.length;n--;)delete $2.prototype[q2[n]];return $2()};W2[V2]=!0;var Z2=Object.create||function(e,t){var n;return null!==e?(Y2.prototype=G2(e),n=new Y2,Y2.prototype=null,n[V2]=e):n=$2(),void 0===t?n:U2(n,t)},X2=Z2,J2=pY,e3=X$("unscopables"),t3=Array.prototype;null==t3[e3]&&J2.f(t3,e3,{configurable:!0,value:X2(null)});var n3,i3,r3,o3=function(e){t3[e3][e]=!0},a3=!LV((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),s3=JV,l3=y$,u3=a3,c3=KY("IE_PROTO"),d3=Object.prototype,h3=u3?Object.getPrototypeOf:function(e){return e=l3(e),s3(e,c3)?e[c3]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?d3:null},f3=h3,p3=FY,g3=JV,m3=X$("iterator"),v3=!1;[].keys&&("next"in(r3=[].keys())?(i3=f3(f3(r3)))!==Object.prototype&&(n3=i3):v3=!0),null==n3&&(n3={}),g3(n3,m3)||p3(n3,m3,(function(){return this}));var y3={IteratorPrototype:n3,BUGGY_SAFARI_ITERATORS:v3},b3=y3.IteratorPrototype,_3=Z2,w3=zV,k3=nZ,x3=lZ,F3=function(){return this},E3=KV,C3=mY,S3=function(e){if(!E3(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},O3=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 C3(n),S3(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),D3=g$,P3=function(e,t,n){var i=t+" Iterator";return e.prototype=_3(b3,{next:w3(1,n)}),k3(e,i,!1),x3[i]=F3,e},T3=h3,A3=O3,L3=nZ,I3=FY,M3=EY.exports,j3=lZ,R3=y3.IteratorPrototype,N3=y3.BUGGY_SAFARI_ITERATORS,z3=X$("iterator"),B3="keys",G3="values",U3="entries",q3=function(){return this},W3=YV,H3=o3,Q3=lZ,V3=uK,Y3=function(e,t,n,i,r,o,a){P3(n,t,i);var s,l,u,c=function(e){if(e===r&&g)return g;if(!N3&&e in f)return f[e];switch(e){case B3:case G3:case U3:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,f=e.prototype,p=f[z3]||f["@@iterator"]||r&&f[r],g=!N3&&p||c(r),m="Array"==t&&f.entries||p;if(m&&(s=T3(m.call(new e)),R3!==Object.prototype&&s.next&&(T3(s)!==R3&&(A3?A3(s,R3):"function"!=typeof s[z3]&&I3(s,z3,q3)),L3(s,d,!0))),r==G3&&p&&p.name!==G3&&(h=!0,g=function(){return p.call(this)}),f[z3]!==g&&I3(f,z3,g),j3[t]=g,r)if(l={values:c(G3),keys:o?g:c(B3),entries:c(U3)},a)for(u in l)(N3||h||!(u in f))&&M3(f,u,l[u]);else D3({target:t,proto:!0,forced:N3||h},l);return l},K3="Array Iterator",$3=V3.set,Z3=V3.getterFor(K3),X3=Y3(Array,"Array",(function(e,t){$3(this,{type:K3,target:W3(e),index:0,kind:t})}),(function(){var e=Z3(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");Q3.Arguments=Q3.Array,H3("keys"),H3("values"),H3("entries");var J3=TV,e4={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},t4=X3,n4=FY,i4=X$,r4=i4("iterator"),o4=i4("toStringTag"),a4=t4.values;for(var s4 in e4){var l4=J3[s4],u4=l4&&l4.prototype;if(u4){if(u4[r4]!==a4)try{n4(u4,r4,a4)}catch(e){u4[r4]=a4}if(u4[o4]||n4(u4,o4,s4),e4[s4])for(var c4 in t4)if(u4[c4]!==t4[c4])try{n4(u4,c4,t4[c4])}catch(e){u4[c4]=t4[c4]}}}var d4=i.createContext(null);function h4(){var e=i.useContext(d4);return null!=e?e.refresh:function(){return null}}var f4,p4=function(e){var n=e.children,r=p0().refreshUser,o=nM(),a=i.useCallback((function(){var e,t;return fV(this,void 0,void 0,(function(){var n,i;return pV(this,(function(a){switch(a.label){case 0:return[4,o.query({query:g4,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(i=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return dV(dV({},e),function(e){var t,n,i,r,o;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(i=null==e?void 0:e.unreadNews)&&void 0!==i?i:[],unreadEvents:null!==(r=null==e?void 0:e.unreadEvents)&&void 0!==r?r:[],unreadPosts:null!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(dV({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,a.sent()];case 3:return(null==i||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&im.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[o]),s=i.useMemo((function(){return{refresh:a}}),[a]);return i.useEffect((function(){a().then(null,im.error)}),[a]),t.jsx(d4.Provider,dV({value:s},{children:n}),void 0)},g4=HI(f4||(f4=mV(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),m4=g$,v4=AV.f,y4=OK,b4=k0,_4=HV,w4=F0,k4="".startsWith,x4=Math.min,F4=w4("startsWith"),E4=!F4&&!!function(){var e=v4(String.prototype,"startsWith");return e&&!e.writable}();function C4(){var e=i.useContext(_E).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function S4(){var e=Pg().webAppUrl,t=D4();return t?"https://"+t:e}function O4(){var e=Pg().webAppUrls,t=D4();return t?gV(gV([],e),["https://"+t]):e}function D4(){var e,t=g0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}m4({target:"String",proto:!0,forced:!E4&&!F4},{startsWith:function(e){var t=String(_4(this));b4(e);var n=y4(x4(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return k4?k4.call(t,i,n):t.slice(n,n+i.length)===i}});var P4=i.createContext(null);var T4=window.System;function A4(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==i){var r=document.createElement("script");r.type="systemjs-importmap",r.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var l=s[a].name;o.imports[l]="app:"+l}r.textContent=JSON.stringify(o,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],h=d.name,f=d.packageDefinition;T4.set("app:"+h,f)}}}var L4=function(){return null};function I4(){return i.useContext(P4).storage}function M4(e,t){var n="Plugins::"+e+"::";return{getAllKeys:i,getString:function(e){return t.getString(n+e)},setString:function(e,i){return t.setString(n+e,i)},remove:function(e){return t.remove(n+e)},clearAll:function(){return fV(this,void 0,void 0,(function(){var e,r,o,a;return pV(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,o=e,s.label=2;case 2:return r<o.length?(a=o[r],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return fV(this,void 0,void 0,(function(){var i;return pV(this,(function(r){switch(r.label){case 0:return[4,t.getAllKeys()];case 1:return i=r.sent(),[2,null!==(e=null==i?void 0:i.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function j4(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function R4(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function N4(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}var z4,B4,G4=function(e){var n=e.pluginId,r=e.componentName,o=e.settings,a=e.bundleUrl,s=e.bundleModificationDate,l=hV(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bE(),c=rq(),d=function(){var e=rq(),t=g0(),n=iq(),r=n.createApiUrl,o=n.fetchFromApi,a=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return fV(this,void 0,void 0,(function(){var i,r,s;return pV(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,a()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,o("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return fV(this,void 0,void 0,(function(){return pV(this,(function(r){switch(r.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:i}).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},linkPlugin:function(t,n){return fV(this,void 0,void 0,(function(){return pV(this,(function(i){switch(i.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,i.sent()]}}))}))},unlinkPlugin:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,o,a,t.subscription.id])}().getPluginFileUrl,h=i.useMemo((function(){return i.lazy((function(){return function(e,t){return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,T4.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),im.error(n),[2,{default:L4}];case 3:return[2]}}))}))}(d(n,a,s),r)}))}),[r,n,d,a,s]),f=i.useMemo((function(){return{settings:o,storage:M4(n,u),userStore:R4(n,c),subscriptionStore:N4(n,c)}}),[n,o,u,c]);return t.jsx(i.Suspense,dV({fallback:t.jsx("div",{},void 0)},{children:t.jsx(P4.Provider,dV({value:f},{children:t.jsx(h,dV({name:r},l),void 0)}),void 0)}),void 0)},U4=GV,q4=Array.isArray||function(e){return"Array"==U4(e)},W4=q4,H4=OK,Q4=fZ,V4=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&Q4(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&W4(l))u=V4(e,t,l,H4(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},Y4=V4,K4=KV,$4=q4,Z4=X$("species"),X4=Y4,J4=y$,e6=OK,t6=m$,n6=function(e,t){var n;return $4(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!$4(n.prototype)?K4(n)&&null===(n=n[Z4])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function i6(){var e=g0(),t=function(){var e=function(){var e=r.useLocation(),t=Hg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));r6.some((function(e){return e.pluginId===n.pluginId}))||(r6.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(r6)))}return r6}(),t=Mk(n,[],[null==e?void 0:e.length])[0];return null!=o6?o6:t;function n(){return fV(this,void 0,void 0,(function(){var t,n,i,r,o,a;return pV(this,(function(s){switch(s.label){case 0:if(o6)return[2,o6];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],o="http://localhost:"+r.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,o6=t]}}))}))}}();return gV(gV([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}g$({target:"Array",proto:!0},{flatMap:function(e){var t,n=J4(this),i=e6(n.length);return t6(e),(t=n6(n,0)).length=X4(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),o3("flatMap"),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(B4||(B4={}));var r6=null!==(z4=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==z4?z4:[];var o6=null;var a6=GV,s6=EK,l6=HV,u6="".repeat||function(e){var t=String(l6(this)),n="",i=s6(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},c6=g$,d6=EK,h6=function(e){if("number"!=typeof e&&"Number"!=a6(e))throw TypeError("Incorrect invocation");return+e},f6=u6,p6=LV,g6=1..toFixed,m6=Math.floor,v6=function(e,t,n){return 0===t?n:t%2==1?v6(e,t-1,n*e):v6(e*e,t/2,n)};c6({target:"Number",proto:!0,forced:g6&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!p6((function(){g6.call({})}))},{toFixed:function(e){var t,n,i,r,o=h6(this),a=d6(e),s=[0,0,0,0,0,0],l="",u="0",c=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=m6(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=m6(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+f6.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(l="-",o=-o),o>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*v6(2,69,1))-69,n=t<0?o*v6(2,-t,1):o/v6(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=a;i>=7;)c(1e7,0),i-=7;for(c(v6(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=h()}else c(0,n),c(1<<-t,0),u=h()+f6.call("0",a);return u=a>0?l+((r=u.length)<=a?"0."+f6.call("0",a-r)+u:u.slice(0,r-a)+"."+u.slice(r-a)):l+u}});var y6={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},b6={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},_6=mY,w6=OK,k6=HV,x6=y2,F6=u2;o2("match",1,(function(e,t,n){return[function(t){var n=k6(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=_6(e),o=String(this);if(!r.global)return F6(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=F6(r,o));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=x6(o,w6(r.lastIndex),a)),u++}return 0===u?null:l}]}));var E6="\t\n\v\f\r \u2028\u2029\ufeff",C6=HV,S6="[\t\n\v\f\r \u2028\u2029\ufeff]",O6=RegExp("^"+S6+S6+"*"),D6=RegExp(S6+S6+"*$"),P6=function(e){return function(t){var n=String(C6(t));return 1&e&&(n=n.replace(O6,"")),2&e&&(n=n.replace(D6,"")),n}},T6={start:P6(1),end:P6(2),trim:P6(3)},A6=T6.trim,L6=E6,I6=TV.parseInt,M6=/^[+-]?0[Xx]/,j6=8!==I6(L6+"08")||22!==I6(L6+"0x16")?function(e,t){var n=A6(String(e));return I6(n,t>>>0||(M6.test(n)?16:10))}:I6;g$({global:!0,forced:parseInt!=j6},{parseInt:j6});var R6=o2,N6=_0,z6=mY,B6=HV,G6=UZ,U6=y2,q6=OK,W6=u2,H6=V1,Q6=LV,V6=[].push,Y6=Math.min,K6=4294967295,$6=!Q6((function(){return!RegExp(K6,"y")}));R6("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(B6(this)),r=void 0===n?K6:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!N6(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=H6.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&V6.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=B6(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=z6(e),s=String(this),l=G6(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+($6?"y":"g"),d=new l($6?a:"^(?:"+a.source+")",c),h=void 0===r?K6:r>>>0;if(0===h)return[];if(0===s.length)return null===W6(d,s)?[s]:[];for(var f=0,p=0,g=[];p<s.length;){d.lastIndex=$6?p:0;var m,v=W6(d,$6?s:s.slice(p));if(null===v||(m=Y6(q6(d.lastIndex+($6?0:p)),s.length))===f)p=U6(s,p,u);else{if(g.push(s.slice(f,p)),g.length===h)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===h)return g;p=f=m}}return g.push(s.slice(f)),g}]}),!$6);var Z6=LV,X6=E6,J6=T6.trim,e5=function(e){return Z6((function(){return!!X6[e]()||"
"!="
"[e]()||X6[e].name!==e}))};g$({target:"String",proto:!0,forced:e5("trim")},{trim:function(){return J6(this)}});var t5=EY.exports,n5=mY,i5=LV,r5=M1,o5="toString",a5=RegExp.prototype,s5=a5.toString,l5=i5((function(){return"/a/b"!=s5.call({source:"a",flags:"b"})})),u5=s5.name!=o5;(l5||u5)&&t5(RegExp.prototype,o5,(function(){var e=n5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in a5)?r5.call(e):n)}),{unsafe:!0});var c5=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),d5=null,h5=dV({name:"Default"},y6),f5=b6.palette.neutralLighter,p5="#ffffff",g5="#333333",m5=[h5,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D45081"}];function v5(e,t){var n=y5(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?b5(i):b5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:b5(n),textColorOnSecondary:b5(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=dV({},b6),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new c5(e.accentColor).toHex(),i=new c5(e.accentColor).lighten(-.3).toHex(),r=new c5(e.accentColor).lighten(.5).toHex(),o=y5(e.primaryColor),a=b5(i);return t.palette.themeDarker=new c5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new c5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new c5(e.primaryColor).toHex(),t.palette.themeLight=new c5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new c5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new c5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new c5("#B90000").toHex(),t.palette.redDark=new c5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new c5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new c5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=i,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=i,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=r,t.palette.themeSecondary=new c5(e.secondaryColor).toHex(),t.palette.themeTertiary=new c5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new c5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new c5(e.textColorOnSecondary).toHex(),t.textColors.default=new c5(g5).toHex(),t.textColors.onAccent=new c5(e.textColorOnAccent).toHex(),t}(o);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||a.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}d5||((d5=document.createElement("style")).type="text/css",d5.id="condense-ui-fabric-overrides",document.head.appendChild(d5));d5.innerHTML=t.join(" ")}(s),s}function y5(e){return new c5(e).lighten(-.2).toHex()}function b5(e){return function(e){var t=gH(e,g5),n=gH(e,p5);return t>n}(e)?g5:p5}var _5=i.createContext(null),w5=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,a=i.useState((function(){return v5(m5.find((function(e){return"Default"===e.name})),n)})),s=a[0],l=a[1];return t.jsx(_5.Provider,dV({value:{theme:s,setTheme:function(e){return l(v5(e,n))}}},{children:t.jsx(o.ThemeProvider,dV({theme:s},{children:r}),void 0)}),void 0)};var k5=985,x5=10,F5=20,E5=30,C5=40,S5=60,O5=550,D5=768,P5=1024,T5=1350,A5=549,L5=767,I5=1023,M5=1349,j5=25,R5=18,N5=16,z5=14,B5=12,G5=21/9,U5="rgba(0, 0, 0, 0.2)",q5=F5,W5=S5,H5=20,Q5=i.createContext(null),V5=i.createContext(null);function Y5(){return i.useContext(Q5)}var K5,$5,Z5,X5,J5,e9,t9=function(e){var n=e.children,r=i.useState(!1),o=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:p,showInfo:f,showError:g,showWarning:m,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:_,dismissToast:w}}),[c,s]),h=i.useMemo((function(){return dV(dV({},u),{isNotificationBarVisible:o})}),[u,o]);return t.jsx(Q5.Provider,dV({value:d},{children:t.jsx(V5.Provider,dV({value:h},{children:n}),void 0)}),void 0);function f(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function p(e){c({text:e,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var o=t.jsx(hE,{id:e,values:n},void 0);return null==i?WQ(o,r):WQ(t.jsxs(n9,{children:[t.jsx(i9,{children:o},void 0),t.jsx(r9,{children:i},void 0)]},void 0),dV({},r))}function _(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function w(e){WQ.dismiss(e)}},n9=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(K5||(K5=mV(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),O5),i9=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})($5||($5=mV(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),r9=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(Z5||(Z5=mV(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),O5),o9=function(){var e=r.useHistory(),n=i.useContext(XO).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return WQ.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(a9,{chromeless:n},void 0),t.jsx(TQ,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:PQ,closeButton:!1},void 0)]},void 0)},a9=o.createGlobalStyle(e9||(e9=mV(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&o.css(X5||(X5=mV(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&o.css(J5||(J5=mV(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),A5)}));function s9(){var e=rq();return i.useMemo((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(eW(n))return eH(n,null);if(tW(n)&&Object.getPrototypeOf(n)===Object.prototype){var i=Object.keys(n);return eH(i.map((function(e){return n[e]})),i)}}if("function"==typeof e[e.length-1]){var r=e.pop();return eH(e=1===e.length&&eW(e[0])?e[0]:e,null).pipe(RW((function(e){return r.apply(void 0,e)})))}return eH(e,null)}(n(),t()).pipe(RW((function(e){var t=e[0],n=e[1],i={};return t.forEach((function(e){i[e.id]=n.filter((function(t){return t.groupId===e.id}))})),i}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return fV(this,void 0,void 0,(function(){return pV(this,(function(i){return[2,e.all(n+"news/"+t+"/keyword_groups").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}var l9,u9=function(e){var n=e.loadingIndicator,r=e.children,o=i.useContext(c9);return o.channels?t.jsx(d9.Provider,dV({value:o},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(a.Spinner,{},void 0)},void 0)},c9=i.createContext(null),d9=i.createContext(null),h9=new Promise((function(e){return l9=e})),f9=function(e){var n=e.children,r=function(){var e=rq();return i.useMemo((function(){return{getChannels:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))},getChannelsByItemId:function(t,n){return void 0===n&&(n=""),fV(this,void 0,void 0,(function(){return pV(this,(function(i){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,o=s9(),a=o.getAllKeywords,s=o.getSelectedGroups;return t.jsx(p9,dV({getChannels:r,getAllKeywords:a,getSelectedGroups:s},{children:n}),void 0)},p9=function(e){var n=e.getChannels,r=e.getAllKeywords,o=e.getSelectedGroups,a=e.children,s=m0(),l=i.useContext(_E).identifier,u=i.useContext(mE).handleFatalError,c=i.useCallback((function(){return fV(this,void 0,void 0,(function(){var e,t,i,r,o,a;return pV(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(),b(),_()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],o=r.reduce((function(e,t){var n;return dV(dV({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),l9(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:o,selectedKeywordGroups:r}];case 2:return a=s.sent(),im.error(JSON.stringify(a)),[4,I2(a)];case 3:return!0!==s.sent()&&u({error:a}),[2,{}];case 4:return[2]}}))}))}),[n,r,o]),d=Mk(c,{},[l.id,n,r]),h=d[0],f=h.channels,p=h.allKeywords,g=h.keywordsByGroupId,m=h.selectedKeywordGroups,v=d[3],y=i.useMemo((function(){return{channels:f,getChannels:function(){return h9},allKeywords:p,keywordsByGroupId:g,selectedKeywordGroups:m,refreshSubscription:function(){return fV(void 0,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[f,p,g,m,v,c]);return t.jsx(c9.Provider,dV({value:y},{children:a}),void 0);function b(){return fV(this,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,r()];case 2:return[2,t.sent()];case 3:return e=t.sent(),im.error(e),[2,[]];case 4:return[2]}}))}))}function _(){return fV(this,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o()];case 2:return[2,t.sent()];case 3:return e=t.sent(),im.error(e),[2,[]];case 4:return[2]}}))}))}};var g9={};function m9(e){var t;(null==e?void 0:e.type)&&(null===(t=g9[e.type])||void 0===t||t.some((function(t){return t(e)})))}function v9(e,t,n){i.useEffect((function(){if(e)return g9[e]||(g9[e]=[]),g9[e].push(t),function(){g9[e]=g9[e].filter((function(e){return e!==t}))}}),gV([e],n||[]))}var y9=g$,b9=m$,_9=y$,w9=LV,k9=C$,x9=[],F9=x9.sort,E9=w9((function(){x9.sort(void 0)})),C9=w9((function(){x9.sort(null)})),S9=k9("sort");y9({target:"Array",proto:!0,forced:E9||!C9||!S9},{sort:function(e){return void 0===e?F9.call(_9(this)):F9.call(_9(this),b9(e))}});var O9=q4,D9=[].reverse,P9=[1,2];g$({target:"Array",proto:!0,forced:String(P9)===String(P9.reverse())},{reverse:function(){return O9(this)&&(this.length=this.length),D9.call(this)}});var T9,A9,L9,I9=[],M9=function(e,t){I9.some((function(t){return t.handler===e}))||I9.push({handler:e,priority:t||0})},j9=function(e){I9=I9.filter((function(t){return t.handler!==e}))};function R9(e,t,n,i){if(!((null==e?void 0:e.length)&&t.keywords&&n&&i))return{};var r=e.flatMap((function(e){return e.defaultKeywordIds||[]})).concat(e.flatMap((function(e){return e.availableKeywordIds||n.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryKeywordIds||[]})));return B9(Array.from(new Set(r)),i)}function N9(e,t,n,i){var r=R9(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function z9(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]})).concat(e.flatMap((function(e){return e.defaultKeywordIds||[]})));return i.length?B9(i,n):{}}function B9(e,t){var n={};return Object.keys(t).forEach((function(i){var r=t[i].filter((function(t){return e.some((function(e){return e===t.id}))}));r.length&&(n[i]=r)})),n}function G9(e,t,n,i,r){if(e){var o=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)}));e.keywords||(e.keywords={});var a=R9(o,n,i,r),s=function(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]}));return i.length?B9(i,n):{}}(o,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=a[t]||[];e.keywords[t]=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){return i.some((function(t){return t.id===e.id}))}))})),Object.keys(s).forEach((function(t){var n,i,r=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){var n;return null===(n=s[t])||void 0===n?void 0:n.every((function(t){return t.id!==e.id}))}));e.keywords[t]=(null!=r?r:[]).concat(null!==(i=s[t])&&void 0!==i?i:[])}))}}function U9(e,t){var n=W9(e,t),i=function(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]}));return t.filter((function(e){return n.includes(e.id)}))}(e,t);return Array.from(new Set(n.concat(i)))}function q9(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]})).concat(e.flatMap((function(e){return e.availableChannelIds||t.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryChannelIds||[]})));return n=Array.from(new Set(n)),t.filter((function(e){return n.includes(e.id)}))}function W9(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.mandatoryChannelIds||[]}));return n.length?t.filter((function(e){return n.includes(e.id)})):[]}!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(T9||(T9={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(A9||(A9={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(L9||(L9={})),(new vW).pipe($Q(100),(function(e){return bW()((t=iV,function(e){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new nV(i,n));var r=Object.create(e,xW);return r.source=e,r.subjectFactory=i,r})(e));var t,n}));var H9=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),Q9=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}();VQ("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");VQ('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var V9={exports:{}};
|
|
116
|
+
*/function FH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var EH=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=FH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))kH.call(n,a)&&(r[a]=n[a]);if(wH){i=wH(n);for(var s=0;s<i.length;s++)xH.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},CH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",SH=function(){};if("production"!==ma.env.NODE_ENV){var OH=CH,DH={},PH=Function.call.bind(Object.prototype.hasOwnProperty);SH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function TH(e,t,n,i,r){if("production"!==ma.env.NODE_ENV)for(var o in e)if(PH(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]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,OH)}catch(e){a=e}if(!a||a instanceof Error||SH((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 DH)){DH[a.message]=!0;var l=r?r():"";SH("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}TH.resetWarningCache=function(){"production"!==ma.env.NODE_ENV&&(DH={})};var AH=TH,LH=w.default,IH=EH,MH=CH,jH=AH,RH=Function.call.bind(Object.prototype.hasOwnProperty),NH=function(){};function zH(){return null}"production"!==ma.env.NODE_ENV&&(NH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function BH(){}function GH(){}GH.resetWarningCache=BH;if("production"!==ma.env.NODE_ENV){var UH=w.default;_H.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(zH),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 `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",MH);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 `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return LH.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(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 u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(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(RH(s,u)){var d=e(s,u,i,r,o+"."+u,MH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==ma.env.NODE_ENV&&NH(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."),zH;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"===d(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"!==ma.env.NODE_ENV&&NH("Invalid argument supplied to oneOfType, expected an instance of array."),zH;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return NH("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),zH}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,MH))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var h=d(s,u,i,r,o+"."+u,MH);if(h)return h}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=IH({},t[n],e);for(var d in u){var h=e[d];if(!h)return new a("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=h(s,d,i,r,o+"."+d,MH);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==ma.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==MH){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==ma.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(NH("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[p]=!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 c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(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 d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function h(e){var t=d(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=jH,r.resetWarningCache=jH.resetWarningCache,r.PropTypes=r,r}(UH.isElement,!0)}else _H.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,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:GH,resetWarningCache:BH};return n.PropTypes=n,n}();var qH=_H.exports,WH=!1,HH="production"!==ma.env.NODE_ENV?qH.oneOfType([qH.number,qH.shape({enter:qH.number,exit:qH.number,appear:qH.number}).isRequired]):null;"production"!==ma.env.NODE_ENV&&qH.oneOfType([qH.string,qH.shape({enter:qH.string,exit:qH.string,active:qH.string}),qH.shape({enter:qH.string,enterDone:qH.string,enterActive:qH.string,exit:qH.string,exitDone:qH.string,exitActive:qH.string})]);var QH=m.default.createContext(null),VH="unmounted",YH="exited",KH="entering",$H="entered",ZH="exiting",XH=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=YH,i.appearStatus=KH):r=$H:r=t.unmountOnExit||t.mountOnEnter?VH:YH,i.state={status:r},i.nextCallback=null,i}bH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===VH?{status:YH}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==KH&&n!==$H&&(t=KH):n!==KH&&n!==$H||(t=ZH)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===KH?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===YH&&this.setState({status:VH})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[b.default.findDOMNode(this),i],o=r[0],a=r[1],s=this.getTimeouts(),l=i?s.appear:s.enter;!e&&!n||WH?this.safeSetState({status:$H},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:KH},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:$H},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:b.default.findDOMNode(this);t&&!WH?(this.props.onExit(i),this.safeSetState({status:ZH},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:YH},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:YH},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:b.default.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],a=r[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===VH)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var i=vH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.default.createElement(QH.Provider,{value:null},"function"==typeof n?n(e,i):m.default.cloneElement(m.default.Children.only(n),i))},t}(m.default.Component);function JH(){}XH.contextType=QH,XH.propTypes="production"!==ma.env.NODE_ENV?{nodeRef:qH.shape({current:"undefined"==typeof Element?qH.any:function(e,t,n,i,r,o){var a=e[t];return qH.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,i,r,o)}}),children:qH.oneOfType([qH.func.isRequired,qH.element.isRequired]).isRequired,in:qH.bool,mountOnEnter:qH.bool,unmountOnExit:qH.bool,appear:qH.bool,enter:qH.bool,exit:qH.bool,timeout:function(e){var t=HH;e.addEndListener||(t=t.isRequired);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.apply(void 0,[e].concat(i))},addEndListener:qH.func,onEnter:qH.func,onEntering:qH.func,onEntered:qH.func,onExit:qH.func,onExiting:qH.func,onExited:qH.func}:{},XH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:JH,onEntering:JH,onEntered:JH,onExit:JH,onExiting:JH,onExited:JH},XH.UNMOUNTED=VH,XH.EXITED=YH,XH.ENTERING=KH,XH.ENTERED=$H,XH.EXITING=ZH;var eQ=XH;function tQ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nQ(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&i.isValidElement(e)?t(e):e}(e)})),n}function iQ(e,t,n){return null!=n[t]?n[t]:e.props[t]}function rQ(e,t,n){var r=nQ(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,r=Object.create(null),o=[];for(var a in e)a in t?o.length&&(r[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var u=r[l][i];s[r[l][i]]=n(u)}s[l]=n(l)}for(i=0;i<o.length;i++)s[o[i]]=n(o[i]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if(i.isValidElement(s)){var l=a in t,u=a in r,c=t[a],d=i.isValidElement(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&i.isValidElement(c)&&(o[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:c.props.in,exit:iQ(s,"exit",e),enter:iQ(s,"enter",e)})):o[a]=i.cloneElement(s,{in:!1}):o[a]=i.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:iQ(s,"exit",e),enter:iQ(s,"enter",e)})}})),o}var oQ=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},aQ=function(e){function t(t,n){var i,r=(i=e.call(this,t,n)||this).handleExited.bind(tQ(i));return i.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},i}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,nQ(n.children,(function(e){return i.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:iQ(e,"appear",n),enter:iQ(e,"enter",n),exit:iQ(e,"exit",n)})}))):rQ(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=nQ(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=mH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=vH(e,["component","childFactory"]),r=this.state.contextValue,o=oQ(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?m.default.createElement(QH.Provider,{value:r},o):m.default.createElement(QH.Provider,{value:r},m.default.createElement(t,i,o))},t}(m.default.Component);aQ.propTypes="production"!==ma.env.NODE_ENV?{component:qH.any,children:qH.node,appear:qH.bool,enter:qH.bool,exit:qH.bool,childFactory:qH.func}:{},aQ.defaultProps={component:"div",childFactory:function(e){return e}};var sQ=aQ,lQ={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},uQ={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},cQ=0,dQ=1,hQ=2,fQ=3,pQ=4,gQ=function(){};function mQ(e){return"number"==typeof e&&!isNaN(e)&&e>0}function vQ(e){return Object.keys(e).map((function(t){return e[t]}))}var yQ=!("undefined"==typeof window||!window.document||!window.document.createElement);var bQ,_Q=((bQ=function(e,t,n){var i=e[t];return!1===i||mQ(i)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+i+" given.")}).isRequired=function(e,t,n){if(void 0===e[t])return new Error("The prop "+t+" is marked as required in \n "+n+", but its value is undefined.");bQ(e,t,n)},bQ),wQ={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e){return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach((function(e){return clearTimeout(e)})),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];this.list.has(e)&&this.list.get(e).forEach((function(n){var r=setTimeout((function(){n.apply(void 0,i)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(r)}))}};function kQ(e){var t=e.enter,n=e.exit,i=e.duration,r=void 0===i?750:i,o=e.appendPosition,a=void 0!==o&&o;return function(e){var i,o,s=e.children,l=e.position,u=e.preventExitTransition,c=vH(e,["children","position","preventExitTransition"]),d=a?t+"--"+l:t,h=a?n+"--"+l:n;Array.isArray(r)&&2===r.length?(i=r[0],o=r[1]):i=o=r;return m.default.createElement(eQ,mH({},c,{timeout:u?0:{enter:i,exit:o},onEnter:function(e){e.classList.add(d),e.style.animationFillMode="forwards",e.style.animationDuration=.001*i+"s"},onEntered:function(e){e.classList.remove(d),e.style.cssText=""},onExit:u?gQ:function(e){e.classList.add(h),e.style.animationFillMode="forwards",e.style.animationDuration=.001*o+"s"}}),s)}}function xQ(e){var t,n,i=e.delay,r=e.isRunning,o=e.closeToast,a=e.type,s=e.hide,l=e.className,u=e.style,c=e.controlledProgress,d=e.progress,h=e.rtl,f=mH({},u,{animationDuration:i+"ms",animationPlayState:r?"running":"paused",opacity:s?0:1,transform:c?"scaleX("+d+")":null}),p=Yq("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+a,((t={})["Toastify__progress-bar--rtl"]=h,t),l),g=((n={})[c&&d>=1?"onTransitionEnd":"onAnimationEnd"]=c&&d<1?null:o,n);return m.default.createElement("div",mH({className:p,style:f},g))}function FQ(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function EQ(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}xQ.propTypes={delay:_Q.isRequired,isRunning:qH.bool.isRequired,closeToast:qH.func.isRequired,rtl:qH.bool.isRequired,type:qH.string,hide:qH.bool,className:qH.oneOfType([qH.string,qH.object]),progress:qH.number,controlledProgress:qH.bool},xQ.defaultProps={type:uQ.DEFAULT,hide:!1};var CQ=yQ&&/(msie|trident)/i.test(navigator.userAgent),SQ=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={isRunning:!0,preventExitTransition:!1},t.flag={canCloseOnClick:!0,canDrag:!1},t.drag={start:0,x:0,y:0,deltaX:0,removalDistance:0},t.boundingRect=null,t.ref=null,t.pauseToast=function(){t.props.autoClose&&t.setState({isRunning:!1})},t.playToast=function(){t.props.autoClose&&t.setState({isRunning:!0})},t.onDragStart=function(e){t.flag.canCloseOnClick=!0,t.flag.canDrag=!0,t.boundingRect=t.ref.getBoundingClientRect(),t.ref.style.transition="",t.drag.start=t.drag.x=FQ(e.nativeEvent),t.drag.removalDistance=t.ref.offsetWidth*(t.props.draggablePercent/100)},t.onDragMove=function(e){t.flag.canDrag&&(t.state.isRunning&&t.pauseToast(),t.drag.x=FQ(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=EQ(e),t.drag.start!==t.drag.x&&(t.flag.canCloseOnClick=!1),t.ref.style.transform="translateX("+t.drag.deltaX+"px)",t.ref.style.opacity=1-Math.abs(t.drag.deltaX/t.drag.removalDistance))},t.onDragEnd=function(e){if(t.flag.canDrag){if(t.flag.canDrag=!1,Math.abs(t.drag.deltaX)>t.drag.removalDistance)return void t.setState({preventExitTransition:!0},t.props.closeToast);t.ref.style.transition="transform 0.2s, opacity 0.2s",t.ref.style.transform="translateX(0)",t.ref.style.opacity=1}},t.onDragTransitionEnd=function(){if(t.boundingRect){var e=t.boundingRect,n=e.top,i=e.bottom,r=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=r&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=i?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(CQ)t.props.onExited();else{var e=t.ref.scrollHeight,n=t.ref.style;requestAnimationFrame((function(){n.minHeight="initial",n.height=e+"px",n.transition="all 0.4s ",requestAnimationFrame((function(){n.height=0,n.padding=0,n.margin=0})),setTimeout((function(){return t.props.onExited()}),400)}))}},t}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onOpen(this.props.children.props),this.props.draggable&&this.bindDragEvents(),this.props.pauseOnFocusLoss&&this.bindFocusEvents()},n.componentDidUpdate=function(e){e.draggable!==this.props.draggable&&(this.props.draggable?this.bindDragEvents():this.unbindDragEvents()),e.pauseOnFocusLoss!==this.props.pauseOnFocusLoss&&(this.props.pauseOnFocusLoss?this.bindFocusEvents():this.unbindFocusEvents())},n.componentWillUnmount=function(){this.props.onClose(this.props.children.props),this.props.draggable&&this.unbindDragEvents(),this.props.pauseOnFocusLoss&&this.unbindFocusEvents()},n.bindFocusEvents=function(){window.addEventListener("focus",this.playToast),window.addEventListener("blur",this.pauseToast)},n.unbindFocusEvents=function(){window.removeEventListener("focus",this.playToast),window.removeEventListener("blur",this.pauseToast)},n.bindDragEvents=function(){document.addEventListener("mousemove",this.onDragMove),document.addEventListener("mouseup",this.onDragEnd),document.addEventListener("touchmove",this.onDragMove),document.addEventListener("touchend",this.onDragEnd)},n.unbindDragEvents=function(){document.removeEventListener("mousemove",this.onDragMove),document.removeEventListener("mouseup",this.onDragEnd),document.removeEventListener("touchmove",this.onDragMove),document.removeEventListener("touchend",this.onDragEnd)},n.render=function(){var e,t=this,n=this.props,i=n.closeButton,r=n.children,o=n.autoClose,a=n.pauseOnHover,s=n.onClick,l=n.closeOnClick,u=n.type,c=n.hideProgressBar,d=n.closeToast,h=n.transition,f=n.position,p=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,_=n.role,w=n.progress,k=n.rtl,x={className:Yq("Toastify__toast","Toastify__toast--"+u,(e={},e["Toastify__toast--rtl"]=k,e),p)};o&&a&&(x.onMouseEnter=this.pauseToast,x.onMouseLeave=this.playToast),l&&(x.onClick=function(e){s&&s(e),t.flag.canCloseOnClick&&d()});var F=parseFloat(w)===w;return m.default.createElement(h,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:f,preventExitTransition:this.state.preventExitTransition},m.default.createElement("div",mH({onClick:s},x,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),m.default.createElement("div",mH({},this.props.in&&{role:_},{className:Yq("Toastify__toast-body",g)}),r),i&&i,(o||F)&&m.default.createElement(xQ,mH({},b&&!F?{key:"pb-"+b}:{},{rtl:k,delay:o,isRunning:this.state.isRunning,closeToast:d,hide:c,type:u,style:y,className:v,controlledProgress:F,progress:w}))))},t}(i.Component);function OQ(e){var t=e.closeToast,n=e.type,i=e.ariaLabel;return m.default.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":i},"✖︎")}SQ.propTypes={closeButton:qH.oneOfType([qH.node,qH.bool]).isRequired,autoClose:_Q.isRequired,children:qH.node.isRequired,closeToast:qH.func.isRequired,position:qH.oneOf(vQ(lQ)).isRequired,pauseOnHover:qH.bool.isRequired,pauseOnFocusLoss:qH.bool.isRequired,closeOnClick:qH.bool.isRequired,transition:qH.func.isRequired,rtl:qH.bool.isRequired,hideProgressBar:qH.bool.isRequired,draggable:qH.bool.isRequired,draggablePercent:qH.number.isRequired,in:qH.bool,onExited:qH.func,onOpen:qH.func,onClose:qH.func,type:qH.oneOf(vQ(uQ)),className:qH.oneOfType([qH.string,qH.object]),bodyClassName:qH.oneOfType([qH.string,qH.object]),progressClassName:qH.oneOfType([qH.string,qH.object]),progressStyle:qH.object,progress:qH.number,updateId:qH.oneOfType([qH.string,qH.number]),ariaLabel:qH.string,containerId:qH.oneOfType([qH.string,qH.number]),role:qH.string},SQ.defaultProps={type:uQ.DEFAULT,in:!0,onOpen:gQ,onClose:gQ,className:null,bodyClassName:null,progressClassName:null,updateId:null},OQ.propTypes={closeToast:qH.func,arialLabel:qH.string},OQ.defaultProps={ariaLabel:"close"};var DQ=kQ({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),PQ=kQ({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});kQ({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),kQ({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var TQ=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}bH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;wQ.cancelEmit(fQ).on(cQ,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(dQ,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(hQ,this)},n.componentWillUnmount=function(){wQ.emit(fQ,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){wQ.emit(pQ,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,o=this.props.closeButton;return i.isValidElement(e)||!1===e?o=e:!0===e&&(o=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:m.default.createElement(OQ,null)),!1!==o&&i.cloneElement(o,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||mQ(e)?e:this.props.autoClose},n.canBeRendered=function(e){return i.isValidElement(e)||"string"==typeof e||"number"==typeof e||"function"==typeof e},n.parseClassName=function(e){return"string"==typeof e?e:null!==e&&"object"==typeof e&&"toString"in e?e.toString():null},n.belongToContainer=function(e){return e.containerId===this.props.containerId},n.buildToast=function(e,t){var n=this,r=t.delay,o=vH(t,["delay"]);if(!this.canBeRendered(e))throw new Error("The element you provided cannot be rendered. You provided an element of type "+typeof e);var a=o.toastId,s=o.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(o)||this.isToastActive(a)&&null==s)){var l=function(){return n.removeToast(a)},u={id:a,key:o.key||this.toastKey++,type:o.type,closeToast:l,updateId:o.updateId,rtl:this.props.rtl,position:o.position||this.props.position,transition:o.transition||this.props.transition,className:this.parseClassName(o.className||this.props.toastClassName),bodyClassName:this.parseClassName(o.bodyClassName||this.props.bodyClassName),onClick:o.onClick||this.props.onClick,closeButton:this.makeCloseButton(o.closeButton,a,o.type),pauseOnHover:"boolean"==typeof o.pauseOnHover?o.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof o.pauseOnFocusLoss?o.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof o.draggable?o.draggable:this.props.draggable,draggablePercent:"number"!=typeof o.draggablePercent||isNaN(o.draggablePercent)?this.props.draggablePercent:o.draggablePercent,closeOnClick:"boolean"==typeof o.closeOnClick?o.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(o.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(o.autoClose),hideProgressBar:"boolean"==typeof o.hideProgressBar?o.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(o.progress),role:"string"==typeof o.role?o.role:this.props.role};"function"==typeof o.onOpen&&(u.onOpen=o.onOpen),"function"==typeof o.onClose&&(u.onClose=o.onClose),i.isValidElement(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=i.cloneElement(e,{closeToast:l}):"function"==typeof e&&(e=e({closeToast:l})),mQ(r)?setTimeout((function(){n.appendToast(u,e,o.staleToastId)}),r):this.appendToast(u,e,o.staleToastId)}},n.appendToast=function(e,t,n){var i,r=e.id,o=e.updateId;this.collection=mH({},this.collection,((i={})[r]={options:e,content:t,position:e.position},i)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[r])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,i=n.className,r=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var i=e.collection[n],r=i.position,o=i.options,a=i.content;t[r]||(t[r]=[]),-1!==e.state.toast.indexOf(o.id)?t[r].push(m.default.createElement(SQ,mH({},o,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+o.key}),a)):(t[r].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var o,a=1===t[n].length&&null===t[n][0],s={className:Yq("Toastify__toast-container","Toastify__toast-container--"+n,(o={},o["Toastify__toast-container--rtl"]=e.props.rtl,o),e.parseClassName(i)),style:a?mH({},r,{pointerEvents:"none"}):mH({},r)};return m.default.createElement(sQ,mH({},s,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return m.default.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(i.Component);TQ.propTypes={position:qH.oneOf(vQ(lQ)),autoClose:_Q,closeButton:qH.oneOfType([qH.node,qH.bool]),hideProgressBar:qH.bool,pauseOnHover:qH.bool,closeOnClick:qH.bool,newestOnTop:qH.bool,className:qH.oneOfType([qH.string,qH.object]),style:qH.object,toastClassName:qH.oneOfType([qH.string,qH.object]),bodyClassName:qH.oneOfType([qH.string,qH.object]),progressClassName:qH.oneOfType([qH.string,qH.object]),progressStyle:qH.object,transition:qH.func,rtl:qH.bool,draggable:qH.bool,draggablePercent:qH.number,pauseOnFocusLoss:qH.bool,enableMultiContainer:qH.bool,containerId:qH.oneOfType([qH.string,qH.number]),role:qH.string,onClick:qH.func},TQ.defaultProps={position:lQ.TOP_RIGHT,transition:DQ,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:m.default.createElement(OQ,null),pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,className:null,style:null,toastClassName:null,bodyClassName:null,progressClassName:null,progressStyle:null,role:"alert"};var AQ=new Map,LQ=null,IQ=null,MQ={},jQ=[],RQ=!1;function NQ(){return AQ.size>0}function zQ(e,t){var n=function(e){return NQ()?e?AQ.get(e):AQ.get(LQ):null}(t.containerId);if(!n)return null;var i=n.collection[e];return void 0===i?null:i}function BQ(e,t){return mH({},e,{type:t,toastId:UQ(e)})}function GQ(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function UQ(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:GQ()}function qQ(e,t){return NQ()?wQ.emit(cQ,e,t):(jQ.push({action:cQ,content:e,options:t}),RQ&&yQ&&(RQ=!1,IQ=document.createElement("div"),document.body.appendChild(IQ),s.render(m.default.createElement(TQ,MQ),IQ))),t.toastId}var WQ=function(e,t){return qQ(e,BQ(t,t&&t.type||uQ.DEFAULT))},HQ=function(e){uQ[e]!==uQ.DEFAULT&&(WQ[uQ[e].toLowerCase()]=function(t,n){return qQ(t,BQ(n,n&&n.type||uQ[e]))})};for(var QQ in uQ)HQ(QQ);function VQ(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}WQ.warn=WQ.warning,WQ.dismiss=function(e){return void 0===e&&(e=null),NQ()&&wQ.emit(dQ,e)},WQ.isActive=function(e){var t=!1;return AQ.size>0&&AQ.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},WQ.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=zQ(e,t);if(n){var i=n.options,r=n.content,o=mH({},i,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=GQ();var a=void 0!==o.render?o.render:r;delete o.render,qQ(a,o)}}),0)},WQ.done=function(e){WQ.update(e,{progress:1})},WQ.onChange=function(e){"function"==typeof e&&wQ.on(pQ,e)},WQ.configure=function(e){RQ=!0,MQ=e},WQ.POSITION=lQ,WQ.TYPE=uQ,wQ.on(hQ,(function(e){LQ=e.props.containerId||e,AQ.set(LQ,e),jQ.forEach((function(e){wQ.emit(e.action,e.content,e.options)})),jQ=[]})).on(fQ,(function(e){e?AQ.delete(e.props.containerId||e):AQ.clear(),0===AQ.size&&wQ.off(cQ).off(dQ),yQ&&IQ&&document.body.removeChild(IQ)}));VQ(".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}");var YQ=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new KQ(e,this.selector,this.caught))},e}(),KQ=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.selector=n,r.caught=i,r}return xo(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var i=new GW(this,void 0,void 0);this.add(i),VW(this,n,void 0,void 0,i)}},t}(BW);function $Q(e,t){return void 0===t&&(t=MW),function(n){return n.lift(new ZQ(e,t))}}var ZQ=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new XQ(e,this.dueTime,this.scheduler))},e}(),XQ=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return xo(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(JQ,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(sW);function JQ(e){e.debouncedNext()}var eV=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new tV(e,this.callback))},e}(),tV=function(e){function t(t,n){var i=e.call(this,t)||this;return i.add(new rW(n)),i}return xo(t,e),t}(sW);var nV=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(e);return r.add(t.subscribe(i)),r},e}();function iV(){return new vW}function rV(e,t){return"function"==typeof t?function(n){return n.pipe(rV((function(n,i){return KW(e(n,i)).pipe(RW((function(e,r){return t(n,e,i,r)})))})))}:function(t){return t.lift(new oV(e))}}var oV=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new aV(e,this.project))},e}(),aV=function(e){function t(t,n){var i=e.call(this,t)||this;return i.project=n,i.index=0,i}return xo(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new GW(this,void 0,void 0);this.destination.add(r),this.innerSubscription=VW(this,e,t,n,r)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,i,r){this.destination.next(t)},t}(BW);function sV(e,t,n){return function(i){return i.lift(new lV(e,t,n))}}var lV=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new uV(e,this.nextOrObserver,this.error,this.complete))},e}(),uV=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._tapNext=cW,o._tapError=cW,o._tapComplete=cW,o._tapError=i||cW,o._tapComplete=r||cW,Kq(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cW,o._tapError=n.error||cW,o._tapComplete=n.complete||cW),o}return xo(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(sW),cV=function(e,t){return cV=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},cV(e,t)};var dV=function(){return dV=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},dV.apply(this,arguments)};function hV(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 fV(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 pV(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 gV(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function mV(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var vV,yV,bV,_V,wV=o.createGlobalStyle(vV||(vV=mV(["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"],["\n // focus style should be visible only when keyboard navigation is activated\n // office ui fabric adds 'ms-Fabric--isFocusVisible' when the user presses keyboard keys, and removes it when the user clicks a mouse button\n\n .ms-Fabric--isFocusVisible .lt-reach {\n a:not(.ms-Button):focus,\n div[data-is-focusable]:not(.ms-PickerPersona-container):focus {\n box-shadow: none;\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n\n div[data-is-focusable][role=\"listbox\"]:focus,\n div[data-is-focusable].ms-Dropdown:focus {\n &::after {\n border: 0;\n }\n }\n\n a[data-rounded-outline='true']:focus {\n border-radius: 20px;\n outline-offset: 4px;\n }\n\n button:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 2px;\n inset: 0;\n }\n }\n\n button[data-rounded-outline='50']:focus {\n &::after {\n border-radius: 50%;\n outline-offset: 4px;\n }\n }\n\n button[data-rounded-outline='true']:focus {\n &::after {\n border-radius: 20px;\n outline-offset: 4px;\n }\n }\n\n button[data-toggle-button='true']:focus {\n &::after {\n border: none;\n border-radius: 12px;\n outline-offset: 3px;\n }\n }\n\n a[data-clickable-overlay]:focus {\n outline: 0 !important;\n\n &::before {\n outline: 2px solid ",";\n outline-offset: 5px;\n }\n }\n\n input[type='checkbox']:focus + label::before {\n outline: 2px solid ",";\n }\n\n div.ms-Dropdown-item input[type='checkbox']:focus + label::before,\n button.ms-Dropdown-item:focus::after {\n outline-offset: -2px;\n }\n\n div.ms-ChoiceField-wrapper.is-inFocus {\n &::after {\n outline: 2px solid ",";\n border: 0;\n }\n }\n\n .ms-SearchBox-clearButton button:focus::after {\n outline-offset: -4px;\n }\n\n .ms-PickerPersona-container:focus {\n &::after {\n outline: 2px solid ",";\n outline-offset: 0;\n }\n }\n }\n\n .ms-Fabric--isFocusVisible .lt-reach-contextual-menu {\n button:focus {\n &::after {\n outline-color: ",";\n outline-width: 2px;\n outline-offset: -2px;\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),kV=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},xV=function(e){return o.css(yV||(yV=mV(["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"],["\n &::-webkit-scrollbar {\n display: inherit;\n ","\n }\n\n &:hover::-webkit-scrollbar {\n ","\n width: ",";\n }\n\n &:hover::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);\n border-radius: 8px;\n -webkit-border-radius: 8px;\n }\n\n &:hover::-webkit-scrollbar-thumb {\n -webkit-border-radius: 10px;\n border-radius: 10px;\n background: rgba(100, 100, 100, 0.8);\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);\n }\n"])),e&&"height: 10px;",e&&"height: 10px;",e?"100%":"10px")},FV=o.createGlobalStyle(bV||(bV=mV(["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"],["\n .lt-reach {\n color: ",";\n\n a {\n text-decoration: none;\n }\n\n *:focus {\n outline: none;\n }\n\n input[type='button'],\n input[type='reset'],\n input[type='submit'],\n button {\n min-width: auto;\n }\n\n h1,\n h2,\n h3,\n div,\n span,\n input,\n textarea,\n .ms-font-m,\n div.ms-Dialog,\n .ms-Label,\n .ms-Link {\n font-family: 'Roboto', sans-serif !important;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: 500;\n }\n\n .ms-Fabric {\n -webkit-font-smoothing: initial !important;\n }\n\n .ms-Button--icon.ms-Button {\n\n &:hover {\n background-color: transparent;\n }\n\n &.is-expanded {\n background-color: transparent;\n }\n }\n\n /***\n UI Fabric overrides\n */\n .ms-Dialog-main {\n width: inherit;\n .ms-Dialog-button--close:hover {\n background-color: transparent;\n }\n }\n\n .ms-Dialog-main {\n width: auto !important;\n max-width: 100% !important;\n margin: 0 10px;\n }\n\n .ms-Callout {\n // max-width 100% overflows on small screens where the dialog contents\n // occupy the whole 100%\n max-width: 90% !important;\n }\n\n }\n \n .lt-reach-picker-callout .ms-PeoplePicker-Persona {\n width: auto;\n }\n\n // the pull to refresh container is placed ABOVE our element, therefore we can not use a class from our component\n // however since \"app\" is our outer-most class it should be fine to use this\n .app {\n .ptr--ptr {\n box-shadow: none;\n }\n }\n\n .lt-reach-languageselector-menu-item {\n &.selected {\n background-color: #c0c0c0;\n span {\n font-weight: bold;\n }\n }\n\n button i {\n color: inherit;\n }\n }\n\n .browser-name-safari,\n .browser-name-ios,\n .browser-name-ios-webview {\n .lt-reach-header-actions {\n height: 50px;\n }\n }\n\n .browser-name-safari {\n .lt-reach-force-safari-h-scrollbar {\n ","\n }\n\n .lt-reach-force-safari-v-scrollbar {\n ","\n }\n }\n"])),(function(e){return e.theme.textColors.default}),xV(!0),xV()),EV=Yq(["browser-version-"+lm,"browser-name-"+sm],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(_V||(_V={}));var CV="Language",SV="Locale";function OV(){var e=bE();return i.useMemo((function(){return{getLocalLanguage:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){switch(t.label){case 0:return[4,e.getString(CV)];case 1:return[2,hk(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.setString(CV,t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.setString(SV,t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.getString(SV)]}))}))}}}),[e])}var DV="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},PV=function(e){return e&&e.Math==Math&&e},TV=PV("object"==typeof globalThis&&globalThis)||PV("object"==typeof window&&window)||PV("object"==typeof self&&self)||PV("object"==typeof DV&&DV)||Function("return this")(),AV={},LV=function(e){try{return!!e()}catch(e){return!0}},IV=!LV((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),MV={},jV={}.propertyIsEnumerable,RV=Object.getOwnPropertyDescriptor,NV=RV&&!jV.call({1:2},1);MV.f=NV?function(e){var t=RV(this,e);return!!t&&t.enumerable}:jV;var zV=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},BV={}.toString,GV=function(e){return BV.call(e).slice(8,-1)},UV=GV,qV="".split,WV=LV((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==UV(e)?qV.call(e,""):Object(e)}:Object,HV=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},QV=WV,VV=HV,YV=function(e){return QV(VV(e))},KV=function(e){return"object"==typeof e?null!==e:"function"==typeof e},$V=KV,ZV=function(e,t){if(!$V(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!$V(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!$V(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!$V(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},XV={}.hasOwnProperty,JV=function(e,t){return XV.call(e,t)},eY=KV,tY=TV.document,nY=eY(tY)&&eY(tY.createElement),iY=function(e){return nY?tY.createElement(e):{}},rY=iY,oY=!IV&&!LV((function(){return 7!=Object.defineProperty(rY("div"),"a",{get:function(){return 7}}).a})),aY=IV,sY=MV,lY=zV,uY=YV,cY=ZV,dY=JV,hY=oY,fY=Object.getOwnPropertyDescriptor;AV.f=aY?fY:function(e,t){if(e=uY(e),t=cY(t,!0),hY)try{return fY(e,t)}catch(e){}if(dY(e,t))return lY(!sY.f.call(e,t),e[t])};var pY={},gY=KV,mY=function(e){if(!gY(e))throw TypeError(String(e)+" is not an object");return e},vY=IV,yY=oY,bY=mY,_Y=ZV,wY=Object.defineProperty;pY.f=vY?wY:function(e,t,n){if(bY(e),t=_Y(t,!0),bY(n),yY)try{return wY(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 kY=pY,xY=zV,FY=IV?function(e,t,n){return kY.f(e,t,xY(1,n))}:function(e,t,n){return e[t]=n,e},EY={exports:{}},CY=TV,SY=FY,OY=function(e,t){try{SY(CY,e,t)}catch(n){CY[e]=t}return t},DY=OY,PY="__core-js_shared__",TY=TV[PY]||DY(PY,{}),AY=TY,LY=Function.toString;"function"!=typeof AY.inspectSource&&(AY.inspectSource=function(e){return LY.call(e)});var IY=AY.inspectSource,MY=IY,jY=TV.WeakMap,RY="function"==typeof jY&&/native code/.test(MY(jY)),NY={exports:{}},zY=TY;(NY.exports=function(e,t){return zY[e]||(zY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var BY,GY,UY,qY=0,WY=Math.random(),HY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++qY+WY).toString(36)},QY=NY.exports,VY=HY,YY=QY("keys"),KY=function(e){return YY[e]||(YY[e]=VY(e))},$Y={},ZY=RY,XY=KV,JY=FY,eK=JV,tK=KY,nK=$Y,iK=TV.WeakMap;if(ZY){var rK=new iK,oK=rK.get,aK=rK.has,sK=rK.set;BY=function(e,t){return sK.call(rK,e,t),t},GY=function(e){return oK.call(rK,e)||{}},UY=function(e){return aK.call(rK,e)}}else{var lK=tK("state");nK[lK]=!0,BY=function(e,t){return JY(e,lK,t),t},GY=function(e){return eK(e,lK)?e[lK]:{}},UY=function(e){return eK(e,lK)}}var uK={set:BY,get:GY,has:UY,enforce:function(e){return UY(e)?GY(e):BY(e,{})},getterFor:function(e){return function(t){var n;if(!XY(t)||(n=GY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},cK=TV,dK=FY,hK=JV,fK=OY,pK=IY,gK=uK.get,mK=uK.enforce,vK=String(String).split("String");(EY.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||hK(n,"name")||dK(n,"name",t),mK(n).source=vK.join("string"==typeof t?t:"")),e!==cK?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:dK(e,t,n)):o?e[t]=n:fK(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&gK(this).source||pK(this)}));var yK=TV,bK=TV,_K=function(e){return"function"==typeof e?e:void 0},wK=function(e,t){return arguments.length<2?_K(yK[e])||_K(bK[e]):yK[e]&&yK[e][t]||bK[e]&&bK[e][t]},kK={},xK=Math.ceil,FK=Math.floor,EK=function(e){return isNaN(e=+e)?0:(e>0?FK:xK)(e)},CK=EK,SK=Math.min,OK=function(e){return e>0?SK(CK(e),9007199254740991):0},DK=EK,PK=Math.max,TK=Math.min,AK=YV,LK=OK,IK=function(e,t){var n=DK(e);return n<0?PK(n+t,0):TK(n,t)},MK=function(e){return function(t,n,i){var r,o=AK(t),a=LK(o.length),s=IK(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}},jK={includes:MK(!0),indexOf:MK(!1)},RK=JV,NK=YV,zK=jK.indexOf,BK=$Y,GK=function(e,t){var n,i=NK(e),r=0,o=[];for(n in i)!RK(BK,n)&&RK(i,n)&&o.push(n);for(;t.length>r;)RK(i,n=t[r++])&&(~zK(o,n)||o.push(n));return o},UK=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qK=GK,WK=UK.concat("length","prototype");kK.f=Object.getOwnPropertyNames||function(e){return qK(e,WK)};var HK={};HK.f=Object.getOwnPropertySymbols;var QK=kK,VK=HK,YK=mY,KK=wK("Reflect","ownKeys")||function(e){var t=QK.f(YK(e)),n=VK.f;return n?t.concat(n(e)):t},$K=JV,ZK=KK,XK=AV,JK=pY,e$=LV,t$=/#|\.prototype\./,n$=function(e,t){var n=r$[i$(e)];return n==a$||n!=o$&&("function"==typeof t?e$(t):!!t)},i$=n$.normalize=function(e){return String(e).replace(t$,".").toLowerCase()},r$=n$.data={},o$=n$.NATIVE="N",a$=n$.POLYFILL="P",s$=n$,l$=TV,u$=AV.f,c$=FY,d$=EY.exports,h$=OY,f$=function(e,t){for(var n=ZK(t),i=JK.f,r=XK.f,o=0;o<n.length;o++){var a=n[o];$K(e,a)||i(e,a,r(t,a))}},p$=s$,g$=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?l$:u?l$[s]||h$(s,{}):(l$[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=u$(n,i))&&a.value:n[i],!p$(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;f$(o,r)}(e.sham||r&&r.sham)&&c$(o,"sham",!0),d$(n,i,o,e)}},m$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},v$=HV,y$=function(e){return Object(v$(e))},b$=m$,_$=y$,w$=WV,k$=OK,x$=function(e){return function(t,n,i,r){b$(n);var o=_$(t),a=w$(o),s=k$(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}},F$={left:x$(!1),right:x$(!0)},E$=LV,C$=function(e,t){var n=[][e];return!!n&&E$((function(){n.call(null,t||function(){throw 1},1)}))},S$=IV,O$=LV,D$=JV,P$=Object.defineProperty,T$={},A$=function(e){throw e},L$=g$,I$=F$.left,M$=function(e,t){if(D$(T$,e))return T$[e];t||(t={});var n=[][e],i=!!D$(t,"ACCESSORS")&&t.ACCESSORS,r=D$(t,0)?t[0]:A$,o=D$(t,1)?t[1]:void 0;return T$[e]=!!n&&!O$((function(){if(i&&!S$)return!0;var e={length:-1};i?P$(e,1,{enumerable:!0,get:A$}):e[1]=1,n.call(e,r,o)}))},j$=C$("reduce"),R$=M$("reduce",{1:0});L$({target:"Array",proto:!0,forced:!j$||!R$},{reduce:function(e){return I$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var N$=TV.Promise,z$=EY.exports,B$=LV,G$=!!Object.getOwnPropertySymbols&&!B$((function(){return!String(Symbol())})),U$=G$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,q$=TV,W$=NY.exports,H$=JV,Q$=HY,V$=G$,Y$=U$,K$=W$("wks"),$$=q$.Symbol,Z$=Y$?$$:$$&&$$.withoutSetter||Q$,X$=function(e){return H$(K$,e)||(V$&&H$($$,e)?K$[e]=$$[e]:K$[e]=Z$("Symbol."+e)),K$[e]},J$=pY.f,eZ=JV,tZ=X$("toStringTag"),nZ=function(e,t,n){e&&!eZ(e=n?e:e.prototype,tZ)&&J$(e,tZ,{configurable:!0,value:t})},iZ=wK,rZ=pY,oZ=IV,aZ=X$("species"),sZ={exports:{}},lZ={},uZ=lZ,cZ=X$("iterator"),dZ=Array.prototype,hZ=m$,fZ=function(e,t,n){if(hZ(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)}},pZ={};pZ[X$("toStringTag")]="z";var gZ="[object z]"===String(pZ),mZ=GV,vZ=X$("toStringTag"),yZ="Arguments"==mZ(function(){return arguments}()),bZ=gZ?mZ: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),vZ))?n:yZ?mZ(t):"Object"==(i=mZ(t))&&"function"==typeof t.callee?"Arguments":i},_Z=bZ,wZ=lZ,kZ=X$("iterator"),xZ=mY,FZ=mY,EZ=function(e){return void 0!==e&&(uZ.Array===e||dZ[cZ]===e)},CZ=OK,SZ=fZ,OZ=function(e){if(null!=e)return e[kZ]||e["@@iterator"]||wZ[_Z(e)]},DZ=function(e,t,n,i){try{return i?t(xZ(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&xZ(r.call(e)),t}},PZ=function(e,t){this.stopped=e,this.result=t},TZ=sZ.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,h=SZ(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=OZ(e)))throw TypeError("Target is not iterable");if(EZ(a)){for(s=0,l=CZ(e.length);l>s;s++)if((u=i?h(FZ(d=e[s])[0],d[1]):h(e[s]))&&u instanceof PZ)return u;return new PZ(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=DZ(o,h,d.value,i))&&u&&u instanceof PZ)return u;return new PZ(!1)};TZ.stop=function(e){return new PZ(!0,e)};var AZ=X$("iterator"),LZ=!1;try{var IZ=0,MZ={next:function(){return{done:!!IZ++}},return:function(){LZ=!0}};MZ[AZ]=function(){return this},Array.from(MZ,(function(){throw 2}))}catch(e){}var jZ,RZ,NZ,zZ=mY,BZ=m$,GZ=X$("species"),UZ=function(e,t){var n,i=zZ(e).constructor;return void 0===i||null==(n=zZ(i)[GZ])?t:BZ(n)},qZ=wK("document","documentElement"),WZ=wK("navigator","userAgent")||"",HZ=/(iphone|ipod|ipad).*applewebkit/i.test(WZ),QZ=TV,VZ=LV,YZ=GV,KZ=fZ,$Z=qZ,ZZ=iY,XZ=HZ,JZ=QZ.location,eX=QZ.setImmediate,tX=QZ.clearImmediate,nX=QZ.process,iX=QZ.MessageChannel,rX=QZ.Dispatch,oX=0,aX={},sX="onreadystatechange",lX=function(e){if(aX.hasOwnProperty(e)){var t=aX[e];delete aX[e],t()}},uX=function(e){return function(){lX(e)}},cX=function(e){lX(e.data)},dX=function(e){QZ.postMessage(e+"",JZ.protocol+"//"+JZ.host)};eX&&tX||(eX=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return aX[++oX]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},jZ(oX),oX},tX=function(e){delete aX[e]},"process"==YZ(nX)?jZ=function(e){nX.nextTick(uX(e))}:rX&&rX.now?jZ=function(e){rX.now(uX(e))}:iX&&!XZ?(NZ=(RZ=new iX).port2,RZ.port1.onmessage=cX,jZ=KZ(NZ.postMessage,NZ,1)):!QZ.addEventListener||"function"!=typeof postMessage||QZ.importScripts||VZ(dX)||"file:"===JZ.protocol?jZ=sX in ZZ("script")?function(e){$Z.appendChild(ZZ("script")).onreadystatechange=function(){$Z.removeChild(this),lX(e)}}:function(e){setTimeout(uX(e),0)}:(jZ=dX,QZ.addEventListener("message",cX,!1)));var hX,fX,pX,gX,mX,vX,yX,bX,_X={set:eX,clear:tX},wX=TV,kX=AV.f,xX=GV,FX=_X.set,EX=HZ,CX=wX.MutationObserver||wX.WebKitMutationObserver,SX=wX.process,OX=wX.Promise,DX="process"==xX(SX),PX=kX(wX,"queueMicrotask"),TX=PX&&PX.value;TX||(hX=function(){var e,t;for(DX&&(e=SX.domain)&&e.exit();fX;){t=fX.fn,fX=fX.next;try{t()}catch(e){throw fX?gX():pX=void 0,e}}pX=void 0,e&&e.enter()},DX?gX=function(){SX.nextTick(hX)}:CX&&!EX?(mX=!0,vX=document.createTextNode(""),new CX(hX).observe(vX,{characterData:!0}),gX=function(){vX.data=mX=!mX}):OX&&OX.resolve?(yX=OX.resolve(void 0),bX=yX.then,gX=function(){bX.call(yX,hX)}):gX=function(){FX.call(wX,hX)});var AX=TX||function(e){var t={fn:e,next:void 0};pX&&(pX.next=t),fX||(fX=t,gX()),pX=t},LX={},IX=m$,MX=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=IX(t),this.reject=IX(n)};LX.f=function(e){return new MX(e)};var jX,RX,NX=mY,zX=KV,BX=LX,GX=TV,UX=WZ,qX=TV.process,WX=qX&&qX.versions,HX=WX&&WX.v8;HX?RX=(jX=HX.split("."))[0]+jX[1]:UX&&(!(jX=UX.match(/Edge\/(\d+)/))||jX[1]>=74)&&(jX=UX.match(/Chrome\/(\d+)/))&&(RX=jX[1]);var QX,VX,YX,KX,$X=RX&&+RX,ZX=g$,XX=TV,JX=wK,eJ=N$,tJ=EY.exports,nJ=function(e,t,n){for(var i in t)z$(e,i,t[i],n);return e},iJ=nZ,rJ=function(e){var t=iZ(e),n=rZ.f;oZ&&t&&!t[aZ]&&n(t,aZ,{configurable:!0,get:function(){return this}})},oJ=KV,aJ=m$,sJ=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},lJ=GV,uJ=IY,cJ=sZ.exports,dJ=function(e,t){if(!t&&!LZ)return!1;var n=!1;try{var i={};i[AZ]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},hJ=UZ,fJ=_X.set,pJ=AX,gJ=function(e,t){if(NX(e),zX(t)&&t.constructor===e)return t;var n=BX.f(e);return(0,n.resolve)(t),n.promise},mJ=function(e,t){var n=GX.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},vJ=LX,yJ=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},bJ=uK,_J=s$,wJ=$X,kJ=X$("species"),xJ="Promise",FJ=bJ.get,EJ=bJ.set,CJ=bJ.getterFor(xJ),SJ=eJ,OJ=XX.TypeError,DJ=XX.document,PJ=XX.process,TJ=JX("fetch"),AJ=vJ.f,LJ=AJ,IJ="process"==lJ(PJ),MJ=!!(DJ&&DJ.createEvent&&XX.dispatchEvent),jJ="unhandledrejection",RJ=_J(xJ,(function(){if(!(uJ(SJ)!==String(SJ))){if(66===wJ)return!0;if(!IJ&&"function"!=typeof PromiseRejectionEvent)return!0}if(wJ>=51&&/native code/.test(SJ))return!1;var e=SJ.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[kJ]=t,!(e.then((function(){}))instanceof t)})),NJ=RJ||!dJ((function(e){SJ.all(e).catch((function(){}))})),zJ=function(e){var t;return!(!oJ(e)||"function"!=typeof(t=e.then))&&t},BJ=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;pJ((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,h=c.resolve,f=c.reject,p=c.domain;try{d?(o||(2===t.rejection&&WJ(e,t),t.rejection=1),!0===d?s=r:(p&&p.enter(),s=d(r),p&&(p.exit(),u=!0)),s===c.promise?f(OJ("Promise-chain cycle")):(l=zJ(s))?l.call(s,h,f):h(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&UJ(e,t)}))}},GJ=function(e,t,n){var i,r;MJ?((i=DJ.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),XX.dispatchEvent(i)):i={promise:t,reason:n},(r=XX["on"+e])?r(i):e===jJ&&mJ("Unhandled promise rejection",n)},UJ=function(e,t){fJ.call(XX,(function(){var n,i=t.value;if(qJ(t)&&(n=yJ((function(){IJ?PJ.emit("unhandledRejection",i,e):GJ(jJ,e,i)})),t.rejection=IJ||qJ(t)?2:1,n.error))throw n.value}))},qJ=function(e){return 1!==e.rejection&&!e.parent},WJ=function(e,t){fJ.call(XX,(function(){IJ?PJ.emit("rejectionHandled",e):GJ("rejectionhandled",e,t.value)}))},HJ=function(e,t,n,i){return function(r){e(t,n,r,i)}},QJ=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,BJ(e,t,!0))},VJ=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw OJ("Promise can't be resolved itself");var r=zJ(n);r?pJ((function(){var i={done:!1};try{r.call(n,HJ(VJ,e,i,t),HJ(QJ,e,i,t))}catch(n){QJ(e,i,n,t)}})):(t.value=n,t.state=1,BJ(e,t,!1))}catch(n){QJ(e,{done:!1},n,t)}}};function YJ(e){switch(null==e?void 0:e.toLowerCase()){case"da":return Promise.resolve().then((function(){return tqn}));case"de":return Promise.resolve().then((function(){return nqn}));case"fr":return Promise.resolve().then((function(){return iqn}));case"es":return Promise.resolve().then((function(){return rqn}));case"zh-tw":return Promise.resolve().then((function(){return oqn}));case"zh-cn":return Promise.resolve().then((function(){return aqn}));case"ja":return Promise.resolve().then((function(){return sqn}));case"tr":return Promise.resolve().then((function(){return lqn}));case"it":return Promise.resolve().then((function(){return uqn}));default:return Promise.resolve().then((function(){return cqn}))}}function KJ(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return Promise.resolve().then((function(){return fqn}));case"ar-kw":return Promise.resolve().then((function(){return gqn}));case"ar-ly":return Promise.resolve().then((function(){return vqn}));case"ar-ma":return Promise.resolve().then((function(){return bqn}));case"ar-sa":return Promise.resolve().then((function(){return wqn}));case"ar-tn":return Promise.resolve().then((function(){return xqn}));case"ar":return Promise.resolve().then((function(){return Eqn}));case"bg":return Promise.resolve().then((function(){return Sqn}));case"bn":return Promise.resolve().then((function(){return Dqn}));case"ca":return Promise.resolve().then((function(){return Tqn}));case"cs":return Promise.resolve().then((function(){return Lqn}));case"da":return Promise.resolve().then((function(){return Mqn}));case"de-at":return Promise.resolve().then((function(){return Rqn}));case"de-ch":return Promise.resolve().then((function(){return zqn}));case"de":return Promise.resolve().then((function(){return Gqn}));case"el":return Promise.resolve().then((function(){return qqn}));case"en-au":return Promise.resolve().then((function(){return Hqn}));case"en-ca":return Promise.resolve().then((function(){return Vqn}));case"en-gb":return Promise.resolve().then((function(){return Kqn}));case"en-ie":return Promise.resolve().then((function(){return Zqn}));case"en-il":return Promise.resolve().then((function(){return Jqn}));case"en-nz":return Promise.resolve().then((function(){return tWn}));case"en-sg":return Promise.resolve().then((function(){return iWn}));case"es-do":return Promise.resolve().then((function(){return oWn}));case"es-us":return Promise.resolve().then((function(){return sWn}));case"es":return Promise.resolve().then((function(){return uWn}));case"et":return Promise.resolve().then((function(){return dWn}));case"fa":return Promise.resolve().then((function(){return fWn}));case"fi":return Promise.resolve().then((function(){return gWn}));case"fr-ca":return Promise.resolve().then((function(){return vWn}));case"fr-ch":return Promise.resolve().then((function(){return bWn}));case"fr":return Promise.resolve().then((function(){return wWn}));case"gu":return Promise.resolve().then((function(){return xWn}));case"he":return Promise.resolve().then((function(){return EWn}));case"hi":return Promise.resolve().then((function(){return SWn}));case"hr":return Promise.resolve().then((function(){return DWn}));case"hu":return Promise.resolve().then((function(){return TWn}));case"id":return Promise.resolve().then((function(){return LWn}));case"it-ch":return Promise.resolve().then((function(){return MWn}));case"it":return Promise.resolve().then((function(){return RWn}));case"ja":return Promise.resolve().then((function(){return zWn}));case"kn":return Promise.resolve().then((function(){return GWn}));case"ko":return Promise.resolve().then((function(){return qWn}));case"lt":return Promise.resolve().then((function(){return HWn}));case"lv":return Promise.resolve().then((function(){return VWn}));case"ml":return Promise.resolve().then((function(){return KWn}));case"mr":return Promise.resolve().then((function(){return ZWn}));case"ms-my":return Promise.resolve().then((function(){return JWn}));case"ms":return Promise.resolve().then((function(){return tHn}));case"nb":return Promise.resolve().then((function(){return iHn}));case"nl-be":return Promise.resolve().then((function(){return oHn}));case"nl":return Promise.resolve().then((function(){return sHn}));case"pl":return Promise.resolve().then((function(){return uHn}));case"pt-br":return Promise.resolve().then((function(){return dHn}));case"pt":return Promise.resolve().then((function(){return fHn}));case"ro":return Promise.resolve().then((function(){return gHn}));case"ru":return Promise.resolve().then((function(){return vHn}));case"sk":return Promise.resolve().then((function(){return bHn}));case"sl":return Promise.resolve().then((function(){return wHn}));case"sr-cyrl":return Promise.resolve().then((function(){return xHn}));case"sr":return Promise.resolve().then((function(){return EHn}));case"sv":return Promise.resolve().then((function(){return SHn}));case"sw":return Promise.resolve().then((function(){return DHn}));case"ta":return Promise.resolve().then((function(){return THn}));case"te":return Promise.resolve().then((function(){return LHn}));case"th":return Promise.resolve().then((function(){return MHn}));case"tr":return Promise.resolve().then((function(){return RHn}));case"uk":return Promise.resolve().then((function(){return zHn}));case"vi":return Promise.resolve().then((function(){return GHn}));case"zh-cn":return Promise.resolve().then((function(){return qHn}));case"zh-hk":return Promise.resolve().then((function(){return HHn}));case"zh-tw":return Promise.resolve().then((function(){return VHn}));default:return Promise.resolve()}}RJ&&(SJ=function(e){sJ(this,SJ,xJ),aJ(e),QX.call(this);var t=FJ(this);try{e(HJ(VJ,this,t),HJ(QJ,this,t))}catch(e){QJ(this,t,e)}},(QX=function(e){EJ(this,{type:xJ,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=nJ(SJ.prototype,{then:function(e,t){var n=CJ(this),i=AJ(hJ(this,SJ));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=IJ?PJ.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&BJ(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),VX=function(){var e=new QX,t=FJ(e);this.promise=e,this.resolve=HJ(VJ,e,t),this.reject=HJ(QJ,e,t)},vJ.f=AJ=function(e){return e===SJ||e===YX?new VX(e):LJ(e)},"function"==typeof eJ&&(KX=eJ.prototype.then,tJ(eJ.prototype,"then",(function(e,t){var n=this;return new SJ((function(e,t){KX.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof TJ&&ZX({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return gJ(SJ,TJ.apply(XX,arguments))}}))),ZX({global:!0,wrap:!0,forced:RJ},{Promise:SJ}),iJ(SJ,xJ,!1),rJ(xJ),YX=JX(xJ),ZX({target:xJ,stat:!0,forced:RJ},{reject:function(e){var t=AJ(this);return t.reject.call(void 0,e),t.promise}}),ZX({target:xJ,stat:!0,forced:RJ},{resolve:function(e){return gJ(this,e)}}),ZX({target:xJ,stat:!0,forced:NJ},{all:function(e){var t=this,n=AJ(t),i=n.resolve,r=n.reject,o=yJ((function(){var n=aJ(t.resolve),o=[],a=0,s=1;cJ(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=AJ(t),i=n.reject,r=yJ((function(){var r=aJ(t.resolve);cJ(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var $J=function(e){var n,r=e.children,o=e.language,a=i.useState(null),s=a[0],l=a[1],u=OV(),c=u.getLocalLanguage,d=u.getLocaleFromLocalStorage;return i.useEffect((function(){(function(){return fV(this,void 0,void 0,(function(){var e,t,n;return pV(this,(function(i){switch(i.label){case 0:return[4,d()];case 1:return e=i.sent(),t=h,null==o?[3,2]:(n=o,[3,4]);case 2:return[4,c()];case 3:n=i.sent(),i.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return i.sent(),[2]}}))}))})().then((function(){return null}),im.error)}),[]),(null===(n=null==s?void 0:s.resources)||void 0===n?void 0:n[s.language])?t.jsx(EE.Provider,dV({value:{language:s.language,changeLocale:function(e){return function(e,t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,ZJ(e||t)];case 1:return n.sent(),l((function(t){return dV(dV({},t),{locale:e})})),[2]}}))}))}(e,s.language)},changeLanguage:function(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:return[4,f(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),s.locale?[3,3]:[4,ZJ(e)];case 2:n.sent(),n.label=3;case 3:return l((function(n){return dV(dV({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:h,addResources:function(e){l((function(t){var n=Object.keys(e).reduce((function(n,i){var r;return(r={})[i]=dV(dV(dV({},n),t.resources[i]),e[i]),r}),{});return dV(dV({},t),{resources:dV(dV({},t.resources),n)})}))}}},{children:t.jsx(tE,dV({locale:s.locale||s.language,messages:s.resources[s.language]},{children:t.jsx(FE,{children:r},void 0)}),void 0)}),void 0):null;function h(e,t){return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){switch(i.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==s?void 0:s.language)===e&&(null==s?void 0:s.locale)===t?[2]:[4,f(e)];case 1:return n=i.sent(),[4,ZJ(t||e)];case 2:return i.sent(),l({language:e,locale:t,resources:n}),[2]}}))}))}function f(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,p(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),im.error(t),[2,null];case 3:return[2]}}))}))}function p(e){var t;return fV(this,void 0,void 0,(function(){var n,i,r;return pV(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==s?void 0:s.resources)||void 0===t?void 0:t[e])return[2,s.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,i=[e],[4,YJ(e)];case 2:return[2,n.apply(void 0,i.concat([o.sent().default]))];case 3:return r=o.sent(),im.error(r),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,i,r,o=window.__localeResourcesInterceptor||{};return dV(dV(dV({},null!==(r=null==s?void 0:s.resources)&&void 0!==r?r:{}),((n={})[e]=t,n)),o[e]&&((i={})[e]=o[e],i))}};function ZJ(e){return fV(this,void 0,void 0,(function(){var t;return pV(this,(function(n){switch(n.label){case 0:if(!e)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,KJ(e)];case 2:return n.sent(),is.locale(e),[3,4];case 3:return t=n.sent(),im.error(t),[3,4];case 4:return[2]}}))}))}var XJ,JJ,e0,t0,n0,i0,r0,o0,a0,s0,l0,u0,c0,d0=["news","comments","multiLanguage","keywords","pushNotifications","mailNotification","teamsNotifications","themes","webHooks","reporting","likes","confirmation","customLogo","customName","avatars","manualChannelSubscription","bannerImages","bannerVideos","editorInlineFiles","editorInlineImages","editorInlineGallery","editorInlineVideos","editorInlineMarkup","editorInlineTable","editorInlineContact","expiryDate","onBehalfOf","editorConversations","targetAudienceRules","unreadTracking","editorInlineQuotes","selfRegistration","people","posts","newsAlerts","pages","inPageNavigation","automaticTranslation","polls","events","teams","userInvitation","languageDetection","postKeywords","hyperfish","canva","allowUserImpersonation","directoryGroupMemberCaching","inAppBrowser","externalNews","termsAndConditions","chat","recurringEvents","publicAccess","allowUserPropertiesUpdate","showMyNews","allowToUnpinMandatoryChannels","allowToReorderMandatoryChannels","useDirectoryUserPropertiesForTargetAudience","giphy","replyToComments","enableUserflow","reportingPreview","preventContentRedirectForBrandedApps","browserPushNotifications","contentHeadline","popularNewsReport","notificationFeed","unsplash","externalPages","showLikers","pageDocuments","unifiedPostView","stream","showAllNews","customFavicon","editorPreview","editorAutomaticTranslation","editorYouTubeVideos","editorVimeoVideos","editorKalturaVideos","editorMicrosoftVideos","searchEverywhere","zendesk","gettyImages","sharedItems","userLocationLookup","deleteUserAccount"],h0=function(){},f0=i.createContext(null);function p0(){return i.useContext(f0)}function g0(){var e=i.useContext(f0);return null==e?void 0:e.user}function m0(){var e=g0();return function(e){var t,n=new h0;if(!e)return n;for(var i=0;i<d0.length;i++){var r=d0[i];e.featureMask?n[r]="1"===e.featureMask[i]:n[r]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[r])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(XJ||(XJ={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(JJ||(JJ={})),function(e){e.large="large",e.small="small"}(e0||(e0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(t0||(t0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(n0||(n0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(i0||(i0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(r0||(r0={})),function(e){e[e.None=0]="None",e[e.LimitedReader=5]="LimitedReader",e[e.Reader=10]="Reader",e[e.Author=20]="Author",e[e.Editor=30]="Editor",e[e.Admin=40]="Admin"}(o0||(o0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(a0||(a0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NewUserCannotBeTemporary=6]="NewUserCannotBeTemporary",e[e.NotAuthenticated=7]="NotAuthenticated",e[e.GenericError=8]="GenericError"}(s0||(s0={})),function(e){e[e.None=0]="None",e[e.MobilePush=1]="MobilePush",e[e.Email=2]="Email",e[e.Teams=4]="Teams",e[e.BrowserPush=8]="BrowserPush"}(l0||(l0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyInvited=3]="AlreadyInvited",e[e.ActiveUserExistsDifferentEmail=4]="ActiveUserExistsDifferentEmail"}(u0||(u0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Success=1]="Success",e[e.ActiveUserExists=2]="ActiveUserExists",e[e.AlreadyRegistered=3]="AlreadyRegistered",e[e.InvitedUserExists=4]="InvitedUserExists"}(c0||(c0={}));var v0=KV,y0=GV,b0=X$("match"),_0=function(e){var t;return v0(e)&&(void 0!==(t=e[b0])?!!t:"RegExp"==y0(e))},w0=_0,k0=function(e){if(w0(e))throw TypeError("The method doesn't accept regular expressions");return e},x0=X$("match"),F0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[x0]=!1,"/./"[e](t)}catch(e){}}return!1},E0=k0,C0=HV;g$({target:"String",proto:!0,forced:!F0("includes")},{includes:function(e){return!!~String(C0(this)).indexOf(E0(e),arguments.length>1?arguments[1]:void 0)}});var S0=g$,O0=AV.f,D0=OK,P0=k0,T0=HV,A0=F0,L0="".endsWith,I0=Math.min,M0=A0("endsWith"),j0=!M0&&!!function(){var e=O0(String.prototype,"endsWith");return e&&!e.writable}();function R0(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length)return!1;return i.some((function(t){return t.role.roleValue>=e}))}(e,t,r))}function N0(e,t,n){var i=n,r=Array.isArray(n)?n:(null==i?void 0:i.groupIds)||[];return!!(t&&e&&r&&r.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var i=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!i.length||n&&n.length!==i.length)return!1;return i.every((function(t){return t.role.roleValue>=e}))}(e,t,r))}function z0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function B0(e,t){var n=t,i=Array.isArray(t)?t:(null==n?void 0:n.groupIds)||[];if(!e||!(null==i?void 0:i.length))return o0.None;if(e.isSubscriptionOwner)return o0.Admin;var r=e.groups.filter((function(e){return i.includes(e.id)}));return r.length!==i.length?o0.None:r.reduce((function(e,t){return t.role.roleValue<e?t.role.roleValue:e}),o0.Admin)}function G0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}S0({target:"String",proto:!0,forced:!j0&&!M0},{endsWith:function(e){var t=String(T0(this));P0(e);var n=arguments.length>1?arguments[1]:void 0,i=D0(t.length),r=void 0===n?i:I0(D0(n),i),o=String(e);return L0?L0.call(t,o,r):t.slice(r-o.length,r)===o}});var U0,q0,W0,H0,Q0,V0,Y0,K0,$0,Z0,X0,J0,e1,t1,n1,i1,r1={},o1={};function a1(){var e=rq();return i.useMemo((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,i){return t({search:i,type:XJ.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){o1[t]||(o1[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o1[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o1[t]},getUserInfoById:function(t){o1[t]||(o1[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(o1[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return o1[t]},getUserAvatarUrl:function(t,n){r1[t]||(r1[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+Hg.stringify({tenantId:n})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e})));return KW(r1[t])},clearUserInfoCache:function(e){o1[e]&&delete o1[e]},clearUserAvatarCache:function(e){r1[e]&&delete r1[e]}};function t(t){var n=Hg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function s1(){var e=rq(),t=iq(),n=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return fV(this,void 0,void 0,(function(){var n,o;return pV(this,(function(a){switch(a.label){case 0:return e?[4,i(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,r(t)];case 3:o=a.sent(),a.label=4;case 4:return function(e){e&&(e.minRoles=function(e){var t=e.groups.reduce((function(e,t){return Math.max(e,t.role.roleValue)}),0),n=e.isSubscriptionOwner;return{isSubscriptionOwner:n,isAdmin:n||t>=o0.Admin,isEditor:n||t>=o0.Editor,isAuthor:n||t>=o0.Author,isReader:n||t>=o0.Reader}}(e),e.hasDirectory=e.subscription&&e.subscription.directories&&e.subscription.directories.length>0)}(n=o),[2,n]}}))}))},getCurrentOrganization:function(){return e.custom("users/current/organization").get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))},updateCurrentUserProfileProperties:function(t){return e.custom("users/current/properties").put(t)},updateCurrentUserAvatar:function(e,i){return fV(this,void 0,void 0,(function(){var r,o,a;return pV(this,(function(s){switch(s.label){case 0:return(r=new FormData).append("file",i,i.name||"image."+uH.getExtension(i.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:r,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function i(e,n){return fV(this,void 0,void 0,(function(){var i;return pV(this,(function(r){switch(r.label){case 0:return[4,t.fetchFromApi("/users/current?"+Hg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(i=r.sent()).status?null:i.json()]}}))}))}function r(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){return[2,e.custom("users/current?"+Hg.stringify({essentialOnly:t})).get().then((function(e){return e.body().data()})).catch((function(e){if(e.response&&404===e.response.statusCode)return null;throw e}))]}))}))}}),[t,e,n])}function l1(e){switch(e){case n1.YouTube:return t1.YouTube;case n1.Vimeo:return t1.Vimeo;case n1.MicrosoftStream:return t1.MicrosoftStream;case n1.GenericUrl:return t1.GenericUrl;case n1.Kaltura:return t1.Kaltura;default:return null}}!function(e){e[e.Image=0]="Image",e[e.File=1]="File",e[e.YouTubeVideo=2]="YouTubeVideo",e[e.VimeoVideo=3]="VimeoVideo",e[e.News=4]="News",e[e.Event=5]="Event",e[e.Page=6]="Page",e[e.Post=7]="Post",e[e.Giphy=8]="Giphy"}(U0||(U0={})),function(e){e.Image="IMAGE",e.File="FILE",e.YouTubeVideo="YOU_TUBE_VIDEO",e.VimeoVideo="VIMEO_VIDEO",e.News="NEWS",e.Event="EVENT",e.Page="PAGE",e.Post="POST",e.Giphy="GIPHY"}(q0||(q0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(W0||(W0={})),e.ItemResourceTypes=void 0,(H0=e.ItemResourceTypes||(e.ItemResourceTypes={})).News="news",H0.Pages="pages",H0.Posts="posts",H0.Events="events",H0.Comments="comments",function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(Q0||(Q0={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(V0||(V0={})),function(e){e[e.NotSet=0]="NotSet",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly",e[e.Yearly=4]="Yearly"}(Y0||(Y0={})),function(e){e[e.None=0]="None",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=4]="Wednesday",e[e.Thursday=8]="Thursday",e[e.Friday=16]="Friday",e[e.Saturday=32]="Saturday",e[e.Sunday=64]="Sunday"}(K0||(K0={})),function(e){e[e.Unknown=0]="Unknown",e[e.First=1]="First",e[e.Second=2]="Second",e[e.Third=3]="Third",e[e.Fourth=4]="Fourth",e[e.Last=5]="Last"}($0||($0={})),function(e){e[e.None=0]="None",e[e.January=1]="January",e[e.February=2]="February",e[e.March=3]="March",e[e.April=4]="April",e[e.May=5]="May",e[e.June=6]="June",e[e.July=7]="July",e[e.August=8]="August",e[e.September=9]="September",e[e.October=10]="October",e[e.November=11]="November",e[e.December=12]="December"}(Z0||(Z0={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(X0||(X0={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}(J0||(J0={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(e1||(e1={})),function(e){e[e.YouTube=0]="YouTube",e[e.Vimeo=1]="Vimeo",e[e.MicrosoftStream=2]="MicrosoftStream",e[e.GenericUrl=3]="GenericUrl",e[e.Kaltura=4]="Kaltura"}(t1||(t1={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(n1||(n1={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(i1||(i1={}));var u1=function(e){function t(t,n){var i=e.call(this)||this;return i.actualSizeInMb=t,i.maxSizeInMb=n,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}cV(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function c1(e,t){if(e.size>1e6*t){var n=new u1(e.size/1e6,t);throw i=n,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),im.error(i,r),(void 0).trackException({exception:i})),n}var i,r,o=new FormData;return o.append("file",e),o}function d1(){var e=Wg(),t=iq(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getFileUrlWithToken:function(e,t,i,r,o,a){return n("/"+a+"/"+t+"/files/"+r,{access_token:e,subscriptionId:i,originalFileName:o})},uploadFile:function(t,n,i,a,s){return fV(this,void 0,void 0,(function(){var l,u,c;return pV(this,(function(d){switch(d.label){case 0:if(!t)throw new Error("Requires itemId to be set before saving a file");return l="/"+i+"/"+t+"/files/"+s,u=c1(a,e.maxFileSizeInMb),[4,o()];case 1:return c=d.sent(),[2,r(l,{method:"PUT",body:u,headers:{authorization:"Bearer "+c,"subscription-id":n}}).then((function(e){return e.json()}))]}}))}))}}}),[e.maxFileSizeInMb,n,r,o])}var h1=GK,f1=UK,p1=Object.keys||function(e){return h1(e,f1)},g1=IV,m1=LV,v1=p1,y1=HK,b1=MV,_1=y$,w1=WV,k1=Object.assign,x1=Object.defineProperty,F1=!k1||m1((function(){if(g1&&1!==k1({b:1},k1(x1({},"a",{enumerable:!0,get:function(){x1(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!=k1({},e)[n]||v1(k1({},t)).join("")!=i}))?function(e,t){for(var n=_1(e),i=arguments.length,r=1,o=y1.f,a=b1.f;i>r;)for(var s,l=w1(arguments[r++]),u=o?v1(l).concat(o(l)):v1(l),c=u.length,d=0;c>d;)s=u[d++],g1&&!a.call(l,s)||(n[s]=l[s]);return n}:k1,E1=F1;g$({target:"Object",stat:!0,forced:Object.assign!==E1},{assign:E1});var C1=["rm"],S1=["af","ar","as","bn","bs","bg","yue","ca","zh-TW","zh-CN","hr","cs","prs","da","nl","en","et","fj","fil","fi","fr","fr-ca","de","el","gu","ht","he","hi","mww","hu","is","id","ga","it","ja","kn","kk","sw","ko","ku","kmr","lv","lt","mg","ms","ml","mt","mi","mr","nb","or","ps","fa","pl","pt-br","pt-pt","pa","otq","rm","ro","ru","sm","sr-cyrl","sr-latn","sk","sl","es","sv","ty","ta","te","th","to","tr","uk","ur","vi","cy"];function O1(e){return e.preferredContentLanguage||e.preferredUiLanguage||dk()||e.subscription&&e.subscription.defaultLanguage||"en"}function D1(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return dV(dV({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}function P1(e){var t=Object.keys(e||[]);return t.length?t.map((function(t){return e[t].map((function(e){return Object.assign({},e,{groupId:t})}))})).reduce((function(e,t){return e.concat(t)})):null}function T1(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function A1(e,t,n,i,r,o){var a=i||r;if(null==e)return a;var s=e.find((function(e){return e.name===r}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!i)return L1(t,s.translations,a,o);var l=s&&s.keywords.find((function(e){return e.name===i}));return l?L1(t,l.translations,a,o):a}function L1(e,t,n,i){return null==t&&(t={}),i||(i=O1(e)),i&&t[i]||t[e.subscription.defaultLanguage]||n}var I1=mY,M1=function(){var e=I1(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},j1={},R1=LV;function N1(e,t){return RegExp(e,t)}j1.UNSUPPORTED_Y=R1((function(){var e=N1("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),j1.BROKEN_CARET=R1((function(){var e=N1("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var z1=M1,B1=j1,G1=RegExp.prototype.exec,U1=String.prototype.replace,q1=G1,W1=function(){var e=/a/,t=/b*/g;return G1.call(e,"a"),G1.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),H1=B1.UNSUPPORTED_Y||B1.BROKEN_CARET,Q1=void 0!==/()??/.exec("")[1];(W1||Q1||H1)&&(q1=function(e){var t,n,i,r,o=this,a=H1&&o.sticky,s=z1.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)),Q1&&(n=new RegExp("^"+l+"$(?!\\s)",s)),W1&&(t=o.lastIndex),i=G1.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:W1&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),Q1&&i&&i.length>1&&U1.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var V1=q1;g$({target:"RegExp",proto:!0,forced:/./.exec!==V1},{exec:V1});var Y1=EY.exports,K1=LV,$1=X$,Z1=V1,X1=FY,J1=$1("species"),e2=!K1((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),t2="$0"==="a".replace(/./,"$0"),n2=$1("replace"),i2=!!/./[n2]&&""===/./[n2]("a","$0"),r2=!K1((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]})),o2=function(e,t,n,i){var r=$1(e),o=!K1((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!K1((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[J1]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!e2||!t2||i2)||"split"===e&&!r2){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===Z1?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:t2,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i2}),u=l[0],c=l[1];Y1(String.prototype,e,u),Y1(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&X1(RegExp.prototype[r],"sham",!0)},a2=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},s2=GV,l2=V1,u2=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"!==s2(e))throw TypeError("RegExp#exec called on incompatible receiver");return l2.call(e,t)},c2=mY,d2=HV,h2=a2,f2=u2;o2("search",1,(function(e,t,n){return[function(t){var n=d2(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=c2(e),o=String(this),a=r.lastIndex;h2(a,0)||(r.lastIndex=0);var s=f2(r,o);return h2(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var p2=EK,g2=HV,m2=function(e){return function(t,n){var i,r,o=String(g2(t)),a=p2(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}},v2={codeAt:m2(!1),charAt:m2(!0)}.charAt,y2=function(e,t,n){return t+(n?v2(e,t).length:1)},b2=o2,_2=mY,w2=y$,k2=OK,x2=EK,F2=HV,E2=y2,C2=u2,S2=Math.max,O2=Math.min,D2=Math.floor,P2=/\$([$&'`]|\d\d?|<[^>]*>)/g,T2=/\$([$&'`]|\d\d?)/g,A2=function(e){return void 0===e?e:String(e)};function L2(e){var t;return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){return n="string"==typeof e?new Error(e):e,403===(null===(t=n.response)||void 0===t?void 0:t.statusCode)?(m9(H9.create()),[2,!0]):[2,!1]}))}))}function I2(e){var t;return fV(this,void 0,void 0,(function(){return pV(this,(function(n){return 403===(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode)?(m9(Q9.create()),[2,!0]):[2,!1]}))}))}function M2(){var t=rq(),n=rq(L2),r=OV(),o=r.saveLanguageToLocalStorage,a=r.saveLocaleToLocalStorage;return i.useMemo((function(){return{updateNotificationTypeSettings:function(e){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},i=function(t){Object.keys(n).every((function(e){return e!==t}))&&delete e[t]},r=0,o=Object.keys(e||{});r<o.length;r++){var a=o[r];i(a)}return t.custom("users/current/notification_settings/types").put(e).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(e,n,i){return t.custom("users/current/notification_settings/"+u(n,i)+"/"+e).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:i,followPublicPublishableItemComments:r,followEditorPublishableItemComments:s,followAllPublishableItemComments:function(e,t){r(e,t),s(e,t)},followPublishableItemComments:l,resolveSegment:u,getFollowCommentSegment:c,toggleBookmark:function(e,t){null==t.bookmarks&&(t.bookmarks=[]);var i=t.bookmarks.findIndex((function(t){return t===e}));if(i<0)return n.one("users","current").all("bookmarks").put(e,null).then((function(){return t.bookmarks.push(e),!0}));return n.one("users","current").all("bookmarks").delete(e).then((function(){return t.bookmarks.splice(i,1),!1}))},getUserProperties:function(){return t.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(e){return t.custom("users/current/channels").put(e)},addContact:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.all("users/current/contacts").post(e)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.all("users/current/contacts/"+e.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return t.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/ui_language/"+e).put(null)];case 1:return n.sent(),[4,o(e)];case 2:return n.sent(),[2]}}))}))},setContentLanguage:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/content_language/"+e).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/locale/"+e).put(null)];case 1:return n.sent(),[4,a(e)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/notification_settings/groups/"+e).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(e,n){return fV(this,void 0,void 0,(function(){return pV(this,(function(i){switch(i.label){case 0:return[4,t.custom("users/current/notification_settings/groups/"+e).put(n).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},clearMyUnreadItems:function(e){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,t.custom("users/current/"+e+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(e){return t.custom("users/current/terms_and_conditions/"+e).patch({})},deleteAccount:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(e){switch(e.label){case 0:return[4,t.custom("users/current").delete()];case 1:return[2,e.sent()]}}))}))}};function i(e,t,i,r){return n.custom("users/current/notification_settings/"+u(t,i)+"/"+e).put({enabled:r})}function r(e,t){l(e,t,W0.Public)}function s(e,t){l(e,t,W0.Editor)}function l(e,t,n){i(e,t,n,!0).then((function(){return null}),(function(e){return im.error(e)}))}function u(e,t){switch(t){case W0.Editor:return"editor_comments";case W0.Public:return c(e)+"_comments";case W0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function c(t){switch(t){case e.ItemResourceTypes.News:return"news";case e.ItemResourceTypes.Pages:return"page";case e.ItemResourceTypes.Events:return"event";default:throw Error("Invalid type")}}}),[t,o,a])}b2("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=F2(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=_2(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var g=C2(u,c);if(null===g)break;if(p.push(g),!h)break;""===String(g[0])&&(u.lastIndex=E2(c,k2(u.lastIndex),f))}for(var m="",v=0,y=0;y<p.length;y++){g=p[y];for(var b=String(g[0]),_=S2(O2(x2(g.index),c.length),0),w=[],k=1;k<g.length;k++)w.push(A2(g[k]));var x=g.groups;if(d){var F=[b].concat(w,_,c);void 0!==x&&F.push(x);var E=String(i.apply(void 0,F))}else E=s(b,c,_,w,x,i);_>=v&&(m+=c.slice(v,_)+E,v=_+b.length)}return m+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=T2;return void 0!==o&&(o=w2(o),u=P2),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=D2(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 j2,R2=pY,N2=mY,z2=p1,B2=IV?Object.defineProperties:function(e,t){N2(e);for(var n,i=z2(t),r=i.length,o=0;r>o;)R2.f(e,n=i[o++],t[n]);return e},G2=mY,U2=B2,q2=UK,W2=$Y,H2=qZ,Q2=iY,V2=KY("IE_PROTO"),Y2=function(){},K2=function(e){return"<script>"+e+"</"+"script>"},$2=function(){try{j2=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;$2=j2?function(e){e.write(K2("")),e.close();var t=e.parentWindow.Object;return e=null,t}(j2):((t=Q2("iframe")).style.display="none",H2.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(K2("document.F=Object")),e.close(),e.F);for(var n=q2.length;n--;)delete $2.prototype[q2[n]];return $2()};W2[V2]=!0;var Z2=Object.create||function(e,t){var n;return null!==e?(Y2.prototype=G2(e),n=new Y2,Y2.prototype=null,n[V2]=e):n=$2(),void 0===t?n:U2(n,t)},X2=Z2,J2=pY,e3=X$("unscopables"),t3=Array.prototype;null==t3[e3]&&J2.f(t3,e3,{configurable:!0,value:X2(null)});var n3,i3,r3,o3=function(e){t3[e3][e]=!0},a3=!LV((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),s3=JV,l3=y$,u3=a3,c3=KY("IE_PROTO"),d3=Object.prototype,h3=u3?Object.getPrototypeOf:function(e){return e=l3(e),s3(e,c3)?e[c3]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?d3:null},f3=h3,p3=FY,g3=JV,m3=X$("iterator"),v3=!1;[].keys&&("next"in(r3=[].keys())?(i3=f3(f3(r3)))!==Object.prototype&&(n3=i3):v3=!0),null==n3&&(n3={}),g3(n3,m3)||p3(n3,m3,(function(){return this}));var y3={IteratorPrototype:n3,BUGGY_SAFARI_ITERATORS:v3},b3=y3.IteratorPrototype,_3=Z2,w3=zV,k3=nZ,x3=lZ,F3=function(){return this},E3=KV,C3=mY,S3=function(e){if(!E3(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},O3=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 C3(n),S3(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),D3=g$,P3=function(e,t,n){var i=t+" Iterator";return e.prototype=_3(b3,{next:w3(1,n)}),k3(e,i,!1),x3[i]=F3,e},T3=h3,A3=O3,L3=nZ,I3=FY,M3=EY.exports,j3=lZ,R3=y3.IteratorPrototype,N3=y3.BUGGY_SAFARI_ITERATORS,z3=X$("iterator"),B3="keys",G3="values",U3="entries",q3=function(){return this},W3=YV,H3=o3,Q3=lZ,V3=uK,Y3=function(e,t,n,i,r,o,a){P3(n,t,i);var s,l,u,c=function(e){if(e===r&&g)return g;if(!N3&&e in f)return f[e];switch(e){case B3:case G3:case U3:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,f=e.prototype,p=f[z3]||f["@@iterator"]||r&&f[r],g=!N3&&p||c(r),m="Array"==t&&f.entries||p;if(m&&(s=T3(m.call(new e)),R3!==Object.prototype&&s.next&&(T3(s)!==R3&&(A3?A3(s,R3):"function"!=typeof s[z3]&&I3(s,z3,q3)),L3(s,d,!0))),r==G3&&p&&p.name!==G3&&(h=!0,g=function(){return p.call(this)}),f[z3]!==g&&I3(f,z3,g),j3[t]=g,r)if(l={values:c(G3),keys:o?g:c(B3),entries:c(U3)},a)for(u in l)(N3||h||!(u in f))&&M3(f,u,l[u]);else D3({target:t,proto:!0,forced:N3||h},l);return l},K3="Array Iterator",$3=V3.set,Z3=V3.getterFor(K3),X3=Y3(Array,"Array",(function(e,t){$3(this,{type:K3,target:W3(e),index:0,kind:t})}),(function(){var e=Z3(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");Q3.Arguments=Q3.Array,H3("keys"),H3("values"),H3("entries");var J3=TV,e4={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},t4=X3,n4=FY,i4=X$,r4=i4("iterator"),o4=i4("toStringTag"),a4=t4.values;for(var s4 in e4){var l4=J3[s4],u4=l4&&l4.prototype;if(u4){if(u4[r4]!==a4)try{n4(u4,r4,a4)}catch(e){u4[r4]=a4}if(u4[o4]||n4(u4,o4,s4),e4[s4])for(var c4 in t4)if(u4[c4]!==t4[c4])try{n4(u4,c4,t4[c4])}catch(e){u4[c4]=t4[c4]}}}var d4=i.createContext(null);function h4(){var e=i.useContext(d4);return null!=e?e.refresh:function(){return null}}var f4,p4=function(e){var n=e.children,r=p0().refreshUser,o=nM(),a=i.useCallback((function(){var e,t;return fV(this,void 0,void 0,(function(){var n,i;return pV(this,(function(a){switch(a.label){case 0:return[4,o.query({query:g4,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(i=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return dV(dV({},e),function(e){var t,n,i,r,o;return{availableSubscriptions:null!==(t=null==e?void 0:e.availableSubscriptions)&&void 0!==t?t:[],bookmarks:null!==(n=null==e?void 0:e.bookmarks)&&void 0!==n?n:[],unreadNews:null!==(i=null==e?void 0:e.unreadNews)&&void 0!==i?i:[],unreadEvents:null!==(r=null==e?void 0:e.unreadEvents)&&void 0!==r?r:[],unreadPosts:null!==(o=null==e?void 0:e.unreadPosts)&&void 0!==o?o:[],hasUnreadChats:null==e?void 0:e.hasUnreadChats,unreadFeedItemsCount:null==e?void 0:e.unreadFeedItemsCount,mostRecentPostGroups:null==e?void 0:e.mostRecentPostGroups}}(dV({bookmarks:i.bookmarkIds,availableSubscriptions:i.subscriptions},i)))}))];case 2:return[2,a.sent()];case 3:return(null==i||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&im.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[o]),s=i.useMemo((function(){return{refresh:a}}),[a]);return i.useEffect((function(){a().then(null,im.error)}),[a]),t.jsx(d4.Provider,dV({value:s},{children:n}),void 0)},g4=HI(f4||(f4=mV(["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"],["\n query CurrentUserDetails {\n currentUser {\n bookmarkIds\n unreadNews {\n itemId\n channelIds\n }\n unreadEvents {\n itemId\n channelIds\n }\n unreadPosts {\n itemId\n groupId\n }\n unreadFeedItemsCount\n hasUnreadChats\n mostRecentPostGroups\n subscriptions {\n id\n subscriptionName\n company\n contact {\n displayName\n userPrincipalName\n }\n hasUnreadItems\n }\n }\n }\n"]))),m4=g$,v4=AV.f,y4=OK,b4=k0,_4=HV,w4=F0,k4="".startsWith,x4=Math.min,F4=w4("startsWith"),E4=!F4&&!!function(){var e=v4(String.prototype,"startsWith");return e&&!e.writable}();function C4(){var e=i.useContext(_E).identifier,t=e.subscriptionHandle||e.id;return{buildPath:function(e){if(e)return"/"+t+"/"+(e.startsWith("/")?e.substring(1):e);return"/"+t},subscriptionHandle:t}}function S4(){var e=Pg().webAppUrl,t=D4();return t?"https://"+t:e}function O4(){var e=Pg().webAppUrls,t=D4();return t?gV(gV([],e),["https://"+t]):e}function D4(){var e,t=g0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}m4({target:"String",proto:!0,forced:!E4&&!F4},{startsWith:function(e){var t=String(_4(this));b4(e);var n=y4(x4(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return k4?k4.call(t,i,n):t.slice(n,n+i.length)===i}});var P4=i.createContext(null);var T4=window.System;function A4(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==i){var r=document.createElement("script");r.type="systemjs-importmap",r.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var l=s[a].name;o.imports[l]="app:"+l}r.textContent=JSON.stringify(o,null,2),document.head.appendChild(r);for(var u=0,c=t;u<c.length;u++){var d=c[u],h=d.name,f=d.packageDefinition;T4.set("app:"+h,f)}}}var L4=function(){return null};function I4(){return i.useContext(P4).storage}function M4(e,t){var n="Plugins::"+e+"::";return{getAllKeys:i,getString:function(e){return t.getString(n+e)},setString:function(e,i){return t.setString(n+e,i)},remove:function(e){return t.remove(n+e)},clearAll:function(){return fV(this,void 0,void 0,(function(){var e,r,o,a;return pV(this,(function(s){switch(s.label){case 0:return[4,i()];case 1:e=s.sent(),r=0,o=e,s.label=2;case 2:return r<o.length?(a=o[r],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return r++,[3,2];case 5:return[2]}}))}))}};function i(){var e;return fV(this,void 0,void 0,(function(){var i;return pV(this,(function(r){switch(r.label){case 0:return[4,t.getAllKeys()];case 1:return i=r.sent(),[2,null!==(e=null==i?void 0:i.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function j4(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function R4(e,t){return{get:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function N4(e,t){return{get:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").get().then((function(e){return e.body().data()}))},set:function(n,i){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(i).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}var z4,B4,G4=function(e){var n=e.pluginId,r=e.componentName,o=e.settings,a=e.bundleUrl,s=e.bundleModificationDate,l=hV(e,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),u=bE(),c=rq(),d=function(){var e=rq(),t=g0(),n=iq(),r=n.createApiUrl,o=n.fetchFromApi,a=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{getPluginFileUrl:function(e,t,n){return t||(e.startsWith("http")?e+"?cache="+(new Date).getTime():r("/plugins/"+e,n?{cache:new Date(n).getTime()}:null))},saveDefinition:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.custom("plugins/"+encodeURIComponent(t.pluginId)+"/definition").put(t).then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))},saveFile:function(e,n){return fV(this,void 0,void 0,(function(){var i,r,s;return pV(this,(function(l){switch(l.label){case 0:return(i=new FormData).append("file",n),[4,a()];case 1:return r=l.sent(),s={method:"PUT",body:i,headers:{authorization:"Bearer "+r,"subscription-id":t.subscription.id}},[2,o("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,i){return fV(this,void 0,void 0,(function(){return pV(this,(function(r){switch(r.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:i}).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},linkPlugin:function(t,n){return fV(this,void 0,void 0,(function(){return pV(this,(function(i){switch(i.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).put({settings:n}).then((function(e){return e.body()}))];case 1:return[2,i.sent()]}}))}))},unlinkPlugin:function(t){return fV(this,void 0,void 0,(function(){return pV(this,(function(n){switch(n.label){case 0:return[4,e.custom("subscriptions/current/plugins/"+encodeURIComponent(t)).delete().then((function(e){return e.body()}))];case 1:return[2,n.sent()]}}))}))}}}),[e,r,o,a,t.subscription.id])}().getPluginFileUrl,h=i.useMemo((function(){return i.lazy((function(){return function(e,t){return fV(this,void 0,void 0,(function(){var n;return pV(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,T4.import(e)];case 1:return[2,{default:i.sent()[t]}];case 2:return n=i.sent(),im.error(n),[2,{default:L4}];case 3:return[2]}}))}))}(d(n,a,s),r)}))}),[r,n,d,a,s]),f=i.useMemo((function(){return{settings:o,storage:M4(n,u),userStore:R4(n,c),subscriptionStore:N4(n,c)}}),[n,o,u,c]);return t.jsx(i.Suspense,dV({fallback:t.jsx("div",{},void 0)},{children:t.jsx(P4.Provider,dV({value:f},{children:t.jsx(h,dV({name:r},l),void 0)}),void 0)}),void 0)},U4=GV,q4=Array.isArray||function(e){return"Array"==U4(e)},W4=q4,H4=OK,Q4=fZ,V4=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&Q4(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&W4(l))u=V4(e,t,l,H4(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},Y4=V4,K4=KV,$4=q4,Z4=X$("species"),X4=Y4,J4=y$,e6=OK,t6=m$,n6=function(e,t){var n;return $4(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!$4(n.prototype)?K4(n)&&null===(n=n[Z4])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function i6(){var e=g0(),t=function(){var e=function(){var e=r.useLocation(),t=Hg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));r6.some((function(e){return e.pluginId===n.pluginId}))||(r6.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(r6)))}return r6}(),t=Mk(n,[],[null==e?void 0:e.length])[0];return null!=o6?o6:t;function n(){return fV(this,void 0,void 0,(function(){var t,n,i,r,o,a;return pV(this,(function(s){switch(s.label){case 0:if(o6)return[2,o6];t=[],n=0,i=e,s.label=1;case 1:return n<i.length?(r=i[n],o="http://localhost:"+r.port,[4,fetch(o+"/definition.json?rev="+(new Date).getTime())]):[3,5];case 2:return[4,s.sent().json()];case 3:(a=s.sent()).bundleUrl=o+"/index.js?rev="+(new Date).getTime(),t.push(a),s.label=4;case 4:return n++,[3,1];case 5:return[2,o6=t]}}))}))}}();return gV(gV([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}g$({target:"Array",proto:!0},{flatMap:function(e){var t,n=J4(this),i=e6(n.length);return t6(e),(t=n6(n,0)).length=X4(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),o3("flatMap"),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(B4||(B4={}));var r6=null!==(z4=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==z4?z4:[];var o6=null;var a6=GV,s6=EK,l6=HV,u6="".repeat||function(e){var t=String(l6(this)),n="",i=s6(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},c6=g$,d6=EK,h6=function(e){if("number"!=typeof e&&"Number"!=a6(e))throw TypeError("Incorrect invocation");return+e},f6=u6,p6=LV,g6=1..toFixed,m6=Math.floor,v6=function(e,t,n){return 0===t?n:t%2==1?v6(e,t-1,n*e):v6(e*e,t/2,n)};c6({target:"Number",proto:!0,forced:g6&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!p6((function(){g6.call({})}))},{toFixed:function(e){var t,n,i,r,o=h6(this),a=d6(e),s=[0,0,0,0,0,0],l="",u="0",c=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=m6(i/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=m6(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+f6.call("0",7-n.length)+n}return t};if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(l="-",o=-o),o>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*v6(2,69,1))-69,n=t<0?o*v6(2,-t,1):o/v6(2,t,1),n*=4503599627370496,(t=52-t)>0){for(c(0,n),i=a;i>=7;)c(1e7,0),i-=7;for(c(v6(10,i,1),0),i=t-1;i>=23;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=h()}else c(0,n),c(1<<-t,0),u=h()+f6.call("0",a);return u=a>0?l+((r=u.length)<=a?"0."+f6.call("0",a-r)+u:u.slice(0,r-a)+"."+u.slice(r-a)):l+u}});var y6={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},b6={palette:{themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#52A0BF",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#424242",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f2f2f2",neutralLighterAlt:"#f8f8f8",accent:"#52A0BF",textColorOnWhiteBackground:"#52A0BF",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",blue:"#0078d7",blueDark:"#002050",blueLight:"#00bcf2",blueMid:"#00188f",error:"#a80000",green:"#107c10",greenDark:"#004b1c",greenLight:"#bad80a",info:"#107c10",magenta:"#b4009e",magentaDark:"#5c005c",magentaLight:"#e3008c",orange:"#d83b01",orangeLight:"#ff8c00",orangeLighter:"#ea4300",purple:"#5c2d91",purpleDark:"#32145a",purpleLight:"#b4a0ff",red:"#e81123",redDark:"#a80000",severeWarning:"#d83b01",success:"#107c10",teal:"#008272",tealDark:"#004b50",tealLight:"#00b294",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellow:"#ffb900",yellowLight:"#fff100"},semanticColors:{infoText:"#333333",successText:"#333333",alertBackground:"#deecf9",severeWarningBackground:"#fed9cc",successBackground:"#dff6dd",warningBackground:"#fff4ce",errorBackground:"#fde7e9",infoBackground:"#f4f4f4"},textColors:{onPrimary:"#ffffff",onSecondary:"#000000"}},_6=mY,w6=OK,k6=HV,x6=y2,F6=u2;o2("match",1,(function(e,t,n){return[function(t){var n=k6(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=_6(e),o=String(this);if(!r.global)return F6(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=F6(r,o));){var c=String(s[0]);l[u]=c,""===c&&(r.lastIndex=x6(o,w6(r.lastIndex),a)),u++}return 0===u?null:l}]}));var E6="\t\n\v\f\r \u2028\u2029\ufeff",C6=HV,S6="[\t\n\v\f\r \u2028\u2029\ufeff]",O6=RegExp("^"+S6+S6+"*"),D6=RegExp(S6+S6+"*$"),P6=function(e){return function(t){var n=String(C6(t));return 1&e&&(n=n.replace(O6,"")),2&e&&(n=n.replace(D6,"")),n}},T6={start:P6(1),end:P6(2),trim:P6(3)},A6=T6.trim,L6=E6,I6=TV.parseInt,M6=/^[+-]?0[Xx]/,j6=8!==I6(L6+"08")||22!==I6(L6+"0x16")?function(e,t){var n=A6(String(e));return I6(n,t>>>0||(M6.test(n)?16:10))}:I6;g$({global:!0,forced:parseInt!=j6},{parseInt:j6});var R6=o2,N6=_0,z6=mY,B6=HV,G6=UZ,U6=y2,q6=OK,W6=u2,H6=V1,Q6=LV,V6=[].push,Y6=Math.min,K6=4294967295,$6=!Q6((function(){return!RegExp(K6,"y")}));R6("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(B6(this)),r=void 0===n?K6:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!N6(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=H6.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&V6.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=B6(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=z6(e),s=String(this),l=G6(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+($6?"y":"g"),d=new l($6?a:"^(?:"+a.source+")",c),h=void 0===r?K6:r>>>0;if(0===h)return[];if(0===s.length)return null===W6(d,s)?[s]:[];for(var f=0,p=0,g=[];p<s.length;){d.lastIndex=$6?p:0;var m,v=W6(d,$6?s:s.slice(p));if(null===v||(m=Y6(q6(d.lastIndex+($6?0:p)),s.length))===f)p=U6(s,p,u);else{if(g.push(s.slice(f,p)),g.length===h)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===h)return g;p=f=m}}return g.push(s.slice(f)),g}]}),!$6);var Z6=LV,X6=E6,J6=T6.trim,e5=function(e){return Z6((function(){return!!X6[e]()||"
"!="
"[e]()||X6[e].name!==e}))};g$({target:"String",proto:!0,forced:e5("trim")},{trim:function(){return J6(this)}});var t5=EY.exports,n5=mY,i5=LV,r5=M1,o5="toString",a5=RegExp.prototype,s5=a5.toString,l5=i5((function(){return"/a/b"!=s5.call({source:"a",flags:"b"})})),u5=s5.name!=o5;(l5||u5)&&t5(RegExp.prototype,o5,(function(){var e=n5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in a5)?r5.call(e):n)}),{unsafe:!0});var c5=function(){function e(e){var t=this;this.setRgb=function(e){-1!==e.indexOf("rgba")?t.setRgbFromRgba(e):t.setRgbFromHex(e)},this.setRgbFromHex=function(e){var n=e.replace("#","").match(/.{1,2}/g);t.r=parseInt(n[0],16),t.g=parseInt(n[1],16),t.b=parseInt(n[2],16)},this.setRgbFromRgba=function(e){var n=e.replace("rgba(","").replace(")","").split(",");t.r=parseInt(t.trim(n[0]),10),t.g=parseInt(t.trim(n[1]),10),t.b=parseInt(t.trim(n[2]),10)},this.trim=function(e){return e.replace(/^\s+|\s+$/gm,"")},this.setRgb(e)}return e.prototype.lighten=function(e){return this.r=Math.min(Math.ceil(this.r+this.r*e),255),this.g=Math.min(Math.ceil(this.g+this.g*e),255),this.b=Math.min(Math.ceil(this.b+this.b*e),255),this},e.prototype.toHex=function(){var e=function(e){return("00"+e.toString(16)).slice(-2)};return"#"+e(this.r)+e(this.g)+e(this.b)},e}(),d5=null,h5=dV({name:"Default"},y6),f5=b6.palette.neutralLighter,p5="#ffffff",g5="#333333",m5=[h5,{name:"Apatite",primaryColor:"#1570B3",secondaryColor:"#CFFF6C"},{name:"Azurite",primaryColor:"#20273C",secondaryColor:"#F4F4F4"},{name:"Cordierite",primaryColor:"#343332",secondaryColor:"#419BEB"},{name:"Nephrite",primaryColor:"#224926",secondaryColor:"#EAEAEA"},{name:"Pyrite",primaryColor:"#263251",secondaryColor:"#FFE357"},{name:"Quartz",primaryColor:"#363636",secondaryColor:"#D45081"}];function v5(e,t){var n=y5(e.primaryColor),i=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,r=e.useHighlightColorOnWhiteBackground?b5(i):b5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:b5(n),textColorOnSecondary:b5(e.secondaryColor),accentColor:i,textColorOnAccent:r},s=dV({},b6),l=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new c5(e.accentColor).toHex(),i=new c5(e.accentColor).lighten(-.3).toHex(),r=new c5(e.accentColor).lighten(.5).toHex(),o=y5(e.primaryColor),a=b5(i);return t.palette.themeDarker=new c5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new c5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new c5(e.primaryColor).toHex(),t.palette.themeLight=new c5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new c5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new c5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new c5("#B90000").toHex(),t.palette.redDark=new c5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new c5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new c5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=i,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=i,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=i,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=i,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=r,t.palette.themeSecondary=new c5(e.secondaryColor).toHex(),t.palette.themeTertiary=new c5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new c5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new c5(e.textColorOnSecondary).toHex(),t.textColors.default=new c5(g5).toHex(),t.textColors.onAccent=new c5(e.textColorOnAccent).toHex(),t}(o);for(var u in l)l.hasOwnProperty(u)&&Object.assign(s[u],l[u]);return t||a.loadTheme(s),function(e){var t=[],n=".lt-reach";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];"textColors"!==i&&(t.push(n+" .ms-bgColor-"+o+" { background-color: "+a+";}"),t.push(n+" .ms-borderColor-"+o+" { border-color: "+a+";}")),t.push(n+" .ms-fontColor-"+o+" { color: "+a+";}"),t.push(n+" .ms-fontColor-"+o+"--hover:hover {color: "+a+";}")}}d5||((d5=document.createElement("style")).type="text/css",d5.id="condense-ui-fabric-overrides",document.head.appendChild(d5));d5.innerHTML=t.join(" ")}(s),s}function y5(e){return new c5(e).lighten(-.2).toHex()}function b5(e){return function(e){var t=gH(e,g5),n=gH(e,p5);return t>n}(e)?g5:p5}var _5=i.createContext(null),w5=function(e){var n=e.disableUiFabricThemeOverwrite,r=e.children,a=i.useState((function(){return v5(m5.find((function(e){return"Default"===e.name})),n)})),s=a[0],l=a[1];return t.jsx(_5.Provider,dV({value:{theme:s,setTheme:function(e){return l(v5(e,n))}}},{children:t.jsx(o.ThemeProvider,dV({theme:s},{children:r}),void 0)}),void 0)};var k5=985,x5=10,F5=20,E5=30,C5=40,S5=60,O5=550,D5=768,P5=1024,T5=1350,A5=549,L5=767,I5=1023,M5=1349,j5=25,R5=18,N5=16,z5=14,B5=12,G5=21/9,U5="rgba(0, 0, 0, 0.2)",q5=F5,W5=S5,H5=20,Q5=i.createContext(null),V5=i.createContext(null);function Y5(){return i.useContext(Q5)}var K5,$5,Z5,X5,J5,e9,t9=function(e){var n=e.children,r=i.useState(!1),o=r[0],s=r[1],l=i.useState({}),u=l[0],c=l[1],d=i.useMemo((function(){return{showErrorText:p,showInfo:f,showError:g,showWarning:m,showSuccess:v,hideNotification:y,showToast:b,showToastWarning:_,dismissToast:w}}),[c,s]),h=i.useMemo((function(){return dV(dV({},u),{isNotificationBarVisible:o})}),[u,o]);return t.jsx(Q5.Provider,dV({value:d},{children:t.jsx(V5.Provider,dV({value:h},{children:n}),void 0)}),void 0);function f(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.info,actions:null,className:"ms-messageBar--info"}),s(!0)}function p(e){c({text:e,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function g(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.error,actions:null}),s(!0)}function m(e,t){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.warning,actions:null}),s(!0)}function v(e,t,n,i){c({messageId:e,messageValues:t,messageBarType:a.MessageBarType.success,className:n,actions:i}),s(!0)}function y(){s(!1)}function b(e,n,i,r){var o=t.jsx(hE,{id:e,values:n},void 0);return null==i?WQ(o,r):WQ(t.jsxs(n9,{children:[t.jsx(i9,{children:o},void 0),t.jsx(r9,{children:i},void 0)]},void 0),dV({},r))}function _(e,t,n){var i={autoClose:!1,type:"warning"};return n&&(i.onClose=n),b(e,t,null,i)}function w(e){WQ.dismiss(e)}},n9=y.default.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(K5||(K5=mV(["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"],["\n display: flex;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),O5),i9=y.default.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})($5||($5=mV(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),r9=y.default.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(Z5||(Z5=mV(["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"],["\n margin-left: 25px;\n flex: 1 0 auto;\n\n @media (max-width: ","px) {\n margin-left: 0;\n margin-top: 10px;\n }\n"])),O5),o9=function(){var e=r.useHistory(),n=i.useContext(XO).hideChrome;return i.useEffect((function(){var t=e.listen((function(){return WQ.dismiss()}));return function(){return t()}}),[e]),t.jsxs(t.Fragment,{children:[t.jsx(a9,{chromeless:n},void 0),t.jsx(TQ,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:PQ,closeButton:!1},void 0)]},void 0)},a9=o.createGlobalStyle(e9||(e9=mV(["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"],["\n .lt-reach .Toastify .Toastify__toast-container {\n ","\n\n ","\n }\n\n .Toastify {\n .Toastify__toast-container {\n // This allows us to have wider toasts that do not wrap too soon.\n // Toastify itself will add responsive design at 480px and span the\n // toast the full width...\n max-width: 540px;\n width: auto;\n z-index: 1000001;\n\n @media (max-width: 480px) {\n padding: 0 10px !important;\n }\n }\n\n .Toastify__toast-body {\n display: flex;\n flex: 1 1 540px;\n height: 100%;\n justify-content: center;\n flex-direction: column;\n // IE fix: this is a default value from Toastify but doesn't work properly unless added here too\n min-height: 48px;\n }\n }\n"])),(function(e){return!e.chromeless&&o.css(X5||(X5=mV(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&o.css(J5||(J5=mV(["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "],["\n @media all and (max-width: ","px) {\n top: 0.5em;\n right: 0.5em;\n }\n "])),A5)}));function s9(){var e=rq();return i.useMemo((function(){return{getAllKeywords:t,getAllKeywordsByGroupIds:function(){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(eW(n))return eH(n,null);if(tW(n)&&Object.getPrototypeOf(n)===Object.prototype){var i=Object.keys(n);return eH(i.map((function(e){return n[e]})),i)}}if("function"==typeof e[e.length-1]){var r=e.pop();return eH(e=1===e.length&&eW(e[0])?e[0]:e,null).pipe(RW((function(e){return r.apply(void 0,e)})))}return eH(e,null)}(n(),t()).pipe(RW((function(e){var t=e[0],n=e[1],i={};return t.forEach((function(e){i[e.id]=n.filter((function(t){return t.groupId===e.id}))})),i}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return fV(this,void 0,void 0,(function(){return pV(this,(function(i){return[2,e.all(n+"news/"+t+"/keyword_groups").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}};function t(t){return e.all("keywords").getAll({},{"Cache-Control":t?"no-cache":"private"}).then((function(e){return e.body().map((function(e){return e.data()}))}))}function n(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.all("keyword_groups/selected").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}),[e])}var l9,u9=function(e){var n=e.loadingIndicator,r=e.children,o=i.useContext(c9);return o.channels?t.jsx(d9.Provider,dV({value:o},{children:r}),void 0):t.jsx(t.Fragment,{children:null!=n?n:t.jsx(a.Spinner,{},void 0)},void 0)},c9=i.createContext(null),d9=i.createContext(null),h9=new Promise((function(e){return l9=e})),f9=function(e){var n=e.children,r=function(){var e=rq();return i.useMemo((function(){return{getChannels:function(){return fV(this,void 0,void 0,(function(){return pV(this,(function(t){return[2,e.all("subscriptions/current/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))},getChannelsByItemId:function(t,n){return void 0===n&&(n=""),fV(this,void 0,void 0,(function(){return pV(this,(function(i){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,o=s9(),a=o.getAllKeywords,s=o.getSelectedGroups;return t.jsx(p9,dV({getChannels:r,getAllKeywords:a,getSelectedGroups:s},{children:n}),void 0)},p9=function(e){var n=e.getChannels,r=e.getAllKeywords,o=e.getSelectedGroups,a=e.children,s=m0(),l=i.useContext(_E).identifier,u=i.useContext(mE).handleFatalError,c=i.useCallback((function(){return fV(this,void 0,void 0,(function(){var e,t,i,r,o,a;return pV(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,4]),[4,Promise.all([n(),b(),_()])];case 1:return e=s.sent(),t=e[0],i=e[1],r=e[2],o=r.reduce((function(e,t){var n;return dV(dV({},e),((n={})[t.id]=i.filter((function(e){return e.groupId===t.id})),n))}),{}),l9(t),[2,{channels:t,allKeywords:i,keywordsByGroupId:o,selectedKeywordGroups:r}];case 2:return a=s.sent(),im.error(JSON.stringify(a)),[4,I2(a)];case 3:return!0!==s.sent()&&u({error:a}),[2,{}];case 4:return[2]}}))}))}),[n,r,o]),d=Mk(c,{},[l.id,n,r]),h=d[0],f=h.channels,p=h.allKeywords,g=h.keywordsByGroupId,m=h.selectedKeywordGroups,v=d[3],y=i.useMemo((function(){return{channels:f,getChannels:function(){return h9},allKeywords:p,keywordsByGroupId:g,selectedKeywordGroups:m,refreshSubscription:function(){return fV(void 0,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:return[4,c()];case 1:return e=t.sent(),v(e),[2]}}))}))}}}),[f,p,g,m,v,c]);return t.jsx(c9.Provider,dV({value:y},{children:a}),void 0);function b(){return fV(this,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,r()];case 2:return[2,t.sent()];case 3:return e=t.sent(),im.error(e),[2,[]];case 4:return[2]}}))}))}function _(){return fV(this,void 0,void 0,(function(){var e;return pV(this,(function(t){switch(t.label){case 0:if(!s.keywords)return[2,[]];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,o()];case 2:return[2,t.sent()];case 3:return e=t.sent(),im.error(e),[2,[]];case 4:return[2]}}))}))}};var g9={};function m9(e){var t;(null==e?void 0:e.type)&&(null===(t=g9[e.type])||void 0===t||t.some((function(t){return t(e)})))}function v9(e,t,n){i.useEffect((function(){if(e)return g9[e]||(g9[e]=[]),g9[e].push(t),function(){g9[e]=g9[e].filter((function(e){return e!==t}))}}),gV([e],n||[]))}var y9=g$,b9=m$,_9=y$,w9=LV,k9=C$,x9=[],F9=x9.sort,E9=w9((function(){x9.sort(void 0)})),C9=w9((function(){x9.sort(null)})),S9=k9("sort");y9({target:"Array",proto:!0,forced:E9||!C9||!S9},{sort:function(e){return void 0===e?F9.call(_9(this)):F9.call(_9(this),b9(e))}});var O9=q4,D9=[].reverse,P9=[1,2];g$({target:"Array",proto:!0,forced:String(P9)===String(P9.reverse())},{reverse:function(){return O9(this)&&(this.length=this.length),D9.call(this)}});var T9,A9,L9,I9=[],M9=function(e,t){I9.some((function(t){return t.handler===e}))||I9.push({handler:e,priority:t||0})},j9=function(e){I9=I9.filter((function(t){return t.handler!==e}))};function R9(e,t,n,i){if(!((null==e?void 0:e.length)&&t.keywords&&n&&i))return{};var r=e.flatMap((function(e){return e.defaultKeywordIds||[]})).concat(e.flatMap((function(e){return e.availableKeywordIds||n.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryKeywordIds||[]})));return B9(Array.from(new Set(r)),i)}function N9(e,t,n,i){var r=R9(e,t,n,i);return Object.values(r).reduce((function(e,t){return e=e.concat(t)}),[])}function z9(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]})).concat(e.flatMap((function(e){return e.defaultKeywordIds||[]})));return i.length?B9(i,n):{}}function B9(e,t){var n={};return Object.keys(t).forEach((function(i){var r=t[i].filter((function(t){return e.some((function(e){return e===t.id}))}));r.length&&(n[i]=r)})),n}function G9(e,t,n,i,r){if(e){var o=t.groups.filter((function(t){var n;return null===(n=e.groupIds)||void 0===n?void 0:n.includes(t.id)}));e.keywords||(e.keywords={});var a=R9(o,n,i,r),s=function(e,t,n){if(!(null==e?void 0:e.length)||!t.keywords)return{};var i=e.flatMap((function(e){return e.mandatoryKeywordIds||[]}));return i.length?B9(i,n):{}}(o,n,r);Object.keys(e.keywords).forEach((function(t){var n,i=a[t]||[];e.keywords[t]=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){return i.some((function(t){return t.id===e.id}))}))})),Object.keys(s).forEach((function(t){var n,i,r=null===(n=e.keywords[t])||void 0===n?void 0:n.filter((function(e){var n;return null===(n=s[t])||void 0===n?void 0:n.every((function(t){return t.id!==e.id}))}));e.keywords[t]=(null!=r?r:[]).concat(null!==(i=s[t])&&void 0!==i?i:[])}))}}function U9(e,t){var n=W9(e,t),i=function(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]}));return t.filter((function(e){return n.includes(e.id)}))}(e,t);return Array.from(new Set(n.concat(i)))}function q9(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.defaultChannelIds||[]})).concat(e.flatMap((function(e){return e.availableChannelIds||t.map((function(e){return e.id}))})),e.flatMap((function(e){return e.mandatoryChannelIds||[]})));return n=Array.from(new Set(n)),t.filter((function(e){return n.includes(e.id)}))}function W9(e,t){if(!(null==e?void 0:e.length))return[];var n=e.flatMap((function(e){return e.mandatoryChannelIds||[]}));return n.length?t.filter((function(e){return n.includes(e.id)})):[]}!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(T9||(T9={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(A9||(A9={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(L9||(L9={})),(new vW).pipe($Q(100),(function(e){return bW()((t=iV,function(e){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new nV(i,n));var r=Object.create(e,xW);return r.source=e,r.subjectFactory=i,r})(e));var t,n}));var H9=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="forbidden_error",e}(),Q9=function(){function e(){this.type=e.type}return e.create=function(){return new e},e.type="generic_access_denied",e}();VQ("/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n");VQ('/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator ("1 of X" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: \'\';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: \'\';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator ("1 of X" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don\'t support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer ("material") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and "1 of X" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn\'t moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n');var V9={exports:{}};
|
|
117
117
|
/*! PhotoSwipe - v4.1.3 - 2019-01-08
|
|
118
118
|
* http://photoswipe.com
|
|
119
119
|
* Copyright (c) 2019 Dmitry Semenov; */!function(e,t){e.exports=function(){var e=function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[r](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=i.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(i)}for(var l,u,c=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],h=0;h<4;h++){t=d[h];for(var f=0;f<3;f++)l=c[f],u=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&u in e&&(n[l]=u);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var p=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-p)),i=window.setTimeout((function(){e(t+n)}),n);return p=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=n,n}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var o=this,a=25,s=3,l={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(l,i);var u,c,d,h,f,p,g,m,v,y,b,_,w,k,x,F,E,C,S,O,D,P,T,A,L,I,M,j,R,N,z,B,G,U,q,W,H,Q,V,Y,K,$,Z,X,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de=function(){return{x:0,y:0}},he=de(),fe=de(),pe=de(),ge={},me=0,ve={},ye=de(),be=0,_e=!0,we=[],ke={},xe=!1,Fe=function(e,t){r.extend(o,t.publicMethods),we.push(e)},Ee=function(e){var t=Jt();return e>t-1?e-t:e<0?t+e:e},Ce={},Se=function(e,t){return Ce[e]||(Ce[e]=[]),Ce[e].push(t)},Oe=function(e){var t=Ce[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(o,n)}},De=function(){return(new Date).getTime()},Pe=function(e){le=e,o.bg.style.opacity=e*l.bgOpacity},Te=function(e,t,n,i,r){(!xe||r&&r!==o.currItem)&&(i/=r?r.fitRatio:o.currItem.fitRatio),e[P]=_+t+"px, "+n+"px"+w+" scale("+i+")"},Ae=function(e){ie&&(e&&(y>o.currItem.fitRatio?xe||(dn(o.currItem,!1,!0),xe=!0):xe&&(dn(o.currItem),xe=!1)),Te(ie,pe.x,pe.y,y))},Le=function(e){e.container&&Te(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ie=function(e,t){t[P]=_+e+"px, 0px"+w},Me=function(e,t){if(!l.loop&&t){var n=h+(ye.x*me-e)/ye.x,i=Math.round(e-yt.x);(n<0&&i>0||n>=Jt()-1&&i<0)&&(e=yt.x+i*l.mainScrollEndFriction)}yt.x=e,Ie(e,f)},je=function(e,t){var n=bt[e]-ve[e];return fe[e]+he[e]+n-n*(t/b)},Re=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Ne=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Be=function(){ze&&(r.unbind(document,"mousemove",Be),r.addClass(e,"pswp--has_mouse"),l.mouseUsed=!0,Oe("mouseUsed")),ze=setTimeout((function(){ze=null}),100)},Ge=function(){r.bind(document,"keydown",o),z.transform&&r.bind(o.scrollWrap,"click",o),l.mouseUsed||r.bind(document,"mousemove",Be),r.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")},Ue=function(){r.unbind(window,"resize scroll orientationchange",o),r.unbind(window,"scroll",v.scroll),r.unbind(document,"keydown",o),r.unbind(document,"mousemove",Be),z.transform&&r.unbind(o.scrollWrap,"click",o),V&&r.unbind(window,g,o),clearTimeout(B),Oe("unbindEvents")},qe=function(e,t){var n=sn(o.currItem,ge,e);return t&&(ne=n),n},We=function(e){return e||(e=o.currItem),e.initialZoomLevel},He=function(e){return e||(e=o.currItem),e.w>0?l.maxSpreadZoom:1},Qe=function(e,t,n,i){return i===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=je(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ve=function(){if(P){var t=z.perspective&&!A;return _="translate"+(t?"3d(":"("),void(w=z.perspective?", 0px)":")")}P="left",r.addClass(e,"pswp--ie"),Ie=function(e,t){t.left=e+"px"},Le=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(ie){var e=ie,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"px",e.left=pe.x+"px",e.top=pe.y+"px"}}},Ye=function(e){var t="";l.escKey&&27===e.keyCode?t="close":l.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,o[t]()))},Ke=function(e){e&&($||K||re||H)&&(e.preventDefault(),e.stopPropagation())},$e=function(){o.setScrollOffset(0,r.getScrollY())},Ze={},Xe=0,Je=function(e){Ze[e]&&(Ze[e].raf&&I(Ze[e].raf),Xe--,delete Ze[e])},et=function(e){Ze[e]&&Je(e),Ze[e]||(Xe++,Ze[e]={})},tt=function(){for(var e in Ze)Ze.hasOwnProperty(e)&&Je(e)},nt=function(e,t,n,i,r,o,a){var s,l=De();et(e);var u=function(){if(Ze[e]){if((s=De()-l)>=i)return Je(e),o(n),void(a&&a());o((n-t)*r(s/i)+t),Ze[e].raf=L(u)}};u()},it={shout:Oe,listen:Se,viewportSize:ge,options:l,isMainScrollAnimating:function(){return re},getZoomLevel:function(){return y},getCurrentIndex:function(){return h},isDragging:function(){return V},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,N=ve.y=t,Oe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,i){pe.x=t,pe.y=n,y=e,Ae(i)},init:function(){if(!u&&!c){var n;o.framework=r,o.template=e,o.bg=r.getChildByClass(e,"pswp__bg"),M=e.className,u=!0,z=r.detectFeatures(),L=z.raf,I=z.caf,P=z.transform,R=z.oldIE,o.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),o.container=r.getChildByClass(o.scrollWrap,"pswp__container"),f=o.container.style,o.itemHolders=F=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],F[0].el.style.display=F[2].el.style.display="none",Ve(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout((function(){ge.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:$e,keydown:Ye,click:Ke};var i=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!i||(l.showAnimationDuration=l.hideAnimationDuration=0),n=0;n<we.length;n++)o["init"+we[n]]();t&&(o.ui=new t(o,r)).init(),Oe("firstUpdate"),h=h||l.index||0,(isNaN(h)||h<0||h>=Jt())&&(h=0),o.currItem=Xt(h),(z.isOldIOSPhone||z.isOldAndroid)&&(_e=!1),e.setAttribute("aria-hidden","false"),l.modal&&(_e?e.style.position="fixed":(e.style.position="absolute",e.style.top=r.getScrollY()+"px")),void 0===N&&(Oe("initialLayout"),N=j=r.getScrollY());var a="pswp--open ";for(l.mainClass&&(a+=l.mainClass+" "),l.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=z.animationName?" pswp--css_animation":"",a+=z.svg?" pswp--svg":"",r.addClass(e,a),o.updateSize(),p=-1,be=null,n=0;n<s;n++)Ie((n+p)*ye.x,F[n].el.style);R||r.bind(o.scrollWrap,m,o),Se("initialZoomInEnd",(function(){o.setContent(F[0],h-1),o.setContent(F[2],h+1),F[0].el.style.display=F[2].el.style.display="block",l.focus&&e.focus(),Ge()})),o.setContent(F[1],h),o.updateCurrItem(),Oe("afterInit"),_e||(k=setInterval((function(){Xe||V||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),r.addClass(e,"pswp--visible")}},close:function(){u&&(u=!1,c=!0,Oe("close"),Ue(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=M,k&&clearInterval(k),r.unbind(o.scrollWrap,m,o),r.unbind(window,"scroll",o),Ft(),tt(),Ce=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),pe.x=e,pe.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Ee(e))-h;be=t,h=e,o.currItem=Xt(h),me-=t,Me(ye.x*me),tt(),re=!1,o.updateCurrItem()},next:function(){o.goTo(h+1)},prev:function(){o.goTo(h-1)},updateCurrZoomItem:function(e){if(e&&Oe("beforeChange",0),F[1].el.children.length){var t=F[1].el.children[0];ie=r.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ie=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,pe.x=ne.center.x,pe.y=ne.center.y,e&&Oe("afterChange")},invalidateCurrItems:function(){x=!0;for(var e=0;e<s;e++)F[e].item&&(F[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Xt(h),xe=!1,Oe("beforeChange",be),n>=s&&(p+=be+(be>0?-s:s),n=s);for(var i=0;i<n;i++)be>0?(t=F.shift(),F[s-1]=t,p++,Ie((p+2)*ye.x,t.el.style),o.setContent(t,h-n+i+1+1)):(t=F.pop(),F.unshift(t),p--,Ie(p*ye.x,t.el.style),o.setContent(t,h+n-i-1-1));if(ie&&1===Math.abs(be)){var r=Xt(E);r.initialZoomLevel!==y&&(sn(r,ge),dn(r),Le(r))}be=0,o.updateCurrZoomItem(),E=h,Oe("afterChange")}}},updateSize:function(t){if(!_e&&l.modal){var n=r.getScrollY();if(N!==n&&(e.style.top=n+"px",N=n),!t&&ke.x===window.innerWidth&&ke.y===window.innerHeight)return;ke.x=window.innerWidth,ke.y=window.innerHeight,e.style.height=ke.y+"px"}if(ge.x=o.scrollWrap.clientWidth,ge.y=o.scrollWrap.clientHeight,$e(),ye.x=ge.x+Math.round(ge.x*l.spacing),ye.y=ge.y,Me(ye.x*me),Oe("beforeResize"),void 0!==p){for(var i,a,u,c=0;c<s;c++)i=F[c],Ie((c+p)*ye.x,i.el.style),u=h+c-1,l.loop&&Jt()>2&&(u=Ee(u)),(a=Xt(u))&&(x||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(i,u),1===c&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===i.index&&u>=0&&o.setContent(i,u),a&&a.container&&(sn(a,ge),dn(a),Le(a));x=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(pe.x=ne.center.x,pe.y=ne.center.y,Ae(!0)),Oe("resize")},zoomTo:function(e,t,n,i,o){t&&(b=y,bt.x=Math.abs(t.x)-pe.x,bt.y=Math.abs(t.y)-pe.y,Re(fe,pe));var a=qe(e,!1),s={};Qe("x",a,s,e),Qe("y",a,s,e);var l=y,u={x:pe.x,y:pe.y};Ne(s);var c=function(t){1===t?(y=e,pe.x=s.x,pe.y=s.y):(y=(e-l)*t+l,pe.x=(s.x-u.x)*t+u.x,pe.y=(s.y-u.y)*t+u.y),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,i||r.easing.sine.inOut,c):c(1)}},rt=30,ot=10,at={},st={},lt={},ut={},ct={},dt=[],ht={},ft=[],pt={},gt=0,mt=de(),vt=0,yt=de(),bt=de(),_t=de(),wt=function(e,t){return e.x===t.x&&e.y===t.y},kt=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},xt=function(e,t){return pt.x=Math.abs(e.x-t.x),pt.y=Math.abs(e.y-t.y),Math.sqrt(pt.x*pt.x+pt.y*pt.y)},Ft=function(){Z&&(I(Z),Z=null)},Et=function(){V&&(Z=L(Et),Gt())},Ct=function(){return!("fit"===l.scaleMode&&y===o.currItem.initialZoomLevel)},St=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:St(e.parentNode,t))},Ot={},Dt=function(e,t){return Ot.prevent=!St(e.target,l.isClickableElement),Oe("preventDragEvent",e,t,Ot),Ot.prevent},Pt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Tt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},At=function(e,t,n){if(e-U>50){var i=ft.length>2?ft.shift():{};i.x=t,i.y=n,ft.push(i),U=e}},Lt=function(){var e=pe.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(ge.y/2))},It={},Mt={},jt=[],Rt=function(e){for(;jt.length>0;)jt.pop();return T?(ce=0,dt.forEach((function(e){0===ce?jt[0]=e:1===ce&&(jt[1]=e),ce++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(jt[0]=Pt(e.touches[0],It),e.touches.length>1&&(jt[1]=Pt(e.touches[1],Mt))):(It.x=e.pageX,It.y=e.pageY,It.id="",jt[0]=It),jt},Nt=function(e,t){var n,i,r,a,s=pe[e]+t[e],u=t[e]>0,c=yt.x+t.x,d=yt.x-ht.x;if(n=s>ne.min[e]||s<ne.max[e]?l.panEndFriction:1,s=pe[e]+t[e]*n,(l.allowPanToNext||y===o.currItem.initialZoomLevel)&&(ie?"h"!==oe||"x"!==e||K||(u?(s>ne.min[e]&&(n=l.panEndFriction,ne.min[e],i=ne.min[e]-fe[e]),(i<=0||d<0)&&Jt()>1?(a=c,d<0&&c>ht.x&&(a=ht.x)):ne.min.x!==ne.max.x&&(r=s)):(s<ne.max[e]&&(n=l.panEndFriction,ne.max[e],i=fe[e]-ne.max[e]),(i<=0||d>0)&&Jt()>1?(a=c,d>0&&c<ht.x&&(a=ht.x)):ne.min.x!==ne.max.x&&(r=s))):a=c,"x"===e))return void 0!==a&&(Me(a,!0),X=a!==ht.x),ne.min.x!==ne.max.x&&(void 0!==r?pe.x=r:X||(pe.x+=t.x*n)),void 0!==a;re||X||y>o.currItem.fitRatio&&(pe[e]+=t[e]*n)},zt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Zt)e.preventDefault();else if(!Q||"mousedown"!==e.type){if(Dt(e,!0)&&e.preventDefault(),Oe("pointerDown"),T){var t=r.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Rt(e),i=n.length;J=null,tt(),V&&1!==i||(V=ae=!0,r.bind(window,g,o),W=ue=se=H=X=$=Y=K=!1,oe=null,Oe("firstTouchStart",n),Re(fe,pe),he.x=he.y=0,Re(ut,n[0]),Re(ct,ut),ht.x=ye.x*me,ft=[{x:ut.x,y:ut.y}],U=G=De(),qe(y,!0),Ft(),Et()),!ee&&i>1&&!re&&!X&&(b=y,K=!1,ee=Y=!0,he.y=he.x=0,Re(fe,pe),Re(at,n[0]),Re(st,n[1]),Tt(at,st,_t),bt.x=Math.abs(_t.x)-pe.x,bt.y=Math.abs(_t.y)-pe.y,te=xt(at,st))}},Bt=function(e){if(e.preventDefault(),T){var t=r.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(V){var i=Rt(e);if(oe||$||ee)J=i;else if(yt.x!==ye.x*me)oe="h";else{var o=Math.abs(i[0].x-ut.x)-Math.abs(i[0].y-ut.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",J=i)}}},Gt=function(){if(J){var e=J.length;if(0!==e)if(Re(at,J[0]),lt.x=at.x-ut.x,lt.y=at.y-ut.y,ee&&e>1){if(ut.x=at.x,ut.y=at.y,!lt.x&&!lt.y&&wt(J[1],st))return;Re(st,J[1]),K||(K=!0,Oe("zoomGestureStarted"));var t=xt(at,st),n=Qt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ue=!0);var i=1,r=We(),a=He();if(n<r)if(l.pinchToClose&&!ue&&b<=o.currItem.initialZoomLevel){var s=1-(r-n)/(r/1.2);Pe(s),Oe("onPinchClose",s),se=!0}else(i=(r-n)/r)>1&&(i=1),n=r-i*(r/3);else n>a&&((i=(n-a)/(6*r))>1&&(i=1),n=a+i*r);i<0&&(i=0),Tt(at,st,mt),he.x+=mt.x-_t.x,he.y+=mt.y-_t.y,Re(_t,mt),pe.x=je("x",n),pe.y=je("y",n),W=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(lt.x)>=ot&&(lt.x-=J[0].x-ct.x),Math.abs(lt.y)>=ot&&(lt.y-=J[0].y-ct.y)),ut.x=at.x,ut.y=at.y,0===lt.x&&0===lt.y)return;if("v"===oe&&l.closeOnVerticalDrag&&!Ct()){he.y+=lt.y,pe.y+=lt.y;var u=Lt();return H=!0,Oe("onVerticalDrag",u),Pe(u),void Ae()}At(De(),at.x,at.y),$=!0,ne=o.currItem.bounds,Nt("x",lt)||(Nt("y",lt),Ne(pe),Ae())}}},Ut=function(e){if(z.isOldAndroid){if(Q&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(Q),Q=setTimeout((function(){Q=0}),600))}var t;if(Oe("pointerUp"),Dt(e,!1)&&e.preventDefault(),T){var n=r.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var i={4:"mouse",2:"touch",3:"pen"};t.type=i[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Rt(e),u=s.length;if("mouseup"===e.type&&(u=0),2===u)return J=null,!0;1===u&&Re(ct,s[0]),0!==u||oe||re||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Oe("touchRelease",e,t));var c=-1;if(0===u&&(V=!1,r.unbind(window,g,o),Ft(),ee?c=0:-1!==vt&&(c=De()-vt)),vt=1===u?De():-1,a=-1!==c&&c<150?"zoom":"swipe",ee&&u<2&&(ee=!1,1===u&&(a="zoomPointerUp"),Oe("zoomGestureEnded")),J=null,$||K||re||H)if(tt(),q||(q=qt()),q.calculateSwipeSpeed("x"),H)if(Lt()<l.verticalDragRange)o.close();else{var d=pe.y,h=le;nt("verticalDrag",0,1,300,r.easing.cubic.out,(function(e){pe.y=(o.currItem.initialPosition.y-d)*e+d,Pe((1-h)*e+h),Ae()})),Oe("onVerticalDrag",1)}else{if((X||re)&&0===u){if(Ht(a,q))return;a="zoomPointerUp"}re||("swipe"===a?!X&&y>o.currItem.fitRatio&&Wt(q):Vt())}},qt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){ft.length>1?(e=De()-U+50,t=ft[ft.length-2][i]):(e=De()-G,t=ct[i]),n.lastFlickOffset[i]=ut[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(pe[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:pe[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,nt("bounceZoomPan"+e,pe[e],n.backAnimDestination[e],t||300,r.easing.sine.out,(function(t){pe[e]=t,Ae()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,pe[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Ze.zoomPan&&(Ze.zoomPan.raf=L(n.panAnimLoop),n.now=De(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ae(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return pe.x=Math.round(pe.x),pe.y=Math.round(pe.y),Ae(),void Je("zoomPan")}};return n},Wt=function(e){if(e.calculateSwipeSpeed("y"),ne=o.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;et("zoomPan"),e.lastNow=De(),e.panAnimLoop()},Ht=function(e,t){var n,i,a;if(re||(gt=h),"swipe"===e){var s=ut.x-ct.x,u=t.lastFlickDist.x<10;s>rt&&(u||t.lastFlickOffset.x>20)?i=-1:s<-rt&&(u||t.lastFlickOffset.x<-20)&&(i=1)}i&&((h+=i)<0?(h=l.loop?Jt()-1:0,a=!0):h>=Jt()&&(h=l.loop?0:Jt()-1,a=!0),a&&!l.loop||(be+=i,me-=i,n=!0));var c,d=ye.x*me,f=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?f/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,gt===h&&(n=!1),re=!0,Oe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,c,r.easing.cubic.out,Me,(function(){tt(),re=!1,gt=-1,(n||gt!==h)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Qt=function(e){return 1/te*e*b},Vt=function(){var e=y,t=We(),n=He();y<t?e=t:y>n&&(e=n);var i,a=1,s=le;return se&&!W&&!ue&&y<t?(o.close(),!0):(se&&(i=function(e){Pe((a-s)*e+s)}),o.zoomTo(e,0,200,r.easing.cubic.out,i),!0)};Fe("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){C=e+t,S=e+n,O=e+i,D=r?e+r:""};(T=z.pointerEvent)&&z.touch&&(z.touch=!1),T?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):z.touch?(e("touch","start","move","end","cancel"),A=!0):e("mouse","down","move","up"),g=S+" "+O+" "+D,m=C,T&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[C]=zt,v[S]=Bt,v[O]=Ut,D&&(v[D]=v[O]),z.touch&&(m+=" mousedown",g+=" mousemove mouseup",v.mousedown=v[C],v.mousemove=v[S],v.mouseup=v[O]),A||(l.allowPanToNext=!1)}}});var Yt,Kt,$t,Zt,Xt,Jt,en=function(t,n,i,a){var s;Yt&&clearTimeout(Yt),Zt=!0,$t=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=l.getThumbBoundsFn&&l.getThumbBoundsFn(h);var u=i?l.hideAnimationDuration:l.showAnimationDuration,c=function(){Je("initialZoom"),i?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Pe(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(i?"OutEnd":"InEnd"))),a&&a(),Zt=!1};if(!u||!s||void 0===s.x)return Oe("initialZoom"+(i?"Out":"In")),y=t.initialZoomLevel,Re(pe,t.initialPosition),Ae(),e.style.opacity=i?0:1,Pe(1),void(u?setTimeout((function(){c()}),u):c());var f=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||l.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(y=s.w/t.w,pe.x=s.x,pe.y=s.y-j,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),i&&!n&&r.removeClass(e,"pswp--animated-in"),a&&(i?r[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){r.addClass(e,"pswp--animate_opacity")}),30)),Yt=setTimeout((function(){if(Oe("initialZoom"+(i?"Out":"In")),i){var o=s.w/t.w,l={x:pe.x,y:pe.y},d=y,h=le,f=function(t){1===t?(y=o,pe.x=s.x,pe.y=s.y-N):(y=(o-d)*t+d,pe.x=(s.x-l.x)*t+l.x,pe.y=(s.y-N-l.y)*t+l.y),Ae(),a?e.style.opacity=1-t:Pe(h-t*h)};n?nt("initialZoom",0,1,u,r.easing.cubic.out,f,c):(f(1),Yt=setTimeout(c,u+20))}else y=t.initialZoomLevel,Re(pe,t.initialPosition),Ae(),Pe(1),a?e.style.opacity=1:Pe(1),Yt=setTimeout(c,u+20)}),i?25:90)};f()},tn={},nn=[],rn={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Kt.length}},on=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=function(e,t,n){var i=e.bounds;i.center.x=Math.round((tn.x-t)/2),i.center.y=Math.round((tn.y-n)/2)+e.vGap.top,i.max.x=t>tn.x?Math.round(tn.x-t):i.center.x,i.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:i.center.y,i.min.x=t>tn.x?0:i.center.x,i.min.y=n>tn.y?e.vGap.top:i.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),Oe("parseVerticalMargin",e)),tn.x=t.x,tn.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=tn.x/e.w,o=tn.y/e.h;e.fitRatio=r<o?r:o;var a=l.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=on())}if(!n)return;return an(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=on(),e.initialPosition=e.bounds.center,e.bounds},ln=function(e,t,n,i,r,a){t.loadError||i&&(t.imageAppended=!0,dn(t,i,t===o.currItem&&xe),n.appendChild(i),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},un=function(e){e.loading=!0,e.loaded=!1;var t=e.img=r.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},cn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=l.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},hn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&ln(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};Fe("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ee(e);var t=Xt(e);t&&(!t.loaded&&!t.loading||x)&&(Oe("gettingData",e,t),t.src&&un(t))},initController:function(){r.extend(l,rn,!0),o.items=Kt=n,Xt=o.getItemAt,(Jt=l.getNumItemsFn)()<3&&(l.loop=!1),Se("beforeChange",(function(e){var t,n=l.preload,i=null===e||e>=0,r=Math.min(n[0],Jt()),a=Math.min(n[1],Jt());for(t=1;t<=(i?a:r);t++)o.lazyLoadItem(h+t);for(t=1;t<=(i?r:a);t++)o.lazyLoadItem(h-t)})),Se("initialLayout",(function(){o.currItem.initialLayout=l.getThumbBoundsFn&&l.getThumbBoundsFn(h)})),Se("mainScrollAnimComplete",hn),Se("initialZoomInEnd",hn),Se("destroy",(function(){for(var e,t=0;t<Kt.length;t++)(e=Kt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);nn=null}))},getItemAt:function(e){return e>=0&&void 0!==Kt[e]&&Kt[e]},allowProgressiveImg:function(){return l.forceProgressiveLoading||!A||l.mouseUsed||screen.width>1200},setContent:function(e,t){l.loop&&(t=Ee(t));var n=o.getItemAt(e.index);n&&(n.container=null);var i,a=o.getItemAt(t);if(a){Oe("gettingData",t,a),e.index=t,e.item=a;var s=a.container=r.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),cn(a),sn(a,ge),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=a.src,dn(a,i),ln(t,a,s,i));else{if(a.loadComplete=function(n){if(u){if(e&&e.index===t){if(cn(n,!0))return n.loadComplete=n.img=null,sn(n,ge),Le(n),void(e.index===h&&o.updateCurrZoomItem());n.imageAppended?!Zt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):z.transform&&(re||Zt)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):ln(t,n,s,n.img,re||Zt,!0)}n.loadComplete=null,n.img=null,Oe("imageLoadComplete",t,n)}},r.features.transform){var c="pswp__img pswp__img--placeholder";c+=a.msrc?"":" pswp__img--placeholder--blank";var d=r.createEl(c,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||un(a),o.allowProgressiveImg()&&(!$t&&z.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):ln(t,a,s,a.img,!0,!0))}$t||t!==h?Le(a):(ie=s.style,en(a,i||a.img)),e.el.innerHTML="",e.el.appendChild(s)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var fn,pn,gn={},mn=function(e,t,n){var i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};Fe("Tap",{publicMethods:{initTap:function(){Se("firstTouchStart",o.onTapStart),Se("touchRelease",o.onTapRelease),Se("destroy",(function(){gn={},fn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(fn),fn=null)},onTapRelease:function(e,t){if(t&&!$&&!Y&&!Xe){var n=t;if(fn&&(clearTimeout(fn),fn=null,kt(n,gn)))return void Oe("doubleTap",n);if("mouse"===t.type)return void mn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||r.hasClass(e.target,"pswp__single-tap"))return void mn(e,t);Re(gn,n),fn=setTimeout((function(){mn(e,t),fn=null}),300)}}}}),Fe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(A?Se("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){pn={};var n="wheel mousewheel DOMMouseScroll";Se("bindEvents",(function(){r.bind(e,n,o.handleMouseWheel)})),Se("unbindEvents",(function(){pn&&r.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var i,a=function(){o.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?r.addClass(e,"pswp--zoom-allowed"):r.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(r.removeClass(e,"pswp--dragging"),i=!1)};Se("resize",a),Se("afterChange",a),Se("pointerDown",(function(){o.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))})),Se("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return l.modal&&(!l.closeOnScroll||Xe||V?e.preventDefault():P&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),pn.x=0,"deltaX"in e)1===e.deltaMode?(pn.x=18*e.deltaX,pn.y=18*e.deltaY):(pn.x=e.deltaX,pn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(pn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?pn.y=-.16*e.wheelDeltaY:pn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;pn.y=e.detail}qe(y,!0);var t=pe.x-pn.x,n=pe.y-pn.y;(l.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:ge.x/2+ve.x,y:ge.y/2+ve.y};var n=l.getDoubleTapZoom(!0,o.currItem),i=y===n;o.mouseZoomedIn=!i,o.zoomTo(i?o.currItem.initialZoomLevel:n,t,333),r[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,_n,wn,kn,xn,Fn,En,Cn,Sn,On,Dn={history:!0,galleryUID:1},Pn=function(){return Sn.hash.substring(1)},Tn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Pn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(t[r[0]]=r[1])}if(l.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Kt.length;n++)if(Kt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Ln=function(){if(bn&&clearTimeout(bn),Xe||V)bn=setTimeout(Ln,500);else{_n?clearTimeout(yn):_n=!0;var e=h+1,t=Xt(h);t.hasOwnProperty("pid")&&(e=t.pid);var n=xn+"&gid="+l.galleryUID+"&pid="+e;Fn||-1===Sn.hash.indexOf(n)&&(Cn=!0);var i=Sn.href.split("#")[0]+"#"+n;On?"#"+n!==window.location.hash&&history[Fn?"replaceState":"pushState"]("",document.title,i):Fn?Sn.replace(i):Sn.hash=n,Fn=!0,yn=setTimeout((function(){_n=!1}),60)}};Fe("History",{publicMethods:{initHistory:function(){if(r.extend(l,Dn,!0),l.history){Sn=window.location,Cn=!1,En=!1,Fn=!1,xn=Pn(),On="pushState"in history,xn.indexOf("gid=")>-1&&(xn=(xn=xn.split("&gid=")[0]).split("?gid=")[0]),Se("afterChange",o.updateURL),Se("unbindEvents",(function(){r.unbind(window,"hashchange",o.onHashChange)}));var e=function(){kn=!0,En||(Cn?history.back():xn?Sn.hash=xn:On?history.pushState("",document.title,Sn.pathname+Sn.search):Sn.hash=""),Tn()};Se("unbindEvents",(function(){d&&e()})),Se("destroy",(function(){kn||e()})),Se("firstUpdate",(function(){h=An().pid}));var t=xn.indexOf("pid=");t>-1&&"&"===(xn=xn.substring(0,t)).slice(-1)&&(xn=xn.slice(0,-1)),setTimeout((function(){u&&r.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Pn()===xn)return En=!0,void o.close();_n||(wn=!0,o.goTo(An().pid),wn=!1)},updateURL:function(){Tn(),wn||(Fn?vn=setTimeout(Ln,800):Ln())}}}),r.extend(o,it)};return e}()}(V9);var Y9=V9.exports,K9={exports:{}};
|
|
@@ -155,7 +155,7 @@ var XU=function(){return XU=Object.assign||function(e){for(var t,n=1,i=arguments
|
|
|
155
155
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
156
156
|
PERFORMANCE OF THIS SOFTWARE.
|
|
157
157
|
***************************************************************************** */
|
|
158
|
-
var Kpe=function(){return Kpe=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},Kpe.apply(this,arguments)};function $pe(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 Zpe(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 Xpe(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 Jpe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function ege(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var tge,nge=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(ige,{},void 0),t.jsx(a.Dialog,Kpe({},r,{modalProps:Kpe(Kpe({},r.modalProps||{}),{className:Yq(EV,"lt-reach-dialog",{"lt-reach-dialog-mobile":rs.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},ige=o.createGlobalStyle(tge||(tge=ege(['\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']))),rge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},oge=function(e){return e&&e.Math==Math&&e},age=oge("object"==typeof globalThis&&globalThis)||oge("object"==typeof window&&window)||oge("object"==typeof self&&self)||oge("object"==typeof rge&&rge)||Function("return this")(),sge={},lge=function(e){try{return!!e()}catch(e){return!0}},uge=!lge((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),cge={},dge={}.propertyIsEnumerable,hge=Object.getOwnPropertyDescriptor,fge=hge&&!dge.call({1:2},1);cge.f=fge?function(e){var t=hge(this,e);return!!t&&t.enumerable}:dge;var pge=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},gge={}.toString,mge=function(e){return gge.call(e).slice(8,-1)},vge=mge,yge="".split,bge=lge((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==vge(e)?yge.call(e,""):Object(e)}:Object,_ge=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},wge=bge,kge=_ge,xge=function(e){return wge(kge(e))},Fge=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Ege=Fge,Cge=function(e,t){if(!Ege(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!Ege(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!Ege(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!Ege(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Sge={}.hasOwnProperty,Oge=function(e,t){return Sge.call(e,t)},Dge=Fge,Pge=age.document,Tge=Dge(Pge)&&Dge(Pge.createElement),Age=function(e){return Tge?Pge.createElement(e):{}},Lge=Age,Ige=!uge&&!lge((function(){return 7!=Object.defineProperty(Lge("div"),"a",{get:function(){return 7}}).a})),Mge=uge,jge=cge,Rge=pge,Nge=xge,zge=Cge,Bge=Oge,Gge=Ige,Uge=Object.getOwnPropertyDescriptor;sge.f=Mge?Uge:function(e,t){if(e=Nge(e),t=zge(t,!0),Gge)try{return Uge(e,t)}catch(e){}if(Bge(e,t))return Rge(!jge.f.call(e,t),e[t])};var qge={},Wge=Fge,Hge=function(e){if(!Wge(e))throw TypeError(String(e)+" is not an object");return e},Qge=uge,Vge=Ige,Yge=Hge,Kge=Cge,$ge=Object.defineProperty;qge.f=Qge?$ge:function(e,t,n){if(Yge(e),t=Kge(t,!0),Yge(n),Vge)try{return $ge(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 Zge=qge,Xge=pge,Jge=uge?function(e,t,n){return Zge.f(e,t,Xge(1,n))}:function(e,t,n){return e[t]=n,e},eme={exports:{}},tme=age,nme=Jge,ime=function(e,t){try{nme(tme,e,t)}catch(n){tme[e]=t}return t},rme=ime,ome="__core-js_shared__",ame=age[ome]||rme(ome,{}),sme=ame,lme=Function.toString;"function"!=typeof sme.inspectSource&&(sme.inspectSource=function(e){return lme.call(e)});var ume=sme.inspectSource,cme=ume,dme=age.WeakMap,hme="function"==typeof dme&&/native code/.test(cme(dme)),fme={exports:{}},pme=ame;(fme.exports=function(e,t){return pme[e]||(pme[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var gme,mme,vme,yme=0,bme=Math.random(),_me=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++yme+bme).toString(36)},wme=fme.exports,kme=_me,xme=wme("keys"),Fme=function(e){return xme[e]||(xme[e]=kme(e))},Eme={},Cme=hme,Sme=Fge,Ome=Jge,Dme=Oge,Pme=Fme,Tme=Eme,Ame=age.WeakMap;if(Cme){var Lme=new Ame,Ime=Lme.get,Mme=Lme.has,jme=Lme.set;gme=function(e,t){return jme.call(Lme,e,t),t},mme=function(e){return Ime.call(Lme,e)||{}},vme=function(e){return Mme.call(Lme,e)}}else{var Rme=Pme("state");Tme[Rme]=!0,gme=function(e,t){return Ome(e,Rme,t),t},mme=function(e){return Dme(e,Rme)?e[Rme]:{}},vme=function(e){return Dme(e,Rme)}}var Nme={set:gme,get:mme,has:vme,enforce:function(e){return vme(e)?mme(e):gme(e,{})},getterFor:function(e){return function(t){var n;if(!Sme(t)||(n=mme(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},zme=age,Bme=Jge,Gme=Oge,Ume=ime,qme=ume,Wme=Nme.get,Hme=Nme.enforce,Qme=String(String).split("String");(eme.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||Gme(n,"name")||Bme(n,"name",t),Hme(n).source=Qme.join("string"==typeof t?t:"")),e!==zme?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Bme(e,t,n)):o?e[t]=n:Ume(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Wme(this).source||qme(this)}));var Vme=age,Yme=age,Kme=function(e){return"function"==typeof e?e:void 0},$me=function(e,t){return arguments.length<2?Kme(Vme[e])||Kme(Yme[e]):Vme[e]&&Vme[e][t]||Yme[e]&&Yme[e][t]},Zme={},Xme=Math.ceil,Jme=Math.floor,eve=function(e){return isNaN(e=+e)?0:(e>0?Jme:Xme)(e)},tve=eve,nve=Math.min,ive=function(e){return e>0?nve(tve(e),9007199254740991):0},rve=eve,ove=Math.max,ave=Math.min,sve=xge,lve=ive,uve=function(e,t){var n=rve(e);return n<0?ove(n+t,0):ave(n,t)},cve=function(e){return function(t,n,i){var r,o=sve(t),a=lve(o.length),s=uve(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}},dve={includes:cve(!0),indexOf:cve(!1)},hve=Oge,fve=xge,pve=dve.indexOf,gve=Eme,mve=function(e,t){var n,i=fve(e),r=0,o=[];for(n in i)!hve(gve,n)&&hve(i,n)&&o.push(n);for(;t.length>r;)hve(i,n=t[r++])&&(~pve(o,n)||o.push(n));return o},vve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yve=mve,bve=vve.concat("length","prototype");Zme.f=Object.getOwnPropertyNames||function(e){return yve(e,bve)};var _ve={};_ve.f=Object.getOwnPropertySymbols;var wve=Zme,kve=_ve,xve=Hge,Fve=$me("Reflect","ownKeys")||function(e){var t=wve.f(xve(e)),n=kve.f;return n?t.concat(n(e)):t},Eve=Oge,Cve=Fve,Sve=sge,Ove=qge,Dve=lge,Pve=/#|\.prototype\./,Tve=function(e,t){var n=Lve[Ave(e)];return n==Mve||n!=Ive&&("function"==typeof t?Dve(t):!!t)},Ave=Tve.normalize=function(e){return String(e).replace(Pve,".").toLowerCase()},Lve=Tve.data={},Ive=Tve.NATIVE="N",Mve=Tve.POLYFILL="P",jve=Tve,Rve=age,Nve=sge.f,zve=Jge,Bve=eme.exports,Gve=ime,Uve=function(e,t){for(var n=Cve(t),i=Ove.f,r=Sve.f,o=0;o<n.length;o++){var a=n[o];Eve(e,a)||i(e,a,r(t,a))}},qve=jve,Wve=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?Rve:u?Rve[s]||Gve(s,{}):(Rve[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=Nve(n,i))&&a.value:n[i],!qve(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Uve(o,r)}(e.sham||r&&r.sham)&&zve(o,"sham",!0),Bve(n,i,o,e)}},Hve=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Qve=_ge,Vve=function(e){return Object(Qve(e))},Yve=Hve,Kve=Vve,$ve=bge,Zve=ive,Xve=function(e){return function(t,n,i,r){Yve(n);var o=Kve(t),a=$ve(o),s=Zve(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}},Jve={left:Xve(!1),right:Xve(!0)},eye=lge,tye=function(e,t){var n=[][e];return!!n&&eye((function(){n.call(null,t||function(){throw 1},1)}))},nye=uge,iye=lge,rye=Oge,oye=Object.defineProperty,aye={},sye=function(e){throw e},lye=Wve,uye=Jve.left,cye=function(e,t){if(rye(aye,e))return aye[e];t||(t={});var n=[][e],i=!!rye(t,"ACCESSORS")&&t.ACCESSORS,r=rye(t,0)?t[0]:sye,o=rye(t,1)?t[1]:void 0;return aye[e]=!!n&&!iye((function(){if(i&&!nye)return!0;var e={length:-1};i?oye(e,1,{enumerable:!0,get:sye}):e[1]=1,n.call(e,r,o)}))},dye=tye("reduce"),hye=cye("reduce",{1:0});lye({target:"Array",proto:!0,forced:!dye||!hye},{reduce:function(e){return uye(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var fye=mve,pye=vve,gye=Object.keys||function(e){return fye(e,pye)},mye=uge,vye=lge,yye=gye,bye=_ve,_ye=cge,wye=Vve,kye=bge,xye=Object.assign,Fye=Object.defineProperty,Eye=!xye||vye((function(){if(mye&&1!==xye({b:1},xye(Fye({},"a",{enumerable:!0,get:function(){Fye(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!=xye({},e)[n]||yye(xye({},t)).join("")!=i}))?function(e,t){for(var n=wye(e),i=arguments.length,r=1,o=bye.f,a=_ye.f;i>r;)for(var s,l=kye(arguments[r++]),u=o?yye(l).concat(o(l)):yye(l),c=u.length,d=0;c>d;)s=u[d++],mye&&!a.call(l,s)||(n[s]=l[s]);return n}:xye,Cye=Eye;Wve({target:"Object",stat:!0,forced:Object.assign!==Cye},{assign:Cye});var Sye=lge,Oye=!!Object.getOwnPropertySymbols&&!Sye((function(){return!String(Symbol())})),Dye=Oye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pye=age,Tye=fme.exports,Aye=Oge,Lye=_me,Iye=Oye,Mye=Dye,jye=Tye("wks"),Rye=Pye.Symbol,Nye=Mye?Rye:Rye&&Rye.withoutSetter||Lye,zye=function(e){return Aye(jye,e)||(Iye&&Aye(Rye,e)?jye[e]=Rye[e]:jye[e]=Nye("Symbol."+e)),jye[e]},Bye=Fge,Gye=mge,Uye=zye("match"),qye=function(e){var t;return Bye(e)&&(void 0!==(t=e[Uye])?!!t:"RegExp"==Gye(e))},Wye=qye,Hye=function(e){if(Wye(e))throw TypeError("The method doesn't accept regular expressions");return e},Qye=zye("match"),Vye=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Qye]=!1,"/./"[e](t)}catch(e){}}return!1},Yye=Hye,Kye=_ge;function $ye(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)}Wve({target:"String",proto:!0,forced:!Vye("includes")},{includes:function(e){return!!~String(Kye(this)).indexOf(Yye(e),arguments.length>1?arguments[1]:void 0)}});var Zye,Xye=qge,Jye=Hge,ebe=gye,tbe=uge?Object.defineProperties:function(e,t){Jye(e);for(var n,i=ebe(t),r=i.length,o=0;r>o;)Xye.f(e,n=i[o++],t[n]);return e},nbe=$me("document","documentElement"),ibe=Hge,rbe=tbe,obe=vve,abe=Eme,sbe=nbe,lbe=Age,ube=Fme("IE_PROTO"),cbe=function(){},dbe=function(e){return"<script>"+e+"</"+"script>"},hbe=function(){try{Zye=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;hbe=Zye?function(e){e.write(dbe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Zye):((t=lbe("iframe")).style.display="none",sbe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(dbe("document.F=Object")),e.close(),e.F);for(var n=obe.length;n--;)delete hbe.prototype[obe[n]];return hbe()};abe[ube]=!0;var fbe=Object.create||function(e,t){var n;return null!==e?(cbe.prototype=ibe(e),n=new cbe,cbe.prototype=null,n[ube]=e):n=hbe(),void 0===t?n:rbe(n,t)},pbe=fbe,gbe=qge,mbe=zye("unscopables"),vbe=Array.prototype;null==vbe[mbe]&&gbe.f(vbe,mbe,{configurable:!0,value:pbe(null)});var ybe,bbe,_be,wbe=function(e){vbe[mbe][e]=!0},kbe={},xbe=!lge((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Fbe=Oge,Ebe=Vve,Cbe=xbe,Sbe=Fme("IE_PROTO"),Obe=Object.prototype,Dbe=Cbe?Object.getPrototypeOf:function(e){return e=Ebe(e),Fbe(e,Sbe)?e[Sbe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Obe:null},Pbe=Dbe,Tbe=Jge,Abe=Oge,Lbe=zye("iterator"),Ibe=!1;[].keys&&("next"in(_be=[].keys())?(bbe=Pbe(Pbe(_be)))!==Object.prototype&&(ybe=bbe):Ibe=!0),null==ybe&&(ybe={}),Abe(ybe,Lbe)||Tbe(ybe,Lbe,(function(){return this}));var Mbe={IteratorPrototype:ybe,BUGGY_SAFARI_ITERATORS:Ibe},jbe=qge.f,Rbe=Oge,Nbe=zye("toStringTag"),zbe=function(e,t,n){e&&!Rbe(e=n?e:e.prototype,Nbe)&&jbe(e,Nbe,{configurable:!0,value:t})},Bbe=Mbe.IteratorPrototype,Gbe=fbe,Ube=pge,qbe=zbe,Wbe=kbe,Hbe=function(){return this},Qbe=Fge,Vbe=Hge,Ybe=function(e){if(!Qbe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Kbe=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 Vbe(n),Ybe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),$be=Wve,Zbe=function(e,t,n){var i=t+" Iterator";return e.prototype=Gbe(Bbe,{next:Ube(1,n)}),qbe(e,i,!1),Wbe[i]=Hbe,e},Xbe=Dbe,Jbe=Kbe,e_e=zbe,t_e=Jge,n_e=eme.exports,i_e=kbe,r_e=Mbe.IteratorPrototype,o_e=Mbe.BUGGY_SAFARI_ITERATORS,a_e=zye("iterator"),s_e="keys",l_e="values",u_e="entries",c_e=function(){return this},d_e=xge,h_e=wbe,f_e=kbe,p_e=Nme,g_e=function(e,t,n,i,r,o,a){Zbe(n,t,i);var s,l,u,c=function(e){if(e===r&&g)return g;if(!o_e&&e in f)return f[e];switch(e){case s_e:case l_e:case u_e:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,f=e.prototype,p=f[a_e]||f["@@iterator"]||r&&f[r],g=!o_e&&p||c(r),m="Array"==t&&f.entries||p;if(m&&(s=Xbe(m.call(new e)),r_e!==Object.prototype&&s.next&&(Xbe(s)!==r_e&&(Jbe?Jbe(s,r_e):"function"!=typeof s[a_e]&&t_e(s,a_e,c_e)),e_e(s,d,!0))),r==l_e&&p&&p.name!==l_e&&(h=!0,g=function(){return p.call(this)}),f[a_e]!==g&&t_e(f,a_e,g),i_e[t]=g,r)if(l={values:c(l_e),keys:o?g:c(s_e),entries:c(u_e)},a)for(u in l)(o_e||h||!(u in f))&&n_e(f,u,l[u]);else $be({target:t,proto:!0,forced:o_e||h},l);return l},m_e="Array Iterator",v_e=p_e.set,y_e=p_e.getterFor(m_e),b_e=g_e(Array,"Array",(function(e,t){v_e(this,{type:m_e,target:d_e(e),index:0,kind:t})}),(function(){var e=y_e(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");f_e.Arguments=f_e.Array,h_e("keys"),h_e("values"),h_e("entries");var __e=age,w_e={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},k_e=b_e,x_e=Jge,F_e=zye,E_e=F_e("iterator"),C_e=F_e("toStringTag"),S_e=k_e.values;for(var O_e in w_e){var D_e=__e[O_e],P_e=D_e&&D_e.prototype;if(P_e){if(P_e[E_e]!==S_e)try{x_e(P_e,E_e,S_e)}catch(e){P_e[E_e]=S_e}if(P_e[C_e]||x_e(P_e,C_e,O_e),w_e[O_e])for(var T_e in k_e)if(P_e[T_e]!==k_e[T_e])try{x_e(P_e,T_e,k_e[T_e])}catch(e){P_e[T_e]=k_e[T_e]}}}var A_e,L_e,I_e,M_e,j_e,R_e,N_e,z_e=function(e){var n=QF().formatMessage;return t.jsx(a.TooltipHost,Kpe({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden}},{children:e.children}),void 0)},B_e=function(e){return o.css(j_e||(j_e=ege(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(A_e||(A_e=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(L_e||(L_e=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),f5),(null==e?void 0:e.color)?o.css(I_e||(I_e=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(M_e||(M_e=ege(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,x5,F5)},G_e=function(e){var n=e.tooltipResourceKey,i=e.className,r=$pe(e,["tooltipResourceKey","className"]);return t.jsx(z_e,Kpe({resourceKey:n,className:i},{children:t.jsx(U_e,Kpe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},U_e=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(R_e||(R_e=ege(["\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 opacity: ",";\n flex: 1 1 auto;\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 opacity: ",";\n flex: 1 1 auto;\n }\n"])),B_e(),6,15,z5,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4}));y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(N_e||(N_e=ege(["\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}));var q_e,W_e,H_e,Q_e,V_e,Y_e,K_e,$_e,Z_e,X_e,J_e,ewe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(q_e||(q_e=ege(["\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"])),F5),twe=y.default((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,h=QF().formatMessage;return t.jsxs(nge,Kpe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:h({id:s})},onDismiss:i},{children:[t.jsx(ewe,Kpe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:i,"data-button":"cancel"},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,Kpe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(hE,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)})).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(W_e||(W_e=ege(["\n width: 360px;\n"],["\n width: 360px;\n"]))),nwe=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(H_e||(H_e=ege(["\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})),iwe=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=QF().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(rwe,Kpe({className:o},{children:i?t.jsx(awe,{},void 0):t.jsx(z_e,Kpe({resourceKey:l},{children:t.jsx(owe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},rwe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Q_e||(Q_e=ege(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),owe=y.default(nwe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(V_e||(V_e=ege(["\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"])),R5,20),awe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(Y_e||(Y_e=ege(["\n width: 22px;\n"],["\n width: 22px;\n"]))),swe=o.css(K_e||(K_e=ege(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),lwe=y.default(a.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})($_e||($_e=ege(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),swe),uwe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Z_e||(Z_e=ege(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),swe),cwe=function(){var e=Y5().hideNotification,n=i.useContext(V5),r=n.isNotificationBarVisible,o=$pe(n,["isNotificationBarVisible"]),a=QF().formatMessage,s=o.messageId||o.text;return r?t.jsx(dwe,Kpe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(hwe,Kpe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(z_e,Kpe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(hE,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},dwe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(X_e||(X_e=ege(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),hwe=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(J_e||(J_e=ege(["\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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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 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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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"])),20,N5,R5,R5,N5,R5,z5,E5,20),fwe=function(e){var n,r=QF().formatMessage,o=m0(),s=g0(),l=a1(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),h=jk();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var f=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,p=!e.selectionMode||e.selectionMode===a.SelectionMode.multiple,g=e.selectedItems||[],m=f,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,m)},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!==XJ.Group?t.userPrincipalName:null,mail:G0(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:m&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:h.width<A5?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 _(e).map(y);return e.then((function(e){return _(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===g.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=g.map((function(e){return y(e)}))),t.jsx(gwe,Kpe({className:Yq(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,Kpe({},v,{componentRef:d,itemLimit:p?void 0:1}),void 0)}),void 0);function y(e){var t=G0(e.mail)?null:e.mail,n=G0(e.userPrincipalName)?null:e.userPrincipalName,i=Ck(e.displayName||e.mail||e.userPrincipalName),r=e.type===XJ.User?n:e.type===XJ.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:Sk(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 Zpe(this,void 0,void 0,(function(){var i,r,o;return Xpe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&pk(t)&&{mail:t,userPrincipalName:t,displayName:t,type:XJ.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})];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,_(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function _(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 pwe,gwe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(pwe||(pwe=ege(["\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"]))),mwe=Wve,vwe=sge.f,ywe=ive,bwe=Hye,_we=_ge,wwe=Vye,kwe="".startsWith,xwe=Math.min,Fwe=wwe("startsWith"),Ewe=!Fwe&&!!function(){var e=vwe(String.prototype,"startsWith");return e&&!e.writable}();mwe({target:"String",proto:!0,forced:!Ewe&&!Fwe},{startsWith:function(e){var t=String(_we(this));bwe(e);var n=ywe(xwe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return kwe?kwe.call(t,i,n):t.slice(n,n+i.length)===i}});var Cwe=Hge,Swe=function(){var e=Cwe(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},Owe=eme.exports,Dwe=Hge,Pwe=lge,Twe=Swe,Awe="toString",Lwe=RegExp.prototype,Iwe=Lwe.toString,Mwe=Pwe((function(){return"/a/b"!=Iwe.call({source:"a",flags:"b"})})),jwe=Iwe.name!=Awe;(Mwe||jwe)&&Owe(RegExp.prototype,Awe,(function(){var e=Dwe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Lwe)?Twe.call(e):n)}),{unsafe:!0});var Rwe,Nwe=function(e){var n=e.fileName,i=e.url;return t.jsx(zwe,Kpe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},zwe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Rwe||(Rwe=ege(["\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}),x5),Bwe=function(e){var n=e.fileName,i=e.url;return i?t.jsxs(Hwe,{children:[t.jsx(Nwe,{fileName:n,url:i},void 0),t.jsxs("audio",Kpe({controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(hE,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]},void 0):null};function Gwe(e){var t=uH.getType(e);return t&&t.toString().startsWith("audio/")}var Uwe,qwe,Wwe,Hwe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(Uwe||(Uwe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(qwe||(qwe=ege(["\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"])),E5,x5),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Wwe||(Wwe=ege(["\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"])),E5,E5,20,(function(e){return e.theme.textColors.default}));var Qwe,Vwe,Ywe,Kwe,$we=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(Jwe,Kpe({className:a},{children:[i&&t.jsx(Xwe,{children:i},void 0),t.jsx(Zwe,Kpe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},Zwe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Qwe||(Qwe=ege(["\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+";"})),Xwe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(Vwe||(Vwe=ege(["\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),Jwe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Ywe||(Ywe=ege(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),F5),eke=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(Kwe||(Kwe=ege(["\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})),tke={},nke=lge;function ike(e,t){return RegExp(e,t)}tke.UNSUPPORTED_Y=nke((function(){var e=ike("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),tke.BROKEN_CARET=nke((function(){var e=ike("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var rke=Swe,oke=tke,ake=RegExp.prototype.exec,ske=String.prototype.replace,lke=ake,uke=function(){var e=/a/,t=/b*/g;return ake.call(e,"a"),ake.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cke=oke.UNSUPPORTED_Y||oke.BROKEN_CARET,dke=void 0!==/()??/.exec("")[1];(uke||dke||cke)&&(lke=function(e){var t,n,i,r,o=this,a=cke&&o.sticky,s=rke.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)),dke&&(n=new RegExp("^"+l+"$(?!\\s)",s)),uke&&(t=o.lastIndex),i=ake.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:uke&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),dke&&i&&i.length>1&&ske.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var hke=lke;Wve({target:"RegExp",proto:!0,forced:/./.exec!==hke},{exec:hke});var fke=eme.exports,pke=lge,gke=zye,mke=hke,vke=Jge,yke=gke("species"),bke=!pke((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),_ke="$0"==="a".replace(/./,"$0"),wke=gke("replace"),kke=!!/./[wke]&&""===/./[wke]("a","$0"),xke=!pke((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]})),Fke=function(e,t,n,i){var r=gke(e),o=!pke((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!pke((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[yke]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!bke||!_ke||kke)||"split"===e&&!xke){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===mke?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:_ke,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kke}),u=l[0],c=l[1];fke(String.prototype,e,u),fke(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&vke(RegExp.prototype[r],"sham",!0)},Eke=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Cke=mge,Ske=hke,Oke=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"!==Cke(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ske.call(e,t)},Dke=Hge,Pke=_ge,Tke=Eke,Ake=Oke;Fke("search",1,(function(e,t,n){return[function(t){var n=Pke(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=Dke(e),o=String(this),a=r.lastIndex;Tke(a,0)||(r.lastIndex=0);var s=Ake(r,o);return Tke(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var Lke=eve,Ike=_ge,Mke=function(e){return function(t,n){var i,r,o=String(Ike(t)),a=Lke(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}},jke={codeAt:Mke(!1),charAt:Mke(!0)}.charAt,Rke=function(e,t,n){return t+(n?jke(e,t).length:1)},Nke=Fke,zke=Hge,Bke=Vve,Gke=ive,Uke=eve,qke=_ge,Wke=Rke,Hke=Oke,Qke=Math.max,Vke=Math.min,Yke=Math.floor,Kke=/\$([$&'`]|\d\d?|<[^>]*>)/g,$ke=/\$([$&'`]|\d\d?)/g,Zke=function(e){return void 0===e?e:String(e)};Nke("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=qke(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=zke(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var g=Hke(u,c);if(null===g)break;if(p.push(g),!h)break;""===String(g[0])&&(u.lastIndex=Wke(c,Gke(u.lastIndex),f))}for(var m="",v=0,y=0;y<p.length;y++){g=p[y];for(var b=String(g[0]),_=Qke(Vke(Uke(g.index),c.length),0),w=[],k=1;k<g.length;k++)w.push(Zke(g[k]));var x=g.groups;if(d){var F=[b].concat(w,_,c);void 0!==x&&F.push(x);var E=String(i.apply(void 0,F))}else E=s(b,c,_,w,x,i);_>=v&&(m+=c.slice(v,_)+E,v=_+b.length)}return m+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=$ke;return void 0!==o&&(o=Bke(o),u=Kke),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=Yke(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 Xke=Fge,Jke=Kbe,exe=$me,txe=qge,nxe=uge,ixe=zye("species"),rxe=function(e){var t=exe(e),n=txe.f;nxe&&t&&!t[ixe]&&n(t,ixe,{configurable:!0,get:function(){return this}})},oxe=uge,axe=age,sxe=jve,lxe=function(e,t,n){var i,r;return Jke&&"function"==typeof(i=t.constructor)&&i!==n&&Xke(r=i.prototype)&&r!==n.prototype&&Jke(e,r),e},uxe=qge.f,cxe=Zme.f,dxe=qye,hxe=Swe,fxe=tke,pxe=eme.exports,gxe=lge,mxe=Nme.set,vxe=rxe,yxe=zye("match"),bxe=axe.RegExp,_xe=bxe.prototype,wxe=/a/g,kxe=/a/g,xxe=new bxe(wxe)!==wxe,Fxe=fxe.UNSUPPORTED_Y;if(oxe&&sxe("RegExp",!xxe||Fxe||gxe((function(){return kxe[yxe]=!1,bxe(wxe)!=wxe||bxe(kxe)==kxe||"/a/i"!=bxe(wxe,"i")})))){for(var Exe=function(e,t){var n,i=this instanceof Exe,r=dxe(e),o=void 0===t;if(!i&&r&&e.constructor===Exe&&o)return e;xxe?r&&!o&&(e=e.source):e instanceof Exe&&(o&&(t=hxe.call(e)),e=e.source),Fxe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=lxe(xxe?new bxe(e,t):bxe(e,t),i?this:_xe,Exe);return Fxe&&n&&mxe(a,{sticky:n}),a},Cxe=function(e){e in Exe||uxe(Exe,e,{configurable:!0,get:function(){return bxe[e]},set:function(t){bxe[e]=t}})},Sxe=cxe(bxe),Oxe=0;Sxe.length>Oxe;)Cxe(Sxe[Oxe++]);_xe.constructor=Exe,Exe.prototype=_xe,pxe(axe,"RegExp",Exe)}vxe("RegExp");var Dxe=age.Promise,Pxe=eme.exports,Txe={exports:{}},Axe=kbe,Lxe=zye("iterator"),Ixe=Array.prototype,Mxe=Hve,jxe=function(e,t,n){if(Mxe(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)}},Rxe={};Rxe[zye("toStringTag")]="z";var Nxe="[object z]"===String(Rxe),zxe=mge,Bxe=zye("toStringTag"),Gxe="Arguments"==zxe(function(){return arguments}()),Uxe=Nxe?zxe: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),Bxe))?n:Gxe?zxe(t):"Object"==(i=zxe(t))&&"function"==typeof t.callee?"Arguments":i},qxe=Uxe,Wxe=kbe,Hxe=zye("iterator"),Qxe=Hge,Vxe=Hge,Yxe=function(e){return void 0!==e&&(Axe.Array===e||Ixe[Lxe]===e)},Kxe=ive,$xe=jxe,Zxe=function(e){if(null!=e)return e[Hxe]||e["@@iterator"]||Wxe[qxe(e)]},Xxe=function(e,t,n,i){try{return i?t(Qxe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&Qxe(r.call(e)),t}},Jxe=function(e,t){this.stopped=e,this.result=t},eFe=Txe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,h=$xe(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=Zxe(e)))throw TypeError("Target is not iterable");if(Yxe(a)){for(s=0,l=Kxe(e.length);l>s;s++)if((u=i?h(Vxe(d=e[s])[0],d[1]):h(e[s]))&&u instanceof Jxe)return u;return new Jxe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=Xxe(o,h,d.value,i))&&u&&u instanceof Jxe)return u;return new Jxe(!1)};eFe.stop=function(e){return new Jxe(!0,e)};var tFe=zye("iterator"),nFe=!1;try{var iFe=0,rFe={next:function(){return{done:!!iFe++}},return:function(){nFe=!0}};rFe[tFe]=function(){return this},Array.from(rFe,(function(){throw 2}))}catch(e){}var oFe,aFe,sFe,lFe=Hge,uFe=Hve,cFe=zye("species"),dFe=function(e,t){var n,i=lFe(e).constructor;return void 0===i||null==(n=lFe(i)[cFe])?t:uFe(n)},hFe=$me("navigator","userAgent")||"",fFe=/(iphone|ipod|ipad).*applewebkit/i.test(hFe),pFe=age,gFe=lge,mFe=mge,vFe=jxe,yFe=nbe,bFe=Age,_Fe=fFe,wFe=pFe.location,kFe=pFe.setImmediate,xFe=pFe.clearImmediate,FFe=pFe.process,EFe=pFe.MessageChannel,CFe=pFe.Dispatch,SFe=0,OFe={},DFe="onreadystatechange",PFe=function(e){if(OFe.hasOwnProperty(e)){var t=OFe[e];delete OFe[e],t()}},TFe=function(e){return function(){PFe(e)}},AFe=function(e){PFe(e.data)},LFe=function(e){pFe.postMessage(e+"",wFe.protocol+"//"+wFe.host)};kFe&&xFe||(kFe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return OFe[++SFe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},oFe(SFe),SFe},xFe=function(e){delete OFe[e]},"process"==mFe(FFe)?oFe=function(e){FFe.nextTick(TFe(e))}:CFe&&CFe.now?oFe=function(e){CFe.now(TFe(e))}:EFe&&!_Fe?(sFe=(aFe=new EFe).port2,aFe.port1.onmessage=AFe,oFe=vFe(sFe.postMessage,sFe,1)):!pFe.addEventListener||"function"!=typeof postMessage||pFe.importScripts||gFe(LFe)||"file:"===wFe.protocol?oFe=DFe in bFe("script")?function(e){yFe.appendChild(bFe("script")).onreadystatechange=function(){yFe.removeChild(this),PFe(e)}}:function(e){setTimeout(TFe(e),0)}:(oFe=LFe,pFe.addEventListener("message",AFe,!1)));var IFe,MFe,jFe,RFe,NFe,zFe,BFe,GFe,UFe={set:kFe,clear:xFe},qFe=age,WFe=sge.f,HFe=mge,QFe=UFe.set,VFe=fFe,YFe=qFe.MutationObserver||qFe.WebKitMutationObserver,KFe=qFe.process,$Fe=qFe.Promise,ZFe="process"==HFe(KFe),XFe=WFe(qFe,"queueMicrotask"),JFe=XFe&&XFe.value;JFe||(IFe=function(){var e,t;for(ZFe&&(e=KFe.domain)&&e.exit();MFe;){t=MFe.fn,MFe=MFe.next;try{t()}catch(e){throw MFe?RFe():jFe=void 0,e}}jFe=void 0,e&&e.enter()},ZFe?RFe=function(){KFe.nextTick(IFe)}:YFe&&!VFe?(NFe=!0,zFe=document.createTextNode(""),new YFe(IFe).observe(zFe,{characterData:!0}),RFe=function(){zFe.data=NFe=!NFe}):$Fe&&$Fe.resolve?(BFe=$Fe.resolve(void 0),GFe=BFe.then,RFe=function(){GFe.call(BFe,IFe)}):RFe=function(){QFe.call(qFe,IFe)});var eEe=JFe||function(e){var t={fn:e,next:void 0};jFe&&(jFe.next=t),MFe||(MFe=t,RFe()),jFe=t},tEe={},nEe=Hve,iEe=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=nEe(t),this.reject=nEe(n)};tEe.f=function(e){return new iEe(e)};var rEe,oEe,aEe=Hge,sEe=Fge,lEe=tEe,uEe=age,cEe=hFe,dEe=age.process,hEe=dEe&&dEe.versions,fEe=hEe&&hEe.v8;fEe?oEe=(rEe=fEe.split("."))[0]+rEe[1]:cEe&&(!(rEe=cEe.match(/Edge\/(\d+)/))||rEe[1]>=74)&&(rEe=cEe.match(/Chrome\/(\d+)/))&&(oEe=rEe[1]);var pEe,gEe,mEe,vEe,yEe=oEe&&+oEe,bEe=Wve,_Ee=age,wEe=$me,kEe=Dxe,xEe=eme.exports,FEe=function(e,t,n){for(var i in t)Pxe(e,i,t[i],n);return e},EEe=zbe,CEe=rxe,SEe=Fge,OEe=Hve,DEe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},PEe=mge,TEe=ume,AEe=Txe.exports,LEe=function(e,t){if(!t&&!nFe)return!1;var n=!1;try{var i={};i[tFe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},IEe=dFe,MEe=UFe.set,jEe=eEe,REe=function(e,t){if(aEe(e),sEe(t)&&t.constructor===e)return t;var n=lEe.f(e);return(0,n.resolve)(t),n.promise},NEe=function(e,t){var n=uEe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},zEe=tEe,BEe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},GEe=Nme,UEe=jve,qEe=yEe,WEe=zye("species"),HEe="Promise",QEe=GEe.get,VEe=GEe.set,YEe=GEe.getterFor(HEe),KEe=kEe,$Ee=_Ee.TypeError,ZEe=_Ee.document,XEe=_Ee.process,JEe=wEe("fetch"),eCe=zEe.f,tCe=eCe,nCe="process"==PEe(XEe),iCe=!!(ZEe&&ZEe.createEvent&&_Ee.dispatchEvent),rCe="unhandledrejection",oCe=UEe(HEe,(function(){if(!(TEe(KEe)!==String(KEe))){if(66===qEe)return!0;if(!nCe&&"function"!=typeof PromiseRejectionEvent)return!0}if(qEe>=51&&/native code/.test(KEe))return!1;var e=KEe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[WEe]=t,!(e.then((function(){}))instanceof t)})),aCe=oCe||!LEe((function(e){KEe.all(e).catch((function(){}))})),sCe=function(e){var t;return!(!SEe(e)||"function"!=typeof(t=e.then))&&t},lCe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;jEe((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,h=c.resolve,f=c.reject,p=c.domain;try{d?(o||(2===t.rejection&&hCe(e,t),t.rejection=1),!0===d?s=r:(p&&p.enter(),s=d(r),p&&(p.exit(),u=!0)),s===c.promise?f($Ee("Promise-chain cycle")):(l=sCe(s))?l.call(s,h,f):h(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&cCe(e,t)}))}},uCe=function(e,t,n){var i,r;iCe?((i=ZEe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),_Ee.dispatchEvent(i)):i={promise:t,reason:n},(r=_Ee["on"+e])?r(i):e===rCe&&NEe("Unhandled promise rejection",n)},cCe=function(e,t){MEe.call(_Ee,(function(){var n,i=t.value;if(dCe(t)&&(n=BEe((function(){nCe?XEe.emit("unhandledRejection",i,e):uCe(rCe,e,i)})),t.rejection=nCe||dCe(t)?2:1,n.error))throw n.value}))},dCe=function(e){return 1!==e.rejection&&!e.parent},hCe=function(e,t){MEe.call(_Ee,(function(){nCe?XEe.emit("rejectionHandled",e):uCe("rejectionhandled",e,t.value)}))},fCe=function(e,t,n,i){return function(r){e(t,n,r,i)}},pCe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,lCe(e,t,!0))},gCe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw $Ee("Promise can't be resolved itself");var r=sCe(n);r?jEe((function(){var i={done:!1};try{r.call(n,fCe(gCe,e,i,t),fCe(pCe,e,i,t))}catch(n){pCe(e,i,n,t)}})):(t.value=n,t.state=1,lCe(e,t,!1))}catch(n){pCe(e,{done:!1},n,t)}}};oCe&&(KEe=function(e){DEe(this,KEe,HEe),OEe(e),pEe.call(this);var t=QEe(this);try{e(fCe(gCe,this,t),fCe(pCe,this,t))}catch(e){pCe(this,t,e)}},(pEe=function(e){VEe(this,{type:HEe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=FEe(KEe.prototype,{then:function(e,t){var n=YEe(this),i=eCe(IEe(this,KEe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=nCe?XEe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&lCe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),gEe=function(){var e=new pEe,t=QEe(e);this.promise=e,this.resolve=fCe(gCe,e,t),this.reject=fCe(pCe,e,t)},zEe.f=eCe=function(e){return e===KEe||e===mEe?new gEe(e):tCe(e)},"function"==typeof kEe&&(vEe=kEe.prototype.then,xEe(kEe.prototype,"then",(function(e,t){var n=this;return new KEe((function(e,t){vEe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof JEe&&bEe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return REe(KEe,JEe.apply(_Ee,arguments))}}))),bEe({global:!0,wrap:!0,forced:oCe},{Promise:KEe}),EEe(KEe,HEe,!1),CEe(HEe),mEe=wEe(HEe),bEe({target:HEe,stat:!0,forced:oCe},{reject:function(e){var t=eCe(this);return t.reject.call(void 0,e),t.promise}}),bEe({target:HEe,stat:!0,forced:oCe},{resolve:function(e){return REe(this,e)}}),bEe({target:HEe,stat:!0,forced:aCe},{all:function(e){var t=this,n=eCe(t),i=n.resolve,r=n.reject,o=BEe((function(){var n=OEe(t.resolve),o=[],a=0,s=1;AEe(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=eCe(t),i=n.reject,r=BEe((function(){var r=OEe(t.resolve);AEe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var mCe,vCe=O5-C5,yCe=D5-C5;function bCe(e){return!!e&&kCe.test(e)}function _Ce(e){return e?"https://www.google.com/maps/search/?api=1&"+Hg.stringify({query:e}):null}function wCe(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"})(mCe||(mCe=ege(["\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"])),x5,A5,F5,10,10,O5,F5,vCe,D5,yCe);var kCe=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");var xCe,FCe,ECe,CCe,SCe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(FCe||(FCe=ege(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\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 @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,G5,(function(e){return e.showPlaceholder&&o.css(xCe||(xCe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),O5,vCe,G5,D5,(function(e){return e.defaultWidth?e.defaultWidth:250}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(ECe||(ECe=ege(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(eke).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(CCe||(CCe=ege(["\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 OCe,DCe,PCe,TCe,ACe=function(e){var n=e.children,i=$pe(e,["children"]);return t.jsx(a.FocusTrapCallout,Kpe({},i,{className:Yq(EV,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},LCe=function(e){var n=QF().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(_5).theme.palette.accent;return t.jsxs(nge,Kpe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(ICe,{children:t.jsx(hE,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(MCe,{"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),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:e.onCancel},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(jCe,Kpe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o},{children:t.jsx(hE,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},ICe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(OCe||(OCe=ege(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),MCe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(DCe||(DCe=ege(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),F5),jCe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(PCe||(PCe=ege(["\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})),RCe=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.children,h=QF().formatMessage,f=i.useContext(_5).theme.palette.accent;return t.jsxs(nge,Kpe({hidden:!n,modalProps:{isBlocking:!0},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[d,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:c,"data-cancel-button":!0},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,Kpe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hE,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)};y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(TCe||(TCe=ege(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"])));var NCe=function(e){var n=e.value,r=i.useContext(EE).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=Kpe(Kpe({},WCe),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/zCe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/BCe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/GCe;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(),h=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(h))>0&&Math.abs(h)<i.month)return{value:Math.round(h),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),a=o.value,s=o.unit;return t.jsx(tE,Kpe({locale:r},{children:t.jsx(uE,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},zCe=3600,BCe=86400,GCe=604800;var UCe,qCe,WCe={second:45,minute:45,hour:22,day:6,week:4,month:12},HCe=function(e){return is(e).isSame(new Date,"day")},QCe=function(e){var n=is(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||HCe(e.value)),o={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(YCe,Kpe({className:Yq(e.className)},o,{children:t.jsx(NCe,{value:i},void 0)}),void 0):t.jsxs(YCe,Kpe({className:Yq(e.className)},o,{children:[t.jsx(fE,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i},void 0)," ",t.jsx(pE,{value:i},void 0)]}),void 0)},VCe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!i)return t.jsx("div",Kpe({className:r},{children:t.jsx(QCe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=is(n),a=is(i);return o.isSame(a,"d")?t.jsxs("div",Kpe({className:r},{children:[t.jsx(QCe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(pE,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",Kpe({className:r},{children:[t.jsx(QCe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(QCe,{value:i,showWeekDay:!0},void 0)]}),void 0)},YCe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(UCe||(UCe=ege(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(qCe||(qCe=ege(["\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}),f5);var KCe,$Ce,ZCe,XCe,JCe,eSe,tSe,nSe=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsx(a.Dropdown,Kpe({},r,{calloutProps:Kpe(Kpe({},r.calloutProps||{}),{className:Yq(EV,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},iSe=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(rSe,Kpe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(oSe,Kpe({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(hE,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},rSe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(ZCe||(ZCe=ege(["\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(KCe||(KCe=ege(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css($Ce||($Ce=ege(["\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 "])))})),oSe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(eSe||(eSe=ege(["\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"])),F5,z5,x5,(function(e){return!e.hasLargeSvgStyle&&o.css(XCe||(XCe=ege(["\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 "])),R5,e.theme.palette.neutralSecondary,E5)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(JCe||(JCe=ege(["\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,F5,(function(e){return e.theme.palette.accent}),E5,E5,O5)}),(function(e){return e.theme.palette.accent}),3,L5,24,E5,E5),aSe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(tSe||(tSe=ege(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var sSe,lSe,uSe,cSe,dSe,hSe=Wve,fSe=Hve,pSe=Vve,gSe=lge,mSe=tye,vSe=[],ySe=vSe.sort,bSe=gSe((function(){vSe.sort(void 0)})),_Se=gSe((function(){vSe.sort(null)})),wSe=mSe("sort");hSe({target:"Array",proto:!0,forced:bSe||!_Se||!wSe},{sort:function(e){return void 0===e?ySe.call(pSe(this)):ySe.call(pSe(this),fSe(e))}}),y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(sSe||(sSe=ege(["\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"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(lSe||(lSe=ege(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(uSe||(uSe=ege(["\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"})(cSe||(cSe=ege(["\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"})(dSe||(dSe=ege(["\n display: flex;\n"],["\n display: flex;\n"])));var kSe,xSe,FSe=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(ESe,Kpe({className:e.className},{children:t.jsx(a.Spinner,Kpe({},e,{className:""}),void 0)}),void 0):null},ESe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(kSe||(kSe=ege(["\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"]))),CSe=Fke,SSe=qye,OSe=Hge,DSe=_ge,PSe=dFe,TSe=Rke,ASe=ive,LSe=Oke,ISe=hke,MSe=lge,jSe=[].push,RSe=Math.min,NSe=4294967295,zSe=!MSe((function(){return!RegExp(NSe,"y")}));CSe("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(DSe(this)),r=void 0===n?NSe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!SSe(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=ISe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&jSe.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=DSe(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=OSe(e),s=String(this),l=PSe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(zSe?"y":"g"),d=new l(zSe?a:"^(?:"+a.source+")",c),h=void 0===r?NSe:r>>>0;if(0===h)return[];if(0===s.length)return null===LSe(d,s)?[s]:[];for(var f=0,p=0,g=[];p<s.length;){d.lastIndex=zSe?p:0;var m,v=LSe(d,zSe?s:s.slice(p));if(null===v||(m=RSe(ASe(d.lastIndex+(zSe?0:p)),s.length))===f)p=TSe(s,p,u);else{if(g.push(s.slice(f,p)),g.length===h)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===h)return g;p=f=m}}return g.push(s.slice(f)),g}]}),!zSe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xSe||(xSe={}));var BSe=function(e){var n=e.fileName,i=e.url;if(!i)return null;var r="safari"===sm?i+"#t=0.1":i;return t.jsxs("div",{children:[t.jsx(Nwe,{fileName:n,url:i},void 0),t.jsxs("video",Kpe({preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:r,type:"video/mp4"},void 0),t.jsx(hE,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]},void 0)};function GSe(e){var t,n="mac"===rs.deviceInfo.operatingSystem,i=null===(t=uH.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xSe.mp4)||(n?i.startsWith(xSe.quicktime):i.startsWith(xSe.webm)))}var USe,qSe,WSe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},HSe=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 "},QSe=function(e,t,n){return o.css(qSe||(qSe=ege(["\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 VSe(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 YSe(e){return Zpe(this,void 0,void 0,(function(){return Xpe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(VSe))];case 1:return[2,t.sent()]}}))}))}function KSe(e){return Gwe(e)?"MusicInCollectionFill":GSe(e)?"Video":ZSe(null==e?void 0:e.split(".").pop().toLowerCase())}function $Se(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 ZSe(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 XSe(){var e=rq(),t=iq(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(_E).identifier,a=Tg(),s=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(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":s}})]:[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){var n=this;return function(){return Zpe(n,void 0,void 0,(function(){var n;return Xpe(this,(function(i){switch(i.label){case 0:return[4,t()];case 1:return n=i.sent(),window.open(n,"ios"===a.deviceInfo.operatingSystem?"_self":e),[2]}}))}))}}}}),[s,r,n,e])}var JSe,eOe,tOe,nOe,iOe,rOe,oOe,aOe,sOe,lOe,uOe,cOe,dOe,hOe,fOe,pOe,gOe,mOe,vOe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=e.disabled,s=e.className;if(!n||0===n.length)return null;var l=n.filter((function(e){return r&&Gwe(e.filename)})),u=n.filter((function(e){return r&&GSe(e.filename)})),c=n.filter((function(e){return!l.includes(e)&&!u.includes(e)}));return t.jsxs(t.Fragment,{children:[u.length>0&&t.jsx(bOe,Kpe({className:s,"data-preload-video":"safari"===sm},{children:u.map((function(e){return t.jsx(_Oe,{children:t.jsx(BSe,{fileName:e.filename,url:r(e.id)},void 0)},e.id)}))}),void 0),l.length>0&&t.jsx(yOe,Kpe({className:s},{children:l.map((function(e){return t.jsx(wOe,{children:t.jsx(Bwe,{fileName:e.filename,url:r(e.id)},void 0)},e.id)}))}),void 0),c.length>0&&t.jsx(yOe,Kpe({className:s},{children:c.map((function(e){return t.jsx(wOe,{children:t.jsx(kOe,{attachment:e,disabled:a,getFileUrl:r,fileAccessToken:o,onDeleteClick:i},void 0)},e.id)}))}),void 0)]},void 0)},yOe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(JSe||(JSe=ege(["\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"]))),bOe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(eOe||(eOe=ege(["\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),_Oe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(tOe||(tOe=ege(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),x5),wOe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(nOe||(nOe=ege(["\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"])),x5,O5,5),kOe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=QF().formatMessage,u=!s&&i,c=XSe(),d=c.exchangeShortLivedToken,h=c.createDownloadClickHandler;return t.jsxs(xOe,{children:[n.isUploadInProgress&&t.jsx(POe,{children:t.jsx(TOe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(EOe,Kpe({takeFullWidth:!u},{children:function(){var e=this;if(n.hasError)return t.jsxs(COe,{children:[t.jsx(AOe,{iconName:"Warning"},void 0),t.jsx(DOe,Kpe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=KSe(n.filename);if(r)return t.jsxs(FOe,Kpe({title:n.filename,onClick:h("_blank",(function(){return Zpe(e,void 0,void 0,(function(){var e;return Xpe(this,(function(t){switch(t.label){case 0:return[4,d(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}))},{children:[t.jsx(SOe,{iconName:i},void 0),t.jsx(DOe,{children:n.filename},void 0)]}),void 0);return t.jsxs(COe,{children:[t.jsx(SOe,{iconName:i},void 0),t.jsx(DOe,Kpe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),u&&t.jsx(OOe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:l({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},xOe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(iOe||(iOe=ege(["\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})),FOe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(rOe||(rOe=ege(["\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}),x5,(function(e){return e.theme.textColors.default})),EOe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(sOe||(sOe=ege(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(oOe||(oOe=ege(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(aOe||(aOe=ege(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),COe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(lOe||(lOe=ege(["\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"])),x5),SOe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(uOe||(uOe=ege(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),x5),OOe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(cOe||(cOe=ege(["\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})),DOe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(dOe||(dOe=ege(["\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"]))),POe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(hOe||(hOe=ege(["\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"]))),TOe=y.default(FSe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(fOe||(fOe=ege(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),AOe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(pOe||(pOe=ege(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),LOe=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(IOe,{},void 0),t.jsx(nge,Kpe({},r,{modalProps:Kpe(Kpe({},r.modalProps||{}),{className:Yq({"lt-reach-dialog-mobile-full-height":rs.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},IOe=o.createGlobalStyle(gOe||(gOe=ege(['\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"}(mOe||(mOe={})),y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(ROe||(ROe=ege(["\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(MOe||(MOe=ege(["\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 "])),D5,e.offsetTop+20):o.css(jOe||(jOe=ege(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)}));var MOe,jOe,ROe,NOe,zOe,BOe,GOe,UOe,qOe,WOe,HOe,QOe,VOe=function(e){return o.css(BOe||(BOe=ege(["\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(NOe||(NOe=ege(["\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(zOe||(zOe=ege(["\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})))};o.createGlobalStyle(GOe||(GOe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return kV("\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 ")})),y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(UOe||(UOe=ege(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return VOe(e.useSecondaryBgColor)})),y.default(z_e).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(qOe||(qOe=ege(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return VOe(e.useSecondaryBgColor)})),y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(WOe||(WOe=ege(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),F5),y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(HOe||(HOe=ege(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),o.createGlobalStyle(QOe||(QOe=ege(["\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"])),A5);var YOe,KOe=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(hE,{id:o,values:a},void 0))},$Oe=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(ZOe,Kpe({className:r},{children:[s,t.jsx(hE,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},ZOe=y.default.div(YOe||(YOe=ege(["\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,z5),XOe={},JOe=new vW;var eDe=new vW;function tDe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||eDe.next(),t.current=!1}),e)}var nDe,iDe,rDe,oDe,aDe=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=g0(),h=A1(i.useContext(c9).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(lDe,Kpe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(uDe,Kpe({underlined:!0},{children:h}),void 0)}),void 0):t.jsx(uDe,Kpe({underlined:l},{children:h}),void 0)},sDe=function(e){var n=e.groupId,r=e.keywordName,o=g0(),a=A1(i.useContext(c9).selectedKeywordGroups,o,n,r);return tDe([a]),t.jsx(uDe,Kpe({underlined:!0},{children:a}),void 0)},lDe=y.default(eke).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(nDe||(nDe=ege(["\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})),uDe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(rDe||(rDe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(iDe||(iDe=ege(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),cDe=function(e){var n=e.modified,i=QF();return n?t.jsxs(dDe,Kpe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(z_e,Kpe({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(hE,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},dDe=y.default.span(oDe||(oDe=ege(["\n font-size: ","px;\n margin-left: ","px;\n\n @media (max-width: ","px) {\n display: block;\n margin-left: 0;\n }\n"],["\n font-size: ","px;\n margin-left: ","px;\n\n @media (max-width: ","px) {\n display: block;\n margin-left: 0;\n }\n"])),B5,6,L5);function hDe(){return hDe=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},hDe.apply(this,arguments)}var fDe=function(e){return g.createElement("svg",hDe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),g.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function pDe(){return pDe=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},pDe.apply(this,arguments)}var gDe=function(e){return g.createElement("svg",pDe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),g.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),g.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),g.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function mDe(){return mDe=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},mDe.apply(this,arguments)}var vDe=function(e){return g.createElement("svg",mDe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),g.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),g.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function yDe(){return yDe=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},yDe.apply(this,arguments)}var bDe,_De,wDe,kDe,xDe,FDe,EDe,CDe,SDe,ODe,DDe,PDe=function(e){return g.createElement("svg",yDe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),g.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),g.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},TDe=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=Mk((function(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(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}):VSe(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(ADe,{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)},ADe=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=QF().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 Y9(l.current,$9,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(LDe,{enforceArrowVisibility:!rs.isNativeMobileApp},void 0),t.jsxs("div",Kpe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",Kpe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",Kpe({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",Kpe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",Kpe({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",Kpe({className:"pswp__preloader"},{children:t.jsx("div",Kpe({className:"pswp__preloader__icn"},{children:t.jsx("div",Kpe({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",Kpe({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",Kpe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},LDe=o.createGlobalStyle(_De||(_De=ege(["\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(bDe||(bDe=ege(["\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 "])))})),IDe=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=QF().formatMessage,c=i.useState(null),d=c[0],h=c[1],f=i.useContext(_5).theme.palette;if(!n||0===n.length)return null;var p=n.length>4,g=n.length>1,m=n[0];return t.jsxs(jDe,Kpe({"data-multi-images":g,className:l,singleImageHeight:m.height,singleImageWidth:m.width},{children:[t.jsx("div",Kpe({"data-gallery-wrapper":!0},{children:g?t.jsxs(t.Fragment,{children:[t.jsx(NDe,Kpe({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(zDe,Kpe({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(BDe,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),p&&t.jsxs(GDe,Kpe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(MDe,{image:m,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(TDe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){h(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){h(e)}},MDe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=QF().formatMessage;return t.jsx(RDe,Kpe({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)},jDe=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(kDe||(kDe=ege(["\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(wDe||(wDe=ege(["\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)})),RDe=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(FDe||(FDe=ege(["\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(xDe||(xDe=ege(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),NDe=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(CDe||(CDe=ege(["\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(EDe||(EDe=ege(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),zDe=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(SDe||(SDe=ege(["\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"]))),BDe=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(ODe||(ODe=ege(["\n height: 100%;\n"],["\n height: 100%;\n"]))),GDe=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(DDe||(DDe=ege(["\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"])),R5,O5,28);var UDe,qDe,WDe,HDe,QDe,VDe,YDe=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=$pe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=QF().formatMessage;if(!l&&!s)return null;var h=Yq("header-button",u),f=l?t.jsx(ZDe,Kpe({className:h,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx($De,Kpe({className:h,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(KDe,Kpe({className:"tooltip-container"},{children:t.jsx(z_e,Kpe({resourceKey:o},{children:f}),void 0)}),void 0)},KDe=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(UDe||(UDe=ege(["\n height: 100%;\n"],["\n height: 100%;\n"]))),$De=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(HDe||(HDe=ege(['\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(qDe||(qDe=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(WDe||(WDe=ege(["\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)})),ZDe=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(VDe||(VDe=ege(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(QDe||(QDe=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),XDe="\t\n\v\f\r \u2028\u2029\ufeff",JDe=_ge,ePe="[\t\n\v\f\r \u2028\u2029\ufeff]",tPe=RegExp("^"+ePe+ePe+"*"),nPe=RegExp(ePe+ePe+"*$"),iPe=function(e){return function(t){var n=String(JDe(t));return 1&e&&(n=n.replace(tPe,"")),2&e&&(n=n.replace(nPe,"")),n}},rPe={start:iPe(1),end:iPe(2),trim:iPe(3)},oPe=lge,aPe=XDe,sPe=rPe.trim,lPe=function(e){return oPe((function(){return!!aPe[e]()||"
"!="
"[e]()||aPe[e].name!==e}))};Wve({target:"String",proto:!0,forced:lPe("trim")},{trim:function(){return sPe(this)}});var uPe,cPe,dPe,hPe,fPe,pPe,gPe,mPe,vPe,yPe,bPe,_Pe,wPe,kPe,xPe,FPe,EPe,CPe=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=$pe(e,["url","target","ariaLabel","children","className","style"]);m0();var c=O4(),d=i.useContext(vE);d.onOpenExternalLink;var h=d.tryGetInternalLink,f=!r&&h(n,c);return f?t.jsx(uwe,Kpe({className:s,to:f,"aria-label":o,style:l},u,{children:a}),void 0):t.jsx(SPe,Kpe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},SPe=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=$pe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(lwe,Kpe({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,style:l},u,{children:s}),void 0)},OPe=o.css(uPe||(uPe=ege(["\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"]))),DPe=y.default(CPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(cPe||(cPe=ege(["\n ","\n"],["\n ","\n"])),OPe),PPe=y.default(SPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(dPe||(dPe=ege(["\n ","\n"],["\n ","\n"])),OPe),TPe=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(fPe||(fPe=ege(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(hPe||(hPe=ege(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),APe=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,h=e.disabled,f=e.className,p=$pe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),g=QF().formatMessage,m=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&g({id:o});return t.jsxs(z_e,Kpe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(DPe,Kpe({url:l,ariaLabel:m,target:u},p,{children:t.jsx(a.Icon,{iconName:i,className:f},void 0)}),void 0),s&&!l&&t.jsx(TPe,Kpe({disabled:h,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:m},p),void 0),s&&l&&t.jsx(PPe,Kpe({url:l,target:u,ariaLabel:m,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(gPe||(gPe=ege(["\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(pPe||(pPe=ege(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),LPe=function(e){var n=QF(),o=i.useState(null),a=o[0],s=o[1],l=r.useLocation(),u=i.useContext(_5).theme.textColors,c=i.useRef();return i.useEffect((function(){return M9(h),setTimeout((function(){var e;return c&&(null===(e=c.current)||void 0===e?void 0:e.focus())})),function(){j9(h)}}),[]),i.useEffect((function(){s("")}),[l.pathname]),t.jsxs(jPe,Kpe({className:Yq("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(IPe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:a||e.searchText||"",onChange:function(e,t){return d(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(a);"Escape"===t.key&&d("")},autoComplete:"off",autoFocus:!0,borderless:!0,placeholder:e.placeholder||n.formatMessage({id:"TopBar.search"}),componentRef:function(e){return c.current=e},ariaLabel:n.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(MPe,{className:"search-spinner"},void 0),t.jsx(RPe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;s(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&u.onPrimary},void 0)]}),void 0);function d(t){var n;s(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function h(){return!(!a&&!e.searchText)&&(d(""),!0)}},IPe=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(yPe||(yPe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(mPe||(mPe=ege(["\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}),HSe("color: "+e.theme.textColors.default)):o.css(vPe||(vPe=ege(["\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}),HSe("color: "+e.theme.textColors.onPrimary))})),MPe=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(bPe||(bPe=ege(["\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})),jPe=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(kPe||(kPe=ege(["\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"])),HSe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(_Pe||(_Pe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(wPe||(wPe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),RPe=y.default(nwe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(xPe||(xPe=ege(["\n align-self: center;\n"],["\n align-self: center;\n"]))),NPe=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=i.useState(!!s),d=c[0],h=c[1],f=l||d||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(LPe,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),p(!1)},className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(APe,{iconName:"Search",onClick:function(){return p(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(YDe,{icon:"Search",onClick:function(){return p(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function p(e){h(e),null==n||n(e)}};y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(FPe||(FPe=ege(["\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"}(EPe||(EPe={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(zPe||(zPe=ege(["\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"})(UPe||(UPe=ege(["\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(BPe||(BPe=ege(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(GPe||(GPe=ege(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(qPe||(qPe=ege(["\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"})(WPe||(WPe=ege(["\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 zPe,BPe,GPe,UPe,qPe,WPe,HPe,QPe,VPe,YPe=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(HPe||(HPe=ege(["\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"})(QPe||(QPe=ege(["\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"}),YPe,(function(e){return e.isLoading?"0.6":"1"})),y.default(FSe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(VPe||(VPe=ege(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var KPe,$Pe,ZPe,XPe,JPe,eTe=function(e){return t.jsx(tTe,Kpe({},e,{"data-toggle-button":!0}),void 0)},tTe=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(KPe||(KPe=ege(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 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-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),nTe=o.css($Pe||($Pe=ege(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: 3px;\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: 3px;\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"])),(function(e){return e.theme.palette.accent}));function iTe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[O1(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(XPe||(XPe=ege(["\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(ZPe||(ZPe=ege(["\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"})(JPe||(JPe=ege(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),x5);var rTe,oTe,aTe,sTe,lTe,uTe,cTe,dTe,hTe,fTe=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(pTe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(A7,Kpe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},pTe=o.createGlobalStyle(rTe||(rTe=ege(["\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})),gTe=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.tooltipResourceKey,u=e.showLabel,c=QF().formatMessage,d=g0(),h=m0(),f=i.useState(null),p=f[0],g=f[1],m=i.useState(r===o),v=m[0],y=m[1],b=Y5().showError,_=O1(d);if(i.useEffect((function(){return g(null)}),[r]),!h.automaticTranslation)return null;var w=c({id:"Generic.translate"});return n&&n!==_&&S1.includes(_)&&!C1.includes(_)?t.jsx(z_e,Kpe({resourceKey:v?"Generic.translateTo":l,values:{language:c({id:"Generic.languages."+_})}},{children:t.jsx(mTe,Kpe({"aria-label":u?null:w,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(this,(function(t){switch(t.label){case 0:return v?p?(s(p),y(!1),[3,4]):[3,1]:(s(r),y(!0),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(_)];case 2:return e=t.sent(),s(e),g(e),y(!1),[3,4];case 3:return t.sent(),b("Generic.error"),[3,4];case 4:return[2]}}))}))}},{children:u&&w}),void 0)}),void 0):null},mTe=y.default(eke)(oTe||(oTe=ege(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),vTe=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(aTe||(aTe=ege(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),yTe=function(e){var n=e.comment,r=e.showEdit,o=e.showDelete,a=e.onDelete,s=e.isEditMode,l=e.toggleEditMode,u=e.originalContent,c=e.currentContent,d=e.setContent,h=e.handleTranslate,f=e.showAutoTranslate,p=e.onReply,g=e.disabled,m=QF().formatMessage,v=i.useState(!1),y=v[0],b=v[1],_=i.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx("div",Kpe({ref:_},{children:t.jsx(_Te,{"data-menu-button":n.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return b(!y)},ariaLabel:m({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),y&&t.jsx(kTe,Kpe({"data-context-menu":!0,target:_.current,onDismiss:function(){return b(!1)}},{children:t.jsxs(bTe,{children:[t.jsx(z_e,Kpe({resourceKey:"Comment.replyButton.tooltip",values:{name:n.sender.displayName}},{children:t.jsx(wTe,{"data-reply-button":n.id,iconProps:{iconName:"Reply"},onClick:function(){null==p||p(n.id,n.sender),b(!1)},text:m({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(gTe,{"data-auto-translate-button":n.id,originalContent:u,onContentChange:function(e){b(!1),d(e)},content:c,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:n.contentLanguageCode,showLabel:!0},void 0),r&&t.jsx(z_e,Kpe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(wTe,{"data-edit-button":n.id,iconProps:{iconName:"Edit"},onClick:function(){l(!0),b(!1)},text:m({id:"Generic.edit"}),disabled:!n.id||s},void 0)}),void 0),o&&t.jsx(z_e,Kpe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(wTe,{"data-delete-button":n.id,iconProps:{iconName:"Delete"},onClick:function(){a(n),b(!1)},text:m({id:"Generic.Delete"}),disabled:!n.id||s},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},bTe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(sTe||(sTe=ege(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),_Te=y.default(nwe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(lTe||(lTe=ege(["\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),wTe=y.default(eke).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(uTe||(uTe=ege(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),kTe=y.default(ACe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(cTe||(cTe=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),x5);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(dTe||(dTe=ege(["\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"})(hTe||(hTe=ege(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var xTe,FTe,ETe,CTe,STe,OTe=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(xTe||(xTe=ege(["\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})),DTe=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(_5).theme.palette.accent;return t.jsxs(PTe,Kpe({className:r},{children:[t.jsx(TTe,Kpe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(hE,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(TTe,Kpe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(hE,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},PTe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(FTe||(FTe=ege(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),x5),TTe=y.default(eke).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(ETe||(ETe=ege(["\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=$pe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,Kpe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(hE,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(CTe||(CTe=ege(["\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"])),x5,(function(e){return e.theme.palette.accent})),y.default(nwe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(STe||(STe=ege([""],[""])));var ATe,LTe,ITe,MTe,jTe=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=g0(),l=BTe(i.useContext(c9).channels,r,s,n);return t.jsx(RTe,Kpe({title:l,className:a,role:o},{children:l}),void 0)},RTe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(ATe||(ATe=ege(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),NTe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){var r=zTe(e)?e.id:e;return t.jsxs("span",{children:[n>0&&", ",t.jsx(jTe,{channel:e,language:i},void 0)]},r)}))},void 0)};function zTe(e){return null!=e.id}function BTe(e,t,n,i){if(null==e&&!zTe(t))return t;var r=zTe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=O1(n));var o=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&o[i]||o[n.subscription.defaultLanguage]||r.name}y.default(jTe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(LTe||(LTe=ege(["\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"}),j5),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(ITe||(ITe=ege(["\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"])),x5,15,WSe(2,2),j5),y.default(nwe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(MTe||(MTe=ege(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),j5);var GTe,UTe,qTe,WTe,HTe,QTe,VTe,YTe,KTe,$Te,ZTe,XTe=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(tAe,Kpe({className:l,"data-has-more-indicator":u},{children:[t.jsx(JTe,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(eAe,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},JTe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(nAe,Kpe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(jTe,{channel:e,language:i},void 0);return o?t.jsx(iAe,Kpe({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):t.jsx(rAe,Kpe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e)}))}),void 0)},eAe=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(t.Fragment,{children:[t.jsx(aAe,Kpe({ref:s,backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color},{children:t.jsx(sAe,Kpe({onClick:function(){return c(!0)}},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(lAe,Kpe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(uAe,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(eke,Kpe({onClick:function(){return a(e)}},{children:t.jsx(jTe,{channel:e,language:r},void 0)}),void 0):t.jsx(jTe,{channel:e,language:r},void 0)},e)}))},void 0)}),void 0)]},void 0)},tAe=y.default.div(GTe||(GTe=ege(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),nAe=y.default.div(UTe||(UTe=ege(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),iAe=y.default(eke)(qTe||(qTe=ege(["\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 oAe(e.bubbleCount,e.backgroundColor,e.color)})),rAe=y.default.span(WTe||(WTe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return oAe(e.bubbleCount,e.backgroundColor,e.color)})),oAe=function(e,t,n){return o.css(VTe||(VTe=ege(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&o.css(HTe||(HTe=ege(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&o.css(QTe||(QTe=ege(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),B_e({backgroundColor:t,color:n}))},aAe=y.default.div(YTe||(YTe=ege(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return B_e({backgroundColor:e.backgroundColor,color:e.color})})),sAe=y.default(eke)(KTe||(KTe=ege(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),lAe=y.default(ACe)($Te||($Te=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),uAe=y.default.ul(ZTe||(ZTe=ege(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),cAe=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(TAe,Kpe({className:s,"data-channels":n.join(",")},{children:n.map((function(e){var n=dAe(e)?e.id:e,s=t.jsx(AAe,Kpe({backgroundColor:o},{children:t.jsx(jTe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(LAe,Kpe({"data-channel":!0,to:i(dAe(e)?e.name:e),"data-rounded-outline":!0},{children:s}),void 0),a&&t.jsx(MAe,Kpe({"data-rounded-outline":!0,onClick:function(){return a(dAe(e)?e.name:e)}},{children:s}),void 0),!a&&!i&&t.jsx(IAe,{children:s},void 0)]},n)}))}),void 0):null};function dAe(e){return null!=e.id}var hAe,fAe,pAe,gAe,mAe,vAe,yAe,bAe,_Ae,wAe,kAe,xAe,FAe,EAe,CAe,SAe,OAe,DAe,PAe,TAe=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(hAe||(hAe=ege(["\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 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 span {\n white-space: break-spaces;\n }\n }\n }\n"])),z5),AAe=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(fAe||(fAe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?B_e({backgroundColor:e.backgroundColor}):B_e()})),LAe=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(pAe||(pAe=ege(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),IAe=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(gAe||(gAe=ege(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),MAe=y.default(eke).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(mAe||(mAe=ege(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),jAe=function(e){var n=e.selectedChannelIds,r=e.selectedChannelNames,o=e.mandatoryChannelIds,s=e.availableChannels,u=e.showOnlyUserChannels,c=e.onChannelsChanged,d=e.className,h=e.showSelectionToggle,f=e.placeholder,p=e.inlineControls,g=e.required,m=e.id,v=QF().formatMessage,y=g0(),b=i.useContext(c9).channels,_=Mk((function(){return Zpe(void 0,void 0,void 0,(function(){return Xpe(this,(function(e){switch(e.label){case 0:return[4,E()];case 1:return[2,e.sent()]}}))}))}),null,[b,s,u])[0],w=(null==_?void 0:_.length)>10&&rs.isNativeMobileApp?a.ResponsiveMode.small:a.ResponsiveMode.large;if(!b)return null;var k=function(){if(null!=r){var e=r.map((function(e){return b.find((function(t){return t.name===e}))})).filter((function(e){return null!=e})).map((function(e){return e.id}));return e=e.concat(o||[]),Array.from(new Set(e))}return Array.from(new Set((n||[]).concat(o||[])))}()||[];return t.jsxs(RAe,{children:[h&&t.jsx(DTe,{toggleAll:F},void 0),t.jsx(zAe,Kpe({directionalHint:l.DirectionalHint.bottomCenter,tooltipProps:{onRenderContent:function(){return t.jsxs(t.Fragment,{children:[t.jsx(BAe,{id:"Channels.callout.title",tagName:"h3"},void 0),t.jsx(NAe,{channels:x()},void 0)]},void 0)}},hidden:k.length<2},{children:t.jsx(nSe,{ariaLabel:v({id:"AriaLabel.filter.filterByChannel"}),"data-channel-selector":!0,placeholder:v({id:f||"Channels.Placeholder"}),responsiveMode:w,className:d,options:_||[],selectedKeys:k,multiSelect:!0,onChange:function(e,t){var n=t.key,i=k,r=i.indexOf(n)>=0?i.filter((function(e){return e!==t.key})):i.concat([n]);c(r.map((function(e){return b.find((function(t){return t.id===e}))})).filter((function(e){return null!=e})))},onRenderTitle:function(e){var n=function(e){return null!=e.key}(e)?[e]:e;return n=n.filter((function(e){return"Controls"!==e.key})),t.jsx(NTe,{channels:n.map((function(e){return e.data})),language:y.preferredUiLanguage},void 0)},onRenderOption:function(e){return"Controls"===e.key?t.jsx(DTe,{toggleAll:F},void 0):t.jsx(jTe,{channel:e.data,language:y.preferredUiLanguage,role:"option"},e.key)},calloutProps:{className:"channels-dropdown-callout"},"aria-required":g,id:m},void 0)}),void 0)]},void 0);function x(){var e;return null===(e=null==b?void 0:b.filter((function(e){return k.includes(e.id)})))||void 0===e?void 0:e.map((function(e){return e.name}))}function F(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(this,(function(n){switch(n.label){case 0:return[4,E()];case 1:return t=n.sent().map((function(e){return b.find((function(t){return t.id===e.key}))})),c(e?t.filter((function(e){return null!=e})):t.filter((function(e){return null!=e&&(null==o?void 0:o.includes(e.id))}))),[2]}}))}))}function E(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(this,(function(t){return e=[],p&&e.push({key:"Controls",text:"",itemType:a.DropdownMenuItemType.Header}),s?[2,Jpe(Jpe([],e),s.map((function(e){return C(e)})))]:[2,Jpe(Jpe([],e),u?y.channels.map((function(e){return C(e)})):(null==b?void 0:b.map((function(e){return C(e)})))||[])]}))}))}function C(e){return{key:e.id,text:e.name,data:e,disabled:null==o?void 0:o.some((function(t){return t===e.id}))}}},RAe=y.default.div.withConfig({displayName:"ChannelSelector__Host",componentId:"sc-2h27u4-0"})(vAe||(vAe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"]))),NAe=y.default(cAe).withConfig({displayName:"ChannelSelector__Channels",componentId:"sc-2h27u4-1"})(yAe||(yAe=ege(["\n &&& li {\n margin-top: ","px;\n }\n"],["\n &&& li {\n margin-top: ","px;\n }\n"])),6),zAe=y.default(a.TooltipHost).withConfig({displayName:"ChannelSelector__StyledTooltip",componentId:"sc-2h27u4-2"})(bAe||(bAe=ege(["\n max-width: 300px;\n padding: 0 ","px ","px;\n"],["\n max-width: 300px;\n padding: 0 ","px ","px;\n"])),F5,F5),BAe=y.default(KOe).withConfig({displayName:"ChannelSelector__TooltipTitle",componentId:"sc-2h27u4-3"})(_Ae||(_Ae=ege(["\n font-size: ","px;\n // this needs to be 10px but the channels already have margin top of 6px\n margin-bottom: ","px;\n"],["\n font-size: ","px;\n // this needs to be 10px but the channels already have margin top of 6px\n margin-bottom: ","px;\n"])),R5,4),GAe=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(UAe,{children:t.jsx(NPe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(qAe,{children:t.jsx(APe,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},UAe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(wAe||(wAe=ege(["\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"])),L5),qAe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(kAe||(kAe=ege(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),D5),WAe=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],h=c[1];return t.jsxs(HAe,Kpe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(YAe,{children:[n&&!r&&t.jsx(QAe,{children:n},void 0),(o||s)&&!a&&t.jsxs(VAe,{children:[s&&t.jsx(GAe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():h(!0)},onSearchInputFieldVisibilityChanged:function(e){return h(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(KAe,{children:t.jsx(LPe,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),h(!1)}},HAe=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(xAe||(xAe=ege(["\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),QAe=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(FAe||(FAe=ege(["\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"]))),VAe=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(EAe||(EAe=ege(["\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"]))),YAe=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(CAe||(CAe=ege(["\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"]))),KAe=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(SAe||(SAe=ege(["\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"])),D5);y.default(WAe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(OAe||(OAe=ege(["\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"])),x5,x5,D5,F5,F5),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(DAe||(DAe=ege(["\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"})(PAe||(PAe=ege([""],[""])));var $Ae,ZAe,XAe,JAe,eLe,tLe,nLe,iLe,rLe,oLe,aLe,sLe=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=QF().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(lLe,Kpe({ref:o},{children:t.jsx(nwe,{"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(uLe,Kpe({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(dLe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},lLe=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})($Ae||($Ae=ege([""],[""]))),uLe=y.default(ACe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(ZAe||(ZAe=ege(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),cLe=i.lazy((function(){return Promise.resolve().then((function(){return lVn}))})),dLe=function(e){var n=e.onSelect,r=jk();return t.jsx(i.Suspense,Kpe({fallback:t.jsx(hLe,Kpe({isSmaller:r.width<O5},{children:t.jsx(FSe,{},void 0)}),void 0)},{children:t.jsx(cLe,{onSelect:n},void 0)}),void 0)},hLe=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(XAe||(XAe=ege(["\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})),fLe=function(){var e=Pg();return t.jsx(pLe,{children:t.jsx("a",Kpe({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)},pLe=y.default.div(JAe||(JAe=ege(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),gLe=function(e){var n,r,o=e.onGifClick,s=e.className,l=Wg(),u=QF().formatMessage,c=new Qte.GiphyFetch(l.giphy.apiKey),d=i.useState(null),h=d[0],f=d[1],p=Hpe(h,500)[0],g=jk(),m=Mk((function(){if(!p)return c.trending({limit:21});return c.search(p,{limit:21})}),null,[p]),v=m[0],y=m[1],b=g.width<550?80:100;return t.jsxs(mLe,Kpe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),t.jsxs(vLe,Kpe({columnWidth:b},{children:[y&&t.jsx(FSe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hE,{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(yLe,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},mLe=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(eLe||(eLe=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),vLe=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(tLe||(tLe=ege(["\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"])),x5,(function(e){return e.columnWidth}),6),yLe=y.default(L7.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(nLe||(nLe=ege(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),bLe=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(_Le,Kpe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(wLe,{onGifClick:i},void 0),t.jsx(fLe,{},void 0)]}),void 0)},_Le=y.default(ACe)(iLe||(iLe=ege(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n height: 450px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n height: 450px;\n"]))),wLe=y.default(gLe)(rLe||(rLe=ege(["\n overflow-y: auto;\n height: 400px;\n"],["\n overflow-y: auto;\n height: 400px;\n"])));o.createGlobalStyle(oLe||(oLe=ege(["\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"])),A5),y.default(gLe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(aLe||(aLe=ege(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),x5);var kLe,xLe,FLe,ELe,CLe,SLe,OLe=function(e){var n=e.disabled,r=e.onGifClick,o=m0(),a=QF().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",Kpe({ref:s},{children:t.jsx(nwe,{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(bLe,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:U0.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},DLe=function(e){var n=e.gifInfo,r=e.className,o=Wg(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new Qte.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(PLe,Kpe({className:r},{children:t.jsx(TLe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},PLe=y.default.div(kLe||(kLe=ege([""],[""]))),TLe=y.default(L7.Gif)(xLe||(xLe=ege(["\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"])),A5),ALe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=QF().formatMessage,a=n.filter((function(e){return e.type===U0.Giphy}));return 0===a.length?null:t.jsx(LLe,Kpe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(ILe,Kpe({domIdentifier:"gif",deleteButton:t.jsx(OTe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(DLe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},LLe=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(FLe||(FLe=ege(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),ILe=y.default($we).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(ELe||(ELe=ege(["\n width: auto;\n"],["\n width: auto;\n"]))),MLe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===U0.Giphy}));return 0===r.length?null:t.jsx(jLe,Kpe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(RLe,{children:t.jsx(DLe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},jLe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(CLe||(CLe=ege(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),RLe=y.default($we).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(SLe||(SLe=ege(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),x5);var NLe,zLe,BLe,GLe=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(ULe,Kpe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(qLe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return Zpe(this,void 0,void 0,(function(){var t,n;return Xpe(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(WLe,Kpe({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)},ULe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(NLe||(NLe=ege(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),qLe=y.default(nwe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(zLe||(zLe=ege(["\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"]))),WLe=y.default(ACe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(BLe||(BLe=ege(["\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"]))),HLe="video-view-container";function QLe(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 VLe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function YLe(e){return KLe(null==e?void 0:e.preferredLocale)||KLe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||KLe(null==e?void 0:e.preferredUiLanguage)||KLe(navigator.language)||"en"}function KLe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),VLe.find((function(t){return t===e}))):null}var $Le,ZLe,XLe,JLe,eIe,tIe,nIe,iIe,rIe,oIe,aIe,sIe,lIe,uIe,cIe=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=QF().formatMessage,d=i.useContext(_5).theme.palette;return s&&a?null:t.jsxs(dIe,Kpe({className:u},{children:[t.jsx(z_e,Kpe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(fIe,{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(pIe,{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(gIe,{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)},dIe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})($Le||($Le=ege(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),F5),hIe=y.default(eke).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(XLe||(XLe=ege(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(ZLe||(ZLe=ege(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),fIe=y.default(hIe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(JLe||(JLe=ege([""],[""]))),pIe=y.default(hIe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(eIe||(eIe=ege([""],[""]))),gIe=y.default(hIe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(tIe||(tIe=ege(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"]))),mIe=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(_5).theme.palette;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(vIe,Kpe({className:u},{children:[t.jsx(bIe,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent},void 0),t.jsx(wIe,{children:l},void 0),t.jsx(_Ie,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent},void 0)]}),void 0)},vIe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(nIe||(nIe=ege(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),yIe=y.default(nwe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(iIe||(iIe=ege(["\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"])),g5),bIe=y.default(yIe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(rIe||(rIe=ege(["\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})),_Ie=y.default(yIe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(oIe||(oIe=ege(["\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})),wIe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(aIe||(aIe=ege(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),F5,15),kIe=mge,xIe=Array.isArray||function(e){return"Array"==kIe(e)},FIe=xIe,EIe=ive,CIe=jxe,SIe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&CIe(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&FIe(l))u=SIe(e,t,l,EIe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},OIe=SIe,DIe=Fge,PIe=xIe,TIe=zye("species"),AIe=OIe,LIe=Vve,IIe=ive,MIe=Hve,jIe=function(e,t){var n;return PIe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!PIe(n.prototype)?DIe(n)&&null===(n=n[TIe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function RIe(e,t,n){var r=i.useState(0),o=r[0],a=r[1],s=i.useState(0),l=s[0],u=s[1],c=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),d=c[0],h=c[1],f=i.useState(!0),p=f[0],g=f[1],m=i.useState(!1),v=m[0],y=m[1],b=i.useState(null),_=b[0],w=b[1];i.useEffect((function(){!function(){Zpe(this,void 0,void 0,(function(){var n,i;return Xpe(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(),h({pages:{0:n.items},paginationToken:n.paginationToken,hasNextPage:n.hasNextPage}),n.items.length<=e?(a(e),u(e)):(a(2*e),u(e)),[3,4];case 2:return i=r.sent(),im.error(i),w(i),[3,4];case 3:return g(!1),[7];case 4:return[2]}}))}))}()}),Jpe([e],n||[]));var k=Object.keys(d.pages).flatMap((function(e){return d.pages[e]})).slice(l-e,l);return{items:k,isInitialLoading:p,isLoadingNextPage:v,error:_,getFirstPage:function(){return u(e)},getPrevPage:function(){return u(l-e)},getNextPage:function(){return Zpe(this,void 0,void 0,(function(){return Xpe(this,(function(t){switch(t.label){case 0:return u(l+e),d.hasNextPage&&l===o-e?[4,x(d.paginationToken)]:[3,2];case 1:t.sent(),a(o+e),t.label=2;case 2:return[2]}}))}))},isFirstPage:l===e,isLastPage:l===o&&!d.hasNextPage,isEmpty:!p&&0===(null==k?void 0:k.length)};function x(n){return Zpe(this,void 0,void 0,(function(){var i,r,o;return Xpe(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),y(!0),[4,t(e,n)];case 1:return i=a.sent(),r=n,h((function(e){var t;return{pages:Ype(e.pages,(t={},t[r]={$set:i.items},t)),paginationToken:i.paginationToken,hasNextPage:i.hasNextPage}})),[3,4];case 2:return o=a.sent(),im.error(o),w(_),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}}Wve({target:"Array",proto:!0},{flatMap:function(e){var t,n=LIe(this),i=IIe(n.length);return MIe(e),(t=jIe(n,0)).length=AIe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),wbe("flatMap"),y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(sIe||(sIe=ege(["\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"})(lIe||(lIe=ege(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),S5),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(uIe||(uIe=ege(["\n height: ","px;\n"],["\n height: ","px;\n"])),F5);var NIe,zIe,BIe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(NIe||(NIe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(zIe||(zIe=ege(["\n display: contents;\n"],["\n display: contents;\n"])));var GIe,UIe,qIe,WIe,HIe,QIe,VIe,YIe,KIe,$Ie=o.css(GIe||(GIe=ege(["\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"]))),ZIe=o.css(UIe||(UIe=ege(["\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"])),$Ie,D5,F5),XIe=o.css(qIe||(qIe=ege(["\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})),JIe=o.css(WIe||(WIe=ege(["\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"])),L5),eMe="AllChannels",tMe=o.createGlobalStyle(HIe||(HIe=ege(["\n ","\n"],["\n ","\n"])),JIe),nMe=y.default(nSe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(QIe||(QIe=ege(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),ZIe),iMe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(VIe||(VIe=ege(["\n ","\n"],["\n ","\n"])),XIe),rMe=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(YIe||(YIe=ege(["\n ",";\n"],["\n ",";\n"])),XIe),oMe=function(e){var n=e.handler,i=e.disabled;return m0().unreadTracking?t.jsx(APe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},aMe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(APe,{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,(KIe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",KIe.MyBookedEvents="booked",KIe.PastEvents="past";var sMe,lMe,uMe,cMe,dMe=o.createGlobalStyle(sMe||(sMe=ege(["\n ","\n"],["\n ","\n"])),JIe),hMe=y.default(nSe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(lMe||(lMe=ege(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),ZIe),fMe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(uMe||(uMe=ege(["\n ",";\n"],["\n ",";\n"])),XIe);function pMe(){var e=iq(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return Zpe(this,void 0,void 0,(function(){var s,l;return Xpe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+uH.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 Zpe(this,void 0,void 0,(function(){var s,l;return Xpe(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 gMe(){var e=rq();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,D1.apply(void 0,Jpe([e],t))]}}))}))},resolveActiveLanguages:function(e){return Zpe(this,void 0,void 0,(function(){return Xpe(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 Zpe(this,void 0,void 0,(function(){var t;return Xpe(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 mMe(){var e=iq().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(cMe||(cMe=ege(["\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 vMe,yMe,bMe,_Me,wMe,kMe,xMe,FMe,EMe,CMe,SMe,OMe,DMe,PMe=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}(),TMe=function(e){var n=m0(),r=i.useState(null),o=r[0],a=r[1],s=a1().getUserAvatarUrl;if(v9(PMe.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=Ck(e.text||e.displayName||e.upn);return t.jsx(AMe,Kpe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Sk(l),secondaryText:G0(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)}))}},AMe=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(vMe||(vMe=ege(["\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"]))),LMe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(MMe,Kpe({className:n},{children:[i&&t.jsx(z_e,Kpe({resourceKey:r,text:o},{children:t.jsx(IMe,{iconName:i},"icon")}),void 0),a]}),void 0):null},IMe=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(yMe||(yMe=ege(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),MMe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(bMe||(bMe=ege(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),jMe=function(e){var n=e.email;return G0(n)?null:t.jsx(LMe,Kpe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(WMe,Kpe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},RMe=function(e){var n=e.value,i=QF().formatMessage;return null==n?null:t.jsx(LMe,Kpe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(WMe,Kpe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},NMe=function(e){var n=e.value,i=QF().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(LMe,Kpe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(WMe,Kpe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},zMe=function(e){var n=e.value,i=e.tooltipResourceKey,r=m0();return null==n?null:t.jsx(LMe,Kpe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(WMe,Kpe({target:"_blank",rel:"noopener noreferrer",href:_Ce(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},BMe=function(e){var n=e.value;return null==n?null:t.jsx(LMe,Kpe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},GMe=function(e){var n=e.value;return null==n?null:t.jsx(LMe,Kpe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},UMe=function(e){var n=e.value,i=C4().buildPath,r=m0();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(LMe,Kpe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(HMe,Kpe({to:i("chats/new")+"?"+Hg.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(hE,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},qMe=o.css(_Me||(_Me=ege(["\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})),WMe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(wMe||(wMe=ege(["\n ","\n"],["\n ","\n"])),qMe),HMe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(kMe||(kMe=ege(["\n ","\n"],["\n ","\n"])),qMe),QMe={mobilePhone:RMe,department:BMe,address:zMe},VMe=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=g0(),t=QF().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=hk(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=QMe[o.name];return d?i.createElement(d,{value:r}):t.jsx(LMe,Kpe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},YMe=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(BMe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(GMe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(RMe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(NMe,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(UMe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(zMe,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},KMe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=g0();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(UMe,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(VMe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},$Me=["displayName","department","jobTitle"],ZMe=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=a1(),l=s.getUserInfo,u=s.getUserInfoById,c=Mk((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],h=c[1];if(c[2])return t.jsx(XMe,{children:i?t.jsx(hE,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hE,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(h)return t.jsx(tje,{},void 0);var f=r?$Me:[];return t.jsxs(JMe,Kpe({"data-user-details":!0},{children:[r&&t.jsx(TMe,{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(eje,{children:[t.jsx(jMe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(YMe,{user:d,ignoredProperties:f},void 0):t.jsx(KMe,{user:d,ignoredProperties:f},void 0)]},void 0)]}),void 0)},XMe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(xMe||(xMe=ege(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),JMe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(FMe||(FMe=ege(["\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"])),z5),eje=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(EMe||(EMe=ege(["\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"])),x5),tje=y.default(FSe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(CMe||(CMe=ege(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),nje=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=g0(),d=i.useState(!1),h=d[0],f=d[1];return s?t.jsx(rje,Kpe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(rje,Kpe({ref:u,className:r},{children:t.jsx(oje,Kpe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!h)},ariaLabel:n},{children:o}),"children")}),void 0),h&&!c.isPublicUser&&t.jsx(ACe,Kpe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:u.current},{children:t.jsx(ije,{children:t.jsx(ZMe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},ije=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(SMe||(SMe=ege(["\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,F5,D5),rje=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(OMe||(OMe=ege(["\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"]))),oje=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(DMe||(DMe=ege(["\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 aje(){return aje=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},aje.apply(this,arguments)}var sje=function(e){return g.createElement("svg",aje({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),g.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),g.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),g.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function lje(){return lje=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},lje.apply(this,arguments)}var uje=function(e){return g.createElement("svg",lje({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),g.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function cje(){return cje=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},cje.apply(this,arguments)}var dje,hje,fje,pje,gje,mje,vje=function(e){return g.createElement("svg",cje({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),g.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),g.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},yje=function(e){var n=e.info,i="number"==typeof n;return t.jsx(bje,Kpe({isNumber:i,"data-badge-info":n},{children:t.jsx(_je,Kpe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},bje=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(fje||(fje=ege(["\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(dje||(dje=ege(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(hje||(hje=ege(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),_je=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(gje||(gje=ege(["\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(pje||(pje=ege(["\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,B5)}));function wje(){return wje=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},wje.apply(this,arguments)}var kje,xje=function(e){return g.createElement("svg",wje({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),mje||(mje=g.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function Fje(e){return t.jsx(Tje,Kpe({"data-page-alert":!0},{children:t.jsxs(Aje,{children:[e.errorType&&t.jsx(Lje,Kpe({onClick:e.onClick},{children:e.errorType===kje.LoginError?t.jsx(uje,{},void 0):e.errorType===kje.GenericError?t.jsx(sje,{},void 0):e.errorType===kje.Error403?t.jsx(vje,{},void 0):t.jsx(PDe,{},void 0)}),void 0),t.jsx(Ije,{children:e.alertText},void 0),t.jsx(Mje,{children:e.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(kje||(kje={}));var Eje,Cje,Sje,Oje,Dje,Pje,Tje=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(Eje||(Eje=ege(["\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})),Aje=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(Cje||(Cje=ege(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),Lje=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(Sje||(Sje=ege(["\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n"],["\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent})),Ije=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Oje||(Oje=ege(["\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})),Mje=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Dje||(Dje=ege(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),jje=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(Pje||(Pje=ege(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),Rje={exports:{}},Nje=Object.getOwnPropertySymbols,zje=Object.prototype.hasOwnProperty,Bje=Object.prototype.propertyIsEnumerable;function Gje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Uje=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=Gje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))zje.call(n,a)&&(r[a]=n[a]);if(Nje){i=Nje(n);for(var s=0;s<i.length;s++)Bje.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},qje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Wje=function(){};if("production"!==process.env.NODE_ENV){var Hje=qje,Qje={},Vje=Function.call.bind(Object.prototype.hasOwnProperty);Wje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Yje(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(Vje(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]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,Hje)}catch(e){a=e}if(!a||a instanceof Error||Wje((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 Qje)){Qje[a.message]=!0;var l=r?r():"";Wje("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}Yje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Qje={})};var Kje=Yje,$je=w.default,Zje=Uje,Xje=qje,Jje=Kje,eRe=Function.call.bind(Object.prototype.hasOwnProperty),tRe=function(){};function nRe(){return null}"production"!==process.env.NODE_ENV&&(tRe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function iRe(){}function rRe(){}rRe.resetWarningCache=iRe;if("production"!==process.env.NODE_ENV){var oRe=w.default;Rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(nRe),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 `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",Xje);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 `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return $je.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(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 u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(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(eRe(s,u)){var d=e(s,u,i,r,o+"."+u,Xje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tRe(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."),nRe;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"===d(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&&tRe("Invalid argument supplied to oneOfType, expected an instance of array."),nRe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tRe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),nRe}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,Xje))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var h=d(s,u,i,r,o+"."+u,Xje);if(h)return h}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=Zje({},t[n],e);for(var d in u){var h=e[d];if(!h)return new a("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=h(s,d,i,r,o+"."+d,Xje);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==Xje){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(tRe("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[p]=!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 c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(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 d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function h(e){var t=d(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=Jje,r.resetWarningCache=Jje.resetWarningCache,r.PropTypes=r,r}(oRe.isElement,!0)}else Rje.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,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:rRe,resetWarningCache:iRe};return n.PropTypes=n,n}();var aRe=Rje.exports,sRe=Object.freeze({__proto__:null,useCurrentUser:g0,useAccountApi:a1,useAuthenticationContext:Uk,useEnvironmentConfig:Tg,useNotificationContext:Y5,usePromise:Mk,LinkContext:vE,TextLink:CPe,logger:im,createId:om,ResourceContext:EE,usePluginSettings:function(){var e=i.useContext(P4).settings;return null!=e?e:{}},usePluginStorage:I4,usePluginDeviceStore:I4,usePluginSubscriptionStore:function(){return i.useContext(P4).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(P4).subscriptionStore,o=Mk((function(){return r.get(e).catch(j4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return fV(n,void 0,void 0,(function(){var n;return pV(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),j4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return fV(n,void 0,void 0,(function(){var t;return pV(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),j4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(P4).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(P4).userStore,o=Mk((function(){return r.get(e).catch(j4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return fV(n,void 0,void 0,(function(){var n;return pV(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),j4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return fV(n,void 0,void 0,(function(){var t;return pV(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),j4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Pg().apiEndpoint}},AccountType:XJ,PeoplePicker:fwe,GutterToggle:iwe,EditorSettingsDialog:twe,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:G_e,useTheme:function(){return i.useContext(_5).theme},useSubscriptionHandlePathBuilder:C4,useSubscriptionWebAppUrl:S4});var lRe,uRe=[{name:"@reach/core",packageDefinition:Kpe({default:{}},sRe)}],cRe=[{name:"react",packageDefinition:Kpe(Kpe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Kpe(Kpe({},_),{default:_})},{name:"react-is",packageDefinition:Kpe(Kpe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Kpe({default:aRe},aRe)},{name:"react-router-dom",packageDefinition:Kpe({},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:nge}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:QF,FormattedDate:fE,FormattedTime:pE,IntlProvider:tE}},{name:"@apollo/client",packageDefinition:{default:{},gql:HI,useQuery:function(e,t){return cM(e,t,!1)},ApolloClient:RI,ApolloProvider:tM,from:hA,ApolloLink:dA,fromPromise:oA,split:fA,HttpLink:wA,InMemoryCache:vI,useLazyQuery:function(e,t){return cM(e,t,!0)},useMutation:dM,ApolloError:bI,useApolloClient:nM,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(JI()),o=t?Fo(Fo({},t),{subscription:e}):{subscription:e},a=i.useState({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=i.useRef(),c=(u.current||(u.current=new aM({options:o,context:r,setResult:l})),u.current);return c.setOptions(o,!0),c.context=r,__DEV__&&uM(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:pj}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:Oj}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:JP}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:hM}}],dRe=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(hRe,Kpe({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)},hRe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(lRe||(lRe=ege(["\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"])),F5),fRe=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 Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Co(void 0,void 0,void 0,(function(){return So(this,(function(n){return im.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Gk.Provider,Fo({value:u},{children:r}),void 0)},pRe="0.4.0-preview.758",gRe="106982",mRe="ddda898bec55ade8113dbadb97ab7e25a18d4ffd",vRe=V,yRe=z,bRe=Cn("match"),_Re=function(e){var t;return vRe(e)&&(void 0!==(t=e[bRe])?!!t:"RegExp"==yRe(e))},wRe=Cn("match"),kRe=function(e){if(_Re(e))throw TypeError("The method doesn't accept regular expressions");return e},xRe=q,FRe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[wRe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!FRe("includes")},{includes:function(e){return!!~String(xRe(this)).indexOf(kRe(e),arguments.length>1?arguments[1]:void 0)}});var ERe,CRe,SRe={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"}},ORe={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"}},DRe=["//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"],PRe=function(e){var n=e.children,r=Pg().apiEndpoint,o=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!DRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return im.info("Will use non prod client config..."),Fo({},SRe);return Fo(Fo({},SRe),ORe)}())}),[r]);return t.jsx(qg.Provider,Fo({value:o},{children:n}),void 0)},TRe=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 Co(this,void 0,void 0,(function(){return So(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 Co(this,void 0,void 0,(function(){return So(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}(),ARe=new TRe,LRe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(IRe,Fo({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},IRe=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Gk).setToken,a=bE(),s=function(){var e=iq().fetchFromApi,t=rq();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=iq().fetchFromApi,u=i.useContext(mE),c=u.handleFatalError,d=u.handleAccessDeniedError,h=Mk((function(){return Co(this,void 0,void 0,(function(){var e,t,i;return So(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]),f=h[0],p=h[1],g=h[2];if(g)return im.error(g),c({error:g}),null;if(p)return null;if(!f){var m={message:"Public access is not enabled for the subscription "+n+"!"};return im.error(m.message),d({error:m}),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)}))}},MRe=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],h=c[1],f=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:h}}),[a,u,h]);return t.jsx(mE.Provider,Fo({value:f},{children:t.jsx(jRe,Fo({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},jRe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(RRe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(RRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(RRe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},RRe=function(e){var n=e.messageId,r=e.error,o=QF().formatMessage,a=i.useState(!1),s=a[0],l=a[1];return t.jsx(Fje,Fo({errorType:kje.GenericError,alertText:o({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(NRe,{children:[t.jsx(hE,{id:"Generic.error.details"},void 0),t.jsx(zRe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},NRe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(ERe||(ERe=Mo(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),F5),zRe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(CRe||(CRe=Mo(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),BRe=function(e){var n=e.children,r=S4(),o=i.useMemo((function(){return{onShare:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vE.Provider,Fo({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},GRe=function(){return null},URe=Object.freeze({__proto__:null,Page:GRe,NavLinkSidebarItem:GRe,PageMenuActionItem:GRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+pRe+" ("+gRe+") ["+mRe+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var qRe=function(e){var n,r=e.children,o=i.useContext(_5).setTheme,a=i.useContext(EE).changeSettings,s=s1().getCurrentUser,l=Mk((function(){var e,t;return Co(this,void 0,void 0,(function(){var n,i,r,l;return So(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,s()];case 1:return n=u.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=hk(n.preferredUiLanguage,dk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),r=YLe(n),a(i,r).then((function(){return null}),im.error),[2,n];case 2:throw l=u.sent(),im.error(l),l;case 3:return[2]}}))}))})),u=l[0],c=l[1],d=l[2],h=l[3],f=i.useContext(mE),p=f.handleFatalError,g=f.handleNotFoundError,m=f.handleAccessDeniedError,v=i.useMemo((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&h(e))}}}),[u]);return d?(403===(null===(n=null==d?void 0:d.response)||void 0===n?void 0:n.statusCode)?m({error:d}):p({error:d}),null):c?null:null==u?(g({}),null):t.jsx(f0.Provider,Fo({value:v},{children:r}),void 0)},WRe=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(wV,{},void 0),t.jsx(FV,{},void 0)]},void 0)};var HRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,QRe=/[\0-\x1F\x7F-\x9F]/,VRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,YRe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 KRe(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 $Re(e){return Object.prototype.toString.call(e)}function ZRe(e){return"[object Function]"===$Re(e)}function XRe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var JRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var eNe={"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}}},tNe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function nNe(e){var t=e.re=function(e){var t={};return t.src_Any=HRe.source,t.src_Cc=QRe.source,t.src_Z=VRe.source,t.src_P=YRe.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]"===$Re(e)}(n))return!function(e){return"[object RegExp]"===$Re(e)}(n.validate)?ZRe(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(ZRe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$Re(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(XRe).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 iNe(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 rNe(e,t){var n=new iNe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function oNe(e,t){if(!(this instanceof oNe))return new oNe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||JRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=KRe({},JRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=KRe({},eNe,e),this.__compiled__={},this.__tlds__=tNe,this.__tlds_replaced__=!1,this.re={},nNe(this)}oNe.prototype.add=function(e,t){return this.__schemas__[e]=t,nNe(this),this},oNe.prototype.set=function(e){return this.__opts__=KRe(this.__opts__,e),this},oNe.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},oNe.prototype.pretest=function(e){return this.re.pretest.test(e)},oNe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},oNe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(rNe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(rNe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},oNe.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(),nNe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,nNe(this),this)},oNe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},oNe.prototype.onCompile=function(){};var aNe=oNe;function sNe(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 lNe(){return lNe=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},lNe.apply(this,arguments)}function uNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cNe(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 dNe(e,t,n){return t&&cNe(e.prototype,t),n&&cNe(e,n),e}function hNe(e){return hNe="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},hNe(e)}function fNe(e){return fNe="function"==typeof Symbol&&"symbol"===hNe(Symbol.iterator)?function(e){return hNe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":hNe(e)},fNe(e)}function pNe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gNe(e,t){return!t||"object"!==fNe(t)&&"function"!=typeof t?pNe(e):t}function mNe(e){return mNe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},mNe(e)}function vNe(e,t){return vNe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vNe(e,t)}function yNe(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&&vNe(e,t)}function bNe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _Ne(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 wNe(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 kNe(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 xNe(e){return function(e){if(Array.isArray(e))return kNe(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 kNe(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)?kNe(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 FNe=function(e){return e===Object(e)?Object.keys(e):[]},ENe=function(e){return e===Object(e)?Object.values(e):[]};function CNe(e,t){var n=Object.assign({},e);return DNe(e)&&DNe(t)&&FNe(t).forEach((function(i){DNe(t[i])&&i in e?n[i]=CNe(e[i],t[i]):Object.assign(n,x8({},i,t[i]))})),n}var SNe=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 CNe(e,t)}),e)},ONe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},DNe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},PNe=function(e){return(e||[]).filter(Boolean)},TNe=function(e){return"&"===e[0]},ANe=function(e){return!TNe(e)},LNe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},INe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=FNe(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},MNe=function(e,t){for(var n=t.map(LNe),i=FNe(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(LNe(s))>=0)&&(r[s]=e[s])}return r},jNe=function e(t,n){for(var i=SNe.apply(void 0,[{},ONe(t,n)].concat(xNe(ENe(MNe(t,n))))),r=FNe(i).filter(TNe),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=SNe({},i,l)):i[s]=l}return i};function RNe(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 NNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RNe(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RNe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zNe=["animationName"],BNe=function(e){var t=e.style,n=e.className;return NNe(NNe({},t?{style:INe(t,zNe)}:{}),n?{className:n}:{})},GNe=i.createContext(BNe);GNe.Provider;var UNe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return FNe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},qNe={},WNe=function(e){return function(t,n){var i,r=n||qNe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=UNe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function HNe(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 QNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HNe(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HNe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var VNe=function(e){var t=e&&FNe(e)[0];return t&&t.split("__")[0].split("--")[0]},YNe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(xNe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),xNe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(xNe(r)):r}};function KNe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BNe,o=n||VNe(i)||(null==t?void 0:t.className),a="function"==typeof t?t:WNe((function(e,n){var a=UNe(e);Vpe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Vpe(!n||DNe(n),"Optional second parameter must be a plain object.");var s=a.filter(TNe),l=a.filter(ANe),u=l.length>0?function(e){return ENe(MNe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(jNe(e,s))},d=YNe(o,l,s);return KNe(QNe(QNe(QNe({},(t||n)&&{style:SNe.apply(void 0,[{}].concat(xNe(c(n)),xNe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=QNe({},"function"==typeof t?t:{style:t}),l=xNe(new Set([].concat(xNe(s.className?s.className.split(" "):[]),xNe(o?o.split(" "):[])))),u=i?PNe(l.map((function(e){return i[e]}))):l,c=r(QNe(QNe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function $Ne(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 ZNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$Ne(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var XNe=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 ZNe(ZNe(ZNe({},e),"function"==typeof t?t:{}),{},{style:ZNe(ZNe({},e.style),"function"==typeof t?t.style:t)})}),{})},JNe=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(GNe);return i.useMemo((function(){return KNe({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},eze=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},tze="__id__",nze="__display__",ize=function(e,t){Vpe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(nze),i=e.indexOf(tze);return n<0&&(n=null),i<0&&(i=null),Vpe(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},rze=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=_Ne(t.exec(e.toString()),3),i=n[1],r=n[2];return Vpe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},oze=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},aze=function(){},sze=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:aze,o=rze(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=oze(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),h=t[d],f=h.markup,p=h.displayTransform,g=c+ize(f,"id"),m=c+ize(f,"display"),v=i[g],y=p(v,i[m]),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)},lze=function(e,t){var n="";return sze(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},uze=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 sze(e,t,a,o),void 0===i?e.length:i},cze=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},dze=function(e,t){var n=[];return sze(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},hze=function(e,t){return"".concat(e,"-").concat(t)},fze=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},pze=function(e){var t=eze(e),n=e[e.indexOf(nze)+nze.length],i=e[e.indexOf(tze)+tze.length];return new RegExp(t.replace(nze,"([^".concat(eze(n||""),"]+?)")).replace(tze,"([^".concat(eze(i||""),"]+?)")))},gze=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?mze(i,n):pze(n),displayTransform:r||function(e,t){return t||e}}}))},mze=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=oze(t);return Vpe(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},vze=[{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}],yze=function(e){return function(e){var t=e;return vze.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},bze=function(e,t,n){return n?yze(e).indexOf(yze(t)):e.toLowerCase().indexOf(t.toLowerCase())},_ze=function(e){return"number"==typeof e},wze=function(e){return e===Object(e)?Object.keys(e):[]},kze=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 xze(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=wNe(i,["style","className","classNames"]),l=t?t(s):void 0,u=JNe(e,{style:r,className:o,classNames:a},l);return m.default.createElement(n,lNe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var Fze=function(e){function t(){var e;return uNe(this,t),bNe(pNe(e=gNe(this,mNe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return yNe(t,e),dNe(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=gze(s);i===r&&(e=uze(o,u,i,"START"));var c=[],d={},h=c,f=0;return sze(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);h.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(_ze(e)&&e>=i&&e<=i+n.length){var o=e-i;h.push(t.renderSubstring(n.substring(0,o),f)),h=[t.renderSubstring(n.substring(o),f)]}else h.push(t.renderSubstring(n,f));f++})),h.push(" "),h!==c&&c.push(this.renderHighlighterCaret(h)),m.default.createElement("div",lNe({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",lNe({},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 m.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",lNe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);bNe(Fze,"propTypes",{selectionStart:qH.number,selectionEnd:qH.number,value:qH.string.isRequired,onCaretPositionChange:qH.func.isRequired,containerRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired}),bNe(Fze,"defaultProps",{value:""});var Eze=xze({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}}))(Fze),Cze=function(e){function t(){return uNe(this,t),gNe(this,mNe(t).apply(this,arguments))}return yNe(t,e),dNe(t,[{key:"render",value:function(){var e=kze(this.props,["style","classNames","className"],wze(t.propTypes));return m.default.createElement("li",lNe({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=bze(e,i,n);return-1===o?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,o),m.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);bNe(Cze,"propTypes",{id:qH.string.isRequired,query:qH.string.isRequired,index:qH.number.isRequired,ignoreAccents:qH.bool,suggestion:qH.oneOfType([qH.string,qH.shape({id:qH.oneOfType([qH.string,qH.number]).isRequired,display:qH.string})]).isRequired,renderSuggestion:qH.func,focused:qH.bool});var Sze=xze({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(Cze);function Oze(){var e=JNe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var Dze=function(e){function t(){var e,n;uNe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return bNe(pNe(n=gNe(this,(e=mNe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),bNe(pNe(n),"select",(function(e,t){n.props.onSelect(e,t)})),bNe(pNe(n),"setUlElement",(function(e){n.ulElement=e})),n}return yNe(t,e),dNe(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?m.default.createElement("div",lNe({},XNe({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),m.default.createElement("ul",lNe({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(sNe(t),sNe(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 m.default.createElement(Sze,{style:this.props.style("item"),key:"".concat(a,"-").concat(Pze(e)),id:hze(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 m.default.createElement(Oze,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);bNe(Dze,"propTypes",{id:qH.string.isRequired,suggestions:qH.object.isRequired,a11ySuggestionsListLabel:qH.string,focusIndex:qH.number,position:qH.string,left:qH.number,top:qH.number,scrollFocusedIntoView:qH.bool,isLoading:qH.bool,isOpened:qH.bool.isRequired,onSelect:qH.func,ignoreAccents:qH.bool,containerRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired}),bNe(Dze,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Pze=function(e){return"string"==typeof e?e:e.id},Tze=xze({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Dze);function Aze(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 Lze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aze(n,!0).forEach((function(t){bNe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ize={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Mze=!1,jze={singleLine:qH.bool,allowSpaceInQuery:qH.bool,allowSuggestionsAboveCursor:qH.bool,forceSuggestionsAboveCursor:qH.bool,ignoreAccents:qH.bool,a11ySuggestionsListLabel:qH.string,value:qH.string,onKeyDown:qH.func,onSelect:qH.func,onBlur:qH.func,onChange:qH.func,suggestionsPortalHost:"undefined"==typeof Element?qH.any:qH.PropTypes.instanceOf(Element),inputRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired},Rze=function(e){function t(e){var n;return uNe(this,t),bNe(pNe(n=gNe(this,mNe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),bNe(pNe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return Lze({},kze(n.props,["style","classNames","className"],wze(jze)),{},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":hze(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),bNe(pNe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),bNe(pNe(n),"renderInput",(function(e){return m.default.createElement("input",lNe({type:"text",ref:n.setInputRef},e))})),bNe(pNe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",lNe({ref:n.setInputRef},e))})),bNe(pNe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),bNe(pNe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),bNe(pNe(n),"renderSuggestionsOverlay",(function(){if(!_ze(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=m.default.createElement(Tze,{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})),bNe(pNe(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 m.default.createElement(Eze,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),bNe(pNe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),bNe(pNe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),bNe(pNe(n),"getPlainText",(function(){return lze(n.props.value||"",gze(n.props.children))})),bNe(pNe(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})),bNe(pNe(n),"handleChange",(function(e){if(Mze=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=gze(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=lze(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 h=uze(e,i,c,"START"),f=uze(e,i,d,"END"),p=uze(e,i,c,"NULL"),g=uze(e,i,d,"NULL"),m=null===p||null===g,v=cze(e,h,f,u);if(!m){var y=lze(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),h=uze(e,i,c,"START"),f=uze(e,i,d,"END"),v=cze(e,h,f,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=lze(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(sze(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=dze(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),bNe(pNe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Mze){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)}})),bNe(pNe(n),"handleKeyDown",(function(e){if(0!==fze(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Ize).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Ize.ESC:return void n.clearSuggestions();case Ize.DOWN:return void n.shiftFocus(1);case Ize.UP:return void n.shiftFocus(-1);case Ize.RETURN:case Ize.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),bNe(pNe(n),"shiftFocus",(function(e){var t=fze(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),bNe(pNe(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(sNe(e),sNe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),bNe(pNe(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)})),bNe(pNe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),bNe(pNe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),bNe(pNe(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=Nze(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 h={};if(i){h.position="fixed";var f=c.left,p=c.top;f-=Nze(a,"margin-left"),p-=Nze(a,"margin-top"),f-=s.scrollLeft,p-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>g?h.left=Math.max(0,g-a.offsetWidth):h.left=f,r&&p+a.offsetHeight>d&&a.offsetHeight<p-u||o?h.top=Math.max(0,p-a.offsetHeight-u):h.top=p}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+a.offsetWidth>n.containerElement.offsetWidth?h.right=0:h.left=m,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?h.top=v-a.offsetHeight-u:h.top=v}h.left===n.state.suggestionsPosition.left&&h.top===n.state.suggestionsPosition.top&&h.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:h})}}})),bNe(pNe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),bNe(pNe(n),"handleCompositionStart",(function(){Mze=!0})),bNe(pNe(n),"handleCompositionEnd",(function(){Mze=!1})),bNe(pNe(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()}}})),bNe(pNe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=gze(r),a=uze(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=dze(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);m.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=eze(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)}}}))}})),bNe(pNe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),bNe(pNe(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;bze(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)})),bNe(pNe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=Lze({},n.suggestions,bNe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=fze(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),bNe(pNe(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=gze(n.props.children),h=i.Children.toArray(n.props.children)[a].props,f=h.markup,p=h.displayTransform,g=h.appendSpaceOnAdd,m=h.onAdd,v=uze(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(tze,t).replace(nze,n)}(f,r,o);g&&(b+=" ");var _=cze(c,v,y,b);n.inputElement.focus();var w=p(r,o);g&&(w+=" ");var k=s+w.length;n.setState({selectionStart:k,selectionEnd:k,setSelectionAfterMentionChange:!0});var x={target:{value:_}},F=dze(_,d),E=cze(u,s,l,w);n.executeOnChange(x,_,E,F),m&&m(r,o,v,y),n.clearSuggestions()})),bNe(pNe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),bNe(pNe(n),"isOpened",(function(){return _ze(n.state.selectionStart)&&(0!==fze(n.state.suggestions)||n.isLoading())})),bNe(pNe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(pNe(n)),n.handleCut=n.handleCut.bind(pNe(n)),n.handlePaste=n.handlePaste.bind(pNe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return yNe(t,e),dNe(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 m.default.createElement("div",lNe({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=gze(a),l=uze(o,s,n,"START"),u=uze(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),h=cze(o,l,u,c||d).replace(/\r/g,""),f=lze(h,s),p={target:Lze({},e.target,{value:h})};this.executeOnChange(p,h,f,dze(h,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=gze(o),l=uze(a,s,n,"START"),u=uze(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=gze(o),l=uze(a,s,n,"START"),u=uze(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=lze(c,s),h={target:Lze({},e.target,{value:d})};this.executeOnChange(h,c,d,dze(a,s))}}}]),t}(m.default.Component);bNe(Rze,"propTypes",jze),bNe(Rze,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Nze=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},zze=xze({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:Lze({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}}))(Rze),Bze={fontWeight:"inherit"},Gze=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=JNe(Bze,{style:n,className:i,classNames:r});return m.default.createElement("strong",o,t)};Gze.propTypes={onAdd:qH.func,onRemove:qH.func,renderSuggestion:qH.func,trigger:qH.oneOfType([qH.string,qH.instanceOf(RegExp)]),markup:qH.string,displayTransform:qH.func,allowSpaceInQuery:qH.bool,isLoading:qH.bool},Gze.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 Uze=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 qze(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=Uze.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 Wze=[".DS_Store","Thumbs.db"];function Hze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?Vze(e.dataTransfer,e.type):Qze(e))];var n}))}))}function Qze(e){return(null!==e.target&&e.target.files?Kze(e.target.files):[]).map((function(e){return qze(e)}))}function Vze(e,t){return Co(this,void 0,void 0,(function(){var n;return So(this,(function(i){switch(i.label){case 0:return e.items?(n=Kze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map($ze))]):[3,2];case 1:return[2,Yze(Zze(i.sent()))];case 2:return[2,Yze(Kze(e.files).map((function(e){return qze(e)})))]}}))}))}function Yze(e){return e.filter((function(e){return-1===Wze.indexOf(e.name)}))}function Kze(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function $ze(e){if("function"!=typeof e.webkitGetAsEntry)return Xze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?eBe(t):Xze(e)}function Zze(e){return e.reduce((function(e,t){return To(e,Array.isArray(t)?Zze(t):[t])}),[])}function Xze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=qze(t);return Promise.resolve(n)}function Jze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,e.isDirectory?eBe(e):tBe(e)]}))}))}function eBe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Co(o,void 0,void 0,(function(){var o,a,s;return So(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(Jze)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function tBe(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=qze(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function nBe(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 iBe(e,t,n){if(rBe(e.size)){if(rBe(t)&&rBe(n))return e.size>=t&&e.size<=n;if(rBe(t))return e.size>=t;if(rBe(n))return e.size<=n}return!0}function rBe(e){return null!=e}function oBe(e,t,n,i){return e.every((function(e){return nBe(e,t)&&iBe(e,n,i)}))}function aBe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function sBe(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 lBe(e){e.preventDefault()}function uBe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function cBe(e){return-1!==e.indexOf("Edge/")}function dBe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return uBe(e)||cBe(e)}function hBe(){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!aBe(e)&&t&&t.apply(void 0,[e].concat(i)),aBe(e)}))}}function fBe(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 pBe(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 gBe(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 mBe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gBe(n,!0).forEach((function(t){vBe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gBe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vBe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yBe(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 bBe=i.forwardRef((function(e,t){var n=e.children,r=wBe(yBe(e,["children"])),o=r.open,a=yBe(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),m.default.createElement(i.Fragment,null,n(mBe({},a,{open:o})))}));bBe.displayName="Dropzone",bBe.propTypes={children:qH.func,accept:qH.oneOfType([qH.string,qH.arrayOf(qH.string)]),multiple:qH.bool,preventDropOnDocument:qH.bool,noClick:qH.bool,noKeyboard:qH.bool,noDrag:qH.bool,noDragEventsBubbling:qH.bool,minSize:qH.number,maxSize:qH.number,disabled:qH.bool,getFilesFromEvent:qH.func,onFileDialogCancel:qH.func,onDragEnter:qH.func,onDragLeave:qH.func,onDragOver:qH.func,onDrop:qH.func,onDropAccepted:qH.func,onDropRejected:qH.func};var _Be={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function wBe(){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?Hze:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,h=void 0===d||d,f=e.onDragEnter,p=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,_=e.preventDropOnDocument,w=void 0===_||_,k=e.noClick,x=void 0!==k&&k,F=e.noKeyboard,E=void 0!==F&&F,C=e.noDrag,S=void 0!==C&&C,O=e.noDragEventsBubbling,D=void 0!==O&&O,P=i.useRef(null),T=i.useRef(null),A=i.useReducer(kBe,_Be),L=pBe(A,2),I=L[0],M=L[1],j=I.isFocused,R=I.isFileDialogActive,N=I.draggedFiles,z=i.useCallback((function(){T.current&&(M({type:"openDialog"}),T.current.value=null,T.current.click())}),[M]),B=function(){R&&setTimeout((function(){T.current&&(T.current.files.length||(M({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,R,b]);var G=i.useCallback((function(e){P.current&&P.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[P,T]),U=i.useCallback((function(){M({type:"focus"})}),[]),q=i.useCallback((function(){M({type:"blur"})}),[]),W=i.useCallback((function(){x||(dBe()?setTimeout(z,0):z())}),[T,x]),H=i.useRef([]),Q=function(e){P.current&&P.current.contains(e.target)||(e.preventDefault(),H.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",lBe,!1),document.addEventListener("drop",Q,!1)),function(){w&&(document.removeEventListener("dragover",lBe),document.removeEventListener("drop",Q))}}),[P,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===H.current.indexOf(e.target)&&(H.current=[].concat(fBe(H.current),[e.target])),sBe(e)&&Promise.resolve(a(e)).then((function(t){aBe(e)&&!D||(M({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),f&&f(e))}))}),[a,f,D]),Y=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return sBe(e)&&g&&g(e),!1}),[g,D]),K=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=H.current.filter((function(t){return t!==e.target&&P.current&&P.current.contains(t)}));H.current=t,t.length>0||(M({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),sBe(e)&&p&&p(e))}),[P,p,D]),$=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),H.current=[],M({type:"reset"}),sBe(e)&&Promise.resolve(a(e)).then((function(n){if(!aBe(e)||D){var i=[],r=[];n.forEach((function(e){nBe(e,t)&&iBe(e,c,l)?i.push(e):r.push(e)})),!h&&i.length>1&&r.push.apply(r,fBe(i.splice(0))),M({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[h,t,c,l,a,m,v,y,D]),Z=function(e){return r?null:e},X=function(e){return E?null:Z(e)},J=function(e){return S?null:Z(e)},ee=function(e){D&&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,h=yBe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return mBe(vBe({onKeyDown:X(hBe(i,G)),onFocus:X(hBe(o,U)),onBlur:X(hBe(a,q)),onClick:Z(hBe(s,W)),onDragEnter:J(hBe(l,V)),onDragOver:J(hBe(u,Y)),onDragLeave:J(hBe(c,K)),onDrop:J(hBe(d,$))},n,P),r||E?{}:{tabIndex:0},{},h)}}),[P,G,U,q,W,V,Y,K,$,E,S,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=yBe(e,["refKey","onChange","onClick"]),s=vBe({accept:t,multiple:h,type:"file",style:{display:"none"},onChange:Z(hBe(r,$)),onClick:Z(hBe(o,ne)),autoComplete:"off",tabIndex:-1},i,T);return mBe({},s,{},a)}}),[T,t,h,$,r]),re=N.length,oe=h||re<=1,ae=re>0&&oBe(N,t,c,l),se=re>0&&(!ae||!oe);return mBe({},I,{isDragAccept:ae,isDragReject:se,isFocused:j&&!r,getRootProps:te,getInputProps:ie,rootRef:P,inputRef:T,open:Z(z)})}function kBe(e,t){switch(t.type){case"focus":return mBe({},e,{isFocused:!0});case"blur":return mBe({},e,{isFocused:!1});case"openDialog":return mBe({},e,{isFileDialogActive:!0});case"closeDialog":return mBe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return mBe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return mBe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return mBe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var xBe={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()}(xBe);var FBe,EBe=xBe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(FBe||(FBe={}));var CBe={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,h=void 0!==d&&d,f=e.className,p=e.findChunks,g=e.highlightClassName,m=void 0===g?"":g,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,_=void 0===b?"mark":b,w=e.sanitize,k=e.searchWords,x=e.textToHighlight,F=e.unhighlightClassName,E=void 0===F?"":F,C=e.unhighlightStyle,S=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"]),O=(0,o.findAll)({autoEscape:c,caseSensitive:h,findChunks:p,sanitize:w,searchWords:k,textToHighlight:x}),D=_,P=-1,T="",A=void 0,L=(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:f},S,{children:O.map((function(e,t){var i=x.substr(e.start,e.end-e.start);if(e.highlight){P++;var r=void 0;r="object"==typeof m?h?m[i]:(m=L(m))[i.toLowerCase()]:m;var o=P===+a;T=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:T,key:t,style:A};return"string"!=typeof D&&(l.highlightIndex=P),(0,s.createElement)(D,l)}return(0,s.createElement)("span",{children:i,className:E,key:t,style:C})}))}))}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}),[])},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 h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);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 p(e,t){this.fun=e,this.array=t}function g(){}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 p(e,t)),1!==u.length||c||s(f)},p.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=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,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:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:p(i.thatReturnsNull),arrayOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("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:p((function(t,n,i,r,o){var a=t[n];return e(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("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:p((function(e,t,n,i,r){return m(e[t])?null:new f("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new f("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 p((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(h(a,e[s]))return null;return new f("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 p((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 f("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return p((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new f("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 p((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new f("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var h=e[d];if(!h)return new f("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=h(l,d,i,r,o+"."+d,s);if(p)return p}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function p(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,d,h,p,g,m){if(h=h||c,g=g||d,m!==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=h+":"+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.",g,h),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new f("The "+p+" `"+g+"` is marked as required in `"+h+"`, but its value is `null`."):new f("The "+p+" `"+g+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:e(u,d,h,p,g)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function g(e){return p((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new f("Invalid "+r+" `"+o+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function m(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(m);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(!m(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!m(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 f.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 h=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=h?h:"")}}}}).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=m.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}}])}(CBe);var SBe=E(CBe.exports),OBe={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:K(e)}function o(e){return a(e)&&!u(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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__@@",h="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function F(){}function E(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 C(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function O(){return!0}function D(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return A(e,t,0)}function T(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 L=0,I=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",N=j||R;function z(e){this.next=e}function B(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 G(){return{value:void 0,done:!0}}function U(e){return!!H(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(j&&e[j]||e[R]);if("function"==typeof t)return t}function Q(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function K(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=L,z.VALUES=I,z.ENTRIES=M,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[N]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(K,V),K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(e,t){return de(this,e,t,!1)},K.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t($,V),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=$,V.Indexed=K;var Z,X,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():q(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 Q(e)?new te(e):q(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 he(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):ge(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return pe(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?K(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(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,h=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===h}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(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(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 ke(){throw TypeError("Abstract")}function xe(){}function Fe(){}function Ee(){}V.prototype[ee]=!0,t(te,K),te.prototype.get=function(e,t){return this.has(e)?this._array[S(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 z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),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 z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,K),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),i=0;if(q(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=W(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,K),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 z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,K),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 D(e,t,n)?this:new be(this._value,T(t,n)-P(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 z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,K),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return D(e,t,this.size)?this:(e=P(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(xe,ke),t(Fe,ke),t(Ee,ke),ke.Keyed=xe,ke.Indexed=Fe,ke.Set=Ee;var Ce="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 Se(e){return e>>>1&1073741824|3221225471&e}function Oe(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 Se(n)}if("string"===t)return e.length>ze?De(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function De(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Ne]))return t;if(!Le){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ne]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),je)Me.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Ne,{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[Ne]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ne]=t}}return t}var Ae=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Re=0,Ne="__immutablehash__";"function"==typeof Symbol&&(Ne=Symbol(Ne));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?rt():He(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ve])}t(We,xe),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},We.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()},We.prototype.merge=function(){return ht(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},We.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]}))},We.prototype.mergeDeep=function(){return ht(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,pt(t),n)},We.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]}))},We.prototype.sort=function(e){return Ut(dn(this,e))},We.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.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},We.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)},We.isMap=He;var Qe,Ve="@@__IMMUTABLE_MAP__@@",Ye=We.prototype;function Ke(e,t){this.ownerID=e,this.entries=t}function $e(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 Xe(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 B(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(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Qe||(Qe=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(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 Ke(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===Xe}function lt(e,t,n,i,r){if(e.keyHash===i)return new Xe(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 $e(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new F);for(var r=new Je(e,Oe(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 $e(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 ht(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return gt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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 gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).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 mt(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}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(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:E(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 _t(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}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,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){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>=wt)return ut(e,l,i,r);var h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Ke(e,f)}},$e.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(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+m,t,n,i)},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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),h=this.nodes,f=c?h[d]:void 0,p=at(f,e,t+m,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=kt)return dt(e,h,u,s,p);if(c&&!p&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&st(p))return p;var g=e&&e===this.ownerID,v=c?p?u:u^l:u|l,_=c?p?yt(h,d,p,g):_t(h,d,g):bt(h,d,p,g);return g?(this.bitmap=v,this.nodes=_,this):new $e(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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+m,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<xt)return ct(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=yt(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new Ze(e,h,p)},Xe.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},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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 h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Xe(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===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,Oe(i),[i,r])))},Ke.prototype.iterate=Xe.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},$e.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,z),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 G()};var wt=v/4,kt=v/2,xt=v/4;function Ft(e){var t=It();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?Lt(0,i,m,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(Ft,Fe),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Nt(this,e+=this._origin);return n&&n.array[e&y]}return t},Ft.prototype.set=function(e,t){return Mt(this,e,t)},Ft.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ft.prototype.insert=function(e,t){return this.splice(e,0,t)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},Ft.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Ft.prototype.pop=function(){return zt(this,0,-1)},Ft.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},Ft.prototype.shift=function(){return zt(this,1)},Ft.prototype.merge=function(){return Bt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Bt(this,ft,arguments)},Ft.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,pt(t),n)},Ft.prototype.setSize=function(e){return zt(this,0,e)},Ft.prototype.slice=function(e,t){var n=this.size;return D(e,t,n)?this:zt(this,P(e,n),T(t,n))},Ft.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Ft.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Ft.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ft.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=Ft.prototype;function Ot(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Ot.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 Ot([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ot.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-m,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Dt,Pt,Tt={};function At(e,t){var n=e._origin,i=e._capacity,r=Gt(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 Tt;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!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function Lt(e,t,n,i,r,o,a){var s=Object.create(St);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 It(){return Dt||(Dt=Lt(0,0,m))}function Mt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,r,i):e}function jt(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=jt(u,t,n-m,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Nt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new F,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 Ot(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),h=Gt(s);h>=1<<l+m;)u=new Ot(u&&u.array.length?[u]:[],i),l+=m;var f=e._tail,p=h<d?Nt(e,s-1):h>d?new Ot([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=m,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var _=a>>>l&y;if(_!==h>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,l,u,p)}function Bt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Ht():qt(e)?e:Ht().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return He(e)&&c(e)}function Wt(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 Ht(){return Pt||(Pt=Wt(rt(),It()))}function Qt(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Wt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function $t(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=_n,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===M){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===I?L:I,n)},t}function Xt(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(M,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(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=_n,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(M,o),s=0;return new z((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 B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=We().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():We()).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 gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),D(t,n,r))return e;var o=P(t,r),a=T(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=S(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 z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===I?e:B(t,l-1,t===L?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(M,r),s=!0;return new z((function(){if(!s)return G();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===M?e:B(i,l,u,e):(s=!1,G())}))},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(M,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===I?e:B(r,u++,r===L?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===M?e:B(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 z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===M&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},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(I,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?K(o):$(o)}function hn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(I,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),W(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?K:$).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=W(e);if(!t){if(!Q(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(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);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=We(o)},r=i.prototype=Object.create(Fn);return r.constructor=i,i}t(Ut,We),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):Ht()},Ut.prototype.set=function(e,t){return Qt(this,e,t)},Ut.prototype.remove=function(e){return Qt(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?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[p]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Xt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[p]=!0,t(Yt,K),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Kt,$),Kt.prototype.has=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$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){mn(t);var i=a(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(I,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Kt.prototype.cacheResult=$t.prototype.cacheResult=_n,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Cn(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=En(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(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:En(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?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var Fn=xn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Dn(e){return null==e?jn():Pn(e)&&!c(e)?e:jn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[An])}Fn[g]=Fn.remove,Fn.deleteIn=Fn.removeIn=Ye.removeIn,Fn.merge=Ye.merge,Fn.mergeWith=Ye.mergeWith,Fn.mergeIn=Ye.mergeIn,Fn.mergeDeep=Ye.mergeDeep,Fn.mergeDeepWith=Ye.mergeDeepWith,Fn.mergeDeepIn=Ye.mergeDeepIn,Fn.setIn=Ye.setIn,Fn.update=Ye.update,Fn.updateIn=Ye.updateIn,Fn.withMutations=Ye.withMutations,Fn.asMutable=Ye.asMutable,Fn.asImmutable=Ye.asImmutable,t(Dn,Ee),Dn.of=function(){return this(arguments)},Dn.fromKeys=function(e){return this(i(e).keySeq())},Dn.prototype.toString=function(){return this.__toString("Set {","}")},Dn.prototype.has=function(e){return this._map.has(e)},Dn.prototype.add=function(e){return In(this,this._map.set(e,!0))},Dn.prototype.remove=function(e){return In(this,this._map.remove(e))},Dn.prototype.clear=function(){return In(this,this._map.clear())},Dn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).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])},Dn.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)}))}))},Dn.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)}))}))},Dn.prototype.merge=function(){return this.union.apply(this,arguments)},Dn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Dn.prototype.sort=function(e){return Rn(dn(this,e))},Dn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Dn.prototype.wasAltered=function(){return this._map.wasAltered()},Dn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Dn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Dn.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)},Dn.isSet=Pn;var Tn,An="@@__IMMUTABLE_SET__@@",Ln=Dn.prototype;function In(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 Mn(e,t){var n=Object.create(Ln);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Tn||(Tn=Mn(rt()))}function Rn(e){return null==e?Un():Nn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return Pn(e)&&c(e)}Ln[An]=!0,Ln[g]=Ln.remove,Ln.mergeDeep=Ln.merge,Ln.mergeDeepWith=Ln.mergeWith,Ln.withMutations=Ye.withMutations,Ln.asMutable=Ye.asMutable,Ln.asImmutable=Ye.asImmutable,Ln.__empty=jn,Ln.__make=Mn,t(Rn,Dn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Nn;var zn,Bn=Rn.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Ht()))}function qn(e){return null==e?Kn():Wn(e)?e:Kn().unshiftAll(e)}function Wn(e){return!(!e||!e[Qn])}Bn[p]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,Fe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.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):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(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):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.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):Kn()},qn.prototype.slice=function(e,t){if(D(e,t,this.size))return this;var n=P(e,this.size);if(T(t,this.size)!==this.size)return Fe.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):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.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},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Wn;var Hn,Qn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Kn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Qn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Dn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Kt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return Ft(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 gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){qe(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 gn(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 qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(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(L)},map:function(e,t){return gn(this,Xt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(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 gn(this,Jt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(I)},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 C(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(O)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new $t(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=kn(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 hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):oi)},minBy:function(e,t){return hn(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 gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[N]=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){}}(),$n(i,{flip:function(){return gn(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 gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Xn=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 E(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;return si(e.__iterate(n?t?function(e,t){i=31*i+li(Oe(e),Oe(t))|0}:function(e,t){i=i+li(Oe(e),Oe(t))|0}:t?function(e){i=31*i+Oe(e)|0}:function(e){i=i+Oe(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[h]=!0,Xn[N]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},$n(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Jt(this,!1))},slice:function(e,t){return gn(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=P(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=pn(this.toSeq(),K.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,pn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,$n(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,$n(Y,i.prototype),$n(K,r.prototype),$n($,o.prototype),$n(xe,i.prototype),$n(Fe,r.prototype),$n(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:We,OrderedMap:Ut,List:Ft,Stack:qn,Set:Dn,OrderedSet:Rn,Record:xn,Range:we,Repeat:be,is:ve,fromJS:fe}}()}(OBe);var DBe=OBe.exports.OrderedMap,PBe={createFromArray:function(e){return DBe(e.map((function(e){return[e.getKey(),e]})))}},TBe=PBe;var ABe=OBe.exports,LBe=ABe.Map,IBe=ABe.OrderedSet,MBe=ABe.Record,jBe=IBe(),RBe={style:jBe,entity:null},NBe=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 zBe;var t=LBe({style:jBe,entity:null}).merge(e),n=BBe.get(t);if(n)return n;var r=new i(t);return BBe=BBe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?IBe(t):t,entity:Array.isArray(n)?IBe(n):n})},i}(MBe(RBe)),zBe=new NBe,BBe=LBe([[LBe(RBe),zBe]]);NBe.EMPTY=zBe;var GBe=NBe;var UBe=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 qBe=GBe,WBe=UBe,HBe=OBe.exports,QBe=HBe.List,VBe=HBe.Map,YBe=HBe.OrderedSet,KBe=HBe.Record,$Be=HBe.Repeat,ZBe=YBe(),XBe=KBe({key:"",type:"unstyled",text:"",characterList:QBe(),depth:0,data:VBe()}),JBe=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=QBe($Be(qBe.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():ZBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){WBe(this.getCharacterList(),eGe,e,t)},r.findEntityRanges=function(e,t){WBe(this.getCharacterList(),tGe,e,t)},i}(XBe);function eGe(e,t){return e.getStyle()===t.getStyle()}function tGe(e,t){return e.getEntity()===t.getEntity()}var nGe=JBe;var iGe=GBe,rGe=UBe,oGe=OBe.exports,aGe=oGe.List,sGe=oGe.Map,lGe=oGe.OrderedSet,uGe=oGe.Record,cGe=oGe.Repeat,dGe=lGe(),hGe={parent:null,characterList:aGe(),data:sGe(),depth:0,key:"",text:"",type:"unstyled",children:aGe(),prevSibling:null,nextSibling:null},fGe=function(e,t){return e.getStyle()===t.getStyle()},pGe=function(e,t){return e.getEntity()===t.getEntity()},gGe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=aGe(cGe(iGe.EMPTY,n.length))),e},mGe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hGe;return e.call(this,gGe(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():dGe},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){rGe(this.getCharacterList(),fGe,e,t)},r.findEntityRanges=function(e,t){rGe(this.getCharacterList(),pGe,e,t)},i}(uGe(hGe)),vGe=mGe,yGe=GBe,bGe=OBe.exports.Map;function _Ge(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(bGe([[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?yGe.applyStyle(c,n):yGe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var wGe={add:function(e,t,n){return _Ge(e,t,n,!0)},remove:function(e,t,n){return _Ge(e,t,n,!1)}},kGe=GBe;var xGe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,kGe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},FGe=OBe.exports;var EGe=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(FGe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return xGe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},CGe={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,h=l===i,f=u===d;return(!h&&f||h&&!f)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},SGe="production"!==ma.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var OGe=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(SGe(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}},DGe=OGe;var PGe=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"!==ma.env.NODE_ENV?DGe(!1,"Entity key not found in this range."):DGe(!1)),n},TGe=CGe,AGe=PGe,LGe=OGe;function IGe(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=AGe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ma.env.NODE_ENV?LGe(!1,"There should only be one entity range within this removal range."):LGe(!1));var h=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1});o||(a?l=h.end:s=h.start);var f=TGe.getRemovalRange(s,l,t.getText().slice(h.start,h.end),h.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var MGe=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=IGe(e,t,u,r,s,!0,!0);else if(s&&l){var c=IGe(e,t,u,r,s,!1,!0),d=IGe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var h=IGe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(l){var f=IGe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},jGe={},RGe=Math.pow(2,24);var NGe=function(){for(var e;void 0===e||jGe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*RGe).toString(32);return jGe[e]=!0,e},zGe=vGe,BGe=NGe,GGe=OBe.exports.OrderedMap,UGe=function(e){return e.first()instanceof zGe?function(e){var t,n={};return GGe(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=BGe();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 GGe(e.toArray().map((function(e){var t=BGe();return[t,e.set("key",t)]})))}(e)},qGe=GBe,WGe=UBe,HGe=OGe;function QGe(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 WGe(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"!==ma.env.NODE_ENV?HGe(!1,"Removal range must exist within character list."):HGe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,qGe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var VGe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=QGe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var h=QGe(i,d,c);return h!==d&&(r[u]=h),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},YGe=UGe,KGe=VGe,$Ge=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=KGe(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return YGe(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 ZGe=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},XGe=TBe,JGe=vGe,eUe=ZGe,tUe=OGe,nUe=UGe,iUe=OBe.exports.List,rUe=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,h=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":h=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var p=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:eUe(u,i.getCharacterList(),o),type:f,data:h});return e.merge({blockMap:n.set(r,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},oUe=function(e,t,n,i,r,o){var a=n.first()instanceof JGe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),h=d.getLength(),f=d.getKey(),p=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(p?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(p?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 g=XGe.createFromArray(s);return a&&(g=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,h=c.toArray();h.splice.apply(h,[d,0].concat(l)),t.setIn([s,"children"],iUe(h))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:h,focusKey:f,focusOffset:h,isBackward:!1})})},aUe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ma.env.NODE_ENV?tUe(!1,"`insertFragment` should only be called with a collapsed selection state."):tUe(!1));var r=e.getBlockMap(),o=nUe(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof JGe&&(l.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?tUe(!1,"`insertFragment` should not be called when a container node is selected."):tUe(!1))),1===o.size?rUe(e,t,r,o.first(),a,s,i):oUe(e,t,r,o,a,s)},sUe=ZGe,lUe=OGe,uUe=OBe.exports.Repeat;var cUe=function(e,t,n,i){t.isCollapsed()||("production"!==ma.env.NODE_ENV?lUe(!1,"`insertText` should only be called with a collapsed range."):lUe(!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:sUe(l.getCharacterList(),uUe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},dUe=OBe.exports.Map;var hUe=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(dUe([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},fUe=vGe,pUe=function(e,t){if(!(e instanceof fUe))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},gUe=vGe,mUe=pUe,vUe=OBe.exports;vUe.List;var yUe=vUe.Map,bUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},_Ue=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},wUe=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},kUe=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},xUe=function(e,t,n,i){return e.withMutations((function(r){if(bUe(t.getKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})})),bUe(n.getKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})})),_Ue(t.getKey(),i).forEach((function(e){return bUe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),bUe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),bUe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i)})})),bUe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:kUe(e,r,i)})})),bUe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),_Ue(n.getKey(),i).forEach((function(e){bUe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=mUe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?mUe(r,t):null}return n}(n,i).forEach((function(e){return bUe(e,r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();bUe(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),bUe(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){bUe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);bUe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}bUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},FUe=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},EUe=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 gUe,d=[];if(c){var h=u.getChildKeys(),f=_Ue(a,i);u.getNextSiblingKey()&&(d=d.concat(f)),h.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(_Ue(mUe(u,i),i))}n=l===u?FUe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var p=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),g=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?yUe([[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(yUe([[a,null]])).map((function(e,t){return t===r?p:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=xUe(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},CUe=vGe,SUe=NGe,OUe=OBe.exports,DUe=OGe,PUe=hUe,TUe=OUe.List,AUe=OUe.Map,LUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},IUe=function(e,t){t.isCollapsed()||("production"!==ma.env.NODE_ENV?DUe(!1,"Selection range must be collapsed."):DUe(!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 PUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=SUe(),c=r instanceof CUe,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),h=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:AUe()}),f=i.toSeq().takeUntil((function(e){return e===r})),p=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=f.concat([[n,d],[u,h]],p).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?DUe(!1,"ContentBlockNode must not have children"):DUe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();LUe(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:TUe(o)})})),LUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),LUe(i,e,(function(e){return e.merge({nextSibling:r})})),LUe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,h)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},MUe=GBe,jUe=wGe,RUe=EGe,NUe=MGe,zUe=$Ge,BUe=aUe,GUe=cUe,UUe=OGe,qUe=hUe,WUe=VGe,HUe=EUe,QUe=IUe,VUe=OBe.exports.OrderedSet,YUe={replaceText:function(e,t,n,i,r){var o=WUe(e,t),a=HUe(o,t),s=MUe.create({style:i||VUe(),entity:r||null});return GUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ma.env.NODE_ENV?UUe(!1,"Target range must be collapsed for `insertText`."):UUe(!1)),YUe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=zUe(e,t),r=YUe.removeRange(e,t,"backward");return YUe.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=WUe(e,t),o=HUe(r,t);return BUe(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=NUe(e.getEntityMap(),o,a,t,n);return HUe(e,d)}var h=WUe(e,t);return HUe(h,t)},splitBlock:function(e,t){var n=WUe(e,t),i=HUe(n,t);return QUe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return jUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return jUe.remove(e,t,n)},setBlockType:function(e,t,n){return qUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return qUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return qUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=WUe(e,t);return RUe(i,t,n)}},KUe=YUe;var $Ue=function(e){return Object.keys(e).map((function(t){return e[t]}))};function ZUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XUe=UBe,JUe=$Ue,eqe=OBe.exports,tqe=eqe.List,nqe=eqe.Repeat,iqe=eqe.Record,rqe=function(){return!0},oqe=iqe({start:null,end:null}),aqe=iqe({start:null,end:null,decoratorKey:null,leaves:null}),sqe={generate:function(e,t,n){var i=t.getLength();if(!i)return tqe.of(new aqe({start:0,end:0,decoratorKey:null,leaves:tqe.of(new oqe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):tqe(nqe(null,i)),a=t.getCharacterList();return XUe(o,uqe,rqe,(function(e,t){r.push(new aqe({start:e,end:t,decoratorKey:o.get(e),leaves:lqe(a.slice(e,t).toList(),e)}))})),tqe(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 aqe(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){ZUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?tqe(Array.isArray(t)?t:JUe(t)).map((function(e){return oqe(e)})):null}))}};function lqe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return XUe(i,uqe,rqe,(function(e,i){n.push(new oqe({start:e+t,end:i+t}))})),tqe(n)}function uqe(e,t){return e===t}var cqe=sqe;var dqe=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,OBe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),hqe=dqe;var fqe=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 pqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gqe=hqe,mqe=OGe,vqe=fqe,yqe=(0,OBe.exports.Map)(),bqe=vqe();function _qe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var wqe={getLastCreatedEntityKey:function(){return _qe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),wqe.__getLastCreatedEntityKey()},create:function(e,t,n){return _qe("DraftEntity.create","contentState.createEntity"),wqe.__create(e,t,n)},add:function(e){return _qe("DraftEntity.add","contentState.addEntity"),wqe.__add(e)},get:function(e){return _qe("DraftEntity.get","contentState.getEntity"),wqe.__get(e)},__getAll:function(){return yqe},__loadWithEntities:function(e){yqe=e,bqe=vqe()},mergeData:function(e,t){return _qe("DraftEntity.mergeData","contentState.mergeEntityData"),wqe.__mergeData(e,t)},replaceData:function(e,t){return _qe("DraftEntity.replaceData","contentState.replaceEntityData"),wqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return bqe},__create:function(e,t,n){return wqe.__add(new gqe({type:e,mutability:t,data:n||{}}))},__add:function(e){return bqe=vqe(),yqe=yqe.set(bqe,e),bqe},__get:function(e){var t=yqe.get(e);return t||("production"!==ma.env.NODE_ENV?mqe(!1,"Unknown DraftEntity key: %s.",e):mqe(!1)),t},__mergeData:function(e,t){var n=wqe.__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){pqe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return yqe=yqe.set(e,r),r},__replaceData:function(e,t){var n=wqe.__get(e).set("data",t);return yqe=yqe.set(e,n),n}},kqe=wqe;var xqe=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,OBe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Fqe=xqe,Eqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Cqe=new RegExp("\r","g");var Sqe=function(e){return e.replace(Cqe,"")};function Oqe(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){Dqe(e,t,n[t])}))}return e}function Dqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pqe=TBe,Tqe=GBe,Aqe=nGe,Lqe=vGe,Iqe=kqe,Mqe=Fqe,jqe=NGe,Rqe=$Ue,Nqe=Eqe,zqe=OBe.exports,Bqe=Sqe,Gqe=zqe.List,Uqe=zqe.Record,qqe=zqe.Repeat,Wqe=zqe.Map,Hqe=zqe.OrderedMap,Qqe=Uqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Vqe=Nqe("draft_tree_data_support")?Lqe:Aqe,Yqe=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 Iqe},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 Iqe.__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 Iqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Iqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Iqe.__replaceData(e,t),this},r.addEntity=function(e){return Iqe.__add(e),this},r.getEntity=function(e){return Iqe.__get(e)},r.getAllEntities=function(){return Iqe.__getAll()},r.loadWithEntities=function(e){return Iqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=Pqe.createFromArray(n),o=r.isEmpty()?new Mqe:Mqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Iqe,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=Bqe(e),new Vqe({key:jqe(),text:e,type:"unstyled",characterList:Gqe(qqe(Tqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(Oqe({},e,{blockMap:Hqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Mqe(e.selectionBefore),selectionAfter:new Mqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new Vqe(Oqe({},e,{data:Wqe(e.data),characterList:null!=t?Gqe((Array.isArray(t)?t:Rqe(t)).map((function(e){return Tqe.fromJS(e)}))):void 0}))},i}(Qqe),Kqe=Yqe,$qe=OGe,Zqe="LTR",Xqe=null;function Jqe(e){return e===Zqe||"RTL"===e}function eWe(e){return Jqe(e)||("production"!==ma.env.NODE_ENV?$qe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),e===Zqe?"ltr":"rtl"}function tWe(e){Xqe=e}var nWe={NEUTRAL:"NEUTRAL",LTR:Zqe,RTL:"RTL",isStrong:Jqe,getHTMLDir:eWe,getHTMLDirIfDifferent:function(e,t){return Jqe(e)||("production"!==ma.env.NODE_ENV?$qe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),Jqe(t)||("production"!==ma.env.NODE_ENV?$qe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),e===t?null:eWe(e)},setGlobalDir:tWe,initGlobalDir:function(){tWe(Zqe)},getGlobalDir:function(){return Xqe||this.initGlobalDir(),Xqe||("production"!==ma.env.NODE_ENV?$qe(!1,"Global direction not set."):$qe(!1)),Xqe}},iWe=nWe,rWe=OGe,oWe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",aWe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",sWe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+oWe+aWe+"]"),lWe=new RegExp("["+oWe+aWe+"]");function uWe(e){var t=sWe.exec(e);return null==t?null:t[0]}function cWe(e){var t=uWe(e);return null==t?iWe.NEUTRAL:lWe.exec(t)?iWe.RTL:iWe.LTR}function dWe(e,t){if(t=t||iWe.NEUTRAL,!e.length)return t;var n=cWe(e);return n===iWe.NEUTRAL?t:n}function hWe(e,t){return t||(t=iWe.getGlobalDir()),iWe.isStrong(t)||("production"!==ma.env.NODE_ENV?rWe(!1,"Fallback direction must be a strong direction"):rWe(!1)),dWe(e,t)}var fWe={firstStrongChar:uWe,firstStrongCharDir:cWe,resolveBlockDir:dWe,getDirection:hWe,isDirectionLTR:function(e,t){return hWe(e,t)===iWe.LTR},isDirectionRTL:function(e,t){return hWe(e,t)===iWe.RTL}};function pWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gWe,mWe=fWe,vWe=nWe,yWe=OGe,bWe=function(){function e(e){pWe(this,"_defaultDir",void 0),pWe(this,"_lastDir",void 0),e?vWe.isStrong(e)||("production"!==ma.env.NODE_ENV?yWe(!1,"Default direction must be a strong direction (LTR or RTL)"):yWe(!1)):e=vWe.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=mWe.getDirection(e,this._lastDir),this._lastDir},e}(),_We=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},wWe=bWe,kWe=OBe.exports,xWe=_We,FWe=kWe.OrderedMap,EWe={getDirectionMap:function(e,t){gWe?gWe.reset():gWe=new wWe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return xWe(gWe).getDirection(e.getText())})),r=FWe(n.keySeq().zip(i));return null!=t&&kWe.is(t,r)?t:r}};function CWe(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){SWe(e,t,n[t])}))}return e}function SWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OWe=cqe,DWe=Kqe,PWe=EWe,TWe=Fqe,AWe=OBe.exports,LWe=AWe.OrderedSet,IWe=AWe.Record,MWe=AWe.Stack,jWe=AWe.OrderedMap,RWe=AWe.List,NWe=IWe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:MWe(),selection:null,treeMap:null,undoStack:MWe()}),zWe=function(){t.createEmpty=function(e){return t.createWithContent(DWe.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:MWe(),redoStack:MWe(),decorator:n||null,selection:TWe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=CWe({},e,{treeMap:GWe(n,e.decorator),directionMap:PWe.getDirectionMap(n)});return new t(new NWe(i))},t.fromJS=function(e){return new t(new NWe(CWe({},e,{directionMap:null!=e.directionMap?jWe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?LWe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?DWe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?MWe(e.redoStack.map((function(e){return DWe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new TWe(e.selection):e.selection,treeMap:null!=e.treeMap?jWe(e.treeMap).map((function(e){return RWe(e).map((function(e){return OWe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?MWe(e.undoStack.map((function(e){return DWe.fromJS(e)}))):e.undoStack,currentContent:DWe.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 OWe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):GWe(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 OWe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){SWe(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 qWe(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 qWe(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 BWe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),BWe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new TWe({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=PWe.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()||UWe(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 h={currentContent:u,directionMap:o,undoStack:l,redoStack:MWe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,h)},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=PWe.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=PWe.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 BWe(e,t,n){return zWe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function GWe(e,t){return e.getBlockMap().map((function(n){return OWe.generate(e,n,t)})).toOrderedMap()}function UWe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function qWe(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):LWe()}var WWe=zWe,HWe=vGe,QWe=pUe,VWe=OBe.exports,YWe=OGe,KWe=VWe.OrderedMap,$We=VWe.List,ZWe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},XWe=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(),h=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){ZWe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),ZWe(c,e,(function(e){return e.merge({nextSibling:u})})),ZWe(u,e,(function(e){return e.merge({prevSibling:c})})),ZWe(h,e,(function(e){return e.merge({prevSibling:a})})),ZWe(f,e,(function(e){return e.merge({nextSibling:a})})),ZWe(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:$We(r)})})),ZWe(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:f,parent:d})}))}))},JWe=function(e,t,n,i){"replace"===i&&("production"!==ma.env.NODE_ENV?YWe(!1,"Replacing blocks is not supported."):YWe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1));var a=e.getBlockMap(),s=t instanceof HWe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=QWe(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),h=l.map((function(e){return[e.getKey(),e]})),f=KWe();if("before"===i){var p=e.getBlockBefore(r);p&&p.getKey()===t.getKey()&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1)),f=c.concat([].concat(h,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===o&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1)),f=c.concat([[r,n]].concat(h),d).toOrderedMap()}return e.merge({blockMap:XWe(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function eHe(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){tHe(e,t,n[t])}))}return e}function tHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nHe=TBe,iHe=GBe,rHe=nGe,oHe=vGe,aHe=KUe,sHe=WWe,lHe=NGe,uHe=OBe.exports,cHe=JWe,dHe=Eqe("draft_tree_data_support"),hHe=dHe?oHe:rHe,fHe=uHe.List,pHe=uHe.Repeat,gHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=aHe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=aHe.splitBlock(o,a),l=s.getSelectionAfter(),u=aHe.setBlockType(s,l,"atomic"),c=iHe.create({entity:t}),d={key:lHe(),type:"atomic",text:n,characterList:fHe(pHe(c,n.length))},h={key:lHe(),type:"unstyled"};dHe&&(d=eHe({},d,{nextSibling:h.key}),h=eHe({},h,{prevSibling:d.key}));var f=[new hHe(d),new hHe(h)],p=nHe.createFromArray(f),g=aHe.replaceWithFragment(u,l,p),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return sHe.push(e,m,"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=cHe(o,t,s,i)}else{var l=aHe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=cHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=cHe(l,t,c,"after");else{var d=aHe.splitBlock(l,u),h=d.getSelectionAfter(),f=d.getBlockForKey(h.getFocusKey());r=cHe(d,t,f,"before")}}var p=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return sHe.push(e,p,"move-block")}};var mHe=OBe.exports.List,vHe=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)})),mHe(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 yHe=vHe;function bHe(e){return e.replace(/\//g,"-")}var _He=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(bHe).join(" "):Array.prototype.map.call(arguments,bHe).join(" ")},wHe=m.default,kHe=_He,xHe=(0,OBe.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:wHe.createElement("ul",{className:kHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:wHe.createElement("ol",{className:kHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:wHe.createElement("pre",{className:kHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),FHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},EHe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",h="version",f="architecture",p="console",g="mobile",m="tablet",v="smarttv",y="wearable",b="embedded",_="Amazon",w="Apple",k="ASUS",x="BlackBerry",F="Firefox",E="Google",C="Huawei",S="LG",O="Microsoft",D="Motorola",P="Opera",T="Samsung",A="Sony",L="Xiaomi",I="Zebra",M="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==N(t).indexOf(N(e))},N=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var h=t[d],f=t[d+1];for(n=o=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[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}},G=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(R(t[n][r],e))return"?"===n?i:n}else if(R(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"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,P]],[/(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,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[h,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[u,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,M],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,G,{"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,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[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,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,N]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",N]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,N]]],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,T],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,T],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\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,L],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,L],[c,m]],[/; (\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,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\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,D],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,D],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,E],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,E],[c,g]],[/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,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,_],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,_],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,k],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,k],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(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,g]],[/(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,m]],[/(surface duo)/i],[l,[d,O],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,O],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,I],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,I],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,p]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,p]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,O],[c,p]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,T],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,E],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,_],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[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,E],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,I],[c,y]],[/(quest( 2)?)/i],[l,[d,M],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[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,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[h,G,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[h,G,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],h],[/(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,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,h]]},W=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof W))return new W(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}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.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,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.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?z(e,255):e,this},this.setUA(r),this};W.VERSION="0.7.31",W.BROWSER=j([u,h,"major"]),W.CPU=j([f]),W.DEVICE=j([l,d,c,p,g,v,m,y,b]),W.ENGINE=W.OS=j([u,h]),e.exports&&(t=e.exports=W),t.UAParser=W;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var Q=new W;H.ua=Q.getResult(),H.ua.get=function(){return Q.getUA()},H.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:F)}(EHe,EHe.exports);var CHe="Unknown",SHe={"Mac OS":"Mac OS X"};var OHe=(new(0,EHe.exports)).getResult(),DHe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(OHe.browser.version),PHe={browserArchitecture:OHe.cpu.architecture||CHe,browserFullVersion:OHe.browser.version||CHe,browserMinorVersion:DHe.minor||CHe,browserName:OHe.browser.name||CHe,browserVersion:OHe.browser.major||CHe,deviceName:OHe.device.model||CHe,engineName:OHe.engine.name||CHe,engineVersion:OHe.engine.version||CHe,platformArchitecture:OHe.cpu.architecture||CHe,platformName:function(e){return SHe[e]||e}(OHe.os.name)||CHe,platformVersion:OHe.os.version||CHe,platformFullVersion:OHe.os.version||CHe},THe=PHe,AHe=OGe,LHe=/\./,IHe=/\|\|/,MHe=/\s+\-\s+/,jHe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,RHe=/^(\d*)(.*)/;function NHe(e,t){var n=e.split(IHe);return n.length>1?n.some((function(e){return KHe.contains(e,t)})):function(e,t){var n=e.split(MHe);if(n.length>0&&n.length<=2||("production"!==ma.env.NODE_ENV?AHe(!1,'the "-" operator expects exactly 2 operands'):AHe(!1)),1===n.length)return zHe(n[0],t);var i=n[0],r=n[1];return WHe(i)&&WHe(r)||("production"!==ma.env.NODE_ENV?AHe(!1,'operands to the "-" operator must be simple (no modifiers)'):AHe(!1)),zHe(">="+i,t)&&zHe("<="+r,t)}(e=n[0].trim(),t)}function zHe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(LHe),i=UHe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return BHe(n,o);case"<=":return function(e,t){var n=YHe(e,t);return-1===n||0===n}(n,o);case">=":return GHe(n,o);case">":return function(e,t){return 1===YHe(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);qHe(o)&&(i[r]=o+1+"");return GHe(e,n)&&BHe(e,i)}(n,o);default:return function(e,t){return 0===YHe(e,t)}(n,o)}}function BHe(e,t){return-1===YHe(e,t)}function GHe(e,t){var n=YHe(e,t);return 1===n||0===n}function UHe(e){var t=e.split(LHe),n=t[0].match(jHe);return n||("production"!==ma.env.NODE_ENV?AHe(!1,"expected regex to match but it did not"):AHe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function qHe(e){return!isNaN(e)&&isFinite(e)}function WHe(e){return!UHe(e).modifier}function HHe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function QHe(e,t){var n=e.match(RHe)[1],i=t.match(RHe)[1],r=parseInt(n,10),o=parseInt(i,10);return qHe(r)&&qHe(o)&&r!==o?VHe(r,o):VHe(e,t)}function VHe(e,t){return typeof e!=typeof t&&("production"!==ma.env.NODE_ENV?AHe(!1,'"a" and "b" must be of the same type'):AHe(!1)),e>t?1:e<t?-1:0}function YHe(e,t){for(var n=function(e,t){HHe(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 HHe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=QHe(i[o],r[o]);if(a)return a}return 0}var KHe={contains:function(e,t){return NHe(e.trim(),t.trim())}},$He=KHe,ZHe=Object.prototype.hasOwnProperty;var XHe=function(e,t,n){if(!e)return null;var i={};for(var r in e)ZHe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var JHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},eQe=THe,tQe=$He;function nQe(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,tQe.contains(r,t))}function iQe(e){return"Windows"===eQe.platformName?e.replace(/^\s*NT/,""):e}var rQe=XHe({isBrowser:function(e){return nQe(eQe.browserName,eQe.browserFullVersion,e)},isBrowserArchitecture:function(e){return nQe(eQe.browserArchitecture,null,e)},isDevice:function(e){return nQe(eQe.deviceName,null,e)},isEngine:function(e){return nQe(eQe.engineName,eQe.engineVersion,e)},isPlatform:function(e){return nQe(eQe.platformName,eQe.platformFullVersion,e,iQe)},isPlatformArchitecture:function(e){return nQe(eQe.platformArchitecture,null,e)}},JHe);var oQe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var aQe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},sQe=aQe;var lQe=function e(t){if(sQe(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},uQe=oQe,cQe=lQe;var dQe=function(e){for(var t=e;t&&t!==uQe(e).documentElement;){var n=cQe(t);if(null!=n)return n;t=t.parentNode}return null};var hQe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function fQe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pQe=rQe,gQe=dQe,mQe=hQe,vQe=OGe,yQe=_We,bQe=OBe.exports.Map,_Qe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},wQe=pQe.isBrowser("IE <= 11"),kQe=function(){function e(e){var t=this;fQe(this,"observer",void 0),fQe(this,"container",void 0),fQe(this,"mutations",void 0),fQe(this,"onCharData",void 0),this.container=e,this.mutations=bQe();var n=mQe(e);n.MutationObserver&&!wQe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ma.env.NODE_ENV?vQe(!1,"Expected target to be an instance of Node"):vQe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,_Qe):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=bQe(),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 wQe?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=yQe(gQe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),xQe="-",FQe={encode:function(e,t,n){return e+xQe+t+xQe+n},decode:function(e){var t=e.split(xQe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(xQe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},EQe={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},CQe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var SQe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},OQe=OGe,DQe=SQe;var PQe=function(e){var t=e.editorContainer;return t||("production"!==ma.env.NODE_ENV?OQe(!1,"Missing editorNode"):OQe(!1)),DQe(t.firstChild)||("production"!==ma.env.NODE_ENV?OQe(!1,"editorNode.firstChild is not an HTMLElement"):OQe(!1)),t.firstChild},TQe=FQe,AQe=_We;var LQe=function(e,t,n,i,r){var o=AQe(e.getSelection());if(!t||!i)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=TQe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=TQe.decode(i),d=c.blockKey,h=e.getBlockTree(d),f=h&&h.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var p=u.get("start"),g=f.get("start"),m=u?p+n:null,v=f?g+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===m&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var _=u.get("end"),w=f.get("end");b=g===p&&w===_?r<n:g<p}else{var k=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=k===d}return o.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},IQe=dQe,MQe=lQe,jQe=LQe,RQe=OGe,NQe=aQe,zQe=_We;function BQe(e,t,n){var i=t,r=IQe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ma.env.NODE_ENV?RQe(!1,"Unknown node in selection range."):RQe(!1)),e===i)&&(i=i.firstChild,NQe(i)||("production"!==ma.env.NODE_ENV?RQe(!1,"Invalid DraftEditorContents node."):RQe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ma.env.NODE_ENV?RQe(!1,"Invalid DraftEditorContents structure."):RQe(!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&&(NQe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||MQe(e.firstChild));)e=e.firstChild;return e}(i);o=zQe(MQe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(MQe(s)){var c=function(e){for(;e.lastChild&&(NQe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||MQe(e.lastChild));)e=e.lastChild;return e}(s);l=zQe(MQe(c)),u=GQe(c)}else l=zQe(r),u=GQe(s);return{key:l,offset:u}}function GQe(e){var t=e.textContent;return"\n"===t?0:t.length}var UQe=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:jQe(e,zQe(IQe(n)),i,zQe(IQe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:zQe(IQe(n)),offset:i},u=BQe(t,r,o)):s?(u={key:zQe(IQe(r)),offset:o},l=BQe(t,n,i)):(l=BQe(t,n,i),u=BQe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:jQe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},qQe=UQe;var WQe=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}:qQe(e,t,i,r,o,a)},HQe=CQe,QQe=WWe,VQe=PQe,YQe=WQe;var KQe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();HQe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=YQe(n,VQe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?QQe.forceSelection(n,r):QQe.acceptSelection(n,r),e.update(n))}};var $Qe={notEmptyKey:function(e){return null!=e&&""!=e}},ZQe=$Qe.notEmptyKey;function XQe(e,t){return ZQe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var JQe=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:XQe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),XQe(e.getEntityMap(),n)},eVe=kQe,tVe=KUe,nVe=FQe,iVe=WWe,rVe=EQe,oVe=PQe,aVe=WQe,sVe=JQe,lVe=_We,uVe=!1,cVe=!1,dVe=null;var hVe={onCompositionStart:function(e){cVe=!0,function(e){dVe||(dVe=new eVe(oVe(e))).start()}(e)},onCompositionEnd:function(e){uVe=!1,cVe=!1,setTimeout((function(){uVe||hVe.resolveComposition(e)}),20)},onSelect:KQe,onKeyDown:function(e,t){if(!cVe)return hVe.resolveComposition(e),void e._onKeyDown(t);t.which!==rVe.RIGHT&&t.which!==rVe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===rVe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!cVe){var t=lVe(dVe).stopAndFlushMutations();dVe=null,uVe=!0;var n=iVe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=nVe.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}),h=sVe(i,d),f=i.getBlockForKey(o).getInlineStyleAt(u);i=tVe.replaceText(i,d,e,f,h),n=iVe.set(n,{currentContent:i})}));var r=aVe(n,oVe(e)).selectionState;e.restoreEditorDOM();var o=iVe.acceptSelection(n,r);e.update(iVe.push(o,i,"insert-characters"))}else e.update(n)}}},fVe=hVe,pVe=EH;function gVe(){return gVe=pVe||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},gVe.apply(this,arguments)}var mVe=FQe,vVe=m.default,yVe=fWe,bVe=nWe,_Ve=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),h=r.getPropsForKey(o),f=mVe.encode(u,parseInt(o,10),0),p=l.slice(c.first().get("start"),c.last().get("end")),g=bVe.getHTMLDirIfDifferent(yVe.getDirection(p),a);return vVe.createElement(d,gVe({},h,{contentState:i,decoratedText:p,dir:g,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}(vVe.Component),wVe=_Ve;function kVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FVe=m.default,EVe=OGe,CVe=aQe,SVe=rQe.isBrowser("IE <= 11");var OVe=function(e){var t,n;function i(t){var n;return xVe(kVe(n=e.call(this,t)||this),"_forceFlag",void 0),xVe(kVe(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;CVe(t)||("production"!==ma.env.NODE_ENV?EVe(!1,"node is not an Element"):EVe(!1));var i=t;return n?!function(e){return SVe?"\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},SVe?FVe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):FVe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return SVe?FVe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):FVe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):FVe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(FVe.Component),DVe=OVe,PVe=aQe;var TVe=function(e){return!(!e||!e.ownerDocument)&&(PVe(e)&&"BR"===e.nodeName)};var AVe=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 LVe=function(e){return AVe(e)&&3==e.nodeType};var IVe=function e(t,n){return!(!t||!n)&&(t===n||!LVe(t)&&(LVe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var MVe=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}},jVe=CQe,RVe=IVe,NVe=MVe,zVe=oQe,BVe=OGe,GVe=aQe,UVe=rQe.isBrowser("IE");function qVe(e,t){if(!e)return"[empty]";var n=WVe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(GVe(n)||("production"!==ma.env.NODE_ENV?BVe(!1,"Node must be an Element if it is not a text node."):BVe(!1)),n.outerHTML)}function WVe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return zVe(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(WVe(o[a],t));return r}function HVe(e,t){for(var n=e,i=n;n;){if(GVe(n)&&i.hasAttribute("contenteditable"))return qVe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function QVe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function VVe(e,t,n,i){var r=NVe();if(e.extend&&null!=t&&RVe(r,t)){n>QVe(t)&&jVe.logSelectionStateFailure({anonymizedDom:HVe(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 jVe.logSelectionStateFailure({anonymizedDom:HVe(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 YVe(e,t,n,i){var r=zVe(t).createRange();if(n>QVe(t)&&jVe.logSelectionStateFailure({anonymizedDom:HVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),UVe)try{e.addRange(r)}catch(e){"production"!==ma.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var KVe=function(e,t,n,i,r){var o=zVe(t);if(RVe(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 h=s,f=l;s=u,l=c,u=h,c=f,d=!1}var p=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(p&&g)return a.removeAllRanges(),YVe(a,t,l-i,e),void VVe(a,t,c-i,e);if(d){if(g&&(a.removeAllRanges(),YVe(a,t,c-i,e)),p){var m=a.focusNode,v=a.focusOffset;a.removeAllRanges(),YVe(a,t,l-i,e),VVe(a,m,v,e)}}else p&&(a.removeAllRanges(),YVe(a,t,l-i,e)),g&&VVe(a,t,c-i,e)}},$Ve=EH;function ZVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JVe=DVe,eYe=m.default,tYe=OGe,nYe=TVe,iYe=KVe,rYe=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 XVe(ZVe(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"!==ma.env.NODE_ENV?tYe(!1,"Missing node"):tYe(!1));var l,u=s.firstChild;u||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing child"):tYe(!1)),u.nodeType===Node.TEXT_NODE?l=u:nYe(u)?l=s:(l=u.firstChild)||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing targetNode"):tYe(!1)),iYe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing leafNode"):tYe(!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()),$Ve(e,i,n)}),{});if(o){var u=o(s,t);l=$Ve(l,u)}return eYe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},eYe.createElement(JVe,null,n))},i}(eYe.Component),oYe=rYe;var aYe=wVe,sYe=oYe,lYe=FQe,uYe=OBe.exports,cYe=m.default,dYe=_He;uYe.List;var hYe=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(),h=t.getText(),f=c.size-1,p=this.props.children||c.map((function(e,c){var p=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var o=lYe.encode(d,c,n),a=e.get("start"),g=e.get("end");return cYe.createElement(sYe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:h.slice(a,g),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:p===f&&n===m})})).toArray();return p&&o?cYe.createElement(aYe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:p,direction:a,leafSet:e,text:h,key:c}):v})).toArray();return cYe.createElement("div",{"data-offset-key":lYe.encode(d,0,0),className:dYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},p)},i}(cYe.Component),fYe=hYe;function pYe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var gYe={getTop:function(e){var t=e.ownerDocument;return pYe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;pYe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return pYe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;pYe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},mYe=gYe,vYe=/-(.)/g;var yYe=function(e){return e.replace(vYe,(function(e,t){return t.toUpperCase()}))},bYe=/([A-Z])/g;var _Ye=function(e){return e.replace(bYe,"-$1").toLowerCase()},wYe=yYe,kYe=_Ye;function xYe(e){return null==e?e:String(e)}var FYe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return xYe(n.getPropertyValue(kYe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return xYe(n.getPropertyValue(kYe(t)));if("display"===t)return"none"}return e.currentStyle?xYe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[wYe(t)]):xYe(e.style&&e.style[wYe(t)])};function EYe(e,t){var n=CYe.get(e,t);return"auto"===n||"scroll"===n}var CYe={get:FYe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(EYe(e,"overflow")||EYe(e,"overflowY")||EYe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},SYe=CYe,OYe=IVe;var DYe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!OYe(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 PYe=function(e){var t=DYe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},TYe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var AYe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:TYe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var LYe=AYe,IYe=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 MYe=function(e){var t=LYe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=IYe(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 jYe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function RYe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function NYe(){return{width:window.innerWidth||jYe(),height:window.innerHeight||RYe()}}NYe.withoutScrollbars=function(){return{width:jYe(),height:RYe()}};var zYe=NYe,BYe=EH;function GYe(){return GYe=BYe||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},GYe.apply(this,arguments)}function UYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qYe(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){WYe(e,t,n[t])}))}return e}function WYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HYe=fYe,QYe=FQe,VYe=m.default,YYe=mYe,KYe=SYe,$Ye=PYe,ZYe=MYe,XYe=zYe,JYe=OGe,eKe=SQe;OBe.exports.List;var tKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nKe=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}},iKe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},rKe=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=qYe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},oKe=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 WYe(UYe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",VYe.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||tKe(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=KYe.getScrollParent(n),o=ZYe(r);if(r===window){var a=$Ye(n);(i=a.y+a.height-XYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{eKe(n)||("production"!==ma.env.NODE_ENV?JYe(!1,"blockNode is not an HTMLElement"):JYe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&YYe.setTop(r,YYe.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,h=t.customStyleMap,f=t.direction,p=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=QYe.encode(n,0,0),d=s.getBlockForKey(n),h=iKe(d,o),f=h.CustomComponent||i,p=nKe(d,r),g=p.Element,m=p.wrapperTemplate,v=rKe(d,u,l,a,h,null),y=qYe({},e.props,{tree:c.getBlockTree(n),blockProps:h.customProps,offsetKey:l,block:d});return t.push(VYe.createElement(g,v,VYe.createElement(f,y))),!m||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(VYe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":QYe.encode(d,0,0)},c))}(m,g,t),t}),[]));var y=n.getKey(),b=QYe.encode(y,0,0),_=iKe(n,o),w=_.CustomComponent,k=null!=w?VYe.createElement(w,GYe({},this.props,{tree:c.getBlockTree(y),blockProps:_.customProps,offsetKey:b,block:n})):VYe.createElement(HYe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:h,decorator:l,direction:f,forceSelection:p,hasSelection:tKe(g,y),selection:g,tree:m});if(n.getParentKey())return k;var x=nKe(n,r).Element,F=rKe(n,u,b,a,_,this.wrapperRef);return VYe.createElement(x,F,k)},i}(VYe.Component),aKe=EH;function sKe(){return sKe=aKe||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},sKe.apply(this,arguments)}var lKe=oKe,uKe=FQe,cKe=m.default,dKe=_We,hKe=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(),h=a.getDecorator(),f=dKe(a.getDirectionMap()),p=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:h,editorKey:s,editorState:a,forceSelection:d,selection:c,block:g,direction:l||f.get(m),tree:a.getBlockTree(m)},y=(t.get(g.getType())||t.get("unstyled")).wrapper;p.push({block:cKe.createElement(lKe,sKe({key:m},v)),wrapperTemplate:y,key:m,offsetKey:uKe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var _=[],w=0;w<p.length;){var k=p[w];if(k.wrapperTemplate){var x=[];do{x.push(p[w].block),w++}while(w<p.length&&p[w].wrapperTemplate===k.wrapperTemplate);var F=cKe.cloneElement(k.wrapperTemplate,{key:k.key+"-wrap","data-offset-key":k.offsetKey},x);_.push(F)}else _.push(k.block),w++}return cKe.createElement("div",{"data-contents":"true"},_)},i}(cKe.Component),fKe=hKe,pKe=EH;function gKe(){return gKe=pKe||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},gKe.apply(this,arguments)}function mKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yKe=oYe,bKe=FQe,_Ke=m.default,wKe=mYe,kKe=SYe,xKe=fWe,FKe=nWe,EKe=_He,CKe=PYe,SKe=MYe,OKe=zYe,DKe=OGe,PKe=SQe,TKe=_We,AKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},LKe=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 vKe(mKe(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||AKe(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=kKe.getScrollParent(n),o=SKe(r);if(r===window){var a=CKe(n);(i=a.y+a.height-OKe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{PKe(n)||("production"!==ma.env.NODE_ENV?DKe(!1,"blockNode is not an HTMLElement"):DKe(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&wKe.setTop(r,wKe.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=AKe(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=bKe.encode(n,s,l),d=a.get("start"),h=a.get("end");return _Ke.createElement(yKe,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,h),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 h=TKe(e.props.decorator),f=h.getComponentForKey(d);if(!f)return c;var p=h.getPropsForKey(d),g=bKe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),y=i.slice(m,v),b=t.getEntityAt(a.get("start")),_=FKe.getHTMLDirIfDifferent(xKe.getDirection(y),e.props.direction),w={contentState:e.props.contentState,decoratedText:y,dir:_,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return _Ke.createElement(f,gKe({},p,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=EKe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return _Ke.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(_Ke.Component),IKe=LKe;var MKe=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},jKe=EH;function RKe(){return RKe=jKe||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},RKe.apply(this,arguments)}function NKe(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){zKe(e,t,n[t])}))}return e}function zKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BKe=IKe,GKe=FQe,UKe=m.default,qKe=_He,WKe=MKe,HKe=_We,QKe=function(e,t,n,i){return qKe({"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})},VKe=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(),h=a.mustForceSelection(),f=a.getDecorator(),p=HKe(a.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,y=null,b=0;b<g.length;b++){var _=g[b],w=_.getKey(),k=_.getType(),x=n(_),F=void 0,E=void 0,C=void 0;x&&(F=x.component,E=x.props,C=x.editable);var S=u||p.get(w),O=GKe.encode(w,0,0),D={contentState:c,block:_,blockProps:E,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:S,forceSelection:h,offsetKey:O,preventScroll:l,selection:d,tree:a.getBlockTree(w)},P=t.get(k)||t.get("unstyled"),T=P.wrapper,A=P.element||t.get("unstyled").element,L=_.getDepth(),I="";if(i&&(I=i(_)),"li"===A)I=WKe(I,QKe(k,L,y!==T||null===v||L>v,S));var M=F||BKe,j={className:I,"data-block":!0,"data-editor":s,"data-offset-key":O,key:w};void 0!==C&&(j=NKe({},j,{contentEditable:C,suppressContentEditableWarning:!0}));var R=UKe.createElement(A,j,UKe.createElement(M,RKe({},D,{key:w})));m.push({block:R,wrapperTemplate:T,key:w,offsetKey:O}),v=T?_.getDepth():null,y=T}for(var N=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var U=UKe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);N.push(U)}else N.push(B.block),z++}return UKe.createElement("div",{"data-contents":"true"},N)},i}(UKe.Component),YKe=VKe,KKe=Eqe("draft_tree_data_support")?fKe:YKe,$Ke={isImage:function(e){return"image"===ZKe(e)[0]},isJpeg:function(e){var t=ZKe(e);return $Ke.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function ZKe(e){return e.split("/")}var XKe=$Ke,JKe=OGe;var e$e=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"!==ma.env.NODE_ENV?JKe(!1,"toArray: Array-like object expected"):JKe(!1)),"number"!=typeof t&&("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object needs a length property"):JKe(!1)),0===t||t-1 in e||("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object should have keys for indices"):JKe(!1)),"function"==typeof e.callee&&("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):JKe(!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 t$e(e){return function(){return e}}var n$e=function(){};n$e.thatReturns=t$e,n$e.thatReturnsFalse=t$e(!1),n$e.thatReturnsTrue=t$e(!0),n$e.thatReturnsNull=t$e(null),n$e.thatReturnsThis=function(){return this},n$e.thatReturnsArgument=function(e){return e};var i$e=n$e,r$e=XKe,o$e=e$e,a$e=i$e,s$e=new RegExp("\r\n","g"),l$e={"text/rtf":1,"text/html":1};function u$e(e){if("file"==e.kind)return e.getAsFile()}var c$e=function(){function e(e){this.data=e,this.types=e.types?o$e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return l$e[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(s$e,"\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(!r$e.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(u$e).filter(a$e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),d$e=c$e,h$e=OGe,f$e=/\.textClipping$/,p$e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var g$e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!F.FileReader||e.type&&!(e.type in p$e))return void t("");if(""===e.type){var n="";return f$e.test(e.name)&&(n=e.name.replace(f$e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ma.env.NODE_ENV?h$e(!1,'We should be calling "FileReader.readAsText" which returns a string'):h$e(!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 m$e=function(e){return"handled"===e||!0===e},v$e=d$e,y$e=KUe,b$e=WWe,_$e=dQe,w$e=oQe,k$e=g$e,x$e=LQe,F$e=hQe,E$e=m$e,C$e=_We;var S$e={onDragEnd:function(e){e.exitCurrentMode(),O$e(e)},onDrop:function(e,t){var n=new v$e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=w$e(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=C$e(n),i=C$e(i);var a=C$e(_$e(n));return x$e(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&&E$e(e.props.handleDroppedFiles(r,o)))return;k$e(o,(function(t){t&&e.update(D$e(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&E$e(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=y$e.moveText(e.getCurrentContent(),e.getSelection(),t);return b$e.push(e,n,"insert-fragment")}(i,r)):e.update(D$e(i,r,n.getText()))),O$e(e)}}}};function O$e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:F$e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function D$e(e,t,n){var i=y$e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return b$e.push(e,i,"insert-fragment")}var P$e=S$e;var T$e=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){ma.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?F:self);var A$e=F.setImmediate,L$e=KUe,I$e=WWe,M$e=JQe,j$e=m$e,R$e=T$e,N$e=_We,z$e=A$e,B$e=rQe.isBrowser("Firefox");function G$e(e,t,n,i,r){var o=L$e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return I$e.push(e,o,"insert-characters",r)}var U$e=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&&j$e(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(G$e(n,i,n.getCurrentInlineStyle(),M$e(n.getCurrentContent(),n.getSelection()),!0));var s,l=G$e(n,i,n.getCurrentInlineStyle(),M$e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=R$e(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=B$e&&("'"==s||"/"==s)),u||(u=N$e(l.getDirectionMap()).get(a)!==N$e(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=I$e.set(l,{forceSelection:!0}),void e.update(l);l=I$e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,z$e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},q$e=WWe,W$e=IVe,H$e=MVe;var Q$e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&H$e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&W$e(r,i.anchorNode)&&W$e(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(q$e.acceptSelection(o,s))}},V$e=WWe;var Y$e=function(e,t){e.setMode("composite"),e.update(V$e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},K$e=$Ge;var $$e=function(e){var t=e.getSelection();return t.isCollapsed()?null:K$e(e.getCurrentContent(),t)},Z$e=$$e;var X$e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Z$e(e._latestEditorState))};var J$e=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},eZe=KUe,tZe=WWe,nZe=SYe,iZe=$$e,rZe=MYe,oZe=J$e;var aZe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(oZe(o)){var a=o;n=rZe(nZe.getScrollParent(a))}var s=iZe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=eZe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return tZe.push(e,t,"remove-range")}(i))}),0)}};var sZe=function(e,t){e.setMode("drag"),t.preventDefault()};var lZe=function(e){e._internalDrag=!0,e.setMode("drag")},uZe=WWe,cZe=rQe;var dZe=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),cZe.isBrowser("Chrome < 60.0.3081.0")?e.update(uZe.forceSelection(n,r)):e.update(uZe.acceptSelection(n,r))}},hZe=OGe,fZe=/[\uD800-\uDFFF]/;function pZe(e){return 55296<=e&&e<=57343}function gZe(e){return fZe.test(e)}function mZe(e,t){return 1+pZe(e.charCodeAt(t))}function vZe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!gZe(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+=mZe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=mZe(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=mZe(e,o);return e.substring(r,o)}var yZe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=mZe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:mZe,hasSurrogateUnit:gZe,isCodeUnitInSurrogateRange:pZe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ma.env.NODE_ENV?hZe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):hZe(!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(!gZe(e))return e.length;for(var t=0,n=0;n<e.length;n+=mZe(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 vZe(e,t=t<n?t:n,i)},substr:vZe},bZe=yZe,_Ze=i$e;function wZe(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 kZe="production"!==ma.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];wZe.apply(void 0,[t].concat(i))}}:_Ze,xZe=kZe,FZe=xZe;var EZe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&FZe(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})},CZe=KUe,SZe=Eqe("draft_tree_data_support");var OZe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(SZe&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(SZe)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 CZe.removeRange(r,o,n)},DZe=WWe,PZe=bZe,TZe=EZe,AZe=OZe;var LZe=function(e){var t=AZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return TZe(e,o?PZe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return DZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},IZe=KUe,MZe=FQe,jZe=WWe,RZe=$Qe.notEmptyKey,NZe=dQe,zZe=LZe,BZe=_We,GZe=rQe.isEngine("Gecko");var UZe=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=BZe(NZe(i)),d=MZe.decode(c),h=d.blockKey,f=d.decoratorKey,p=d.leafKey,g=u.getBlockTree(h).getIn([f,"leaves",p]),m=g.start,v=g.end,y=u.getCurrentContent(),b=y.getBlockForKey(h),_=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==_){var w,k,x,F,E=u.getSelection(),C=E.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),O=RZe(S)?y.getEntity(S):null,D="MUTABLE"===(null!=O?O.getMutability():null),P=D?"spellcheck-change":"apply-entity",T=IZe.replaceText(y,C,l,b.getInlineStyleAt(m),D?b.getEntityAt(m):null);if(GZe)w=n.anchorOffset,k=n.focusOffset,F=(x=m+Math.min(w,k))+Math.abs(w-k),w=x,k=F;else{var A=l.length-_.length;x=E.getStartOffset(),F=E.getEndOffset(),w=r?F+A:x,k=F+A}var L=T.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:E.merge({anchorOffset:w,focusOffset:k})});e.update(jZe.push(u,L,P))}else{var I=t.nativeEvent.inputType;if(I){var M=function(e,t){return"deleteContentBackward"===e?zZe(t):t}(I,u);if(M!==u)return e.restoreEditorDOM(),void e.update(M)}}}},qZe=EQe;var WZe=function(e){return e.which===qZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},HZe=WZe,QZe=rQe.isPlatform("Mac OS X"),VZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return QZe&&e.altKey},usesMacOSHeuristics:function(){return QZe},hasCommandModifier:function(e){return QZe?!!e.metaKey&&!e.altKey:VZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:HZe},YZe=VZe,KZe=KUe,$Ze=WWe,ZZe=$Ge,XZe=_We,JZe=null,eXe={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=XZe(i),JZe=ZZe(t,i);var s=KZe.removeRange(t,i,"forward");return s===t?e:$Ze.push(e,s,"remove-range")},paste:function(e){if(!JZe)return e;var t=KZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),JZe);return $Ze.push(e,t,"insert-fragment")}},tXe=eXe,nXe=OGe;var iXe=rQe.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"!==ma.env.NODE_ENV?nXe(!1,"Found an unexpected detached subtree when getting range client rects."):nXe(!1)}:function(e){return Array.from(e.getClientRects())},rXe=bZe,oXe=oQe,aXe=iXe,sXe=OGe;function lXe(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 uXe(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 cXe=WWe,dXe=function(e){e.collapsed||("production"!==ma.env.NODE_ENV?sXe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):sXe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=oXe(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"!==ma.env.NODE_ENV?sXe(!1,"Missing document.body"):sXe(!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);lXe(aXe(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ma.env.NODE_ENV?sXe(!1,"Found unexpected detached subtree when traversing."):sXe(!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&&rXe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!lXe(aXe(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=uXe(o=o.childNodes[l])}return e.setStart(i,r),e},hXe=UQe,fXe=EZe,pXe=OZe;var gXe=function(e,t){var n=pXe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return fXe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=dXe(i),hXe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:cXe.push(e,n,"remove-range")},mXe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),vXe=new RegExp("^(?:"+mXe+")*(?:"+"['‘’]|(?!"+mXe+").)*(?:(?!"+mXe+").)"),yXe=new RegExp("(?:(?!"+mXe+").)(?:"+"['‘’]|(?!"+mXe+").)*(?:"+mXe+")*$");function bXe(e,t){var n=t?yXe.exec(e):vXe.exec(e);return n?n[0]:e}var _Xe={getBackward:function(e){return bXe(e,!0)},getForward:function(e){return bXe(e,!1)}},wXe=_Xe,kXe=WWe,xXe=EZe,FXe=OZe;var EXe=function(e){var t=FXe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return xXe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=wXe.getBackward(r);return xXe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:kXe.push(e,t,"remove-range")},CXe=xZe;var SXe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&CXe(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})},OXe=_Xe,DXe=WWe,PXe=SXe,TXe=OZe;var AXe=function(e){var t=TXe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=OXe.getForward(r);return PXe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:DXe.push(e,t,"remove-range")},LXe=KUe,IXe=WWe;var MXe=WWe;var jXe=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return MXe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},RXe=WWe;var NXe=function(e){var t=e.getSelection(),n=t.getStartKey();return RXe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},zXe=WWe,BXe=bZe,GXe=SXe,UXe=OZe;var qXe=function(e){var t=UXe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return GXe(e,o?BXe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return zXe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},WXe=KUe,HXe=WWe,QXe=$Ge;var VXe=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=QXe(a,i),u=WXe.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,h=c.merge({anchorOffset:d,focusOffset:d}),f=WXe.replaceWithFragment(u,h,l),p=HXe.push(e,f,"insert-fragment");return HXe.acceptSelection(p,r)},YXe=WWe;var KXe=function(e,t,n){var i=YXe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(YXe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(YXe.set(i,{nativelyRenderedContent:r}))}},$Xe=KUe,ZXe=WWe,XXe=EQe,JXe=tXe,eJe=rQe,tJe=m$e,nJe=gXe,iJe=EXe,rJe=AXe,oJe=function(e){var t=LXe.splitBlock(e.getCurrentContent(),e.getSelection());return IXe.push(e,t,"split-block")},aJe=jXe,sJe=NXe,lJe=LZe,uJe=qXe,cJe=VXe,dJe=KXe,hJe=YZe.isOptionKeyCommand,fJe=eJe.isBrowser("Chrome");var pJe=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 XXe.RETURN:if(t.preventDefault(),e.props.handleReturn&&tJe(e.props.handleReturn(t,i)))return;break;case XXe.ESC:if(t.preventDefault(),r("onEscape"))return;break;case XXe.TAB:if(r("onTab"))return;break;case XXe.UP:if(r("onUpArrow"))return;break;case XXe.RIGHT:if(r("onRightArrow"))return;break;case XXe.DOWN:if(r("onDownArrow"))return;break;case XXe.LEFT:if(r("onLeftArrow"))return;break;case XXe.SPACE:fJe&&hJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!tJe(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return ZXe.redo(t);case"delete":return uJe(t);case"delete-word":return rJe(t);case"backspace":return lJe(t);case"backspace-word":return iJe(t);case"backspace-to-start-of-line":return nJe(t,n);case"split-block":return oJe(t);case"transpose-characters":return cJe(t);case"move-selection-to-start-of-block":return sJe(t);case"move-selection-to-end-of-block":return aJe(t);case"secondary-cut":return JXe.cut(t);case"secondary-paste":return JXe.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else dJe(t,i,e.update);else if(n===XXe.SPACE&&fJe&&hJe(t)){var s=$Xe.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(ZXe.push(i,s,"insert-characters"))}};var gJe=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}(),mJe=gJe,vJe=OGe,yJe=rQe.isBrowser("IE <= 9");var bJe=function(e){var t,n=null;return!yJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ma.env.NODE_ENV?vJe(!1,"Missing doc.documentElement"):vJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},_Je=aQe;var wJe=function(e){return!(!e||!e.ownerDocument)&&(_Je(e)&&"A"===e.nodeName)},kJe=aQe;var xJe,FJe=function(e){return!(!e||!e.ownerDocument)&&(kJe(e)&&"IMG"===e.nodeName)};function EJe(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){CJe(e,t,n[t])}))}return e}function CJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SJe=GBe,OJe=nGe,DJe=vGe,PJe=xHe,TJe=kqe,AJe=mJe,LJe=_He,IJe=NGe,MJe=bJe,jJe=Eqe,RJe=OBe.exports,NJe=RJe.List,zJe=RJe.Map,BJe=RJe.OrderedSet,GJe=wJe,UJe=TVe,qJe=SQe,WJe=FJe,HJe=jJe("draft_tree_data_support"),QJe=new RegExp("\r","g"),VJe=new RegExp("\n","g"),YJe=new RegExp("^\n","g"),KJe=new RegExp(" ","g"),$Je=new RegExp(" ?","g"),ZJe=new RegExp("​?","g"),XJe=["bold","bolder","500","600","700","800","900"],JJe=["light","lighter","normal","100","200","300","400"],e0e=["className","href","rel","target","title"],t0e=["alt","className","height","src","width"],n0e=(CJe(xJe={},LJe("public/DraftStyleDefault/depth0"),0),CJe(xJe,LJe("public/DraftStyleDefault/depth1"),1),CJe(xJe,LJe("public/DraftStyleDefault/depth2"),2),CJe(xJe,LJe("public/DraftStyleDefault/depth3"),3),CJe(xJe,LJe("public/DraftStyleDefault/depth4"),4),xJe),i0e=zJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),r0e=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)}))})),zJe(t)},o0e=function(e){if(qJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},a0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(n0e).some((function(n){e.classList.contains(n)&&(t=n0e[n])})),t},s0e=function(e){if(!GJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},l0e=function(e){if(!WJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},u0e=function(e,t){if(!qJe(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){XJe.indexOf(i)>=0?e.add("BOLD"):JJe.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"))}))},c0e=function(e){return"ul"===e||"ol"===e},d0e=function(){function e(e,t){CJe(this,"characterList",NJe()),CJe(this,"currentBlockType","unstyled"),CJe(this,"currentDepth",0),CJe(this,"currentEntity",null),CJe(this,"currentText",""),CJe(this,"wrapper",null),CJe(this,"blockConfigs",[]),CJe(this,"contentBlocks",[]),CJe(this,"entityMap",TJe),CJe(this,"blockTypeMap",void 0),CJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=NJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=TJe,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],BJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(HJe?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||IJe(),n=EJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:NJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=NJe(),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||c0e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;c0e(o)&&(this.wrapper=o,c0e(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(l0e(r))this._addImgNode(r,t);else if(s0e(r))this._addAnchorNode(r,n,t);else{var u=t;i0e.has(o)&&(u=u.add(i0e.get(o))),u=u0e(r,u);var c=o0e(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,h=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!HJe&&qJe(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=a0e(f,this.currentDepth)}var p=IJe(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=h}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=SJe.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=NJe()):(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(YJe,"")).replace(VJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){UJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(WJe(e)){var n=e,i={};t0e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),jJe("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(GJe(e)){var i=e,r={};e0e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new AJe(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=NJe(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new DJe(EJe({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return NJe(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 OJe(EJe({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=NJe(),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}(),h0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:MJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:PJe,i=t(e=e.trim().replace(QJe,"").replace(KJe," ").replace($Je,"").replace(ZJe,""));if(!i)return null;var r=r0e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new d0e(r,o).addDOMNode(i).getContentBlocks()};function f0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p0e=nGe,g0e=vGe,m0e=h0e,v0e=NGe,y0e=bJe,b0e=Eqe,_0e=OBe.exports,w0e=Sqe,k0e=_0e.List,x0e=_0e.Repeat,F0e=b0e("draft_tree_data_support"),E0e=F0e?g0e:p0e,C0e={processHTML:function(e,t){return m0e(e,y0e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=w0e(i);var o=v0e(),a={key:o,type:n,text:i,characterList:k0e(x0e(t,i.length))};if(F0e&&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){f0e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new E0e(a)),e}),[])}};var S0e=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})},O0e=KUe,D0e=WWe,P0e=S0e,T0e=_We,A0e={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 A0e.toggleInlineStyle(e,"BOLD");case"italic":return A0e.toggleInlineStyle(e,"ITALIC");case"underline":return A0e.toggleInlineStyle(e,"UNDERLINE");case"code":return A0e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return A0e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return A0e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=O0e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=D0e.push(e,t,"insert-characters");return D0e.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 D0e.push(e,a,"remove-range")}var s=A0e.tryToRemoveBlockStyle(e);return s?D0e.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=O0e.removeRange(n,a,"forward");return s!==n?D0e.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=P0e(o,i,e.shiftKey?-1:1,n);return D0e.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=T0e(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(i).getType()===t?"unstyled":t;return D0e.push(e,O0e.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?A0e.toggleBlockType(e,"code-block"):A0e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return D0e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?O0e.removeInlineStyle(o,n,t):O0e.applyInlineStyle(o,n,t),D0e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=O0e.applyEntity(e.getCurrentContent(),t,n);return D0e.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 O0e.setBlockType(r,t,"unstyled")}return null}},L0e=A0e,I0e=/\r\n?|\n/g;var M0e=TBe,j0e=GBe,R0e=d$e,N0e=KUe,z0e=C0e,B0e=WWe,G0e=L0e,U0e=JQe,q0e=g$e,W0e=m$e,H0e=function(e){return e.split(I0e)};function Q0e(e,t,n){var i=N0e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return B0e.push(e,i.set("entityMap",n),"insert-fragment")}var V0e=function(e,t){t.preventDefault();var n=new R0e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&W0e(e.props.handlePastedFiles(i)))return;return void q0e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=H0e(t),o=j0e.create({style:n.getCurrentInlineStyle(),entity:U0e(n.getCurrentContent(),n.getSelection())}),a=G0e.getCurrentBlockType(n),s=z0e.processText(i,o,a),l=M0e.createFromArray(s),u=N0e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(B0e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!W0e(e.props.handlePastedText(a,s,l))){if(a&&(o=H0e(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(Q0e(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(Q0e(e._latestEditorState,u));if(s){var c=z0e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,h=c.entityMap;if(d){var f=M0e.createFromArray(d);return void e.update(Q0e(e._latestEditorState,f,h))}}}e.setClipboard(null)}if(o.length){var p=j0e.create({style:l.getCurrentInlineStyle(),entity:U0e(l.getCurrentContent(),l.getSelection())}),g=G0e.getCurrentBlockType(l),m=z0e.processText(o,p,g),v=M0e.createFromArray(m);e.update(Q0e(e._latestEditorState,v))}}},Y0e=rQe,K0e=U$e,$0e=Q$e,Z0e=Y$e,X0e=X$e,J0e=aZe,e1e=sZe,t1e=lZe,n1e=dZe,i1e=UZe,r1e=pJe,o1e=V0e,a1e=KQe,s1e=Y0e.isBrowser("Chrome"),l1e=Y0e.isBrowser("Firefox"),u1e=s1e||l1e?a1e:function(e){},c1e={onBeforeInput:K0e,onBlur:$0e,onCompositionStart:Z0e,onCopy:X0e,onCut:J0e,onDragOver:e1e,onDragStart:t1e,onFocus:n1e,onInput:i1e,onKeyDown:r1e,onPaste:o1e,onSelect:a1e,onMouseUp:u1e,onKeyUp:u1e},d1e=b.default.unstable_flushControlled;var h1e=m.default,f1e=_He,p1e=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=f1e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return h1e.createElement("div",{className:t},h1e.createElement("div",{className:f1e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(h1e.Component),g1e=p1e,m1e=YZe,v1e=EQe,y1e=rQe,b1e=y1e.isPlatform("Mac OS X"),_1e=b1e&&y1e.isBrowser("Firefox < 29"),w1e=m1e.hasCommandModifier,k1e=m1e.isCtrlKeyCommand;function x1e(e){return b1e&&e.altKey||k1e(e)}var F1e=function(e){switch(e.keyCode){case 66:return w1e(e)?"bold":null;case 68:return k1e(e)?"delete":null;case 72:return k1e(e)?"backspace":null;case 73:return w1e(e)?"italic":null;case 74:return w1e(e)?"code":null;case 75:return b1e&&k1e(e)?"secondary-cut":null;case 77:case 79:return k1e(e)?"split-block":null;case 84:return b1e&&k1e(e)?"transpose-characters":null;case 85:return w1e(e)?"underline":null;case 87:return b1e&&k1e(e)?"backspace-word":null;case 89:return k1e(e)?b1e?"secondary-paste":"redo":null;case 90:return function(e){return w1e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case v1e.RETURN:return"split-block";case v1e.DELETE:return function(e){return!b1e&&e.shiftKey?null:x1e(e)?"delete-word":"delete"}(e);case v1e.BACKSPACE:return function(e){return w1e(e)&&b1e?"backspace-to-start-of-line":x1e(e)?"backspace-word":"backspace"}(e);case v1e.LEFT:return _1e&&w1e(e)?"move-selection-to-start-of-block":null;case v1e.RIGHT:return _1e&&w1e(e)?"move-selection-to-end-of-block":null;default:return null}},E1e=EH;function C1e(){return C1e=E1e||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},C1e.apply(this,arguments)}function S1e(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){D1e(e,t,n[t])}))}return e}function O1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P1e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var T1e=xHe,A1e=FHe,L1e=fVe,I1e=KKe,M1e=P$e,j1e=c1e,R1e=d1e,N1e=g1e,z1e=WWe,B1e=m.default,G1e=mYe,U1e=SYe,q1e=_He,W1e=NGe,H1e=F1e,Q1e=MYe,V1e=Eqe,Y1e=OGe,K1e=SQe,$1e=_We,Z1e=rQe.isBrowser("IE"),X1e=!Z1e,J1e={edit:j1e,composite:L1e,drag:M1e,cut:null,render:null},e2e=!1,t2e=function(e){function t(){return e.apply(this,arguments)||this}P1e(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}(B1e.Component),n2e=function(e){function t(t){var n;return D1e(O1e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),D1e(O1e(n),"_clipboard",void 0),D1e(O1e(n),"_handler",void 0),D1e(O1e(n),"_dragCount",void 0),D1e(O1e(n),"_internalDrag",void 0),D1e(O1e(n),"_editorKey",void 0),D1e(O1e(n),"_placeholderAccessibilityID",void 0),D1e(O1e(n),"_latestEditorState",void 0),D1e(O1e(n),"_latestCommittedEditorState",void 0),D1e(O1e(n),"_pendingStateFromBeforeInput",void 0),D1e(O1e(n),"_onBeforeInput",void 0),D1e(O1e(n),"_onBlur",void 0),D1e(O1e(n),"_onCharacterData",void 0),D1e(O1e(n),"_onCompositionEnd",void 0),D1e(O1e(n),"_onCompositionStart",void 0),D1e(O1e(n),"_onCopy",void 0),D1e(O1e(n),"_onCut",void 0),D1e(O1e(n),"_onDragEnd",void 0),D1e(O1e(n),"_onDragOver",void 0),D1e(O1e(n),"_onDragStart",void 0),D1e(O1e(n),"_onDrop",void 0),D1e(O1e(n),"_onInput",void 0),D1e(O1e(n),"_onFocus",void 0),D1e(O1e(n),"_onKeyDown",void 0),D1e(O1e(n),"_onKeyPress",void 0),D1e(O1e(n),"_onKeyUp",void 0),D1e(O1e(n),"_onMouseDown",void 0),D1e(O1e(n),"_onMouseUp",void 0),D1e(O1e(n),"_onPaste",void 0),D1e(O1e(n),"_onSelect",void 0),D1e(O1e(n),"editor",void 0),D1e(O1e(n),"editorContainer",void 0),D1e(O1e(n),"focus",void 0),D1e(O1e(n),"blur",void 0),D1e(O1e(n),"setMode",void 0),D1e(O1e(n),"exitCurrentMode",void 0),D1e(O1e(n),"restoreEditorDOM",void 0),D1e(O1e(n),"setClipboard",void 0),D1e(O1e(n),"getClipboard",void 0),D1e(O1e(n),"getEditorKey",void 0),D1e(O1e(n),"update",void 0),D1e(O1e(n),"onDragEnter",void 0),D1e(O1e(n),"onDragLeave",void 0),D1e(O1e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),D1e(O1e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=U1e.getScrollParent(r),a=e||Q1e(o),s=a.x,l=a.y;K1e(r)||("production"!==ma.env.NODE_ENV?Y1e(!1,"editorNode is not an HTMLElement"):Y1e(!1)),r.focus(),o===window?window.scrollTo(s,l):G1e.setTop(o,l),i||n.update(z1e.forceSelection(t,t.getSelection()))}})),D1e(O1e(n),"blur",(function(){var e=n.editor;e&&(K1e(e)||("production"!==ma.env.NODE_ENV?Y1e(!1,"editorNode is not an HTMLElement"):Y1e(!1)),e.blur())})),D1e(O1e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=S1e({},J1e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=S1e({},J1e,{edit:a});n._handler=s[e]})),D1e(O1e(n),"exitCurrentMode",(function(){n.setMode("edit")})),D1e(O1e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),D1e(O1e(n),"setClipboard",(function(e){n._clipboard=e})),D1e(O1e(n),"getClipboard",(function(){return n._clipboard})),D1e(O1e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),D1e(O1e(n),"onDragEnter",(function(){n._dragCount++})),D1e(O1e(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||W1e(),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"!==ma.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}P1e(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&&(R1e?R1e((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:$1e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return B1e.createElement(N1e,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=q1e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),h=this.props.role||"textbox",f="combobox"===h?!!this.props.ariaExpanded:null,p={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:S1e({},A1e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return B1e.createElement("div",{className:d},this._renderPlaceholder(),B1e.createElement("div",{className:q1e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},B1e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:f,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:q1e({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:h,spellCheck:X1e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},B1e.createElement(t2e,{editor:this,editorState:a}),B1e.createElement(I1e,C1e({},p,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!e2e&&V1e("draft_ods_enabled")&&(e2e=!0),this.setMode("edit"),Z1e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):F.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(B1e.Component);D1e(n2e,"defaultProps",{blockRenderMap:T1e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:H1e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var i2e=n2e,r2e=C(Object.freeze({__proto__:null})),o2e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},a2e=o2e,s2e=bZe.strlen;var l2e=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:s2e(o.slice(0,i)),length:s2e(o.slice(i,r)),key:Number(t[a2e.stringify(a)])})})),n},u2e=bZe,c2e=UBe,d2e=function(e,t){return e===t},h2e=function(e){return!!e},f2e=[];var p2e=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 c2e(r,d2e,h2e,(function(t,r){var o=e.getText();i.push({offset:u2e.strlen(o.slice(0,t)),length:u2e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(f2e,n.toJS())};function g2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m2e=nGe,v2e=vGe,y2e=o2e,b2e=l2e,_2e=p2e,w2e=OGe,k2e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:_2e(e),entityRanges:b2e(e,t),data:e.getData().toObject()}},x2e=function(e,t,n,i){if(e instanceof m2e)n.push(k2e(e,t));else{e instanceof v2e||("production"!==ma.env.NODE_ENV?w2e(!1,"block is not a BlockNode"):w2e(!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){g2e(e,t,n[t])}))}return e}({},k2e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},F2e=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=y2e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),x2e(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(y2e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function E2e(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){C2e(e,t,n[t])}))}return e}function C2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S2e=NGe,O2e=OGe,D2e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},P2e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ma.env.NODE_ENV?O2e(!1,"Invalid raw state"):O2e(!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"!==ma.env.NODE_ENV?O2e(!1,"Invalid tree raw block"):O2e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=E2e({},e);D2e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?E2e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,E2e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=D2e(e),r=e.depth||0,o=E2e({},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:S2e(),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)})),E2e({},e,{blocks:t})}},T2e=P2e,A2e=xZe,L2e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==r&&r===o?("production"!==ma.env.NODE_ENV&&A2e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ma.env.NODE_ENV&&A2e(!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"!==ma.env.NODE_ENV&&A2e(!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)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==ma.env.NODE_ENV&&A2e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ma.env.NODE_ENV&&A2e(!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)}},I2e=L2e,M2e=GBe,j2e=OBe.exports.List;var R2e=function(e,t){var n=e.map((function(e,n){var i=t[n];return M2e.create({style:e,entity:i})}));return j2e(n)},N2e=bZe.substr;var z2e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=N2e(e,0,t.offset).length,r=i+N2e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},B2e=bZe,G2e=OBe.exports.OrderedSet,U2e=B2e.substr,q2e=G2e();var W2e=function(e,t){var n=Array(e.length).fill(q2e);return t&&t.forEach((function(t){for(var i=U2e(e,0,t.offset).length,r=i+U2e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function H2e(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){Q2e(e,t,n[t])}))}return e}function Q2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V2e=nGe,Y2e=vGe,K2e=Kqe,$2e=kqe,Z2e=T2e,X2e=I2e,J2e=Fqe,e3e=R2e,t3e=z2e,n3e=W2e,i3e=NGe,r3e=OBe.exports,o3e=OGe,a3e=Eqe("draft_tree_data_support"),s3e=r3e.List,l3e=r3e.Map,u3e=r3e.OrderedMap,c3e=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||i3e(),data:l3e(r),characterList:d3e(e,t)}},d3e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return e3e(n3e(n,r||[]),t3e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return H2e({},e,{key:t[e.key]})}))))},h3e=function(e){return H2e({},e,{key:e.key||i3e()})},f3e=function(e,t,n){var i=t.map((function(e){return H2e({},e,{parentRef:n})}));return e.concat(i.reverse())},p3e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=a3e&&!n?Z2e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!a3e)return function(e,t){return u3e(e.map((function(e){var n=new V2e(c3e(e,t));return[n.getKey(),n]})))}(n?Z2e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(h3e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):o3e(!1));var o=i.children.map(h3e),a=new Y2e(H2e({},c3e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:s3e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=f3e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):o3e(!1));break}var f=l.children.map(h3e),p=new Y2e(H2e({},c3e(l,t),{parent:u.getKey(),children:s3e(f.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(p.getKey(),p),s=f3e(s,f,p)}return n}),u3e())}(i,t);return"production"!==ma.env.NODE_ENV&&(X2e.isValidTree(r)||("production"!==ma.env.NODE_ENV?o3e(!1,"Should be a valid tree"):o3e(!1))),r},g3e=function(e){Array.isArray(e.blocks)||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentState"):o3e(!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]=$2e.__create(r,o,a||{})})),n}(e),n=p3e(e,t),i=n.isEmpty()?new J2e:J2e.createEmpty(n.first().getKey());return new K2e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},m3e=iXe;var v3e=function(e){var t=m3e(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}},y3e=v3e;var b3e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=y3e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},_3e={Editor:i2e,EditorBlock:IKe,EditorState:WWe,CompositeDecorator:yHe,Entity:kqe,EntityInstance:hqe,BlockMapBuilder:TBe,CharacterMetadata:GBe,ContentBlock:nGe,ContentState:Kqe,RawDraftContentState:r2e,SelectionState:Fqe,AtomicBlockUtils:gHe,KeyBindingUtil:YZe,Modifier:KUe,RichUtils:L0e,DefaultDraftBlockRenderMap:xHe,DefaultDraftInlineStyle:FHe,convertFromHTML:h0e,convertFromRaw:g3e,convertToRaw:F2e,genKey:NGe,getDefaultKeyBinding:F1e,getVisibleSelectionRect:b3e};function w3e(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 k3e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},x3e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function F3e(e){return F3e="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},F3e(e)}var E3e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function C3e(e){if(-1!==E3e.indexOf(e.type))return k.default.renderToStaticMarkup(e);var t=k.default.renderToStaticMarkup(m.default.cloneElement(e,{},"\r")).split("\r");return Vpe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),Vpe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function S3e(e){return m.default.isValidElement(e)&&m.default.Children.count(e.props.children)>0}function O3e(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(m.default.isValidElement(e)){if(S3e(e))return k.default.renderToStaticMarkup(e);var n=C3e(e);if(null!==t&&"object"===F3e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(Vpe(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 D3e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(m.default.isValidElement(t)){var i=C3e(t);if("string"==typeof i)return 0;var r=i[n].length,o=m.default.Children.toArray(t.props.children)[0];return r+(o&&m.default.isValidElement(o)?e(o,n):0)}return"object"===F3e(t)&&t[n]?t[n].length:0},P3e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},T3e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P3e,i=xNe(e.text),r=n;if(n.__isMiddleware&&(r=n(P3e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(k3e),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=xNe(O3e(u,l)||l),d=D3e(u,"start"),h=D3e(u,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?w3e(t,n.offset,n.length,c.length,d,h):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(xNe(i.slice(0,n.offset)),xNe(c),xNe(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},A3e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},L3e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function I3e(e){switch(e){case"BOLD":return m.default.createElement("strong",null);case"ITALIC":return m.default.createElement("em",null);case"UNDERLINE":return m.default.createElement("u",null);case"CODE":return m.default.createElement("code",null);default:return{start:"",end:""}}}var M3e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},j3e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return Vpe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},R3e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},N3e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},z3e=function(e,t){return t.offset+t.length-(e.offset+e.length)},B3e=function(e,t){for(var n=0;n<e.length;){if(!t.every(N3e.bind(null,e[n])))return e.slice(n);n++}return[]},G3e=function(e,t,n){return t+O3e(e(n.style)).start},U3e=function(e,t,n){return O3e(e(n.style)).end+t},q3e=function(e){return function(t){return e(t)}};q3e.__isMiddleware=!0;var W3e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function H3e(e){return Vpe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:m.default.isValidElement(e)?(t=e,m.default.isValidElement(t)&&m.default.Children.count(t.props.children)>0?k.default.renderToStaticMarkup(e):C3e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&m.default.isValidElement(e.element)?Object.assign({},e,C3e(e.element)):(Vpe(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);var t}function Q3e(e,t){if(Vpe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=C3e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(m.default.isValidElement(e.nest)){var o=C3e(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return Vpe(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 V3e=["1","a","i"],Y3e={unstyled:m.default.createElement("p",null),paragraph:m.default.createElement("p",null),"header-one":m.default.createElement("h1",null),"header-two":m.default.createElement("h2",null),"header-three":m.default.createElement("h3",null),"header-four":m.default.createElement("h4",null),"header-five":m.default.createElement("h5",null),"header-six":m.default.createElement("h6",null),blockquote:m.default.createElement("blockquote",null),"unordered-list-item":{element:m.default.createElement("li",null),nest:m.default.createElement("ul",null)},"ordered-list-item":{element:m.default.createElement("li",null),nest:function(e){var t=V3e[e%3];return m.default.createElement("ol",{type:t})}},media:m.default.createElement("figure",null),atomic:m.default.createElement("figure",null)},K3e=function(e,t){return t},$3e=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?K3e:o;return function(e){var t;Vpe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(W3e(Y3e)):L3e(W3e(r),W3e(Y3e));var i=_3e.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+=Q3e(t(d),s).nestEnd,u+=Q3e(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var h=o[o.length-1];l+=Q3e(t(h),s).nestEnd,o=o.slice(0,-1)}else u+=Q3e(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Q3e(t(n),s).nestEnd}),""),o=[];var f,p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q3e;Vpe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(I3e):L3e(A3e(n),A3e(I3e));for(var i="",r=[],o=e.inlineStyleRanges.sort(k3e),a=xNe(e.text),s=0;s<a.length;s++){var l=R3e(s,o),u=M3e(r,l),c=M3e(l,r),d=M3e(r,u),h=B3e(d,c),f=h.concat(c).sort(z3e),p=f.reduce(G3e.bind(null,t),"");i+=u.concat(h).reduce(U3e.bind(null,t),"")+p+a[s],r=(r=j3e(r,h.concat(u))).concat(f),Vpe(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+O3e(t(n.style)).end}),i)}(T3e(function(e){for(var t=xNe(e.text),n=e.entityRanges.sort(k3e),i=e.inlineStyleRanges.sort(k3e),r="",o=function(e){var o=t[e];if(void 0!==x3e[o]){var a=x3e[o],s=xNe(r).length;r+=a;var l=function(e){return w3e(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),g=H3e(t(e));return f="string"==typeof g?g:g.start+p+g.end,0===p.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(f=m.default.isValidElement(g.empty)?k.default.renderToStaticMarkup(g.empty):g.empty),l+u+f})).join("");return s=o.reduce((function(e,n){return e+Q3e(t(n),n.depth).nestEnd}),s)}},Z3e={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:K(e)}function o(e){return a(e)&&!u(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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__@@",h="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function F(){}function E(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 C(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function O(){return!0}function D(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return A(e,t,0)}function T(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 L=0,I=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",N=j||R;function z(e){this.next=e}function B(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 G(){return{value:void 0,done:!0}}function U(e){return!!H(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(j&&e[j]||e[R]);if("function"==typeof t)return t}function Q(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function K(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=L,z.VALUES=I,z.ENTRIES=M,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[N]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(K,V),K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(e,t){return de(this,e,t,!1)},K.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t($,V),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=$,V.Indexed=K;var Z,X,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():q(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 Q(e)?new te(e):q(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 he(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):ge(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return pe(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?K(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(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,h=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===h}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(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(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 ke(){throw TypeError("Abstract")}function xe(){}function Fe(){}function Ee(){}V.prototype[ee]=!0,t(te,K),te.prototype.get=function(e,t){return this.has(e)?this._array[S(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 z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),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 z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,K),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),i=0;if(q(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=W(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,K),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 z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,K),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 D(e,t,n)?this:new be(this._value,T(t,n)-P(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 z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,K),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return D(e,t,this.size)?this:(e=P(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(xe,ke),t(Fe,ke),t(Ee,ke),ke.Keyed=xe,ke.Indexed=Fe,ke.Set=Ee;var Ce="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 Se(e){return e>>>1&1073741824|3221225471&e}function Oe(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 Se(n)}if("string"===t)return e.length>ze?De(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function De(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Ne]))return t;if(!Le){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ne]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),je)Me.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Ne,{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[Ne]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ne]=t}}return t}var Ae=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Re=0,Ne="__immutablehash__";"function"==typeof Symbol&&(Ne=Symbol(Ne));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?rt():He(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ve])}t(We,xe),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},We.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()},We.prototype.merge=function(){return ht(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},We.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]}))},We.prototype.mergeDeep=function(){return ht(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,pt(t),n)},We.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]}))},We.prototype.sort=function(e){return Ut(dn(this,e))},We.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.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},We.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)},We.isMap=He;var Qe,Ve="@@__IMMUTABLE_MAP__@@",Ye=We.prototype;function Ke(e,t){this.ownerID=e,this.entries=t}function $e(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 Xe(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 B(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(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Qe||(Qe=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(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 Ke(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===Xe}function lt(e,t,n,i,r){if(e.keyHash===i)return new Xe(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 $e(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new F);for(var r=new Je(e,Oe(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 $e(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 ht(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return gt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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 gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).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 mt(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}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(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:E(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 _t(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}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,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){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>=wt)return ut(e,l,i,r);var h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Ke(e,f)}},$e.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(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+m,t,n,i)},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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),h=this.nodes,f=c?h[d]:void 0,p=at(f,e,t+m,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=kt)return dt(e,h,u,s,p);if(c&&!p&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&st(p))return p;var g=e&&e===this.ownerID,v=c?p?u:u^l:u|l,_=c?p?yt(h,d,p,g):_t(h,d,g):bt(h,d,p,g);return g?(this.bitmap=v,this.nodes=_,this):new $e(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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+m,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<xt)return ct(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=yt(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new Ze(e,h,p)},Xe.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},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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 h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Xe(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===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,Oe(i),[i,r])))},Ke.prototype.iterate=Xe.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},$e.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,z),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 G()};var wt=v/4,kt=v/2,xt=v/4;function Ft(e){var t=It();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?Lt(0,i,m,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(Ft,Fe),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Nt(this,e+=this._origin);return n&&n.array[e&y]}return t},Ft.prototype.set=function(e,t){return Mt(this,e,t)},Ft.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ft.prototype.insert=function(e,t){return this.splice(e,0,t)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},Ft.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Ft.prototype.pop=function(){return zt(this,0,-1)},Ft.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},Ft.prototype.shift=function(){return zt(this,1)},Ft.prototype.merge=function(){return Bt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Bt(this,ft,arguments)},Ft.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,pt(t),n)},Ft.prototype.setSize=function(e){return zt(this,0,e)},Ft.prototype.slice=function(e,t){var n=this.size;return D(e,t,n)?this:zt(this,P(e,n),T(t,n))},Ft.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Ft.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Ft.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ft.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=Ft.prototype;function Ot(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Ot.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 Ot([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ot.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-m,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Dt,Pt,Tt={};function At(e,t){var n=e._origin,i=e._capacity,r=Gt(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 Tt;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!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function Lt(e,t,n,i,r,o,a){var s=Object.create(St);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 It(){return Dt||(Dt=Lt(0,0,m))}function Mt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,r,i):e}function jt(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=jt(u,t,n-m,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Nt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new F,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 Ot(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),h=Gt(s);h>=1<<l+m;)u=new Ot(u&&u.array.length?[u]:[],i),l+=m;var f=e._tail,p=h<d?Nt(e,s-1):h>d?new Ot([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=m,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var _=a>>>l&y;if(_!==h>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,l,u,p)}function Bt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Ht():qt(e)?e:Ht().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return He(e)&&c(e)}function Wt(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 Ht(){return Pt||(Pt=Wt(rt(),It()))}function Qt(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Wt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function $t(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=_n,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===M){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===I?L:I,n)},t}function Xt(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(M,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(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=_n,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(M,o),s=0;return new z((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 B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=We().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():We()).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 gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),D(t,n,r))return e;var o=P(t,r),a=T(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=S(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 z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===I?e:B(t,l-1,t===L?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(M,r),s=!0;return new z((function(){if(!s)return G();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===M?e:B(i,l,u,e):(s=!1,G())}))},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(M,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===I?e:B(r,u++,r===L?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===M?e:B(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 z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===M&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},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(I,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?K(o):$(o)}function hn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(I,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),W(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?K:$).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=W(e);if(!t){if(!Q(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(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);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=We(o)},r=i.prototype=Object.create(Fn);return r.constructor=i,i}t(Ut,We),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):Ht()},Ut.prototype.set=function(e,t){return Qt(this,e,t)},Ut.prototype.remove=function(e){return Qt(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?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[p]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Xt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[p]=!0,t(Yt,K),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Kt,$),Kt.prototype.has=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$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){mn(t);var i=a(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(I,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Kt.prototype.cacheResult=$t.prototype.cacheResult=_n,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Cn(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=En(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(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:En(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?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var Fn=xn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Dn(e){return null==e?jn():Pn(e)&&!c(e)?e:jn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[An])}Fn[g]=Fn.remove,Fn.deleteIn=Fn.removeIn=Ye.removeIn,Fn.merge=Ye.merge,Fn.mergeWith=Ye.mergeWith,Fn.mergeIn=Ye.mergeIn,Fn.mergeDeep=Ye.mergeDeep,Fn.mergeDeepWith=Ye.mergeDeepWith,Fn.mergeDeepIn=Ye.mergeDeepIn,Fn.setIn=Ye.setIn,Fn.update=Ye.update,Fn.updateIn=Ye.updateIn,Fn.withMutations=Ye.withMutations,Fn.asMutable=Ye.asMutable,Fn.asImmutable=Ye.asImmutable,t(Dn,Ee),Dn.of=function(){return this(arguments)},Dn.fromKeys=function(e){return this(i(e).keySeq())},Dn.prototype.toString=function(){return this.__toString("Set {","}")},Dn.prototype.has=function(e){return this._map.has(e)},Dn.prototype.add=function(e){return In(this,this._map.set(e,!0))},Dn.prototype.remove=function(e){return In(this,this._map.remove(e))},Dn.prototype.clear=function(){return In(this,this._map.clear())},Dn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).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])},Dn.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)}))}))},Dn.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)}))}))},Dn.prototype.merge=function(){return this.union.apply(this,arguments)},Dn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Dn.prototype.sort=function(e){return Rn(dn(this,e))},Dn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Dn.prototype.wasAltered=function(){return this._map.wasAltered()},Dn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Dn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Dn.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)},Dn.isSet=Pn;var Tn,An="@@__IMMUTABLE_SET__@@",Ln=Dn.prototype;function In(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 Mn(e,t){var n=Object.create(Ln);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Tn||(Tn=Mn(rt()))}function Rn(e){return null==e?Un():Nn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return Pn(e)&&c(e)}Ln[An]=!0,Ln[g]=Ln.remove,Ln.mergeDeep=Ln.merge,Ln.mergeDeepWith=Ln.mergeWith,Ln.withMutations=Ye.withMutations,Ln.asMutable=Ye.asMutable,Ln.asImmutable=Ye.asImmutable,Ln.__empty=jn,Ln.__make=Mn,t(Rn,Dn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Nn;var zn,Bn=Rn.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Ht()))}function qn(e){return null==e?Kn():Wn(e)?e:Kn().unshiftAll(e)}function Wn(e){return!(!e||!e[Qn])}Bn[p]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,Fe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.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):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(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):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.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):Kn()},qn.prototype.slice=function(e,t){if(D(e,t,this.size))return this;var n=P(e,this.size);if(T(t,this.size)!==this.size)return Fe.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):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.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},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Wn;var Hn,Qn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Kn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Qn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Dn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Kt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return Ft(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 gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){qe(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 gn(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 qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(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(L)},map:function(e,t){return gn(this,Xt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(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 gn(this,Jt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(I)},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 C(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(O)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new $t(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=kn(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 hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):oi)},minBy:function(e,t){return hn(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 gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[N]=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){}}(),$n(i,{flip:function(){return gn(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 gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Xn=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 E(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;return si(e.__iterate(n?t?function(e,t){i=31*i+li(Oe(e),Oe(t))|0}:function(e,t){i=i+li(Oe(e),Oe(t))|0}:t?function(e){i=31*i+Oe(e)|0}:function(e){i=i+Oe(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[h]=!0,Xn[N]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},$n(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Jt(this,!1))},slice:function(e,t){return gn(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=P(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=pn(this.toSeq(),K.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,pn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,$n(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,$n(Y,i.prototype),$n(K,r.prototype),$n($,o.prototype),$n(xe,i.prototype),$n(Fe,r.prototype),$n(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:We,OrderedMap:Ut,List:Ft,Stack:qn,Set:Dn,OrderedSet:Rn,Record:xn,Range:we,Repeat:be,is:ve,fromJS:fe}}()}(Z3e);var X3e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function J3e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=X3e(e)):t=X3e(e);return t.body}var e4e=" ",t4e=new RegExp("\r","g"),n4e=new RegExp("\n","g"),i4e=new RegExp(" ","g"),r4e=new RegExp("\r","g"),o4e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],a4e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},s4e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},l4e=function(e,t,n){},u4e=function(e,t,n){return n},c4e=function(e,t){},d4e=function(e){return[]},h4e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function f4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Z3e.exports.Map();return!0===n?{text:"\r",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function p4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z3e.exports.Map();return{text:"\r",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function g4e(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 m4e(e,t,n){return g4e(e,n)}function v4e(e,t,n){var i=a4e[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 y4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z3e.exports.OrderedSet();return v4e(e,t,n)}function b4e(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===e4e||"\n"===t.text)return e;i!==e4e&&"\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 _4e(e,t,n,i,r,o,a,s,l,u,c,d,h,f,p,g){var m=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===m){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:e4e,inlines:[Z3e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(n4e,e4e));var _=Array(b.length).fill(g),w=0;return l(b,c,d,h,f).sort(k3e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),_.splice.bind(_,o,i).apply(_,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:_,blocks:[]}}if("br"===m){var k=i;return null===k?f4e("unstyled",o,!0):f4e(k||"unstyled",o,p.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(m,e,t=v4e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(o+=1),n=m,i=null);var F,E,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(F=C,E=Z3e.exports.Map()):(F="string"==typeof C?C:C.type,E=C.data?Z3e.exports.Map(C.data):Z3e.exports.Map()),i||-1===r.indexOf(m)&&!F)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===F&&(i=F,v=!0,x=f4e(F,o,!0,E));else{var S=g4e(m,n);x=p4e(S,o),i=S,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=p4e(F||g4e(m,n),o,E),i=F||g4e(m,n),v=!0;var O=e.firstChild;null!=O||!g||"atomic"!==F&&"atomic"!==i||(O=document.createTextNode("a")),null!=O&&(m=O.nodeName.toLowerCase());for(var D=null;O;){D=s(m,O,c,d,h,f),x=b4e(x,_4e(O,t,n,i,r,o,a,s,l,u,c,d,h,f,p,D||g),p.flat);var P=O.nextSibling;if(P&&r.indexOf(m)>=0&&i){var T=u(m,O,n,i),A=void 0,L=void 0;!1!==T&&("string"==typeof(T=T||{})?(A=T,L=Z3e.exports.Map()):(A=T.type||g4e(m,n),L=T.data?Z3e.exports.Map(T.data):Z3e.exports.Map()),x=b4e(x,f4e(A,o,p.flat,L),p.flat))}P&&(m=P.nodeName.toLowerCase()),O=P}return v&&(x=b4e(x,p4e(y,o,Z3e.exports.Map()),p.flat)),x}function w4e(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(t4e,"").replace(i4e,e4e));if(!d)return null;var h=function(e){return o4e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?o4e.concat(["div"]):["div"],f=_4e(d,Z3e.exports.OrderedSet(),"ul",null,h,-1,t,n,i,r,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:Z3e.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:Z3e.exports.Map(),depth:0}),f}function k4e(e,t,n,i,r,o,a,s,l,u,c,d){var h=w4e(e,t,n,i,r,o,a,s,l,u,c);if(null==h)return[];var f=0;return h.text.split("\r").map((function(e,t){e=e.replace(r4e,"");var n=f+e.length,i=h4e(h).inlines.slice(f,n),r=h4e(h).entities.slice(f,n),o=Z3e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),_3e.CharacterMetadata.create(n)})));return f=n+1,new _3e.ContentBlock({key:d(),type:h4e(h).blocks[t].type,data:h4e(h).blocks[t].data,depth:h4e(h).blocks[t].depth,text:e,characterList:o})}))}var x4e=function(e){var t=e.htmlToStyle,n=void 0===t?u4e:t,i=e.htmlToEntity,r=void 0===i?c4e:i,o=e.textToEntity,a=void 0===o?d4e:o,s=e.htmlToBlock,l=void 0===s?l4e: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]:J3e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_3e.genKey,s=_3e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():_3e.Entity.create.apply(_3e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):_3e.Entity.get.apply(_3e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):_3e.Entity.mergeData.apply(_3e.Entity,arguments)},h=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):_3e.Entity.replaceData.apply(_3e.Entity,arguments)},f=k4e(e,s4e(n,y4e),s4e(r,c4e),s4e(a,d4e),s4e(l,m4e),u,c,d,h,t,i,o),p=_3e.BlockMapBuilder.createFromArray(f),g=f[0].getKey();return s.merge({blockMap:p,selectionBefore:_3e.SelectionState.createEmpty(g),selectionAfter:_3e.SelectionState.createEmpty(g)})}},F4e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?x4e({}).apply(void 0,arguments):x4e.apply(void 0,arguments)};VQ('/**\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 E4e=32,C4e=31,S4e={};function O4e(e){e&&(e.value=!0)}function D4e(){}function P4e(e){return void 0===e.size&&(e.size=e.__iterate(A4e)),e.size}function T4e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P4e(e)+t:t}function A4e(){return!0}function L4e(e,t,n){return(0===e&&!R4e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function I4e(e,t){return j4e(e,t,0)}function M4e(e,t){return j4e(e,t,t)}function j4e(e,t,n){return void 0===e?n:R4e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function R4e(e){return e<0||0===e&&1/e==-1/0}var N4e="@@__IMMUTABLE_ITERABLE__@@";function z4e(e){return Boolean(e&&e[N4e])}var B4e="@@__IMMUTABLE_KEYED__@@";function G4e(e){return Boolean(e&&e[B4e])}var U4e="@@__IMMUTABLE_INDEXED__@@";function q4e(e){return Boolean(e&&e[U4e])}function W4e(e){return G4e(e)||q4e(e)}var H4e=function(e){return z4e(e)?e:f6e(e)},Q4e=function(e){function t(e){return G4e(e)?e:p6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e),V4e=function(e){function t(e){return q4e(e)?e:g6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e),Y4e=function(e){function t(e){return z4e(e)&&!W4e(e)?e:m6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e);H4e.Keyed=Q4e,H4e.Indexed=V4e,H4e.Set=Y4e;var K4e="@@__IMMUTABLE_SEQ__@@";function $4e(e){return Boolean(e&&e[K4e])}function Z4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function X4e(e){return z4e(e)||Z4e(e)}var J4e="@@__IMMUTABLE_ORDERED__@@";function e6e(e){return Boolean(e&&e[J4e])}var t6e="function"==typeof Symbol&&Symbol.iterator,n6e="@@iterator",i6e=t6e||n6e,r6e=function(e){this.next=e};function o6e(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 a6e(){return{value:void 0,done:!0}}function s6e(e){return!!c6e(e)}function l6e(e){return e&&"function"==typeof e.next}function u6e(e){var t=c6e(e);return t&&t.call(e)}function c6e(e){var t=e&&(t6e&&e[t6e]||e["@@iterator"]);if("function"==typeof t)return t}r6e.prototype.toString=function(){return"[Iterator]"},r6e.KEYS=0,r6e.VALUES=1,r6e.ENTRIES=2,r6e.prototype.inspect=r6e.prototype.toSource=function(){return this.toString()},r6e.prototype[i6e]=function(){return this};var d6e=Object.prototype.hasOwnProperty;function h6e(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 f6e=function(e){function t(e){return null==e?w6e():X4e(e)?e.toSeq():function(e){var t=F6e(e);if(t)return t;if("object"==typeof e)return new y6e(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 r6e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return o6e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(H4e),p6e=function(e){function t(e){return null==e?w6e().toKeyedSeq():z4e(e)?G4e(e)?e.toSeq():e.fromEntrySeq():Z4e(e)?e.toSeq():k6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(f6e),g6e=function(e){function t(e){return null==e?w6e():z4e(e)?G4e(e)?e.entrySeq():e.toIndexedSeq():Z4e(e)?e.toSeq().entrySeq():x6e(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}(f6e),m6e=function(e){function t(e){return(z4e(e)&&!W4e(e)?e:g6e(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}(f6e);f6e.isSeq=$4e,f6e.Keyed=p6e,f6e.Set=m6e,f6e.Indexed=g6e,f6e.prototype[K4e]=!0;var v6e=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[T4e(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 r6e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return o6e(e,o,n[o])}))},t}(g6e),y6e=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 d6e.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 r6e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return o6e(e,a,n[a])}))},t}(p6e);y6e.prototype[J4e]=!0;var b6e,_6e=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=u6e(this._collection),i=0;if(l6e(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=u6e(this._collection);if(!l6e(n))return new r6e(a6e);var i=0;return new r6e((function(){var t=n.next();return t.done?t:o6e(e,i++,t.value)}))},t}(g6e);function w6e(){return b6e||(b6e=new v6e([]))}function k6e(e){var t=Array.isArray(e)?new v6e(e):s6e(e)?new _6e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new y6e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function x6e(e){var t=F6e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function F6e(e){return h6e(e)?new v6e(e):s6e(e)?new _6e(e):void 0}var E6e="@@__IMMUTABLE_MAP__@@";function C6e(e){return Boolean(e&&e[E6e])}function S6e(e){return C6e(e)&&e6e(e)}function O6e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function D6e(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!!(O6e(e)&&O6e(t)&&e.equals(t))}var P6e="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 T6e(e){return e>>>1&1073741824|3221225471&e}var A6e=Object.prototype.valueOf;function L6e(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 T6e(t)}(e);case"string":return e.length>G6e?function(e){var t=W6e[e];void 0===t&&(t=I6e(e),q6e===U6e&&(q6e=0,W6e={}),q6e++,W6e[e]=t);return t}(e):I6e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?T6e(e.hashCode(e)):(e.valueOf!==A6e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(N6e&&void 0!==(t=R6e.get(e)))return t;if(void 0!==(t=e[B6e]))return t;if(!j6e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[B6e]))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=++z6e,1073741824&z6e&&(z6e=0);if(N6e)R6e.set(e,t);else{if(void 0!==M6e&&!1===M6e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(j6e)Object.defineProperty(e,B6e,{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[B6e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[B6e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return I6e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function I6e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return T6e(t)}var M6e=Object.isExtensible,j6e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var R6e,N6e="function"==typeof WeakMap;N6e&&(R6e=new WeakMap);var z6e=0,B6e="__immutablehash__";"function"==typeof Symbol&&(B6e=Symbol(B6e));var G6e=16,U6e=255,q6e=0,W6e={},H6e=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=Z6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=$6e(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}(p6e);H6e.prototype[J4e]=!0;var Q6e=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&&P4e(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&&P4e(this),new r6e((function(){var o=i.next();return o.done?o:o6e(e,t?n.size-++r:r++,o.value,o)}))},t}(g6e),V6e=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 r6e((function(){var t=n.next();return t.done?t:o6e(e,t.value,t.value,t)}))},t}(m6e),Y6e=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){l5e(t);var i=z4e(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 r6e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){l5e(i);var r=z4e(i);return o6e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(p6e);function K6e(e){var t=c5e(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=d5e,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 r6e((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 $6e(e,t,n){var i=c5e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,S4e);return o===S4e?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 r6e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return o6e(i,s,t.call(n,a[1],s,e),r)}))},i}function Z6e(e,t){var n=this,i=c5e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=K6e(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=d5e,i.__iterate=function(n,i){var r=this,o=0;return i&&P4e(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&&P4e(e);var a=e.__iterator(2,!r);return new r6e((function(){var e=a.next();if(e.done)return e;var s=e.value;return o6e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function X6e(e,t,n,i){var r=c5e(e);return i&&(r.has=function(i){var r=e.get(i,S4e);return r!==S4e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,S4e);return o!==S4e&&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 r6e((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 o6e(r,i?u:s++,c,o)}}))},r}function J6e(e,t,n,i){var r=e.size;if(L4e(t,n,r))return e;var o=I4e(t,r),a=M4e(n,r);if(o!=o||a!=a)return J6e(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=c5e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&$4e(e)&&s>=0&&(u.get=function(t,n){return(t=T4e(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 r6e(a6e);var r=e.__iterator(t,n),a=0,l=0;return new r6e((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:o6e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function e5e(e,t,n,i){var r=c5e(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 r6e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:o6e(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:o6e(r,o,c,e)}))},r}function t5e(e,t){var n=G4e(e),i=[e].concat(t).map((function(e){return z4e(e)?n&&(e=Q4e(e)):e=n?k6e(e):x6e(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&&G4e(r)||q4e(e)&&q4e(r))return r}var o=new v6e(i);return n?o=o.toKeyedSeq():q4e(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 n5e(e,t,n){var i=c5e(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)&&z4e(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 r6e((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)||!z4e(l))return n?e:o6e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function i5e(e,t,n){t||(t=h5e);var i=G4e(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?p6e(o):q4e(e)?g6e(o):m6e(o)}function r5e(e,t,n){if(t||(t=h5e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return o5e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return o5e(t,e,n)?n:e}))}function o5e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function a5e(e,t,n,i){var r=c5e(e),o=new v6e(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=H4e(e),u6e(r?e.reverse():e)})),a=0,s=!1;return new r6e((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}:o6e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function s5e(e,t){return e===t?e:$4e(e)?t:e.constructor(t)}function l5e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function u5e(e){return G4e(e)?Q4e:q4e(e)?V4e:Y4e}function c5e(e){return Object.create((G4e(e)?p6e:q4e(e)?g6e:m6e).prototype)}function d5e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):f6e.prototype.cacheResult.call(this)}function h5e(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 f5e(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 p5e(e,t){if(!e)throw new Error(t)}function g5e(e){p5e(e!==1/0,"Cannot perform this action with an infinite size.")}function m5e(e){if(h6e(e)&&"string"!=typeof e)return e;if(e6e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function v5e(e){return"object"==typeof e&&(X4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function y5e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function b5e(e,t,n){return X4e(e)?e.get(t,n):function(e,t){return X4e(e)?e.has(t):v5e(e)&&d6e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function _5e(e){if(Array.isArray(e))return f5e(e);var t={};for(var n in e)d6e.call(e,n)&&(t[n]=e[n]);return t}function w5e(e,t,n,i){i||(i=n,n=void 0);var r=k5e(X4e(e),e,m5e(t),0,n,i);return r===S4e?n:r}function k5e(e,t,n,i,r,o){var a=t===S4e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!v5e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(y5e)+"]: "+t);var u=n[i],c=a?S4e:b5e(t,u,S4e),d=k5e(c===S4e?e:X4e(c),c,n,i+1,r,o);return d===c?t:d===S4e?function(e,t){if(!v5e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(X4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!d6e.call(e,t))return e;var n=_5e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!v5e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(X4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(d6e.call(e,t)&&n===e[t])return e;var i=_5e(e);return i[t]=n,i}(a?e?K5e():{}:t,u,d)}function x5e(e,t){return function(e,t,n){return w5e(e,t,S4e,(function(){return n}))}(this,e,t)}function F5e(e){return function(e,t){return w5e(e,t,(function(){return S4e}))}(this,e)}function E5e(e,t,n,i){return w5e(e,[t],n,i)}function C5e(e,t,n){return 1===arguments.length?e(this):E5e(this,e,t,n)}function S5e(e,t,n){return w5e(this,e,t,n)}function O5e(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Q4e(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){E5e(e,i,S4e,(function(e){return e===S4e?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 D5e(e,t,n){return P5e(e,t,function(e){function t(n,i,r){return v5e(n)&&v5e(i)?P5e(n,[i],t):e?e(n,i,r):i}return t}(n))}function P5e(e,t,n){if(!v5e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(X4e(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?V4e:Q4e,a=i?function(t){r===e&&(r=_5e(r)),r.push(t)}:function(t,i){var o=d6e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=_5e(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function T5e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return w5e(this,e,K5e(),(function(e){return P5e(e,t)}))}function A5e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return w5e(this,e,K5e(),(function(e){return D5e(e,t)}))}function L5e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function I5e(){return this.__ownerID?this:this.__ensureOwner(new D4e)}function M5e(){return this.__ensureOwner()}function j5e(){return this.__altered}Q6e.prototype.cacheResult=H6e.prototype.cacheResult=V6e.prototype.cacheResult=Y6e.prototype.cacheResult=d5e;var R5e=function(e){function t(t){return null==t?K5e():C6e(t)&&!e6e(t)?t:K5e().withMutations((function(n){var i=e(t);g5e(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 K5e().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 $5e(this,e,t)},t.prototype.remove=function(e){return $5e(this,e,S4e)},t.prototype.deleteAll=function(e){var t=H4e(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):K5e()},t.prototype.sort=function(e){return w9e(i5e(this,e))},t.prototype.sortBy=function(e,t){return w9e(i5e(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 H5e(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?Y5e(this.size,this._root,e,this.__hash):0===this.size?K5e():(this.__ownerID=e,this.__altered=!1,this)},t}(Q4e);R5e.isMap=C6e;var N5e=R5e.prototype;N5e[E6e]=!0,N5e.delete=N5e.remove,N5e.removeAll=N5e.deleteAll,N5e.setIn=x5e,N5e.removeIn=N5e.deleteIn=F5e,N5e.update=C5e,N5e.updateIn=S5e,N5e.merge=N5e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O5e(this,e)},N5e.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 O5e(this,t,e)},N5e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return D5e(this,e)},N5e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return D5e(this,t,e)},N5e.mergeIn=T5e,N5e.mergeDeepIn=A5e,N5e.withMutations=L5e,N5e.wasAltered=j5e,N5e.asImmutable=M5e,N5e["@@transducer/init"]=N5e.asMutable=I5e,N5e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},N5e["@@transducer/result"]=function(e){return e.asImmutable()};var z5e=function(e,t){this.ownerID=e,this.entries=t};z5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(D6e(n,r[o][0]))return r[o][1];return i},z5e.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===S4e,l=this.entries,u=0,c=l.length;u<c&&!D6e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(O4e(a),(s||!d)&&O4e(o),!s||1!==l.length){if(!d&&!s&&l.length>=n9e)return function(e,t,n,i){e||(e=new D4e);for(var r=new q5e(e,L6e(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 h=e&&e===this.ownerID,f=h?l:f5e(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new z5e(e,f)}};var B5e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};B5e.prototype.get=function(e,t,n,i){void 0===t&&(t=L6e(n));var r=1<<((0===e?t:t>>>e)&C4e),o=this.bitmap;return 0==(o&r)?i:this.nodes[e9e(o&r-1)].get(e+5,t,n,i)},B5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=(0===t?n:n>>>t)&C4e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===S4e)return this;var d=e9e(u&l-1),h=this.nodes,f=c?h[d]:void 0,p=Z5e(f,e,t+5,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=i9e)return function(e,t,n,i,r){for(var o=0,a=new Array(E4e),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new G5e(e,o+1,a)}(e,h,u,s,p);if(c&&!p&&2===h.length&&X5e(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&X5e(p))return p;var g=e&&e===this.ownerID,m=c?p?u:u^l:u|l,v=c?p?t9e(h,d,p,g):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}(h,d,g):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}(h,d,p,g);return g?(this.bitmap=m,this.nodes=v,this):new B5e(e,m,v)};var G5e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};G5e.prototype.get=function(e,t,n,i){void 0===t&&(t=L6e(n));var r=(0===e?t:t>>>e)&C4e,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},G5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=(0===t?n:n>>>t)&C4e,l=r===S4e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Z5e(c,e,t+5,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<r9e)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 B5e(e,r,a)}(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=t9e(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new G5e(e,h,p)};var U5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};U5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(D6e(n,r[o][0]))return r[o][1];return i},U5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=r===S4e;if(n!==this.keyHash)return s?this:(O4e(a),O4e(o),J5e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!D6e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(O4e(a),(s||!d)&&O4e(o),s&&2===c)return new q5e(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,f=h?l:f5e(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new U5e(e,this.keyHash,f)};var q5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};q5e.prototype.get=function(e,t,n,i){return D6e(n,this.entry[0])?this.entry[1]:i},q5e.prototype.update=function(e,t,n,i,r,o,a){var s=r===S4e,l=D6e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(O4e(a),s?void O4e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new q5e(e,this.keyHash,[i,r]):(O4e(o),J5e(this,e,t,L6e(i),[i,r])))},z5e.prototype.iterate=U5e.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},B5e.prototype.iterate=G5e.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}},q5e.prototype.iterate=function(e,t){return e(this.entry)};var W5e,H5e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&V5e(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 Q5e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Q5e(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 Q5e(e,o.entry);t=this._stack=V5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(r6e);function Q5e(e,t){return o6e(e,t[0],t[1])}function V5e(e,t){return{node:e,index:0,__prev:t}}function Y5e(e,t,n,i){var r=Object.create(N5e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function K5e(){return W5e||(W5e=Y5e(0))}function $5e(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=Z5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===S4e?-1:1:0)}else{if(n===S4e)return e;r=1,i=new z5e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Y5e(r,i):K5e()}function Z5e(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===S4e?e:(O4e(s),O4e(a),new q5e(t,i,[r,o]))}function X5e(e){return e.constructor===q5e||e.constructor===U5e}function J5e(e,t,n,i,r){if(e.keyHash===i)return new U5e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&C4e,s=(0===n?i:i>>>n)&C4e,l=a===s?[J5e(e,t,n+5,i,r)]:(o=new q5e(t,i,r),a<s?[e,o]:[o,e]);return new B5e(t,1<<a|1<<s,l)}function e9e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function t9e(e,t,n,i){var r=i?e:f5e(e);return r[t]=n,r}var n9e=8,i9e=16,r9e=8,o9e="@@__IMMUTABLE_LIST__@@";function a9e(e){return Boolean(e&&e[o9e])}var s9e=function(e){function t(t){var n=p9e();if(null==t)return n;if(a9e(t))return t;var i=e(t),r=i.size;return 0===r?n:(g5e(r),r>0&&r<E4e?f9e(0,r,5,null,new u9e(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=T4e(this,e))>=0&&e<this.size){var n=v9e(this,e+=this._origin);return n&&n.array[e&C4e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=T4e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?y9e(e,t).set(0,n):y9e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=b9e(e._capacity)?i=g9e(i,e.__ownerID,0,t,n,o):r=g9e(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 f9e(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):p9e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){y9e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return y9e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){y9e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return y9e(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&&s6e(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 y9e(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 L4e(e,t,n)?this:y9e(this,I4e(e,n),M4e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=h9e(this,t);return new r6e((function(){var r=i();return r===d9e?{value:void 0,done:!0}:o6e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=h9e(this,t);(n=r())!==d9e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?f9e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?p9e():(this.__ownerID=e,this.__altered=!1,this)},t}(V4e);s9e.isList=a9e;var l9e=s9e.prototype;l9e[o9e]=!0,l9e.delete=l9e.remove,l9e.merge=l9e.concat,l9e.setIn=x5e,l9e.deleteIn=l9e.removeIn=F5e,l9e.update=C5e,l9e.updateIn=S5e,l9e.mergeIn=T5e,l9e.mergeDeepIn=A5e,l9e.withMutations=L5e,l9e.wasAltered=j5e,l9e.asImmutable=M5e,l9e["@@transducer/init"]=l9e.asMutable=I5e,l9e["@@transducer/step"]=function(e,t){return e.push(t)},l9e["@@transducer/result"]=function(e){return e.asImmutable()};var u9e=function(e,t){this.array=e,this.ownerID=t};u9e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&C4e;if(i>=this.array.length)return new u9e([],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=m9e(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},u9e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&C4e;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=m9e(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var c9e,d9e={};function h9e(e,t){var n=e._origin,i=e._capacity,r=b9e(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>E4e&&(u=E4e);return function(){if(l===u)return d9e;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>E4e&&(c=E4e);return function(){for(;;){if(s){var e=s();if(e!==d9e)return e;s=null}if(u===c)return d9e;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function f9e(e,t,n,i,r,o,a){var s=Object.create(l9e);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 p9e(){return c9e||(c9e=f9e(0,0,5))}function g9e(e,t,n,i,r,o){var a,s=i>>>n&C4e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=g9e(u,t,n-5,i,r,o);return c===u?e:((a=m9e(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&O4e(o),a=m9e(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function m9e(e,t){return t&&e&&t===e.ownerID?e:new u9e(e?e.array.slice():[],t)}function v9e(e,t){if(t>=b9e(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&C4e],i-=5;return n}}function y9e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new D4e,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 u9e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=b9e(o),h=b9e(s);h>=1<<l+5;)u=new u9e(u&&u.array.length?[u]:[],i),l+=5;var f=e._tail,p=h<d?v9e(e,s-1):h>d?new u9e([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=m9e(u,i),m=l;m>5;m-=5){var v=d>>>m&C4e;g=g.array[v]=m9e(g.array[v],i)}g.array[d>>>5&C4e]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=5,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var y=a>>>l&C4e;if(y!==h>>>l&C4e)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):f9e(a,s,l,u,p)}function b9e(e){return e<E4e?0:e-1>>>5<<5}var _9e,w9e=function(e){function t(e){return null==e?x9e():S6e(e)?e:x9e().withMutations((function(t){var n=Q4e(e);g5e(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):x9e()},t.prototype.set=function(e,t){return F9e(this,e,t)},t.prototype.remove=function(e){return F9e(this,e,S4e)},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?k9e(t,n,e,this.__hash):0===this.size?x9e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(R5e);function k9e(e,t,n,i){var r=Object.create(w9e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function x9e(){return _9e||(_9e=k9e(K5e(),p9e()))}function F9e(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===S4e){if(!l)return e;a.size>=E4e&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):k9e(i,r)}w9e.isOrderedMap=S6e,w9e.prototype[J4e]=!0,w9e.prototype.delete=w9e.prototype.remove;var E9e="@@__IMMUTABLE_STACK__@@";function C9e(e){return Boolean(e&&e[E9e])}var S9e=function(e){function t(e){return null==e?T9e():C9e(e)?e:T9e().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=T4e(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):P9e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&C9e(t))return t;g5e(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):P9e(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):T9e()},t.prototype.slice=function(t,n){if(L4e(t,n,this.size))return this;var i=I4e(t,this.size);if(M4e(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):P9e(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?P9e(this.size,this._head,e,this.__hash):0===this.size?T9e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new v6e(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 v6e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new r6e((function(){if(i){var t=i.value;return i=i.next,o6e(e,n++,t)}return{value:void 0,done:!0}}))},t}(V4e);S9e.isStack=C9e;var O9e,D9e=S9e.prototype;function P9e(e,t,n,i){var r=Object.create(D9e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function T9e(){return O9e||(O9e=P9e(0))}D9e[E9e]=!0,D9e.shift=D9e.pop,D9e.unshift=D9e.push,D9e.unshiftAll=D9e.pushAll,D9e.withMutations=L5e,D9e.wasAltered=j5e,D9e.asImmutable=M5e,D9e["@@transducer/init"]=D9e.asMutable=I5e,D9e["@@transducer/step"]=function(e,t){return e.unshift(t)},D9e["@@transducer/result"]=function(e){return e.asImmutable()};var A9e="@@__IMMUTABLE_SET__@@";function L9e(e){return Boolean(e&&e[A9e])}function I9e(e){return L9e(e)&&e6e(e)}function M9e(e,t){if(e===t)return!0;if(!z4e(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||G4e(e)!==G4e(t)||q4e(e)!==q4e(t)||e6e(e)!==e6e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!W4e(e);if(e6e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&D6e(r[1],e)&&(n||D6e(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?!D6e(t,e.get(i,S4e)):!D6e(e.get(i,S4e),t))return a=!1,!1}));return a&&e.size===s}function j9e(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 R9e(e){if(!e||"object"!=typeof e)return e;if(!z4e(e)){if(!v5e(e))return e;e=f6e(e)}if(G4e(e)){var t={};return e.__iterate((function(e,n){t[n]=R9e(e)})),t}var n=[];return e.__iterate((function(e){n.push(R9e(e))})),n}var N9e=function(e){function t(t){return null==t?q9e():L9e(t)&&!e6e(t)?t:q9e().withMutations((function(n){var i=e(t);g5e(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(Q4e(e).keySeq())},t.intersect=function(e){return(e=H4e(e).toArray()).length?B9e.intersect.apply(t(e.pop()),e):q9e()},t.union=function(e){return(e=H4e(e).toArray()).length?B9e.union.apply(t(e.pop()),e):q9e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return G9e(this,this._map.set(e,e))},t.prototype.remove=function(e){return G9e(this,this._map.remove(e))},t.prototype.clear=function(){return G9e(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 0===(t=t.filter((function(e){return 0!==e.size}))).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 o7e(i5e(this,e))},t.prototype.sortBy=function(e,t){return o7e(i5e(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}(Y4e);N9e.isSet=L9e;var z9e,B9e=N9e.prototype;function G9e(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 U9e(e,t){var n=Object.create(B9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function q9e(){return z9e||(z9e=U9e(K5e()))}B9e[A9e]=!0,B9e.delete=B9e.remove,B9e.merge=B9e.concat=B9e.union,B9e.withMutations=L5e,B9e.asImmutable=M5e,B9e["@@transducer/init"]=B9e.asMutable=I5e,B9e["@@transducer/step"]=function(e,t){return e.add(t)},B9e["@@transducer/result"]=function(e){return e.asImmutable()},B9e.__empty=q9e,B9e.__make=U9e;var W9e,H9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(p5e(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(W9e)return W9e;W9e=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+T4e(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 L4e(e,n,this.size)?this:(e=I4e(e,this.size),(n=M4e(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 r6e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,o6e(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:M9e(this,e)},t}(g6e);function Q9e(e,t,n){for(var i=m5e(t),r=0;r!==i.length;)if((e=b5e(e,i[r++],S4e))===S4e)return n;return e}function V9e(){g5e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}H4e.isIterable=z4e,H4e.isKeyed=G4e,H4e.isIndexed=q4e,H4e.isAssociative=W4e,H4e.isOrdered=e6e,H4e.Iterator=r6e,j9e(H4e,{toArray:function(){g5e(this.size);var e=new Array(this.size||0),t=G4e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Q6e(this)},toJS:function(){return R9e(this)},toKeyedSeq:function(){return new H6e(this,!0)},toMap:function(){return R5e(this.toKeyedSeq())},toObject:V9e,toOrderedMap:function(){return w9e(this.toKeyedSeq())},toOrderedSet:function(){return o7e(G4e(this)?this.valueSeq():this)},toSet:function(){return N9e(G4e(this)?this.valueSeq():this)},toSetSeq:function(){return new V6e(this)},toSeq:function(){return q4e(this)?this.toIndexedSeq():G4e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return S9e(G4e(this)?this.valueSeq():this)},toList:function(){return s9e(G4e(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 s5e(this,t5e(this,e))},includes:function(e){return this.some((function(t){return D6e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){g5e(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 s5e(this,X6e(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 g5e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){g5e(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 s5e(this,$6e(this,e,t))},reduce:function(e,t,n){return Z9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Z9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return s5e(this,Z6e(this,!0))},slice:function(e,t){return s5e(this,J6e(this,e,t,!0))},some:function(e,t){return!this.every(e7e(e),t)},sort:function(e){return s5e(this,i5e(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 P4e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=R5e().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 M9e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new v6e(e._cache);var t=e.toSeq().map(J9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(e7e(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(A4e,null,e)},flatMap:function(e,t){return s5e(this,function(e,t,n){var i=u5e(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 s5e(this,n5e(this,e,!0))},fromEntrySeq:function(){return new Y6e(this)},get:function(e,t){return this.find((function(t,n){return D6e(n,e)}),void 0,t)},getIn:function(e,t){return Q9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=G4e(e),r=(e6e(e)?w9e():R5e()).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=u5e(e);return r.map((function(t){return s5e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,S4e)!==S4e},hasIn:function(e){return function(e,t){return Q9e(e,t,S4e)!==S4e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:H4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:H4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return D6e(t,e)}))},keySeq:function(){return this.toSeq().map(X9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return r5e(this,e)},maxBy:function(e,t){return r5e(this,t,e)},min:function(e){return r5e(this,e?t7e(e):i7e)},minBy:function(e,t){return r5e(this,t?t7e(t):i7e,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 s5e(this,e5e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(e7e(e),t)},sortBy:function(e,t){return s5e(this,i5e(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 s5e(this,function(e,t,n){var i=c5e(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 r6e((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:o6e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(e7e(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=e6e(e),n=G4e(e),i=t?1:0;return function(e,t){return t=P6e(t,3432918353),t=P6e(t<<15|t>>>-15,461845907),t=P6e(t<<13|t>>>-13,5),t=P6e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=T6e((t=P6e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+r7e(L6e(e),L6e(t))|0}:function(e,t){i=i+r7e(L6e(e),L6e(t))|0}:t?function(e){i=31*i+L6e(e)|0}:function(e){i=i+L6e(e)|0}),i)}(this))}});var Y9e=H4e.prototype;Y9e[N4e]=!0,Y9e[i6e]=Y9e.values,Y9e.toJSON=Y9e.toArray,Y9e.__toStringMapper=y5e,Y9e.inspect=Y9e.toSource=function(){return this.toString()},Y9e.chain=Y9e.flatMap,Y9e.contains=Y9e.includes,j9e(Q4e,{flip:function(){return s5e(this,K6e(this))},mapEntries:function(e,t){var n=this,i=0;return s5e(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return s5e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var K9e=Q4e.prototype;K9e[B4e]=!0,K9e[i6e]=Y9e.entries,K9e.toJSON=V9e,K9e.__toStringMapper=function(e,t){return y5e(t)+": "+y5e(e)},j9e(V4e,{toKeyedSeq:function(){return new H6e(this,!1)},filter:function(e,t){return s5e(this,X6e(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 s5e(this,Z6e(this,!1))},slice:function(e,t){return s5e(this,J6e(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=I4e(e,e<0?this.count():this.size);var i=this.slice(0,e);return s5e(this,1===n?i:i.concat(f5e(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 s5e(this,n5e(this,e,!1))},get:function(e,t){return(e=T4e(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=T4e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return s5e(this,function(e,t){var n=c5e(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 r6e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?o6e(n,a++,t):o6e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(f5e(arguments)),t=a5e(this.toSeq(),g6e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),s5e(this,n)},keySeq:function(){return H9e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return s5e(this,e5e(this,e,t,!1))},zip:function(){var e=[this].concat(f5e(arguments));return s5e(this,a5e(this,n7e,e))},zipAll:function(){var e=[this].concat(f5e(arguments));return s5e(this,a5e(this,n7e,e,!0))},zipWith:function(e){var t=f5e(arguments);return t[0]=this,s5e(this,a5e(this,e,t))}});var $9e=V4e.prototype;function Z9e(e,t,n,i,r,o){return g5e(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function X9e(e,t){return t}function J9e(e,t){return[t,e]}function e7e(e){return function(){return!e.apply(this,arguments)}}function t7e(e){return function(){return-e.apply(this,arguments)}}function n7e(){return f5e(arguments)}function i7e(e,t){return e<t?1:e>t?-1:0}function r7e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}$9e[U4e]=!0,$9e[J4e]=!0,j9e(Y4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Y4e.prototype.has=Y9e.includes,Y4e.prototype.contains=Y4e.prototype.includes,j9e(p6e,Q4e.prototype),j9e(g6e,V4e.prototype),j9e(m6e,Y4e.prototype);var o7e=function(e){function t(e){return null==e?u7e():I9e(e)?e:u7e().withMutations((function(t){var n=Y4e(e);g5e(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(Q4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(N9e);o7e.isOrderedSet=I9e;var a7e,s7e=o7e.prototype;function l7e(e,t){var n=Object.create(s7e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function u7e(){return a7e||(a7e=l7e(x9e()))}s7e[J4e]=!0,s7e.zip=$9e.zip,s7e.zipWith=$9e.zipWith,s7e.__empty=u7e,s7e.__make=l7e;var c7e={exports:{}};
|
|
158
|
+
var Kpe=function(){return Kpe=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},Kpe.apply(this,arguments)};function $pe(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 Zpe(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 Xpe(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 Jpe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function ege(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var tge,nge=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(ige,{},void 0),t.jsx(a.Dialog,Kpe({},r,{modalProps:Kpe(Kpe({},r.modalProps||{}),{className:Yq(EV,"lt-reach-dialog",{"lt-reach-dialog-mobile":rs.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},ige=o.createGlobalStyle(tge||(tge=ege(['\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']))),rge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},oge=function(e){return e&&e.Math==Math&&e},age=oge("object"==typeof globalThis&&globalThis)||oge("object"==typeof window&&window)||oge("object"==typeof self&&self)||oge("object"==typeof rge&&rge)||Function("return this")(),sge={},lge=function(e){try{return!!e()}catch(e){return!0}},uge=!lge((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),cge={},dge={}.propertyIsEnumerable,hge=Object.getOwnPropertyDescriptor,fge=hge&&!dge.call({1:2},1);cge.f=fge?function(e){var t=hge(this,e);return!!t&&t.enumerable}:dge;var pge=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},gge={}.toString,mge=function(e){return gge.call(e).slice(8,-1)},vge=mge,yge="".split,bge=lge((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==vge(e)?yge.call(e,""):Object(e)}:Object,_ge=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},wge=bge,kge=_ge,xge=function(e){return wge(kge(e))},Fge=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Ege=Fge,Cge=function(e,t){if(!Ege(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!Ege(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!Ege(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!Ege(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Sge={}.hasOwnProperty,Oge=function(e,t){return Sge.call(e,t)},Dge=Fge,Pge=age.document,Tge=Dge(Pge)&&Dge(Pge.createElement),Age=function(e){return Tge?Pge.createElement(e):{}},Lge=Age,Ige=!uge&&!lge((function(){return 7!=Object.defineProperty(Lge("div"),"a",{get:function(){return 7}}).a})),Mge=uge,jge=cge,Rge=pge,Nge=xge,zge=Cge,Bge=Oge,Gge=Ige,Uge=Object.getOwnPropertyDescriptor;sge.f=Mge?Uge:function(e,t){if(e=Nge(e),t=zge(t,!0),Gge)try{return Uge(e,t)}catch(e){}if(Bge(e,t))return Rge(!jge.f.call(e,t),e[t])};var qge={},Wge=Fge,Hge=function(e){if(!Wge(e))throw TypeError(String(e)+" is not an object");return e},Qge=uge,Vge=Ige,Yge=Hge,Kge=Cge,$ge=Object.defineProperty;qge.f=Qge?$ge:function(e,t,n){if(Yge(e),t=Kge(t,!0),Yge(n),Vge)try{return $ge(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 Zge=qge,Xge=pge,Jge=uge?function(e,t,n){return Zge.f(e,t,Xge(1,n))}:function(e,t,n){return e[t]=n,e},eme={exports:{}},tme=age,nme=Jge,ime=function(e,t){try{nme(tme,e,t)}catch(n){tme[e]=t}return t},rme=ime,ome="__core-js_shared__",ame=age[ome]||rme(ome,{}),sme=ame,lme=Function.toString;"function"!=typeof sme.inspectSource&&(sme.inspectSource=function(e){return lme.call(e)});var ume=sme.inspectSource,cme=ume,dme=age.WeakMap,hme="function"==typeof dme&&/native code/.test(cme(dme)),fme={exports:{}},pme=ame;(fme.exports=function(e,t){return pme[e]||(pme[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var gme,mme,vme,yme=0,bme=Math.random(),_me=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++yme+bme).toString(36)},wme=fme.exports,kme=_me,xme=wme("keys"),Fme=function(e){return xme[e]||(xme[e]=kme(e))},Eme={},Cme=hme,Sme=Fge,Ome=Jge,Dme=Oge,Pme=Fme,Tme=Eme,Ame=age.WeakMap;if(Cme){var Lme=new Ame,Ime=Lme.get,Mme=Lme.has,jme=Lme.set;gme=function(e,t){return jme.call(Lme,e,t),t},mme=function(e){return Ime.call(Lme,e)||{}},vme=function(e){return Mme.call(Lme,e)}}else{var Rme=Pme("state");Tme[Rme]=!0,gme=function(e,t){return Ome(e,Rme,t),t},mme=function(e){return Dme(e,Rme)?e[Rme]:{}},vme=function(e){return Dme(e,Rme)}}var Nme={set:gme,get:mme,has:vme,enforce:function(e){return vme(e)?mme(e):gme(e,{})},getterFor:function(e){return function(t){var n;if(!Sme(t)||(n=mme(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},zme=age,Bme=Jge,Gme=Oge,Ume=ime,qme=ume,Wme=Nme.get,Hme=Nme.enforce,Qme=String(String).split("String");(eme.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||Gme(n,"name")||Bme(n,"name",t),Hme(n).source=Qme.join("string"==typeof t?t:"")),e!==zme?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:Bme(e,t,n)):o?e[t]=n:Ume(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Wme(this).source||qme(this)}));var Vme=age,Yme=age,Kme=function(e){return"function"==typeof e?e:void 0},$me=function(e,t){return arguments.length<2?Kme(Vme[e])||Kme(Yme[e]):Vme[e]&&Vme[e][t]||Yme[e]&&Yme[e][t]},Zme={},Xme=Math.ceil,Jme=Math.floor,eve=function(e){return isNaN(e=+e)?0:(e>0?Jme:Xme)(e)},tve=eve,nve=Math.min,ive=function(e){return e>0?nve(tve(e),9007199254740991):0},rve=eve,ove=Math.max,ave=Math.min,sve=xge,lve=ive,uve=function(e,t){var n=rve(e);return n<0?ove(n+t,0):ave(n,t)},cve=function(e){return function(t,n,i){var r,o=sve(t),a=lve(o.length),s=uve(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}},dve={includes:cve(!0),indexOf:cve(!1)},hve=Oge,fve=xge,pve=dve.indexOf,gve=Eme,mve=function(e,t){var n,i=fve(e),r=0,o=[];for(n in i)!hve(gve,n)&&hve(i,n)&&o.push(n);for(;t.length>r;)hve(i,n=t[r++])&&(~pve(o,n)||o.push(n));return o},vve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yve=mve,bve=vve.concat("length","prototype");Zme.f=Object.getOwnPropertyNames||function(e){return yve(e,bve)};var _ve={};_ve.f=Object.getOwnPropertySymbols;var wve=Zme,kve=_ve,xve=Hge,Fve=$me("Reflect","ownKeys")||function(e){var t=wve.f(xve(e)),n=kve.f;return n?t.concat(n(e)):t},Eve=Oge,Cve=Fve,Sve=sge,Ove=qge,Dve=lge,Pve=/#|\.prototype\./,Tve=function(e,t){var n=Lve[Ave(e)];return n==Mve||n!=Ive&&("function"==typeof t?Dve(t):!!t)},Ave=Tve.normalize=function(e){return String(e).replace(Pve,".").toLowerCase()},Lve=Tve.data={},Ive=Tve.NATIVE="N",Mve=Tve.POLYFILL="P",jve=Tve,Rve=age,Nve=sge.f,zve=Jge,Bve=eme.exports,Gve=ime,Uve=function(e,t){for(var n=Cve(t),i=Ove.f,r=Sve.f,o=0;o<n.length;o++){var a=n[o];Eve(e,a)||i(e,a,r(t,a))}},qve=jve,Wve=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?Rve:u?Rve[s]||Gve(s,{}):(Rve[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=Nve(n,i))&&a.value:n[i],!qve(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Uve(o,r)}(e.sham||r&&r.sham)&&zve(o,"sham",!0),Bve(n,i,o,e)}},Hve=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Qve=_ge,Vve=function(e){return Object(Qve(e))},Yve=Hve,Kve=Vve,$ve=bge,Zve=ive,Xve=function(e){return function(t,n,i,r){Yve(n);var o=Kve(t),a=$ve(o),s=Zve(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}},Jve={left:Xve(!1),right:Xve(!0)},eye=lge,tye=function(e,t){var n=[][e];return!!n&&eye((function(){n.call(null,t||function(){throw 1},1)}))},nye=uge,iye=lge,rye=Oge,oye=Object.defineProperty,aye={},sye=function(e){throw e},lye=Wve,uye=Jve.left,cye=function(e,t){if(rye(aye,e))return aye[e];t||(t={});var n=[][e],i=!!rye(t,"ACCESSORS")&&t.ACCESSORS,r=rye(t,0)?t[0]:sye,o=rye(t,1)?t[1]:void 0;return aye[e]=!!n&&!iye((function(){if(i&&!nye)return!0;var e={length:-1};i?oye(e,1,{enumerable:!0,get:sye}):e[1]=1,n.call(e,r,o)}))},dye=tye("reduce"),hye=cye("reduce",{1:0});lye({target:"Array",proto:!0,forced:!dye||!hye},{reduce:function(e){return uye(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var fye=mve,pye=vve,gye=Object.keys||function(e){return fye(e,pye)},mye=uge,vye=lge,yye=gye,bye=_ve,_ye=cge,wye=Vve,kye=bge,xye=Object.assign,Fye=Object.defineProperty,Eye=!xye||vye((function(){if(mye&&1!==xye({b:1},xye(Fye({},"a",{enumerable:!0,get:function(){Fye(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!=xye({},e)[n]||yye(xye({},t)).join("")!=i}))?function(e,t){for(var n=wye(e),i=arguments.length,r=1,o=bye.f,a=_ye.f;i>r;)for(var s,l=kye(arguments[r++]),u=o?yye(l).concat(o(l)):yye(l),c=u.length,d=0;c>d;)s=u[d++],mye&&!a.call(l,s)||(n[s]=l[s]);return n}:xye,Cye=Eye;Wve({target:"Object",stat:!0,forced:Object.assign!==Cye},{assign:Cye});var Sye=lge,Oye=!!Object.getOwnPropertySymbols&&!Sye((function(){return!String(Symbol())})),Dye=Oye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pye=age,Tye=fme.exports,Aye=Oge,Lye=_me,Iye=Oye,Mye=Dye,jye=Tye("wks"),Rye=Pye.Symbol,Nye=Mye?Rye:Rye&&Rye.withoutSetter||Lye,zye=function(e){return Aye(jye,e)||(Iye&&Aye(Rye,e)?jye[e]=Rye[e]:jye[e]=Nye("Symbol."+e)),jye[e]},Bye=Fge,Gye=mge,Uye=zye("match"),qye=function(e){var t;return Bye(e)&&(void 0!==(t=e[Uye])?!!t:"RegExp"==Gye(e))},Wye=qye,Hye=function(e){if(Wye(e))throw TypeError("The method doesn't accept regular expressions");return e},Qye=zye("match"),Vye=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Qye]=!1,"/./"[e](t)}catch(e){}}return!1},Yye=Hye,Kye=_ge;function $ye(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)}Wve({target:"String",proto:!0,forced:!Vye("includes")},{includes:function(e){return!!~String(Kye(this)).indexOf(Yye(e),arguments.length>1?arguments[1]:void 0)}});var Zye,Xye=qge,Jye=Hge,ebe=gye,tbe=uge?Object.defineProperties:function(e,t){Jye(e);for(var n,i=ebe(t),r=i.length,o=0;r>o;)Xye.f(e,n=i[o++],t[n]);return e},nbe=$me("document","documentElement"),ibe=Hge,rbe=tbe,obe=vve,abe=Eme,sbe=nbe,lbe=Age,ube=Fme("IE_PROTO"),cbe=function(){},dbe=function(e){return"<script>"+e+"</"+"script>"},hbe=function(){try{Zye=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;hbe=Zye?function(e){e.write(dbe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Zye):((t=lbe("iframe")).style.display="none",sbe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(dbe("document.F=Object")),e.close(),e.F);for(var n=obe.length;n--;)delete hbe.prototype[obe[n]];return hbe()};abe[ube]=!0;var fbe=Object.create||function(e,t){var n;return null!==e?(cbe.prototype=ibe(e),n=new cbe,cbe.prototype=null,n[ube]=e):n=hbe(),void 0===t?n:rbe(n,t)},pbe=fbe,gbe=qge,mbe=zye("unscopables"),vbe=Array.prototype;null==vbe[mbe]&&gbe.f(vbe,mbe,{configurable:!0,value:pbe(null)});var ybe,bbe,_be,wbe=function(e){vbe[mbe][e]=!0},kbe={},xbe=!lge((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Fbe=Oge,Ebe=Vve,Cbe=xbe,Sbe=Fme("IE_PROTO"),Obe=Object.prototype,Dbe=Cbe?Object.getPrototypeOf:function(e){return e=Ebe(e),Fbe(e,Sbe)?e[Sbe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Obe:null},Pbe=Dbe,Tbe=Jge,Abe=Oge,Lbe=zye("iterator"),Ibe=!1;[].keys&&("next"in(_be=[].keys())?(bbe=Pbe(Pbe(_be)))!==Object.prototype&&(ybe=bbe):Ibe=!0),null==ybe&&(ybe={}),Abe(ybe,Lbe)||Tbe(ybe,Lbe,(function(){return this}));var Mbe={IteratorPrototype:ybe,BUGGY_SAFARI_ITERATORS:Ibe},jbe=qge.f,Rbe=Oge,Nbe=zye("toStringTag"),zbe=function(e,t,n){e&&!Rbe(e=n?e:e.prototype,Nbe)&&jbe(e,Nbe,{configurable:!0,value:t})},Bbe=Mbe.IteratorPrototype,Gbe=fbe,Ube=pge,qbe=zbe,Wbe=kbe,Hbe=function(){return this},Qbe=Fge,Vbe=Hge,Ybe=function(e){if(!Qbe(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Kbe=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 Vbe(n),Ybe(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),$be=Wve,Zbe=function(e,t,n){var i=t+" Iterator";return e.prototype=Gbe(Bbe,{next:Ube(1,n)}),qbe(e,i,!1),Wbe[i]=Hbe,e},Xbe=Dbe,Jbe=Kbe,e_e=zbe,t_e=Jge,n_e=eme.exports,i_e=kbe,r_e=Mbe.IteratorPrototype,o_e=Mbe.BUGGY_SAFARI_ITERATORS,a_e=zye("iterator"),s_e="keys",l_e="values",u_e="entries",c_e=function(){return this},d_e=xge,h_e=wbe,f_e=kbe,p_e=Nme,g_e=function(e,t,n,i,r,o,a){Zbe(n,t,i);var s,l,u,c=function(e){if(e===r&&g)return g;if(!o_e&&e in f)return f[e];switch(e){case s_e:case l_e:case u_e:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,f=e.prototype,p=f[a_e]||f["@@iterator"]||r&&f[r],g=!o_e&&p||c(r),m="Array"==t&&f.entries||p;if(m&&(s=Xbe(m.call(new e)),r_e!==Object.prototype&&s.next&&(Xbe(s)!==r_e&&(Jbe?Jbe(s,r_e):"function"!=typeof s[a_e]&&t_e(s,a_e,c_e)),e_e(s,d,!0))),r==l_e&&p&&p.name!==l_e&&(h=!0,g=function(){return p.call(this)}),f[a_e]!==g&&t_e(f,a_e,g),i_e[t]=g,r)if(l={values:c(l_e),keys:o?g:c(s_e),entries:c(u_e)},a)for(u in l)(o_e||h||!(u in f))&&n_e(f,u,l[u]);else $be({target:t,proto:!0,forced:o_e||h},l);return l},m_e="Array Iterator",v_e=p_e.set,y_e=p_e.getterFor(m_e),b_e=g_e(Array,"Array",(function(e,t){v_e(this,{type:m_e,target:d_e(e),index:0,kind:t})}),(function(){var e=y_e(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");f_e.Arguments=f_e.Array,h_e("keys"),h_e("values"),h_e("entries");var __e=age,w_e={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},k_e=b_e,x_e=Jge,F_e=zye,E_e=F_e("iterator"),C_e=F_e("toStringTag"),S_e=k_e.values;for(var O_e in w_e){var D_e=__e[O_e],P_e=D_e&&D_e.prototype;if(P_e){if(P_e[E_e]!==S_e)try{x_e(P_e,E_e,S_e)}catch(e){P_e[E_e]=S_e}if(P_e[C_e]||x_e(P_e,C_e,O_e),w_e[O_e])for(var T_e in k_e)if(P_e[T_e]!==k_e[T_e])try{x_e(P_e,T_e,k_e[T_e])}catch(e){P_e[T_e]=k_e[T_e]}}}var A_e,L_e,I_e,M_e,j_e,R_e,N_e,z_e=function(e){var n=QF().formatMessage;return t.jsx(a.TooltipHost,Kpe({},e,{className:void 0,role:e.role,onClick:e.onClick,hostClassName:e.className,content:e.resourceKey||e.text?e.text||n({id:e.resourceKey},e.values||{}):null,calloutProps:{calloutWidth:e.width,hidden:e.hidden}},{children:e.children}),void 0)},B_e=function(e){return o.css(j_e||(j_e=ege(["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "],["\n ","\n\n ","\n\n box-sizing: border-box;\n padding: ","px ","px;\n border-radius: ","px;\n display: flex;\n "])),(null==e?void 0:e.backgroundColor)?o.css(A_e||(A_e=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.backgroundColor):o.css(L_e||(L_e=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),f5),(null==e?void 0:e.color)?o.css(I_e||(I_e=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.color):o.css(M_e||(M_e=ege(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.textColors.default})),3,x5,F5)},G_e=function(e){var n=e.tooltipResourceKey,i=e.className,r=$pe(e,["tooltipResourceKey","className"]);return t.jsx(z_e,Kpe({resourceKey:n,className:i},{children:t.jsx(U_e,Kpe({},r,{"data-highlight-bubble":!0}),void 0)}),void 0)},U_e=y.default.div.withConfig({displayName:"EditorHighlight__EditorHighlightBubble",componentId:"sc-1d6ahk1-0"})(R_e||(R_e=ege(["\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 opacity: ",";\n flex: 1 1 auto;\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 opacity: ",";\n flex: 1 1 auto;\n }\n"])),B_e(),6,15,z5,(function(e){return e.readOnly?"inherit":"pointer"}),(function(e){return e.isActive?1:.4}));y.default.div.withConfig({displayName:"EditorHighlight__ChannelsEditorBubbleHost",componentId:"sc-1d6ahk1-1"})(N_e||(N_e=ege(["\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}));var q_e,W_e,H_e,Q_e,V_e,Y_e,K_e,$_e,Z_e,X_e,J_e,ewe=y.default.div.withConfig({displayName:"EditorSettingsDialog__Host",componentId:"sc-132lfuo-0"})(q_e||(q_e=ege(["\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"])),F5),twe=y.default((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,h=QF().formatMessage;return t.jsxs(nge,Kpe({hidden:!n,modalProps:{isBlocking:!0,onDismissed:r},dialogContentProps:{type:a.DialogType.normal,title:h({id:s})},onDismiss:i},{children:[t.jsx(ewe,Kpe({className:d},{children:c}),void 0),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:i,"data-button":"cancel"},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,Kpe({disabled:l,onClick:o,"data-button":"save"},{children:t.jsx(hE,{id:u||"Generic.Save"},void 0)}),void 0)]},void 0)]}),void 0)})).withConfig({displayName:"EditorSettingsDialog__EditorSettingsDialogWithFixedWidth",componentId:"sc-132lfuo-1"})(W_e||(W_e=ege(["\n width: 360px;\n"],["\n width: 360px;\n"]))),nwe=y.default(a.IconButton).withConfig({displayName:"IconButton",componentId:"sc-1mokw5y-0"})(H_e||(H_e=ege(["\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})),iwe=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=QF().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return t.jsx(rwe,Kpe({className:o},{children:i?t.jsx(awe,{},void 0):t.jsx(z_e,Kpe({resourceKey:l},{children:t.jsx(owe,{iconProps:{iconName:d},onClick:function(){return r(!n)},ariaLabel:u?c({id:u}):null},void 0)}),void 0)}),void 0)},rwe=y.default.div.withConfig({displayName:"GutterToggle__Host",componentId:"sc-1aya63j-0"})(Q_e||(Q_e=ege(["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"],["\n margin: 0 21px 0 6px;\n\n @media (min-width: 700px) {\n margin: 0 10px 0 18px;\n }\n"]))),owe=y.default(nwe).withConfig({displayName:"GutterToggle__ToggleIcon",componentId:"sc-1aya63j-1"})(V_e||(V_e=ege(["\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"])),R5,20),awe=y.default.div.withConfig({displayName:"GutterToggle__Spacer",componentId:"sc-1aya63j-2"})(Y_e||(Y_e=ege(["\n width: 22px;\n"],["\n width: 22px;\n"]))),swe=o.css(K_e||(K_e=ege(["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"],["\n color: ",";\n text-decoration: underline;\n\n &:hover,\n &:visited {\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent}),(function(e){return e.theme.palette.accent})),lwe=y.default(a.Link).withConfig({displayName:"Link__ExternalLink",componentId:"sc-5x4ijx-0"})($_e||($_e=ege(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),swe),uwe=y.default(r.Link).withConfig({displayName:"Link",componentId:"sc-5x4ijx-1"})(Z_e||(Z_e=ege(["\n && {\n ",";\n }\n"],["\n && {\n ",";\n }\n"])),swe),cwe=function(){var e=Y5().hideNotification,n=i.useContext(V5),r=n.isNotificationBarVisible,o=$pe(n,["isNotificationBarVisible"]),a=QF().formatMessage,s=o.messageId||o.text;return r?t.jsx(dwe,Kpe({className:"notification-wrapper","data-notification-bar":!0},{children:t.jsx(hwe,Kpe({messageBarType:o.messageBarType,className:o.className,actions:o.actions,onDismiss:function(){return e()},isMultiline:!1,dismissButtonAriaLabel:a({id:"AriaLabel.closeNotificationBarButton"})},{children:s&&t.jsx(z_e,Kpe({text:o.text,resourceKey:o.messageId,values:o.messageValues},{children:o.text||t.jsx(hE,{id:o.messageId,values:o.messageValues||{}},void 0)}),void 0)}),void 0)}),void 0):null},dwe=y.default.div.withConfig({displayName:"NotificationBar__Host",componentId:"sc-17dep9g-0"})(X_e||(X_e=ege(["\n display: block;\n position: relative;\n z-index: 101;\n"],["\n display: block;\n position: relative;\n z-index: 101;\n"]))),hwe=y.default(a.MessageBar).withConfig({displayName:"NotificationBar__StyledMessageBar",componentId:"sc-17dep9g-1"})(J_e||(J_e=ege(["\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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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 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-dismissal {\n i {\n color: #fff !important;\n }\n\n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ms-MessageBar-content {\n align-items: center;\n display: flex;\n i {\n color: #fff !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--error {\n background-color: #c24844 !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"])),20,N5,R5,R5,N5,R5,z5,E5,20),fwe=function(e){var n,r=QF().formatMessage,o=m0(),s=g0(),l=a1(),u=l.searchAccounts,c=l.getUserAvatarUrl,d=i.useRef(),h=jk();i.useEffect((function(){e.autoFocus&&d&&d.current&&setTimeout((function(){d.current.focus()}))}),[d,e.autoFocus]);var f=(null===(n=s.subscription.directories)||void 0===n?void 0:n.length)>1,p=!e.selectionMode||e.selectionMode===a.SelectionMode.multiple,g=e.selectedItems||[],m=f,v={defaultSelectedItems:(e.defaultSelectedItems||[]).map((function(e){return y(e)})),resolveDelay:500,onResolveSuggestions:function(e){return b(e,m)},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!==XJ.Group?t.userPrincipalName:null,mail:G0(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:m&&!e.localOnly?r({id:"Generic.searchInDirectories"}):void 0,suggestionsContainerAriaLabel:r({id:"AriaLabel.peoplePicker.suggestionsContainer"})},disabled:e.disabled,pickerCalloutProps:{calloutMaxWidth:h.width<A5?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 _(e).map(y);return e.then((function(e){return _(e).map(y)}))}(e.onEmptyInputFocus())}),e.placeholderStringResourceKey&&0===g.length&&(v.inputProps.placeholder=r({id:e.placeholderStringResourceKey})),e.selectedItems&&(v.selectedItems=g.map((function(e){return y(e)}))),t.jsx(gwe,Kpe({className:Yq(e.className,"people-picker")},{children:t.jsx(a.NormalPeoplePicker,Kpe({},v,{componentRef:d,itemLimit:p?void 0:1}),void 0)}),void 0);function y(e){var t=G0(e.mail)?null:e.mail,n=G0(e.userPrincipalName)?null:e.userPrincipalName,i=Ck(e.displayName||e.mail||e.userPrincipalName),r=e.type===XJ.User?n:e.type===XJ.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:Sk(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 Zpe(this,void 0,void 0,(function(){var i,r,o;return Xpe(this,(function(a){switch(a.label){case 0:if(!t&&0===t.length)return[2,[]];i=e.allowMailItems&&pk(t)&&{mail:t,userPrincipalName:t,displayName:t,type:XJ.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})];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,_(r).map(y)];case 3:return a.sent(),[2,i&&[i].map(y)];case 4:return[2]}}))}))}function _(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 pwe,gwe=y.default.div.withConfig({displayName:"PeoplePicker__Container",componentId:"sc-1if6guq-0"})(pwe||(pwe=ege(["\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"]))),mwe=Wve,vwe=sge.f,ywe=ive,bwe=Hye,_we=_ge,wwe=Vye,kwe="".startsWith,xwe=Math.min,Fwe=wwe("startsWith"),Ewe=!Fwe&&!!function(){var e=vwe(String.prototype,"startsWith");return e&&!e.writable}();mwe({target:"String",proto:!0,forced:!Ewe&&!Fwe},{startsWith:function(e){var t=String(_we(this));bwe(e);var n=ywe(xwe(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return kwe?kwe.call(t,i,n):t.slice(n,n+i.length)===i}});var Cwe=Hge,Swe=function(){var e=Cwe(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},Owe=eme.exports,Dwe=Hge,Pwe=lge,Twe=Swe,Awe="toString",Lwe=RegExp.prototype,Iwe=Lwe.toString,Mwe=Pwe((function(){return"/a/b"!=Iwe.call({source:"a",flags:"b"})})),jwe=Iwe.name!=Awe;(Mwe||jwe)&&Owe(RegExp.prototype,Awe,(function(){var e=Dwe(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Lwe)?Twe.call(e):n)}),{unsafe:!0});var Rwe,Nwe=function(e){var n=e.fileName,i=e.url;return t.jsx(zwe,Kpe({href:i,target:"_blank",download:n,onMouseDown:function(e){return e.preventDefault()}},{children:t.jsx("span",{children:n},void 0)}),void 0)},zwe=y.default.a.withConfig({displayName:"AttachedMediaDownloadLink__Host",componentId:"sc-8hqs4q-0"})(Rwe||(Rwe=ege(["\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}),x5),Bwe=function(e){var n=e.fileName,i=e.url;return i?t.jsxs(Hwe,{children:[t.jsx(Nwe,{fileName:n,url:i},void 0),t.jsxs("audio",Kpe({controls:!0,title:n,controlsList:"nodownload"},{children:[t.jsx("source",{src:i,type:"audio/mpeg"},void 0),t.jsx(hE,{id:"Generic.audioReplayError",tagName:"p"},void 0)]}),void 0)]},void 0):null};function Gwe(e){var t=uH.getType(e);return t&&t.toString().startsWith("audio/")}var Uwe,qwe,Wwe,Hwe=y.default.div.withConfig({displayName:"AudioFile__Host",componentId:"sc-wq9avv-0"})(Uwe||(Uwe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"])));y.default.div.withConfig({displayName:"GroupedListItemStyles__GroupedListItemHost",componentId:"sc-upeq9r-0"})(qwe||(qwe=ege(["\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"])),E5,x5),y.default.h2.withConfig({displayName:"GroupedListItemStyles__GroupedListItemTitle",componentId:"sc-upeq9r-1"})(Wwe||(Wwe=ege(["\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"])),E5,E5,20,(function(e){return e.theme.textColors.default}));var Qwe,Vwe,Ywe,Kwe,$we=function(e){var n=e.children,i=e.deleteButton,r=e.domIdentifier,o=e.backgroundColor,a=e.className;return t.jsxs(Jwe,Kpe({className:a},{children:[i&&t.jsx(Xwe,{children:i},void 0),t.jsx(Zwe,Kpe({"data-attachment":r,backgroundColor:o},{children:n}),void 0)]}),void 0)},Zwe=y.default.div.withConfig({displayName:"AttachmentHost__Inner",componentId:"sc-mjwmvo-0"})(Qwe||(Qwe=ege(["\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+";"})),Xwe=y.default.div.withConfig({displayName:"AttachmentHost__ButtonHost",componentId:"sc-mjwmvo-1"})(Vwe||(Vwe=ege(["\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),Jwe=y.default.div.withConfig({displayName:"AttachmentHost__Host",componentId:"sc-mjwmvo-2"})(Ywe||(Ywe=ege(["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"],["\n position: relative;\n width: 100%;\n margin-top: ","px;\n"])),F5),eke=y.default(a.ActionButton).withConfig({displayName:"ActionButton",componentId:"sc-hmhuj9-0"})(Kwe||(Kwe=ege(["\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})),tke={},nke=lge;function ike(e,t){return RegExp(e,t)}tke.UNSUPPORTED_Y=nke((function(){var e=ike("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),tke.BROKEN_CARET=nke((function(){var e=ike("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var rke=Swe,oke=tke,ake=RegExp.prototype.exec,ske=String.prototype.replace,lke=ake,uke=function(){var e=/a/,t=/b*/g;return ake.call(e,"a"),ake.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),cke=oke.UNSUPPORTED_Y||oke.BROKEN_CARET,dke=void 0!==/()??/.exec("")[1];(uke||dke||cke)&&(lke=function(e){var t,n,i,r,o=this,a=cke&&o.sticky,s=rke.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)),dke&&(n=new RegExp("^"+l+"$(?!\\s)",s)),uke&&(t=o.lastIndex),i=ake.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:uke&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),dke&&i&&i.length>1&&ske.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var hke=lke;Wve({target:"RegExp",proto:!0,forced:/./.exec!==hke},{exec:hke});var fke=eme.exports,pke=lge,gke=zye,mke=hke,vke=Jge,yke=gke("species"),bke=!pke((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),_ke="$0"==="a".replace(/./,"$0"),wke=gke("replace"),kke=!!/./[wke]&&""===/./[wke]("a","$0"),xke=!pke((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]})),Fke=function(e,t,n,i){var r=gke(e),o=!pke((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),a=o&&!pke((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[yke]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!o||!a||"replace"===e&&(!bke||!_ke||kke)||"split"===e&&!xke){var s=/./[r],l=n(r,""[e],(function(e,t,n,i,r){return t.exec===mke?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:_ke,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kke}),u=l[0],c=l[1];fke(String.prototype,e,u),fke(RegExp.prototype,r,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&vke(RegExp.prototype[r],"sham",!0)},Eke=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Cke=mge,Ske=hke,Oke=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"!==Cke(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ske.call(e,t)},Dke=Hge,Pke=_ge,Tke=Eke,Ake=Oke;Fke("search",1,(function(e,t,n){return[function(t){var n=Pke(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=Dke(e),o=String(this),a=r.lastIndex;Tke(a,0)||(r.lastIndex=0);var s=Ake(r,o);return Tke(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var Lke=eve,Ike=_ge,Mke=function(e){return function(t,n){var i,r,o=String(Ike(t)),a=Lke(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}},jke={codeAt:Mke(!1),charAt:Mke(!0)}.charAt,Rke=function(e,t,n){return t+(n?jke(e,t).length:1)},Nke=Fke,zke=Hge,Bke=Vve,Gke=ive,Uke=eve,qke=_ge,Wke=Rke,Hke=Oke,Qke=Math.max,Vke=Math.min,Yke=Math.floor,Kke=/\$([$&'`]|\d\d?|<[^>]*>)/g,$ke=/\$([$&'`]|\d\d?)/g,Zke=function(e){return void 0===e?e:String(e)};Nke("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=qke(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=zke(e),c=String(this),d="function"==typeof i;d||(i=String(i));var h=u.global;if(h){var f=u.unicode;u.lastIndex=0}for(var p=[];;){var g=Hke(u,c);if(null===g)break;if(p.push(g),!h)break;""===String(g[0])&&(u.lastIndex=Wke(c,Gke(u.lastIndex),f))}for(var m="",v=0,y=0;y<p.length;y++){g=p[y];for(var b=String(g[0]),_=Qke(Vke(Uke(g.index),c.length),0),w=[],k=1;k<g.length;k++)w.push(Zke(g[k]));var x=g.groups;if(d){var F=[b].concat(w,_,c);void 0!==x&&F.push(x);var E=String(i.apply(void 0,F))}else E=s(b,c,_,w,x,i);_>=v&&(m+=c.slice(v,_)+E,v=_+b.length)}return m+c.slice(v)}];function s(e,n,i,r,o,a){var s=i+e.length,l=r.length,u=$ke;return void 0!==o&&(o=Bke(o),u=Kke),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=Yke(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 Xke=Fge,Jke=Kbe,exe=$me,txe=qge,nxe=uge,ixe=zye("species"),rxe=function(e){var t=exe(e),n=txe.f;nxe&&t&&!t[ixe]&&n(t,ixe,{configurable:!0,get:function(){return this}})},oxe=uge,axe=age,sxe=jve,lxe=function(e,t,n){var i,r;return Jke&&"function"==typeof(i=t.constructor)&&i!==n&&Xke(r=i.prototype)&&r!==n.prototype&&Jke(e,r),e},uxe=qge.f,cxe=Zme.f,dxe=qye,hxe=Swe,fxe=tke,pxe=eme.exports,gxe=lge,mxe=Nme.set,vxe=rxe,yxe=zye("match"),bxe=axe.RegExp,_xe=bxe.prototype,wxe=/a/g,kxe=/a/g,xxe=new bxe(wxe)!==wxe,Fxe=fxe.UNSUPPORTED_Y;if(oxe&&sxe("RegExp",!xxe||Fxe||gxe((function(){return kxe[yxe]=!1,bxe(wxe)!=wxe||bxe(kxe)==kxe||"/a/i"!=bxe(wxe,"i")})))){for(var Exe=function(e,t){var n,i=this instanceof Exe,r=dxe(e),o=void 0===t;if(!i&&r&&e.constructor===Exe&&o)return e;xxe?r&&!o&&(e=e.source):e instanceof Exe&&(o&&(t=hxe.call(e)),e=e.source),Fxe&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=lxe(xxe?new bxe(e,t):bxe(e,t),i?this:_xe,Exe);return Fxe&&n&&mxe(a,{sticky:n}),a},Cxe=function(e){e in Exe||uxe(Exe,e,{configurable:!0,get:function(){return bxe[e]},set:function(t){bxe[e]=t}})},Sxe=cxe(bxe),Oxe=0;Sxe.length>Oxe;)Cxe(Sxe[Oxe++]);_xe.constructor=Exe,Exe.prototype=_xe,pxe(axe,"RegExp",Exe)}vxe("RegExp");var Dxe=age.Promise,Pxe=eme.exports,Txe={exports:{}},Axe=kbe,Lxe=zye("iterator"),Ixe=Array.prototype,Mxe=Hve,jxe=function(e,t,n){if(Mxe(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)}},Rxe={};Rxe[zye("toStringTag")]="z";var Nxe="[object z]"===String(Rxe),zxe=mge,Bxe=zye("toStringTag"),Gxe="Arguments"==zxe(function(){return arguments}()),Uxe=Nxe?zxe: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),Bxe))?n:Gxe?zxe(t):"Object"==(i=zxe(t))&&"function"==typeof t.callee?"Arguments":i},qxe=Uxe,Wxe=kbe,Hxe=zye("iterator"),Qxe=Hge,Vxe=Hge,Yxe=function(e){return void 0!==e&&(Axe.Array===e||Ixe[Lxe]===e)},Kxe=ive,$xe=jxe,Zxe=function(e){if(null!=e)return e[Hxe]||e["@@iterator"]||Wxe[qxe(e)]},Xxe=function(e,t,n,i){try{return i?t(Qxe(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&Qxe(r.call(e)),t}},Jxe=function(e,t){this.stopped=e,this.result=t},eFe=Txe.exports=function(e,t,n,i,r){var o,a,s,l,u,c,d,h=$xe(t,n,i?2:1);if(r)o=e;else{if("function"!=typeof(a=Zxe(e)))throw TypeError("Target is not iterable");if(Yxe(a)){for(s=0,l=Kxe(e.length);l>s;s++)if((u=i?h(Vxe(d=e[s])[0],d[1]):h(e[s]))&&u instanceof Jxe)return u;return new Jxe(!1)}o=a.call(e)}for(c=o.next;!(d=c.call(o)).done;)if("object"==typeof(u=Xxe(o,h,d.value,i))&&u&&u instanceof Jxe)return u;return new Jxe(!1)};eFe.stop=function(e){return new Jxe(!0,e)};var tFe=zye("iterator"),nFe=!1;try{var iFe=0,rFe={next:function(){return{done:!!iFe++}},return:function(){nFe=!0}};rFe[tFe]=function(){return this},Array.from(rFe,(function(){throw 2}))}catch(e){}var oFe,aFe,sFe,lFe=Hge,uFe=Hve,cFe=zye("species"),dFe=function(e,t){var n,i=lFe(e).constructor;return void 0===i||null==(n=lFe(i)[cFe])?t:uFe(n)},hFe=$me("navigator","userAgent")||"",fFe=/(iphone|ipod|ipad).*applewebkit/i.test(hFe),pFe=age,gFe=lge,mFe=mge,vFe=jxe,yFe=nbe,bFe=Age,_Fe=fFe,wFe=pFe.location,kFe=pFe.setImmediate,xFe=pFe.clearImmediate,FFe=pFe.process,EFe=pFe.MessageChannel,CFe=pFe.Dispatch,SFe=0,OFe={},DFe="onreadystatechange",PFe=function(e){if(OFe.hasOwnProperty(e)){var t=OFe[e];delete OFe[e],t()}},TFe=function(e){return function(){PFe(e)}},AFe=function(e){PFe(e.data)},LFe=function(e){pFe.postMessage(e+"",wFe.protocol+"//"+wFe.host)};kFe&&xFe||(kFe=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return OFe[++SFe]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},oFe(SFe),SFe},xFe=function(e){delete OFe[e]},"process"==mFe(FFe)?oFe=function(e){FFe.nextTick(TFe(e))}:CFe&&CFe.now?oFe=function(e){CFe.now(TFe(e))}:EFe&&!_Fe?(sFe=(aFe=new EFe).port2,aFe.port1.onmessage=AFe,oFe=vFe(sFe.postMessage,sFe,1)):!pFe.addEventListener||"function"!=typeof postMessage||pFe.importScripts||gFe(LFe)||"file:"===wFe.protocol?oFe=DFe in bFe("script")?function(e){yFe.appendChild(bFe("script")).onreadystatechange=function(){yFe.removeChild(this),PFe(e)}}:function(e){setTimeout(TFe(e),0)}:(oFe=LFe,pFe.addEventListener("message",AFe,!1)));var IFe,MFe,jFe,RFe,NFe,zFe,BFe,GFe,UFe={set:kFe,clear:xFe},qFe=age,WFe=sge.f,HFe=mge,QFe=UFe.set,VFe=fFe,YFe=qFe.MutationObserver||qFe.WebKitMutationObserver,KFe=qFe.process,$Fe=qFe.Promise,ZFe="process"==HFe(KFe),XFe=WFe(qFe,"queueMicrotask"),JFe=XFe&&XFe.value;JFe||(IFe=function(){var e,t;for(ZFe&&(e=KFe.domain)&&e.exit();MFe;){t=MFe.fn,MFe=MFe.next;try{t()}catch(e){throw MFe?RFe():jFe=void 0,e}}jFe=void 0,e&&e.enter()},ZFe?RFe=function(){KFe.nextTick(IFe)}:YFe&&!VFe?(NFe=!0,zFe=document.createTextNode(""),new YFe(IFe).observe(zFe,{characterData:!0}),RFe=function(){zFe.data=NFe=!NFe}):$Fe&&$Fe.resolve?(BFe=$Fe.resolve(void 0),GFe=BFe.then,RFe=function(){GFe.call(BFe,IFe)}):RFe=function(){QFe.call(qFe,IFe)});var eEe=JFe||function(e){var t={fn:e,next:void 0};jFe&&(jFe.next=t),MFe||(MFe=t,RFe()),jFe=t},tEe={},nEe=Hve,iEe=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=nEe(t),this.reject=nEe(n)};tEe.f=function(e){return new iEe(e)};var rEe,oEe,aEe=Hge,sEe=Fge,lEe=tEe,uEe=age,cEe=hFe,dEe=age.process,hEe=dEe&&dEe.versions,fEe=hEe&&hEe.v8;fEe?oEe=(rEe=fEe.split("."))[0]+rEe[1]:cEe&&(!(rEe=cEe.match(/Edge\/(\d+)/))||rEe[1]>=74)&&(rEe=cEe.match(/Chrome\/(\d+)/))&&(oEe=rEe[1]);var pEe,gEe,mEe,vEe,yEe=oEe&&+oEe,bEe=Wve,_Ee=age,wEe=$me,kEe=Dxe,xEe=eme.exports,FEe=function(e,t,n){for(var i in t)Pxe(e,i,t[i],n);return e},EEe=zbe,CEe=rxe,SEe=Fge,OEe=Hve,DEe=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},PEe=mge,TEe=ume,AEe=Txe.exports,LEe=function(e,t){if(!t&&!nFe)return!1;var n=!1;try{var i={};i[tFe]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},IEe=dFe,MEe=UFe.set,jEe=eEe,REe=function(e,t){if(aEe(e),sEe(t)&&t.constructor===e)return t;var n=lEe.f(e);return(0,n.resolve)(t),n.promise},NEe=function(e,t){var n=uEe.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},zEe=tEe,BEe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},GEe=Nme,UEe=jve,qEe=yEe,WEe=zye("species"),HEe="Promise",QEe=GEe.get,VEe=GEe.set,YEe=GEe.getterFor(HEe),KEe=kEe,$Ee=_Ee.TypeError,ZEe=_Ee.document,XEe=_Ee.process,JEe=wEe("fetch"),eCe=zEe.f,tCe=eCe,nCe="process"==PEe(XEe),iCe=!!(ZEe&&ZEe.createEvent&&_Ee.dispatchEvent),rCe="unhandledrejection",oCe=UEe(HEe,(function(){if(!(TEe(KEe)!==String(KEe))){if(66===qEe)return!0;if(!nCe&&"function"!=typeof PromiseRejectionEvent)return!0}if(qEe>=51&&/native code/.test(KEe))return!1;var e=KEe.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[WEe]=t,!(e.then((function(){}))instanceof t)})),aCe=oCe||!LEe((function(e){KEe.all(e).catch((function(){}))})),sCe=function(e){var t;return!(!SEe(e)||"function"!=typeof(t=e.then))&&t},lCe=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;jEe((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,h=c.resolve,f=c.reject,p=c.domain;try{d?(o||(2===t.rejection&&hCe(e,t),t.rejection=1),!0===d?s=r:(p&&p.enter(),s=d(r),p&&(p.exit(),u=!0)),s===c.promise?f($Ee("Promise-chain cycle")):(l=sCe(s))?l.call(s,h,f):h(s)):f(r)}catch(e){p&&!u&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&cCe(e,t)}))}},uCe=function(e,t,n){var i,r;iCe?((i=ZEe.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),_Ee.dispatchEvent(i)):i={promise:t,reason:n},(r=_Ee["on"+e])?r(i):e===rCe&&NEe("Unhandled promise rejection",n)},cCe=function(e,t){MEe.call(_Ee,(function(){var n,i=t.value;if(dCe(t)&&(n=BEe((function(){nCe?XEe.emit("unhandledRejection",i,e):uCe(rCe,e,i)})),t.rejection=nCe||dCe(t)?2:1,n.error))throw n.value}))},dCe=function(e){return 1!==e.rejection&&!e.parent},hCe=function(e,t){MEe.call(_Ee,(function(){nCe?XEe.emit("rejectionHandled",e):uCe("rejectionhandled",e,t.value)}))},fCe=function(e,t,n,i){return function(r){e(t,n,r,i)}},pCe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,lCe(e,t,!0))},gCe=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw $Ee("Promise can't be resolved itself");var r=sCe(n);r?jEe((function(){var i={done:!1};try{r.call(n,fCe(gCe,e,i,t),fCe(pCe,e,i,t))}catch(n){pCe(e,i,n,t)}})):(t.value=n,t.state=1,lCe(e,t,!1))}catch(n){pCe(e,{done:!1},n,t)}}};oCe&&(KEe=function(e){DEe(this,KEe,HEe),OEe(e),pEe.call(this);var t=QEe(this);try{e(fCe(gCe,this,t),fCe(pCe,this,t))}catch(e){pCe(this,t,e)}},(pEe=function(e){VEe(this,{type:HEe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=FEe(KEe.prototype,{then:function(e,t){var n=YEe(this),i=eCe(IEe(this,KEe));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=nCe?XEe.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&lCe(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),gEe=function(){var e=new pEe,t=QEe(e);this.promise=e,this.resolve=fCe(gCe,e,t),this.reject=fCe(pCe,e,t)},zEe.f=eCe=function(e){return e===KEe||e===mEe?new gEe(e):tCe(e)},"function"==typeof kEe&&(vEe=kEe.prototype.then,xEe(kEe.prototype,"then",(function(e,t){var n=this;return new KEe((function(e,t){vEe.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof JEe&&bEe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return REe(KEe,JEe.apply(_Ee,arguments))}}))),bEe({global:!0,wrap:!0,forced:oCe},{Promise:KEe}),EEe(KEe,HEe,!1),CEe(HEe),mEe=wEe(HEe),bEe({target:HEe,stat:!0,forced:oCe},{reject:function(e){var t=eCe(this);return t.reject.call(void 0,e),t.promise}}),bEe({target:HEe,stat:!0,forced:oCe},{resolve:function(e){return REe(this,e)}}),bEe({target:HEe,stat:!0,forced:aCe},{all:function(e){var t=this,n=eCe(t),i=n.resolve,r=n.reject,o=BEe((function(){var n=OEe(t.resolve),o=[],a=0,s=1;AEe(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=eCe(t),i=n.reject,r=BEe((function(){var r=OEe(t.resolve);AEe(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var mCe,vCe=O5-C5,yCe=D5-C5;function bCe(e){return!!e&&kCe.test(e)}function _Ce(e){return e?"https://www.google.com/maps/search/?api=1&"+Hg.stringify({query:e}):null}function wCe(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"})(mCe||(mCe=ege(["\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"])),x5,A5,F5,10,10,O5,F5,vCe,D5,yCe);var kCe=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");var xCe,FCe,ECe,CCe,SCe=y.default.div.withConfig({displayName:"Utils__LeftBannerWrapper",componentId:"sc-1qatfzk-0"})(FCe||(FCe=ege(["\n width: 100%;\n height: calc(\n ((100vw - ","px * 2) * (1 / ","))\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 @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,G5,(function(e){return e.showPlaceholder&&o.css(xCe||(xCe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),e.theme.palette.accent)}),O5,vCe,G5,D5,(function(e){return e.defaultWidth?e.defaultWidth:250}));y.default.div.withConfig({displayName:"AvailableSubscriptionList__Host",componentId:"sc-113n7q9-0"})(ECe||(ECe=ege(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),y.default(eke).withConfig({displayName:"AvailableSubscriptionList__SubscriptionButton",componentId:"sc-113n7q9-1"})(CCe||(CCe=ege(["\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 OCe,DCe,PCe,TCe,ACe=function(e){var n=e.children,i=$pe(e,["children"]);return t.jsx(a.FocusTrapCallout,Kpe({},i,{className:Yq(EV,"lt-reach-callout",null==i?void 0:i.className),focusTrapProps:{isClickableOutsideFocusTrap:!0}},{children:n}),void 0)},LCe=function(e){var n=QF().formatMessage,r=i.useState(!1),o=r[0],s=r[1],l=i.useContext(_5).theme.palette.accent;return t.jsxs(nge,Kpe({modalProps:{isBlocking:!0,allowTouchBodyScroll:!0},hidden:!1,dialogContentProps:{type:a.DialogType.close,title:n({id:e.titleResourceKey},e.titleResourceValues),titleProps:{style:{color:l}}},onDismiss:e.onCancel},{children:[t.jsx(ICe,{children:t.jsx(hE,{id:e.infoResourceKey,tagName:"span",values:e.infoResourceValues},void 0)},void 0),t.jsx(MCe,{"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),t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:e.onCancel},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(jCe,Kpe({onClick:e.onConfirm,"data-delete-button":!0,disabled:!o},{children:t.jsx(hE,{id:"Generic.Delete"},void 0)}),void 0)]},void 0)]}),void 0)},ICe=y.default.span.withConfig({displayName:"ConfirmDeleteDialog__LinePreserverSpan",componentId:"sc-1ybmivq-0"})(OCe||(OCe=ege(["\n white-space: pre-line;\n"],["\n white-space: pre-line;\n"]))),MCe=y.default(a.TextField).withConfig({displayName:"ConfirmDeleteDialog__StyledTextField",componentId:"sc-1ybmivq-1"})(DCe||(DCe=ege(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),F5),jCe=y.default(a.PrimaryButton).withConfig({displayName:"ConfirmDeleteDialog__DeleteButton",componentId:"sc-1ybmivq-2"})(PCe||(PCe=ege(["\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})),RCe=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.children,h=QF().formatMessage,f=i.useContext(_5).theme.palette.accent;return t.jsxs(nge,Kpe({hidden:!n,modalProps:{isBlocking:!0},dialogContentProps:{type:a.DialogType.normal,subText:s?h({id:s},l):"",title:h({id:r},o),titleProps:{style:{color:f}}},onDismiss:c},{children:[d,t.jsxs(a.DialogFooter,{children:[t.jsx(a.DefaultButton,Kpe({onClick:c,"data-cancel-button":!0},{children:t.jsx(hE,{id:"Generic.Cancel"},void 0)}),void 0),t.jsx(a.PrimaryButton,Kpe({"data-ok-button":!0,onClick:function(){null==u||u(),null==c||c()}},{children:t.jsx(hE,{id:"Generic.Ok"},void 0)}),void 0)]},void 0)]}),void 0)};y.default.div.withConfig({displayName:"ConfirmResetDialog__Host",componentId:"sc-akcggz-0"})(TCe||(TCe=ege(["\n max-width: 600px;\n"],["\n max-width: 600px;\n"])));var NCe=function(e){var n=e.value,r=i.useContext(EE).language,o=function(e,t,n){void 0===t&&(t=Date.now());void 0===n&&(n={});var i=Kpe(Kpe({},WCe),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/zCe;if(Math.abs(a)<i.hour)return{value:Math.round(a),unit:"hour"};var s=r/BCe;if(Math.abs(s)<i.day)return{value:Math.round(s),unit:"day"};var l=r/GCe;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(),h=12*d+u.getMonth()-c.getMonth();if(Math.round(Math.abs(h))>0&&Math.abs(h)<i.month)return{value:Math.round(h),unit:"month"};return{value:Math.round(d),unit:"year"}}(n),a=o.value,s=o.unit;return t.jsx(tE,Kpe({locale:r},{children:t.jsx(uE,{value:a,numeric:"auto",unit:s,updateIntervalInSeconds:["second","minute","hour"].some((function(e){return e===s}))?10:void 0},void 0)}),void 0)},zCe=3600,BCe=86400,GCe=604800;var UCe,qCe,WCe={second:45,minute:45,hour:22,day:6,week:4,month:12},HCe=function(e){return is(e).isSame(new Date,"day")},QCe=function(e){var n=is(e.value),i=n.toDate(),r=!e.showAsAbsolute&&(e.showAsRelative||HCe(e.value)),o={dateTime:i.toISOString(),title:n.format("LLLL")};return!e.showWeekDay&&r?t.jsx(YCe,Kpe({className:Yq(e.className)},o,{children:t.jsx(NCe,{value:i},void 0)}),void 0):t.jsxs(YCe,Kpe({className:Yq(e.className)},o,{children:[t.jsx(fE,{weekday:e.showWeekDay?"long":void 0,day:"2-digit",month:"2-digit",year:"numeric",value:i},void 0)," ",t.jsx(pE,{value:i},void 0)]}),void 0)},VCe=function(e){var n=e.startDate,i=e.endDate,r=e.className;if(!i)return t.jsx("div",Kpe({className:r},{children:t.jsx(QCe,{value:n,showWeekDay:!0},void 0)}),void 0);var o=is(n),a=is(i);return o.isSame(a,"d")?t.jsxs("div",Kpe({className:r},{children:[t.jsx(QCe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(pE,{value:a.toDate()},void 0)]}),void 0):t.jsxs("div",Kpe({className:r},{children:[t.jsx(QCe,{value:n,showWeekDay:!0},void 0)," - ",t.jsx(QCe,{value:i,showWeekDay:!0},void 0)]}),void 0)},YCe=y.default.time.withConfig({displayName:"DateTime__Host",componentId:"sc-ulo84j-0"})(UCe||(UCe=ege(["\n white-space: nowrap;\n"],["\n white-space: nowrap;\n"])));y.default.div.withConfig({displayName:"Divider",componentId:"sc-1qr9ydh-0"})(qCe||(qCe=ege(["\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}),f5);var KCe,$Ce,ZCe,XCe,JCe,eSe,tSe,nSe=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsx(a.Dropdown,Kpe({},r,{calloutProps:Kpe(Kpe({},r.calloutProps||{}),{className:Yq(EV,"lt-reach-dropdown",null===(n=r.calloutProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)},iSe=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(rSe,Kpe({className:u,offset:null==r?void 0:r.offset,"data-nothing-found":!0},{children:t.jsxs(oSe,Kpe({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(hE,{id:e},void 0)},n)})),l]}),void 0)}),void 0)},rSe=y.default.div.withConfig({displayName:"EmptyList__Container",componentId:"sc-11jeabk-0"})(ZCe||(ZCe=ege(["\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(KCe||(KCe=ege(["\n margin-top: ","px;\n "],["\n margin-top: ","px;\n "])),e.offset):o.css($Ce||($Ce=ege(["\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 "])))})),oSe=y.default.div.withConfig({displayName:"EmptyList__Inner",componentId:"sc-11jeabk-1"})(eSe||(eSe=ege(["\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"])),F5,z5,x5,(function(e){return!e.hasLargeSvgStyle&&o.css(XCe||(XCe=ege(["\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 "])),R5,e.theme.palette.neutralSecondary,E5)}),(function(e){return e.hasLargeParagraphStyle&&e.hasLargeSvgStyle&&o.css(JCe||(JCe=ege(["\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,F5,(function(e){return e.theme.palette.accent}),E5,E5,O5)}),(function(e){return e.theme.palette.accent}),3,L5,24,E5,E5),aSe=function(e,t){return null!=e&&(e&t)===t};y.default.p.withConfig({displayName:"ErrorSection__Host",componentId:"sc-1muscsm-0"})(tSe||(tSe=ege(["\n max-width: 600px;\n margin: 0;\n"],["\n max-width: 600px;\n margin: 0;\n"])));var sSe,lSe,uSe,cSe,dSe,hSe=Wve,fSe=Hve,pSe=Vve,gSe=lge,mSe=tye,vSe=[],ySe=vSe.sort,bSe=gSe((function(){vSe.sort(void 0)})),_Se=gSe((function(){vSe.sort(null)})),wSe=mSe("sort");hSe({target:"Array",proto:!0,forced:bSe||!_Se||!wSe},{sort:function(e){return void 0===e?ySe.call(pSe(this)):ySe.call(pSe(this),fSe(e))}}),y.default.div.withConfig({displayName:"FieldTranslationEditor__Host",componentId:"sc-1s8zb6d-0"})(sSe||(sSe=ege(["\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"]))),y.default.div.withConfig({displayName:"FieldTranslationEditor__TranslationField",componentId:"sc-1s8zb6d-1"})(lSe||(lSe=ege(["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"],["\n display: flex;\n label {\n font-weight: bold !important;\n }\n"]))),y.default(a.TextField).withConfig({displayName:"FieldTranslationEditor__StyledTextField",componentId:"sc-1s8zb6d-2"})(uSe||(uSe=ege(["\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"})(cSe||(cSe=ege(["\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"})(dSe||(dSe=ege(["\n display: flex;\n"],["\n display: flex;\n"])));var kSe,xSe,FSe=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(ESe,Kpe({className:e.className},{children:t.jsx(a.Spinner,Kpe({},e,{className:""}),void 0)}),void 0):null},ESe=y.default.div.withConfig({displayName:"Spinner__Host",componentId:"sc-1wroad6-0"})(kSe||(kSe=ege(["\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"]))),CSe=Fke,SSe=qye,OSe=Hge,DSe=_ge,PSe=dFe,TSe=Rke,ASe=ive,LSe=Oke,ISe=hke,MSe=lge,jSe=[].push,RSe=Math.min,NSe=4294967295,zSe=!MSe((function(){return!RegExp(NSe,"y")}));CSe("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(DSe(this)),r=void 0===n?NSe:n>>>0;if(0===r)return[];if(void 0===e)return[i];if(!SSe(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=ISe.call(d,i))&&!((a=d.lastIndex)>c&&(l.push(i.slice(c,o.index)),o.length>1&&o.index<i.length&&jSe.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=DSe(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=OSe(e),s=String(this),l=PSe(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(zSe?"y":"g"),d=new l(zSe?a:"^(?:"+a.source+")",c),h=void 0===r?NSe:r>>>0;if(0===h)return[];if(0===s.length)return null===LSe(d,s)?[s]:[];for(var f=0,p=0,g=[];p<s.length;){d.lastIndex=zSe?p:0;var m,v=LSe(d,zSe?s:s.slice(p));if(null===v||(m=RSe(ASe(d.lastIndex+(zSe?0:p)),s.length))===f)p=TSe(s,p,u);else{if(g.push(s.slice(f,p)),g.length===h)return g;for(var y=1;y<=v.length-1;y++)if(g.push(v[y]),g.length===h)return g;p=f=m}}return g.push(s.slice(f)),g}]}),!zSe),function(e){e.mp4="video/mp4",e.webm="video/webm",e.quicktime="video/quicktime"}(xSe||(xSe={}));var BSe=function(e){var n=e.fileName,i=e.url;if(!i)return null;var r="safari"===sm?i+"#t=0.1":i;return t.jsxs("div",{children:[t.jsx(Nwe,{fileName:n,url:i},void 0),t.jsxs("video",Kpe({preload:"metadata",controls:!0,title:n,width:"auto",height:"auto"},{children:[t.jsx("source",{src:r,type:"video/mp4"},void 0),t.jsx(hE,{id:"Generic.videoReplayError",tagName:"p"},void 0)]}),void 0)]},void 0)};function GSe(e){var t,n="mac"===rs.deviceInfo.operatingSystem,i=null===(t=uH.getType(e))||void 0===t?void 0:t.toString();return!!i&&(!!i.startsWith(xSe.mp4)||(n?i.startsWith(xSe.quicktime):i.startsWith(xSe.webm)))}var USe,qSe,WSe=function(e,t){return"\n box-shadow: "+e/2+"px "+t/2+"px "+(Math.abs(e)+Math.abs(t))+"px grey;\n "},HSe=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 "},QSe=function(e,t,n){return o.css(qSe||(qSe=ege(["\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 VSe(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 YSe(e){return Zpe(this,void 0,void 0,(function(){return Xpe(this,(function(t){switch(t.label){case 0:return null==e||0===e.length?[2,null]:[4,Promise.all(e.map(VSe))];case 1:return[2,t.sent()]}}))}))}function KSe(e){return Gwe(e)?"MusicInCollectionFill":GSe(e)?"Video":ZSe(null==e?void 0:e.split(".").pop().toLowerCase())}function $Se(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 ZSe(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 XSe(){var e=rq(),t=iq(),n=t.createApiUrl,r=t.fetchFromApi,o=i.useContext(_E).identifier,a=Tg(),s=null==o?void 0:o.id;return i.useMemo((function(){return{exchangeShortLivedToken:function(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(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":s}})]:[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){var n=this;return function(){return Zpe(n,void 0,void 0,(function(){var n;return Xpe(this,(function(i){switch(i.label){case 0:return[4,t()];case 1:return n=i.sent(),window.open(n,"ios"===a.deviceInfo.operatingSystem?"_self":e),[2]}}))}))}}}}),[s,r,n,e])}var JSe,eOe,tOe,nOe,iOe,rOe,oOe,aOe,sOe,lOe,uOe,cOe,dOe,hOe,fOe,pOe,gOe,mOe,vOe=function(e){var n=e.files,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,a=e.disabled,s=e.className;if(!n||0===n.length)return null;var l=n.filter((function(e){return r&&Gwe(e.filename)})),u=n.filter((function(e){return r&&GSe(e.filename)})),c=n.filter((function(e){return!l.includes(e)&&!u.includes(e)}));return t.jsxs(t.Fragment,{children:[u.length>0&&t.jsx(bOe,Kpe({className:s,"data-preload-video":"safari"===sm},{children:u.map((function(e){return t.jsx(_Oe,{children:t.jsx(BSe,{fileName:e.filename,url:r(e.id)},void 0)},e.id)}))}),void 0),l.length>0&&t.jsx(yOe,Kpe({className:s},{children:l.map((function(e){return t.jsx(wOe,{children:t.jsx(Bwe,{fileName:e.filename,url:r(e.id)},void 0)},e.id)}))}),void 0),c.length>0&&t.jsx(yOe,Kpe({className:s},{children:c.map((function(e){return t.jsx(wOe,{children:t.jsx(kOe,{attachment:e,disabled:a,getFileUrl:r,fileAccessToken:o,onDeleteClick:i},void 0)},e.id)}))}),void 0)]},void 0)},yOe=y.default.ul.withConfig({displayName:"FileAttachmentList__FilesListHost",componentId:"sc-lwztxx-0"})(JSe||(JSe=ege(["\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"]))),bOe=y.default.ul.withConfig({displayName:"FileAttachmentList__VideoFilesListHost",componentId:"sc-lwztxx-1"})(eOe||(eOe=ege(["\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),_Oe=y.default.li.withConfig({displayName:"FileAttachmentList__VideoFileItem",componentId:"sc-lwztxx-2"})(tOe||(tOe=ege(["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),x5),wOe=y.default.li.withConfig({displayName:"FileAttachmentList__FileItem",componentId:"sc-lwztxx-3"})(nOe||(nOe=ege(["\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"])),x5,O5,5),kOe=function(e){var n=e.attachment,i=e.onDeleteClick,r=e.getFileUrl,o=e.fileAccessToken,s=e.disabled,l=QF().formatMessage,u=!s&&i,c=XSe(),d=c.exchangeShortLivedToken,h=c.createDownloadClickHandler;return t.jsxs(xOe,{children:[n.isUploadInProgress&&t.jsx(POe,{children:t.jsx(TOe,{size:a.SpinnerSize.medium},void 0)},void 0),t.jsx(EOe,Kpe({takeFullWidth:!u},{children:function(){var e=this;if(n.hasError)return t.jsxs(COe,{children:[t.jsx(AOe,{iconName:"Warning"},void 0),t.jsx(DOe,Kpe({title:n.filename},{children:n.filename}),void 0)]},void 0);var i=KSe(n.filename);if(r)return t.jsxs(FOe,Kpe({title:n.filename,onClick:h("_blank",(function(){return Zpe(e,void 0,void 0,(function(){var e;return Xpe(this,(function(t){switch(t.label){case 0:return[4,d(o)];case 1:return e=t.sent(),[2,r(n.id,e)]}}))}))}))},{children:[t.jsx(SOe,{iconName:i},void 0),t.jsx(DOe,{children:n.filename},void 0)]}),void 0);return t.jsxs(COe,{children:[t.jsx(SOe,{iconName:i},void 0),t.jsx(DOe,Kpe({title:n.filename},{children:n.filename}),void 0)]},void 0)}()}),void 0),u&&t.jsx(OOe,{iconProps:{iconName:"Delete"},onClick:function(){return i(n)},disabled:n.isUploadInProgress,ariaLabel:l({id:"AriaLabel.removeAttachmentButton"})},void 0)]},void 0)},xOe=y.default.div.withConfig({displayName:"FileAttachmentList__Host",componentId:"sc-lwztxx-4"})(iOe||(iOe=ege(["\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})),FOe=y.default(a.DefaultButton).withConfig({displayName:"FileAttachmentList__DownloadButton",componentId:"sc-lwztxx-5"})(rOe||(rOe=ege(["\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}),x5,(function(e){return e.theme.textColors.default})),EOe=y.default.span.withConfig({displayName:"FileAttachmentList__Inner",componentId:"sc-lwztxx-6"})(sOe||(sOe=ege(["\n display: inline-flex;\n\n ","\n"],["\n display: inline-flex;\n\n ","\n"])),(function(e){return e.takeFullWidth?o.css(oOe||(oOe=ege(["\n width: 100%;\n "],["\n width: 100%;\n "]))):o.css(aOe||(aOe=ege(["\n width: calc(100% - 34px); // delete button size;\n "],["\n width: calc(100% - 34px); // delete button size;\n "])))})),COe=y.default.span.withConfig({displayName:"FileAttachmentList__FileNameContainer",componentId:"sc-lwztxx-7"})(lOe||(lOe=ege(["\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"])),x5),SOe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__FileIcon",componentId:"sc-lwztxx-8"})(uOe||(uOe=ege(["\n margin-right: ","px;\n font-size: 18px;\n"],["\n margin-right: ","px;\n font-size: 18px;\n"])),x5),OOe=y.default(a.IconButton).withConfig({displayName:"FileAttachmentList__DeleteButton",componentId:"sc-lwztxx-9"})(cOe||(cOe=ege(["\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})),DOe=y.default.span.withConfig({displayName:"FileAttachmentList__FileName",componentId:"sc-lwztxx-10"})(dOe||(dOe=ege(["\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"]))),POe=y.default.div.withConfig({displayName:"FileAttachmentList__AttachmentOverlay",componentId:"sc-lwztxx-11"})(hOe||(hOe=ege(["\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"]))),TOe=y.default(FSe).withConfig({displayName:"FileAttachmentList__CenteredSpinner",componentId:"sc-lwztxx-12"})(fOe||(fOe=ege(["\n margin-top: auto;\n height: 100%;\n"],["\n margin-top: auto;\n height: 100%;\n"]))),AOe=y.default(a.Icon).withConfig({displayName:"FileAttachmentList__WarningIcon",componentId:"sc-lwztxx-13"})(pOe||(pOe=ege(["\n font-size: 20px;\n color: ",";\n"],["\n font-size: 20px;\n color: ",";\n"])),(function(e){return e.theme.palette.redDark})),LOe=function(e){var n,i=e.children,r=$pe(e,["children"]);return t.jsxs(t.Fragment,{children:[t.jsx(IOe,{},void 0),t.jsx(nge,Kpe({},r,{modalProps:Kpe(Kpe({},r.modalProps||{}),{className:Yq({"lt-reach-dialog-mobile-full-height":rs.isAnyMobileApp},null===(n=r.modalProps)||void 0===n?void 0:n.className)})},{children:i}),void 0)]},void 0)},IOe=o.createGlobalStyle(gOe||(gOe=ege(['\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"}(mOe||(mOe={})),y.default.nav.withConfig({displayName:"FloatingActionButton__Navigation",componentId:"sc-1spkihm-0"})(ROe||(ROe=ege(["\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(MOe||(MOe=ege(["\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 "])),D5,e.offsetTop+20):o.css(jOe||(jOe=ege(["\n top: ","px;\n "],["\n top: ","px;\n "])),e.offsetTop+20)}));var MOe,jOe,ROe,NOe,zOe,BOe,GOe,UOe,qOe,WOe,HOe,QOe,VOe=function(e){return o.css(BOe||(BOe=ege(["\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(NOe||(NOe=ege(["\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(zOe||(zOe=ege(["\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})))};o.createGlobalStyle(GOe||(GOe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return kV("\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 ")})),y.default(a.IconButton).withConfig({displayName:"FloatingActionButton__StyledFabIconButton",componentId:"sc-1spkihm-1"})(UOe||(UOe=ege(["\n &&& {\n ","\n }\n"],["\n &&& {\n ","\n }\n"])),(function(e){return VOe(e.useSecondaryBgColor)})),y.default(z_e).withConfig({displayName:"FloatingActionButton__StyledTooltip",componentId:"sc-1spkihm-2"})(qOe||(qOe=ege(["\n a,\n a:visited {\n ","\n }\n"],["\n a,\n a:visited {\n ","\n }\n"])),(function(e){return VOe(e.useSecondaryBgColor)})),y.default.div.withConfig({displayName:"FloatingActionButton__CalloutHost",componentId:"sc-1spkihm-3"})(WOe||(WOe=ege(["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"],["\n display: flex;\n flex-direction: column;\n padding: ","px;\n"])),F5),y.default(a.DefaultButton).withConfig({displayName:"FloatingActionButton__CalloutCloseButton",componentId:"sc-1spkihm-4"})(HOe||(HOe=ege(["\n && {\n margin-left: auto;\n }\n"],["\n && {\n margin-left: auto;\n }\n"]))),o.createGlobalStyle(QOe||(QOe=ege(["\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"])),A5);var YOe,KOe=function(e){var n=e.tagName,r=void 0===n?"div":n,o=e.id,a=e.values,s=e.className;return i.createElement(r,{className:s},t.jsx(hE,{id:o,values:a},void 0))},$Oe=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(ZOe,Kpe({className:r},{children:[s,t.jsx(hE,{id:i,values:o,tagName:"span"},void 0)]}),void 0)},ZOe=y.default.div(YOe||(YOe=ege(["\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,z5),XOe={},JOe=new vW;var eDe=new vW;function tDe(e){var t=i.useRef(!0);i.useEffect((function(){t.current||eDe.next(),t.current=!1}),e)}var nDe,iDe,rDe,oDe,aDe=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=g0(),h=A1(i.useContext(c9).selectedKeywordGroups,d,r,o,n,s);return u?t.jsx(lDe,Kpe({onClick:function(){return u(a)},tabIndex:c},{children:t.jsx(uDe,Kpe({underlined:!0},{children:h}),void 0)}),void 0):t.jsx(uDe,Kpe({underlined:l},{children:h}),void 0)},sDe=function(e){var n=e.groupId,r=e.keywordName,o=g0(),a=A1(i.useContext(c9).selectedKeywordGroups,o,n,r);return tDe([a]),t.jsx(uDe,Kpe({underlined:!0},{children:a}),void 0)},lDe=y.default(eke).withConfig({displayName:"KeywordTitle__KeywordButton",componentId:"sc-18jcqyr-0"})(nDe||(nDe=ege(["\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})),uDe=y.default.span.withConfig({displayName:"KeywordTitle__Keyword",componentId:"sc-18jcqyr-1"})(rDe||(rDe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.underlined&&o.css(iDe||(iDe=ege(["\n text-decoration: underline;\n "],["\n text-decoration: underline;\n "])))})),cDe=function(e){var n=e.modified,i=QF();return n?t.jsxs(dDe,Kpe({className:"ms-fontColor-neutralTertiary"},{children:["(",t.jsx(z_e,Kpe({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(hE,{id:"Generic.wasModified"},void 0)}),void 0),")"]}),void 0):null},dDe=y.default.span(oDe||(oDe=ege(["\n font-size: ","px;\n margin-left: ","px;\n\n @media (max-width: ","px) {\n display: block;\n margin-left: 0;\n }\n"],["\n font-size: ","px;\n margin-left: ","px;\n\n @media (max-width: ","px) {\n display: block;\n margin-left: 0;\n }\n"])),B5,6,L5);function hDe(){return hDe=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},hDe.apply(this,arguments)}var fDe=function(e){return g.createElement("svg",hDe({width:400,height:246,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 90.012h400v100H0z"}),g.createElement("path",{d:"M303.95 99.623c0-6.623-5.377-12-12-12h-223c-6.623 0-12 5.377-12 12s5.377 12 12 12h223c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M109.95 111.623h231.857c6.113 0 11.143 5.417 11.143 12s-5.03 12-11.143 12H109.95c6.113 0 11.143-5.417 11.143-12s-5.03-12-11.143-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("circle",{cx:374.95,cy:123.623,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M328.95 147.623c0-6.623-5.377-12-12-12h-229c-6.623 0-12 5.377-12 12s5.377 12 12 12h229c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M72.95 159.623h181c-6.583 0-12 5.417-12 12s5.417 12 12 12h-181c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("path",{d:"M354.95 195.623c0-6.623-5.377-12-12-12h-249c-6.623 0-12 5.377-12 12s5.377 12 12 12h249c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m287.318 41.85-140.914-4.921-6.98 199.878 140.914 4.921 6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m281.417 34.091-140.914 4.921 6.98 199.878 140.914-4.921-6.98-199.878Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M270.614 121.843a3.922 3.922 0 0 0 2.186-5.094l-12.336-30.881a3.921 3.921 0 0 0-5.094-2.187 3.922 3.922 0 0 0-2.186 5.095l12.335 30.881a3.923 3.923 0 0 0 5.095 2.186Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M257.614 132.166c-13.771-34.474-20.534-54.646-13.585-57.422l.021-.008c6.947-2.729 15.939 16.546 29.696 50.986l-16.132 6.444Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m257.875 130.779 14.726-5.882c15.927 39.871 28.772 71.236 21.136 74.286-7.636 3.05-19.935-28.532-35.862-68.404ZM94.857 6.66c6.969 3.252 17.655 10.686 17.655 10.686-4.646 6.505-6.504 16.262-6.504 16.262 10.686 5.111 6.04 13.009 6.04 13.009-6.04 1.394-20.444-2.323-20.444-2.323-3.252 11.615-16.261 3.717-16.261 3.717 1.858-11.616 2.787-24.16 2.787-24.16-6.04-6.97-4.646-18.585-4.646-18.585C81.847 8.518 94.857 6.66 94.857 6.66Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M80.314 30.738c5.111 11.615 13.939 13.938 13.939 13.938 5.576 3.717 23.231-16.726 23.231-16.726 2.788 7.434-.929 19.514-.929 19.514-.929 6.04-6.969 13.474-6.969 13.474-5.111 3.717-21.373 2.323-21.373 2.323-9.757-5.575-14.868-8.828-14.868-8.828 1.859-9.757 6.505-14.403 6.505-14.403l.464-9.292Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M65.554 32.465c-2.788 10.222-2.323 17.191-2.323 17.191 5.111 7.898 18.585 14.403 18.585 14.403l8.828-12.545c4.181-3.252 14.867 2.323 14.867 2.323 6.505 2.788 13.01-13.009 13.01-13.009-10.686-10.222-15.333-14.868-15.333-14.868-5.11-7.434-6.504-13.938-6.504-13.938l-4.647-7.899c-4.646 4.646-4.181 26.019-4.181 26.019C90.179 34.788 71.594 32 71.594 32l-6.04.465Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m59.887 23.474-5.555 9.305 5.4 7.121 10.694 3.229c8.278-1.275 12.592-3.061 12.592-3.061 3.727-7.798 5.745-9.934 5.745-9.934l5.045-5.341 5.483-4.521.042-5.822-6.7-1.679c-6.172 2.254-12.943 5.358-12.943 5.358-3.685 1.976-14.171 6.016-14.171 6.016l-5.632-.671Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M102.724 12.771c-5.576 4.646-20.908 16.726-20.908 16.726-5.576 3.717-12.08 10.222-12.08 10.222l2.787 7.898c4.647 4.182 11.616 6.969 11.616 6.969 9.292 3.253 18.12 1.859 18.12 1.859 7.899-12.545 10.686-19.514 10.686-19.514 3.253-9.757 5.576-19.514 5.576-19.514-6.04-2.788-15.797-4.646-15.797-4.646Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M86.898 11.688c-6.505 2.323-17.191 6.04-17.191 6.04l-6.04 9.293-.465 13.474c6.505.929 18.12 3.717 18.12 3.717-.929-6.505-2.323-12.081-2.323-12.081l-.465-6.969 8.364-13.474Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function pDe(){return pDe=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},pDe.apply(this,arguments)}var gDe=function(e){return g.createElement("svg",pDe({width:400,height:160,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 31.309h400v100H0z"}),g.createElement("path",{d:"M341.375 39.358c0-6.623-5.377-12-12-12h-248.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h248.5c6.623 0 12-5.377 12-12ZM394.625 63.358c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h337.75c6.623 0 12-5.377 12-12ZM384.625 135.309c0-6.623-5.377-12-12-12H44.875c-6.623 0-12 5.377-12 12s5.377 12 12 12h327.75c6.623 0 12-5.377 12-12ZM151.75 75.358H16c-6.623 0-12 5.377-12 12s5.377 12 12 12h135.75c-6.623 0-12-5.377-12-12s5.377-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M58.688 99.358h153.75c6.623 0 12 5.377 12 12s-5.377 12-12 12H58.688c6.623 0 12-5.377 12-12s-5.377-12-12-12ZM368.778 98.309c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M198.494 11.655 94.626 18.918a5.483 5.483 0 0 0-5.084 5.849l8.792 125.734a5.483 5.483 0 0 0 5.849 5.084l103.867-7.263-9.556-136.667ZM202.138 11.4l103.867-7.263a5.483 5.483 0 0 1 5.849 5.084l8.792 125.734a5.483 5.483 0 0 1-5.084 5.849l-103.867 7.263L202.138 11.4Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m195.257 43.926.191 2.733-3.645.255-.509-7.289 3.644-.255.191 2.734 5.467-.383-1.465-20.955-91.112 6.371 8.283 118.445 91.111-6.371-1.465-20.956-5.467.382.191 2.734-3.644.255-.51-7.289 3.645-.255.191 2.733 5.466-.382-5.097-72.889-5.466.382ZM209.835 42.907l.191 2.733 3.644-.255-.509-7.289-3.645.255.191 2.733-5.466.383-1.466-20.956 91.112-6.371 8.282 118.445-91.111 6.371L209.592 118l5.467-.382.191 2.733 3.645-.254-.51-7.289-3.645.255.192 2.733-5.467.382-5.097-72.889 5.467-.382Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:1}}),g.createElement("path",{d:"m193.498 44.964 18.223-1.274M198.723 119.676l18.222-1.274M193.243 41.32l18.223-1.274M198.468 116.032l18.222-1.275",style:{fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeMiterlimit:1.5}}),g.createElement("path",{d:"m123.999 46.162 60.133-4.205M124.954 59.829l60.134-4.205M125.91 73.496l60.134-4.205M126.866 87.162l60.133-4.205M127.821 100.829l60.134-4.205M128.777 114.496l60.134-4.205M129.733 128.163l60.133-4.205M282.087 28.698l-57.401 4.014 2.74 39.178 57.4-4.014-2.739-39.178ZM285.591 78.81l-57.4 4.014 2.739 39.178 57.401-4.014-2.74-39.178Z",style:{fill:"none",stroke:"currentColor",strokeOpacity:.2,strokeWidth:2}}))};function mDe(){return mDe=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},mDe.apply(this,arguments)}var vDe=function(e){return g.createElement("svg",mDe({width:400,height:185,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 30h400v100H0z"}),g.createElement("path",{d:"M306.436 12c0-6.623-5.377-12-12-12h-153.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.5c6.623 0 12-5.377 12-12ZM372.436 60c0-6.623-5.377-12-12-12H50.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h309.75c6.623 0 12-5.377 12-12ZM343.325 72.049h-153.75c-6.623 0-12 5.377-12 12s5.377 12 12 12h153.75c-6.623 0-12-5.377-12-12s5.377-12 12-12ZM282.436 36c0-6.623-5.377-12-12-12H74.686c-6.623 0-12 5.377-12 12s5.377 12 12 12h195.75c6.623 0 12-5.377 12-12ZM282.436 132c0-6.623-5.377-12-12-12h-129.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h129.5c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M356.686 108c0-6.623-5.377-12-12-12H68.936c-6.623 0-12 5.377-12 12s5.377 12 12 12h275.75c6.623 0 12-5.377 12-12ZM392.95 108c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m324.66 39.281-87.775-6.288-7.646 106.726 87.775 6.288 7.646-106.726Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m319.316 43.911-77.801-5.574-5.574 77.801 77.801 5.573 5.574-77.8Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M314.299 74.522 227.54 59.795l-17.906 105.491 86.759 14.727 17.906-105.491Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m308.533 78.615-76.9-13.053-13.054 76.9 76.9 13.053 13.054-76.9Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M240.587 19.16 93.266 33.322l10.047 104.518 147.321-14.162L240.587 19.16Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m168.075 38.186 7.654 79.633M186.507 83.631l41.808-4.019M187.751 96.571l41.808-4.019M188.995 109.511l41.808-4.018",style:{fill:"none",stroke:"currentColor",strokeWidth:1}}),g.createElement("path",{d:"m232.394 27.985-17.918 1.722 2.105 21.899 17.918-1.722-2.105-21.899Z",style:{fill:"currentColor",fillOpacity:.2}}))};function yDe(){return yDe=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},yDe.apply(this,arguments)}var bDe,_De,wDe,kDe,xDe,FDe,EDe,CDe,SDe,ODe,DDe,PDe=function(e){return g.createElement("svg",yDe({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 124"},e),g.createElement("path",{style:{fill:"none"},d:"M0 6.131h400v100H0z"}),g.createElement("path",{d:"M248 12c0-6.623-5.377-12-12-12H136c-6.623 0-12 5.377-12 12s5.377 12 12 12h100c6.623 0 12-5.377 12-12ZM320 36c0-6.623-5.377-12-12-12H62c-6.623 0-12 5.377-12 12s5.377 12 12 12h246c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M105 48h245c6.583 0 12 5.417 12 12s-5.417 12-12 12H105c6.583 0 12-5.417 12-12s-5.417-12-12-12ZM36 72h268c-6.583 0-12 5.417-12 12s5.417 12 12 12H36c-6.583 0-12-5.417-12-12s5.417-12 12-12Z",style:{fill:"currentColor",fillOpacity:.2,fillRule:"nonzero"}}),g.createElement("path",{d:"M320 108c0-6.623-5.377-12-12-12H142c-6.623 0-12 5.377-12 12s5.377 12 12 12h166c6.623 0 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("circle",{cx:350,cy:108,r:12,style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m290.483 107.633-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M259.221 66.661 122.533 78.619l.608 6.951 136.688-11.959-.608-6.95ZM233.685 81.664l-110.046 9.628.608 6.951 110.046-9.628-.608-6.951Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M292.222 31.003a1.175 1.175 0 0 0-.465-.814.774.774 0 0 0-.814-.233L235.71 34.84l5.814-9.3c.581.233 1.279.465 1.86.7 2.907.93 6.047.814 7.907-1.163 1.977-1.977 2.093-5 1.163-7.907a23.214 23.214 0 0 0-5.7-8.953 22.876 22.876 0 0 0-8.837-5.7 11.406 11.406 0 0 0-3.372-.581h-1.047a6.055 6.055 0 0 0-3.6 1.628c-1.977 1.977-2.093 5-1.163 7.907.233.581.465 1.279.7 1.86l-12.093 7.558a21.654 21.654 0 0 0-8.14-1.86c-3.372 0-6.512.93-8.721 3.256-3.14 3.14-3.837 7.791-2.791 12.558.233 1.047.581 2.093.93 3.256l-94.188 8.253a1.115 1.115 0 0 0-1.049 1.281l6.4 73.256c.036.324.204.619.465.814.267.198.602.282.93.233l6.86-1.4c.233 0 .349-.116.581-.233l6.86-6.279c.443-.348.96-.588 1.512-.7.44-.036.881.044 1.279.233l21.86 9.535a.703.703 0 0 0 .465.116h.233l22.555-5.345c.349-.116.581-.233.7-.581l6.86-12.558a2.665 2.665 0 0 1 2.907-1.279l16.633 4.188h.116l18.372 2.209c10.7 1.047 23.372 2.093 25.93 2.093a.701.701 0 0 0 .465-.116c2.558-.93 13.14-7.326 19.884-11.512a1.768 1.768 0 0 1 1.512-.349l12.791.814a2.477 2.477 0 0 1 1.744.814l8.14 8.488c.322.359.851.456 1.279.233l7.442-3.256c.472-.179.762-.662.7-1.163l-6.636-74.885Zm-1.739 76.63-7.558-7.907a4.774 4.774 0 0 0-3.256-1.512l-12.674-.814a4.922 4.922 0 0 0-2.907.7c-8.488 5.349-16.977 10.349-19.186 11.279-2.791 0-15.116-1.047-25.465-2.093l-18.256-2.093-16.512-4.186a4.792 4.792 0 0 0-5.465 2.442l-6.633 12.084-21.744 5.116-21.512-9.416a5.444 5.444 0 0 0-1.977-.349h-.465a5.5 5.5 0 0 0-2.907 1.279l-6.628 6.047-5.349 1.047-6.162-70.812 93.721-8.256a30.769 30.769 0 0 0 2.674 4.535l-1.739 2.79a4.618 4.618 0 0 0-1.162 3.061c0 2.531 2.083 4.613 4.613 4.613h.037a5.169 5.169 0 0 0 2.674-.814l3.372-1.86a26.83 26.83 0 0 0 10 4.651c4.767 1.047 9.535.349 12.558-2.791 4.07-4.07 4.07-10.581 1.279-16.977l.116-.233 55.813-4.882 6.4 72.674-5.7 2.677Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"#fff"}}),g.createElement("path",{d:"M232.92 5.075a2.458 2.458 0 0 1 1.86-.7h.581a6.331 6.331 0 0 1 2.326.465 19.61 19.61 0 0 1 7.674 5 18.44 18.44 0 0 1 4.884 7.674c.7 2.326.465 3.953-.349 4.767-.814.814-2.442 1.047-4.767.349a19.614 19.614 0 0 1-7.674-5 18.444 18.444 0 0 1-4.884-7.674c-.814-2.441-.465-4.069.349-4.881ZM231.175 15.886a25.059 25.059 0 0 0 3.6 4.419 24.213 24.213 0 0 0 4.42 3.488l-11.86 19.186c-.814.814-2.326 1.047-4.419.465a15.949 15.949 0 0 1-6.86-4.419 18.817 18.817 0 0 1-4.419-6.977c-.581-2.093-.349-3.6.465-4.419l19.073-11.743Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M203.036 24.026a8.792 8.792 0 0 1 6.512-2.326c1.656.063 3.298.336 4.884.814l-4.07 2.442c-.116.116-.233.116-.233.233-1.86 1.86-1.977 4.651-1.279 7.442a19.49 19.49 0 0 0 5.116 8.14 20.223 20.223 0 0 0 8.14 5.116c2.791.814 5.581.581 7.442-1.279.116-.116.116-.233.233-.233l2.442-4.07c1.512 4.767 1.046 8.953-1.512 11.4-2.209 2.209-5.581 2.907-9.767 1.977a29.22 29.22 0 0 1-20.117-20.122c-.582-3.953 0-7.325 2.209-9.534Z",style:{fill:"currentColor",fillOpacity:.2}}))},TDe=function(e){var n=e.images,i=e.selectedIndex,r=e.hidden,o=e.onClose,s=e.imageUrlResolver,l=Mk((function(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(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}):VSe(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(ADe,{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)},ADe=function(e){var n=e.images,r=e.hidden,o=e.selectedIndex,a=e.onClose,s=QF().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 Y9(l.current,$9,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(LDe,{enforceArrowVisibility:!rs.isNativeMobileApp},void 0),t.jsxs("div",Kpe({ref:l,className:"pswp",tabIndex:-1,role:"dialog","aria-hidden":"true"},{children:[t.jsx("div",{className:"pswp__bg"},void 0),t.jsxs("div",Kpe({className:"pswp__scroll-wrap"},{children:[t.jsxs("div",Kpe({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",Kpe({className:"pswp__ui pswp__ui--hidden"},{children:[t.jsxs("div",Kpe({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",Kpe({className:"pswp__preloader"},{children:t.jsx("div",Kpe({className:"pswp__preloader__icn"},{children:t.jsx("div",Kpe({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",Kpe({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",Kpe({className:"pswp__caption"},{children:t.jsx("div",{className:"pswp__caption__center"},void 0)}),void 0)]}),void 0)]}),void 0)]}),void 0)]},void 0)},LDe=o.createGlobalStyle(_De||(_De=ege(["\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(bDe||(bDe=ege(["\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 "])))})),IDe=function(e){var n=e.images,r=e.imageUrlResolver,o=e.disableRoundedCorners,s=e.gridBackgroundColor,l=e.className,u=QF().formatMessage,c=i.useState(null),d=c[0],h=c[1],f=i.useContext(_5).theme.palette;if(!n||0===n.length)return null;var p=n.length>4,g=n.length>1,m=n[0];return t.jsxs(jDe,Kpe({"data-multi-images":g,className:l,singleImageHeight:m.height,singleImageWidth:m.width},{children:[t.jsx("div",Kpe({"data-gallery-wrapper":!0},{children:g?t.jsxs(t.Fragment,{children:[t.jsx(NDe,Kpe({backgroundColor:null!=s?s:f.neutralLight,applyRoundedCorners:!o},{children:n.slice(0,4).map((function(e,n){return t.jsx(zDe,Kpe({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(BDe,{src:e.previewUrl,imageFit:a.ImageFit.centerCover,alt:e.imageTitle||""},void 0)}),n)}))}),void 0),p&&t.jsxs(GDe,Kpe({onClick:function(){return v(4)}},{children:["+",n.length-4]}),void 0)]},void 0):t.jsx(MDe,{image:m,onClick:function(){return v(0)},disableRoundedCorners:o},void 0)}),void 0),t.jsx(TDe,{images:n,selectedIndex:d,hidden:null==d,onClose:function(){h(null)},imageUrlResolver:r},void 0)]}),void 0);function v(e){h(e)}},MDe=function(e){var n=e.image,i=e.onClick,r=e.disableRoundedCorners,o=QF().formatMessage;return t.jsx(RDe,Kpe({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)},jDe=y.default.div.withConfig({displayName:"PhotoGrid__Host",componentId:"sc-flk193-0"})(kDe||(kDe=ege(["\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(wDe||(wDe=ege(["\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)})),RDe=y.default.a.withConfig({displayName:"PhotoGrid__SingleImageHost",componentId:"sc-flk193-1"})(FDe||(FDe=ege(["\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(xDe||(xDe=ege(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),NDe=y.default.div.withConfig({displayName:"PhotoGrid__Gallery",componentId:"sc-flk193-2"})(CDe||(CDe=ege(["\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(EDe||(EDe=ege(["\n border-radius: 10px;\n "],["\n border-radius: 10px;\n "])))})),zDe=y.default.a.withConfig({displayName:"PhotoGrid__ImageItem",componentId:"sc-flk193-3"})(SDe||(SDe=ege(["\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"]))),BDe=y.default(a.Image).withConfig({displayName:"PhotoGrid__StyledImage",componentId:"sc-flk193-4"})(ODe||(ODe=ege(["\n height: 100%;\n"],["\n height: 100%;\n"]))),GDe=y.default(a.DefaultButton).withConfig({displayName:"PhotoGrid__MoreIndicator",componentId:"sc-flk193-5"})(DDe||(DDe=ege(["\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"])),R5,O5,28);var UDe,qDe,WDe,HDe,QDe,VDe,YDe=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=$pe(e,["icon","isActive","disabled","tooltipResourceKey","onClick","link","className"]),d=QF().formatMessage;if(!l&&!s)return null;var h=Yq("header-button",u),f=l?t.jsx(ZDe,Kpe({className:h,to:l},c,{children:t.jsx(a.Icon,{iconName:n},void 0)}),void 0):t.jsx($De,Kpe({className:h,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(KDe,Kpe({className:"tooltip-container"},{children:t.jsx(z_e,Kpe({resourceKey:o},{children:f}),void 0)}),void 0)},KDe=y.default.div.withConfig({displayName:"IconHeaderButton__Host",componentId:"sc-1p61ffo-0"})(UDe||(UDe=ege(["\n height: 100%;\n"],["\n height: 100%;\n"]))),$De=y.default(a.IconButton).withConfig({displayName:"IconHeaderButton__Button",componentId:"sc-1p61ffo-1"})(HDe||(HDe=ege(['\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(qDe||(qDe=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)}),(function(e){return e.isActive&&o.css(WDe||(WDe=ege(["\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)})),ZDe=y.default(r.Link).withConfig({displayName:"IconHeaderButton__StyledLink",componentId:"sc-1p61ffo-2"})(VDe||(VDe=ege(["\n && {\n height: 100%;\n ",";\n }\n"],["\n && {\n height: 100%;\n ",";\n }\n"])),(function(e){return o.css(QDe||(QDe=ege(["\n color: ",";\n "],["\n color: ",";\n "])),e.theme.textColors.onPrimary)})),XDe="\t\n\v\f\r \u2028\u2029\ufeff",JDe=_ge,ePe="[\t\n\v\f\r \u2028\u2029\ufeff]",tPe=RegExp("^"+ePe+ePe+"*"),nPe=RegExp(ePe+ePe+"*$"),iPe=function(e){return function(t){var n=String(JDe(t));return 1&e&&(n=n.replace(tPe,"")),2&e&&(n=n.replace(nPe,"")),n}},rPe={start:iPe(1),end:iPe(2),trim:iPe(3)},oPe=lge,aPe=XDe,sPe=rPe.trim,lPe=function(e){return oPe((function(){return!!aPe[e]()||"
"!="
"[e]()||aPe[e].name!==e}))};Wve({target:"String",proto:!0,forced:lPe("trim")},{trim:function(){return sPe(this)}});var uPe,cPe,dPe,hPe,fPe,pPe,gPe,mPe,vPe,yPe,bPe,_Pe,wPe,kPe,xPe,FPe,EPe,CPe=function(e){var n=e.url,r=e.target,o=e.ariaLabel,a=e.children,s=e.className,l=e.style,u=$pe(e,["url","target","ariaLabel","children","className","style"]);m0();var c=O4(),d=i.useContext(vE);d.onOpenExternalLink;var h=d.tryGetInternalLink,f=!r&&h(n,c);return f?t.jsx(uwe,Kpe({className:s,to:f,"aria-label":o,style:l},u,{children:a}),void 0):t.jsx(SPe,Kpe({url:n,target:r,className:s,ariaLabel:o,style:l},u,{children:a}),void 0)},SPe=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=$pe(e,["url","target","ariaLabel","onClick","className","children","style"]);return t.jsx(lwe,Kpe({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,style:l},u,{children:s}),void 0)},OPe=o.css(uPe||(uPe=ege(["\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"]))),DPe=y.default(CPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledLink",componentId:"sc-148nazl-0"})(cPe||(cPe=ege(["\n ","\n"],["\n ","\n"])),OPe),PPe=y.default(SPe).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledExternalLink",componentId:"sc-148nazl-1"})(dPe||(dPe=ege(["\n ","\n"],["\n ","\n"])),OPe),TPe=y.default(a.IconButton).withConfig({displayName:"ToolbarIconButtonWithToolTip__StyledIconButton",componentId:"sc-148nazl-2"})(fPe||(fPe=ege(["\n border-radius: 0;\n\n ","\n"],["\n border-radius: 0;\n\n ","\n"])),(function(e){return e.active&&o.css(hPe||(hPe=ege(["\n border-color: ",";\n "],["\n border-color: ",";\n "])),e.theme.palette.themePrimary)})),APe=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,h=e.disabled,f=e.className,p=$pe(e,["iconName","ariaLabel","ariaLabelResourceKey","onClick","to","target","tooltipText","tooltipResourceKey","disabled","className"]),g=QF().formatMessage,m=r||(null===(n=null==o?void 0:o.trim())||void 0===n?void 0:n.length)>0&&g({id:o});return t.jsxs(z_e,Kpe({resourceKey:d,text:c},{children:[l&&!s&&t.jsx(DPe,Kpe({url:l,ariaLabel:m,target:u},p,{children:t.jsx(a.Icon,{iconName:i,className:f},void 0)}),void 0),s&&!l&&t.jsx(TPe,Kpe({disabled:h,iconProps:{iconName:i},onClick:s,className:f,ariaLabel:m},p),void 0),s&&l&&t.jsx(PPe,Kpe({url:l,target:u,ariaLabel:m,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()}},{children:t.jsx(a.Icon,{iconName:i,className:f},void 0)}),void 0)]}),void 0)})).withConfig({displayName:"ToolbarIconButtonWithToolTip__ToolbarIconButton",componentId:"sc-148nazl-3"})(gPe||(gPe=ege(["\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(pPe||(pPe=ege(["\n i {\n font-weight: bold;\n }\n "],["\n i {\n font-weight: bold;\n }\n "])))})),LPe=function(e){var n=QF(),o=i.useState(null),a=o[0],s=o[1],l=r.useLocation(),u=i.useContext(_5).theme.textColors,c=i.useRef();return i.useEffect((function(){return M9(h),setTimeout((function(){var e;return c&&(null===(e=c.current)||void 0===e?void 0:e.focus())})),function(){j9(h)}}),[]),i.useEffect((function(){s("")}),[l.pathname]),t.jsxs(jPe,Kpe({className:Yq("search-field",e.className),useLightTheme:e.useLightTheme},{children:[t.jsx(IPe,{className:"search-input",useLightTheme:e.useLightTheme,default:!0,value:a||e.searchText||"",onChange:function(e,t){return d(t)},onKeyDown:function(t){"Enter"===t.key&&e.onExecuteSearch&&e.onExecuteSearch(a);"Escape"===t.key&&d("")},autoComplete:"off",autoFocus:!0,borderless:!0,placeholder:e.placeholder||n.formatMessage({id:"TopBar.search"}),componentRef:function(e){return c.current=e},ariaLabel:n.formatMessage({id:"TopBar.search"}),"data-search-input":!0},void 0),e.searching&&t.jsx(MPe,{className:"search-spinner"},void 0),t.jsx(RPe,{"data-cancel-search-button":!0,iconProps:{iconName:"Cancel"},onClick:function(){var t;s(null),null===(t=e.onClear)||void 0===t||t.call(e)},color:!e.useLightTheme&&u.onPrimary},void 0)]}),void 0);function d(t){var n;s(t),null===(n=e.onChange)||void 0===n||n.call(e,t)}function h(){return!(!a&&!e.searchText)&&(d(""),!0)}},IPe=y.default(a.TextField).withConfig({displayName:"Search__StyledTextField",componentId:"sc-17f35gt-0"})(yPe||(yPe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.useLightTheme?o.css(mPe||(mPe=ege(["\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}),HSe("color: "+e.theme.textColors.default)):o.css(vPe||(vPe=ege(["\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}),HSe("color: "+e.theme.textColors.onPrimary))})),MPe=y.default(a.Spinner).withConfig({displayName:"Search__StyledSpinner",componentId:"sc-17f35gt-1"})(bPe||(bPe=ege(["\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})),jPe=y.default.div.withConfig({displayName:"Search__Host",componentId:"sc-17f35gt-2"})(kPe||(kPe=ege(["\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"])),HSe("\n font-size: inherit;\n opacity: 0.5;\n "),(function(e){return e.useLightTheme?o.css(_Pe||(_Pe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.neutralLighter})):o.css(wPe||(wPe=ege(["\n background-color: ",";\n "],["\n background-color: ",";\n "])),(function(e){return e.theme.palette.themeDarker}))})),RPe=y.default(nwe).withConfig({displayName:"Search__CancelButton",componentId:"sc-17f35gt-3"})(xPe||(xPe=ege(["\n align-self: center;\n"],["\n align-self: center;\n"]))),NPe=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=i.useState(!!s),d=c[0],h=c[1],f=l||d||!!s;return i.useEffect((function(){null==n||n(f)}),[f]),t.jsxs(t.Fragment,{children:[f&&t.jsx(LPe,{onChange:a,onExecuteSearch:o,searchText:s,onClear:function(){null==a||a(""),p(!1)},className:u,useLightTheme:r},void 0),!f&&(r?t.jsx(APe,{iconName:"Search",onClick:function(){return p(!0)},tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0):t.jsx(YDe,{icon:"Search",onClick:function(){return p(!0)},tooltipResourceKey:"TopBar.search"},void 0))]},void 0);function p(e){h(e),null==n||n(e)}};y.default.div.withConfig({displayName:"EmptyUnreadListMessage__Host",componentId:"sc-1fler8t-0"})(FPe||(FPe=ege(["\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"}(EPe||(EPe={})),y.default(a.Icon).withConfig({displayName:"SortableTable__Order",componentId:"sc-6tqdpa-0"})(zPe||(zPe=ege(["\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"})(UPe||(UPe=ege(["\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(BPe||(BPe=ege(["\n padding-right: 18px;\n "],["\n padding-right: 18px;\n "]))):o.css(GPe||(GPe=ege(["\n padding-left: 18px;\n "],["\n padding-left: 18px;\n "])))})),y.default.th.withConfig({displayName:"SortableTable__ColumnHeader",componentId:"sc-6tqdpa-2"})(qPe||(qPe=ege(["\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"})(WPe||(WPe=ege(["\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 zPe,BPe,GPe,UPe,qPe,WPe,HPe,QPe,VPe,YPe=y.default.tr.withConfig({displayName:"SortableTable__Row",componentId:"sc-6tqdpa-4"})(HPe||(HPe=ege(["\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"})(QPe||(QPe=ege(["\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"}),YPe,(function(e){return e.isLoading?"0.6":"1"})),y.default(FSe).withConfig({displayName:"SortableTable__Loading",componentId:"sc-6tqdpa-6"})(VPe||(VPe=ege(["\n margin: 80px 0 100px;\n"],["\n margin: 80px 0 100px;\n"])));var KPe,$Pe,ZPe,XPe,JPe,eTe=function(e){return t.jsx(tTe,Kpe({},e,{"data-toggle-button":!0}),void 0)},tTe=y.default(a.Toggle).withConfig({displayName:"ToggleWithLabel__StyledToggle",componentId:"sc-lcovfq-0"})(KPe||(KPe=ege(["\n display: flex;\n align-items: center;\n\n > label {\n order: 1;\n margin-left: 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-left: 15px;\n }\n\n &.is-checked.is-enabled {\n button:hover {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.semanticColors.inputBackgroundCheckedHovered})),nTe=o.css($Pe||($Pe=ege(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: 3px;\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: 3px;\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"])),(function(e){return e.theme.palette.accent}));function iTe(e,t,n){return e.translations[t.preferredUiLanguage]||e.translations[O1(t)]||e.name||n.formatMessage({id:"Groups.defaultName"})}y.default.div.withConfig({displayName:"VerificationStatusIcon__Host",componentId:"sc-b3nb8-0"})(XPe||(XPe=ege(["\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(ZPe||(ZPe=ege(["\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"})(JPe||(JPe=ege(["\n margin-right: ","px;\n"],["\n margin-right: ","px;\n"])),x5);var rTe,oTe,aTe,sTe,lTe,uTe,cTe,dTe,hTe,fTe=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(pTe,{name:u,enterDuration:n,leaveDuration:i},void 0),t.jsx(A7,Kpe({style:o,className:a,transitionName:u,transitionAppear:s,transitionEnter:s,transitionLeave:l,transitionLeaveTimeout:i,transitionAppearTimeout:n,transitionEnterTimeout:n},{children:r}),void 0)]},void 0)},pTe=o.createGlobalStyle(rTe||(rTe=ege(["\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})),gTe=function(e){var n=e.contentLanguageCode,r=e.originalContent,o=e.content,a=e.onTranslate,s=e.onContentChange,l=e.tooltipResourceKey,u=e.showLabel,c=QF().formatMessage,d=g0(),h=m0(),f=i.useState(null),p=f[0],g=f[1],m=i.useState(r===o),v=m[0],y=m[1],b=Y5().showError,_=O1(d);if(i.useEffect((function(){return g(null)}),[r]),!h.automaticTranslation)return null;var w=c({id:"Generic.translate"});return n&&n!==_&&S1.includes(_)&&!C1.includes(_)?t.jsx(z_e,Kpe({resourceKey:v?"Generic.translateTo":l,values:{language:c({id:"Generic.languages."+_})}},{children:t.jsx(mTe,Kpe({"aria-label":u?null:w,"data-translate-content-button":!0,className:"ms-fontColor-neutralSecondary",iconProps:{iconName:"World"},onClick:function(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(this,(function(t){switch(t.label){case 0:return v?p?(s(p),y(!1),[3,4]):[3,1]:(s(r),y(!0),[2]);case 1:return t.trys.push([1,3,,4]),[4,a(_)];case 2:return e=t.sent(),s(e),g(e),y(!1),[3,4];case 3:return t.sent(),b("Generic.error"),[3,4];case 4:return[2]}}))}))}},{children:u&&w}),void 0)}),void 0):null},mTe=y.default(eke)(oTe||(oTe=ege(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),vTe=y.default(a.ChoiceGroup).withConfig({displayName:"ChoiceGroup",componentId:"sc-11bpj01-0"})(aTe||(aTe=ege(["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"],["\n .ms-ChoiceField-field.is-checked {\n &:hover {\n &::before,\n &:after {\n border-color: ",";\n }\n }\n }\n"])),(function(e){return e.theme.palette.accent})),yTe=function(e){var n=e.comment,r=e.showEdit,o=e.showDelete,a=e.onDelete,s=e.isEditMode,l=e.toggleEditMode,u=e.originalContent,c=e.currentContent,d=e.setContent,h=e.handleTranslate,f=e.showAutoTranslate,p=e.onReply,g=e.disabled,m=QF().formatMessage,v=i.useState(!1),y=v[0],b=v[1],_=i.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx("div",Kpe({ref:_},{children:t.jsx(_Te,{"data-menu-button":n.id,iconProps:{iconName:"MoreVertical"},onClick:function(){return b(!y)},ariaLabel:m({id:"AriaLabel.contextMenuButton"}),disabled:g},void 0)}),void 0),y&&t.jsx(kTe,Kpe({"data-context-menu":!0,target:_.current,onDismiss:function(){return b(!1)}},{children:t.jsxs(bTe,{children:[t.jsx(z_e,Kpe({resourceKey:"Comment.replyButton.tooltip",values:{name:n.sender.displayName}},{children:t.jsx(wTe,{"data-reply-button":n.id,iconProps:{iconName:"Reply"},onClick:function(){null==p||p(n.id,n.sender),b(!1)},text:m({id:"Comment.replyButton"})},void 0)}),void 0),f&&t.jsx(gTe,{"data-auto-translate-button":n.id,originalContent:u,onContentChange:function(e){b(!1),d(e)},content:c,tooltipResourceKey:"Comment.translate.showOriginal",onTranslate:h,contentLanguageCode:n.contentLanguageCode,showLabel:!0},void 0),r&&t.jsx(z_e,Kpe({resourceKey:"Comment.edit.tooltip"},{children:t.jsx(wTe,{"data-edit-button":n.id,iconProps:{iconName:"Edit"},onClick:function(){l(!0),b(!1)},text:m({id:"Generic.edit"}),disabled:!n.id||s},void 0)}),void 0),o&&t.jsx(z_e,Kpe({resourceKey:"Comment.delete.tooltip"},{children:t.jsx(wTe,{"data-delete-button":n.id,iconProps:{iconName:"Delete"},onClick:function(){a(n),b(!1)},text:m({id:"Generic.Delete"}),disabled:!n.id||s},void 0)}),void 0)]},void 0)}),void 0)]},void 0)},bTe=y.default.div.withConfig({displayName:"CommentActionMenu__Buttons",componentId:"sc-qsk1nc-0"})(sTe||(sTe=ege(["\n display: flex;\n flex-direction: column;\n"],["\n display: flex;\n flex-direction: column;\n"]))),_Te=y.default(nwe).withConfig({displayName:"CommentActionMenu__MenuButton",componentId:"sc-qsk1nc-1"})(lTe||(lTe=ege(["\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),wTe=y.default(eke).withConfig({displayName:"CommentActionMenu__StyledActionButton",componentId:"sc-qsk1nc-2"})(uTe||(uTe=ege(["\n &&& {\n i {\n color: ",";\n }\n }\n"],["\n &&& {\n i {\n color: ",";\n }\n }\n"])),(function(e){return e.theme.textColors.default})),kTe=y.default(ACe).withConfig({displayName:"CommentActionMenu__StyledCallout",componentId:"sc-qsk1nc-3"})(cTe||(cTe=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),x5);y.default(a.DefaultButton).withConfig({displayName:"DefaultGoBackButton__StyledButton",componentId:"sc-q6p1lp-0"})(dTe||(dTe=ege(["\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"})(hTe||(hTe=ege(["\n padding: 0 12px;\n"],["\n padding: 0 12px;\n"])));var xTe,FTe,ETe,CTe,STe,OTe=y.default(a.IconButton).withConfig({displayName:"DeleteAttachmentButton",componentId:"sc-d7hswf-0"})(xTe||(xTe=ege(["\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})),DTe=function(e){var n=e.toggleAll,r=e.className,o=i.useContext(_5).theme.palette.accent;return t.jsxs(PTe,Kpe({className:r},{children:[t.jsx(TTe,Kpe({onClick:function(){return n(!0)},"data-button-toggle":"selectAll",color:o},{children:t.jsx(hE,{id:"Generic.SelectAll"},void 0)}),void 0),t.jsx(TTe,Kpe({onClick:function(){return n(!1)},"data-button-toggle":"clearAll",color:o},{children:t.jsx(hE,{id:"Generic.ClearAll"},void 0)}),void 0)]}),void 0)},PTe=y.default.div.withConfig({displayName:"ToggleAllButtons__Host",componentId:"sc-kbn3b4-0"})(FTe||(FTe=ege(["\n margin-bottom: ","px;\n"],["\n margin-bottom: ","px;\n"])),x5),TTe=y.default(eke).withConfig({displayName:"ToggleAllButtons__StyledButton",componentId:"sc-kbn3b4-1"})(ETe||(ETe=ege(["\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=$pe(e,["iconName","textKey"]);return t.jsxs(r.NavLink,Kpe({},o,{children:[n&&t.jsx(a.Icon,{iconName:n},void 0),t.jsx(hE,{id:i},void 0)]}),void 0)})).withConfig({displayName:"TopActionButton",componentId:"sc-1lam7c6-0"})(CTe||(CTe=ege(["\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"])),x5,(function(e){return e.theme.palette.accent})),y.default(nwe).withConfig({displayName:"HeaderMenuButton__MenuButton",componentId:"sc-170vvq2-0"})(STe||(STe=ege([""],[""])));var ATe,LTe,ITe,MTe,jTe=function(e){var n=e.language,r=e.channel,o=e.role,a=e.className,s=g0(),l=BTe(i.useContext(c9).channels,r,s,n);return t.jsx(RTe,Kpe({title:l,className:a,role:o},{children:l}),void 0)},RTe=y.default.span.withConfig({displayName:"ChannelTitle__Host",componentId:"sc-1lqd4of-0"})(ATe||(ATe=ege(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),NTe=function(e){var n=e.channels,i=e.language;return t.jsx(t.Fragment,{children:n.map((function(e,n){var r=zTe(e)?e.id:e;return t.jsxs("span",{children:[n>0&&", ",t.jsx(jTe,{channel:e,language:i},void 0)]},r)}))},void 0)};function zTe(e){return null!=e.id}function BTe(e,t,n,i){if(null==e&&!zTe(t))return t;var r=zTe(t)?t:e.find((function(e){return e.name===t||e.id===t}))||{name:t};if(null==r)return null;i||(i=O1(n));var o=r.translations||null!=e&&e.filter((function(e){return e.id===r.id})).map((function(e){return e.translations}))[0]||{};return i&&o[i]||o[n.subscription.defaultLanguage]||r.name}y.default(jTe).withConfig({displayName:"ChannelItem__StyledChannelTitle",componentId:"sc-bumcwu-0"})(LTe||(LTe=ege(["\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"}),j5),y.default.div.withConfig({displayName:"ChannelItem__Host",componentId:"sc-bumcwu-1"})(ITe||(ITe=ege(["\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"])),x5,15,WSe(2,2),j5),y.default(nwe).withConfig({displayName:"ChannelItem__StyledIconButton",componentId:"sc-bumcwu-2"})(MTe||(MTe=ege(["\n i {\n font-size: ","px;\n }\n"],["\n i {\n font-size: ","px;\n }\n"])),j5);var GTe,UTe,qTe,WTe,HTe,QTe,VTe,YTe,KTe,$Te,ZTe,XTe=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(tAe,Kpe({className:l,"data-has-more-indicator":u},{children:[t.jsx(JTe,{channels:n.slice(0,a),language:i,channelStyleDefinition:r,onChannelClick:s},void 0),u&&t.jsx(eAe,{channels:n.slice(a),language:i,styleDefinition:r,onChannelClick:s},void 0)]}),void 0)},JTe=function(e){var n=e.channels,i=e.language,r=e.channelStyleDefinition,o=e.onChannelClick;return t.jsx(nAe,Kpe({"data-channels":!0},{children:n.map((function(e){var a=t.jsx(jTe,{channel:e,language:i},void 0);return o?t.jsx(iAe,Kpe({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):t.jsx(rAe,Kpe({bubbleCount:n.length,backgroundColor:null==r?void 0:r.backgroundColor,color:null==r?void 0:r.color},{children:a}),e)}))}),void 0)},eAe=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(t.Fragment,{children:[t.jsx(aAe,Kpe({ref:s,backgroundColor:null==o?void 0:o.backgroundColor,color:null==o?void 0:o.color},{children:t.jsx(sAe,Kpe({onClick:function(){return c(!0)}},{children:"+"+n.length}),void 0)}),void 0),u&&t.jsx(lAe,Kpe({target:s.current,onDismiss:function(){return c(!1)}},{children:t.jsx(uAe,{children:n.map((function(e){return t.jsx("li",{children:a?t.jsx(eke,Kpe({onClick:function(){return a(e)}},{children:t.jsx(jTe,{channel:e,language:r},void 0)}),void 0):t.jsx(jTe,{channel:e,language:r},void 0)},e)}))},void 0)}),void 0)]},void 0)},tAe=y.default.div(GTe||(GTe=ege(["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-has-more-indicator='true'] {\n [data-channels] {\n width: calc(100% - ","px);\n }\n }\n\n &[data-has-more-indicator='false'] {\n [data-channels] {\n width: 100%;\n }\n }\n"])),56),nAe=y.default.div(UTe||(UTe=ege(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),iAe=y.default(eke)(qTe||(qTe=ege(["\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 oAe(e.bubbleCount,e.backgroundColor,e.color)})),rAe=y.default.span(WTe||(WTe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return oAe(e.bubbleCount,e.backgroundColor,e.color)})),oAe=function(e,t,n){return o.css(VTe||(VTe=ege(["\n ","\n\n ","\n\n ","\n "],["\n ","\n\n ","\n\n ","\n "])),e&&o.css(HTe||(HTe=ege(["\n max-width: calc(100% / "," - ","px);\n "],["\n max-width: calc(100% / "," - ","px);\n "])),e,6),e&&e>1&&o.css(QTe||(QTe=ege(["\n margin-right: ","px;\n "],["\n margin-right: ","px;\n "])),6),B_e({backgroundColor:t,color:n}))},aAe=y.default.div(YTe||(YTe=ege(["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"],["\n z-index: 1;\n margin-left: ","px;\n\n ","\n"])),6,(function(e){return B_e({backgroundColor:e.backgroundColor,color:e.color})})),sAe=y.default(eke)(KTe||(KTe=ege(["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"],["\n &&& {\n height: auto;\n color: inherit;\n padding: 0;\n }\n"]))),lAe=y.default(ACe)($Te||($Te=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),uAe=y.default.ul(ZTe||(ZTe=ege(["\n margin: 0;\n padding: 0;\n list-style: none;\n"],["\n margin: 0;\n padding: 0;\n list-style: none;\n"]))),cAe=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(TAe,Kpe({className:s,"data-channels":n.join(",")},{children:n.map((function(e){var n=dAe(e)?e.id:e,s=t.jsx(AAe,Kpe({backgroundColor:o},{children:t.jsx(jTe,{channel:e,language:r},void 0)}),void 0);return t.jsxs("li",{children:[i&&t.jsx(LAe,Kpe({"data-channel":!0,to:i(dAe(e)?e.name:e),"data-rounded-outline":!0},{children:s}),void 0),a&&t.jsx(MAe,Kpe({"data-rounded-outline":!0,onClick:function(){return a(dAe(e)?e.name:e)}},{children:s}),void 0),!a&&!i&&t.jsx(IAe,{children:s},void 0)]},n)}))}),void 0):null};function dAe(e){return null!=e.id}var hAe,fAe,pAe,gAe,mAe,vAe,yAe,bAe,_Ae,wAe,kAe,xAe,FAe,EAe,CAe,SAe,OAe,DAe,PAe,TAe=y.default.ul.withConfig({displayName:"ClickableChannelTitles__Host",componentId:"sc-1a7ny18-0"})(hAe||(hAe=ege(["\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 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 span {\n white-space: break-spaces;\n }\n }\n }\n"])),z5),AAe=y.default.div.withConfig({displayName:"ClickableChannelTitles__ChannelBubble",componentId:"sc-1a7ny18-1"})(fAe||(fAe=ege(["\n ","\n"],["\n ","\n"])),(function(e){return e.backgroundColor?B_e({backgroundColor:e.backgroundColor}):B_e()})),LAe=y.default(r.NavLink).withConfig({displayName:"ClickableChannelTitles__ChannelLink",componentId:"sc-1a7ny18-2"})(pAe||(pAe=ege(["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"],["\n position: relative;\n z-index: 1;\n color: ",";\n display: inline-block;\n margin: 2px ","px 2px 0;\n"])),(function(e){return e.theme.textColors.default}),6),IAe=y.default.span.withConfig({displayName:"ClickableChannelTitles__ChannelBubbleWrapper",componentId:"sc-1a7ny18-3"})(gAe||(gAe=ege(["\n display: block;\n margin: 2px ","px 2px 0;\n"],["\n display: block;\n margin: 2px ","px 2px 0;\n"])),6),MAe=y.default(eke).withConfig({displayName:"ClickableChannelTitles__StyledActionButton",componentId:"sc-1a7ny18-4"})(mAe||(mAe=ege(["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"],["\n && {\n height: auto;\n padding: 0;\n margin: 2px ","px 2px 0;\n }\n"])),6),jAe=function(e){var n=e.selectedChannelIds,r=e.selectedChannelNames,o=e.mandatoryChannelIds,s=e.availableChannels,u=e.showOnlyUserChannels,c=e.onChannelsChanged,d=e.className,h=e.showSelectionToggle,f=e.placeholder,p=e.inlineControls,g=e.required,m=e.id,v=QF().formatMessage,y=g0(),b=i.useContext(c9).channels,_=Mk((function(){return Zpe(void 0,void 0,void 0,(function(){return Xpe(this,(function(e){switch(e.label){case 0:return[4,E()];case 1:return[2,e.sent()]}}))}))}),null,[b,s,u])[0],w=(null==_?void 0:_.length)>10&&rs.isNativeMobileApp?a.ResponsiveMode.small:a.ResponsiveMode.large;if(!b)return null;var k=function(){if(null!=r){var e=r.map((function(e){return b.find((function(t){return t.name===e}))})).filter((function(e){return null!=e})).map((function(e){return e.id}));return e=e.concat(o||[]),Array.from(new Set(e))}return Array.from(new Set((n||[]).concat(o||[])))}()||[];return t.jsxs(RAe,{children:[h&&t.jsx(DTe,{toggleAll:F},void 0),t.jsx(zAe,Kpe({directionalHint:l.DirectionalHint.bottomCenter,tooltipProps:{onRenderContent:function(){return t.jsxs(t.Fragment,{children:[t.jsx(BAe,{id:"Channels.callout.title",tagName:"h3"},void 0),t.jsx(NAe,{channels:x()},void 0)]},void 0)}},hidden:k.length<2},{children:t.jsx(nSe,{ariaLabel:v({id:"AriaLabel.filter.filterByChannel"}),"data-channel-selector":!0,placeholder:v({id:f||"Channels.Placeholder"}),responsiveMode:w,className:d,options:_||[],selectedKeys:k,multiSelect:!0,onChange:function(e,t){var n=t.key,i=k,r=i.indexOf(n)>=0?i.filter((function(e){return e!==t.key})):i.concat([n]);c(r.map((function(e){return b.find((function(t){return t.id===e}))})).filter((function(e){return null!=e})))},onRenderTitle:function(e){var n=function(e){return null!=e.key}(e)?[e]:e;return n=n.filter((function(e){return"Controls"!==e.key})),t.jsx(NTe,{channels:n.map((function(e){return e.data})),language:y.preferredUiLanguage},void 0)},onRenderOption:function(e){return"Controls"===e.key?t.jsx(DTe,{toggleAll:F},void 0):t.jsx(jTe,{channel:e.data,language:y.preferredUiLanguage,role:"option"},e.key)},calloutProps:{className:"channels-dropdown-callout"},"aria-required":g,id:m},void 0)}),void 0)]},void 0);function x(){var e;return null===(e=null==b?void 0:b.filter((function(e){return k.includes(e.id)})))||void 0===e?void 0:e.map((function(e){return e.name}))}function F(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(this,(function(n){switch(n.label){case 0:return[4,E()];case 1:return t=n.sent().map((function(e){return b.find((function(t){return t.id===e.key}))})),c(e?t.filter((function(e){return null!=e})):t.filter((function(e){return null!=e&&(null==o?void 0:o.includes(e.id))}))),[2]}}))}))}function E(){return Zpe(this,void 0,void 0,(function(){var e;return Xpe(this,(function(t){return e=[],p&&e.push({key:"Controls",text:"",itemType:a.DropdownMenuItemType.Header}),s?[2,Jpe(Jpe([],e),s.map((function(e){return C(e)})))]:[2,Jpe(Jpe([],e),u?y.channels.map((function(e){return C(e)})):(null==b?void 0:b.map((function(e){return C(e)})))||[])]}))}))}function C(e){return{key:e.id,text:e.name,data:e,disabled:null==o?void 0:o.some((function(t){return t===e.id}))}}},RAe=y.default.div.withConfig({displayName:"ChannelSelector__Host",componentId:"sc-2h27u4-0"})(vAe||(vAe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"]))),NAe=y.default(cAe).withConfig({displayName:"ChannelSelector__Channels",componentId:"sc-2h27u4-1"})(yAe||(yAe=ege(["\n &&& li {\n margin-top: ","px;\n }\n"],["\n &&& li {\n margin-top: ","px;\n }\n"])),6),zAe=y.default(a.TooltipHost).withConfig({displayName:"ChannelSelector__StyledTooltip",componentId:"sc-2h27u4-2"})(bAe||(bAe=ege(["\n max-width: 300px;\n padding: 0 ","px ","px;\n"],["\n max-width: 300px;\n padding: 0 ","px ","px;\n"])),F5,F5),BAe=y.default(KOe).withConfig({displayName:"ChannelSelector__TooltipTitle",componentId:"sc-2h27u4-3"})(_Ae||(_Ae=ege(["\n font-size: ","px;\n // this needs to be 10px but the channels already have margin top of 6px\n margin-bottom: ","px;\n"],["\n font-size: ","px;\n // this needs to be 10px but the channels already have margin top of 6px\n margin-bottom: ","px;\n"])),R5,4),GAe=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(UAe,{children:t.jsx(NPe,{searchText:n,onSearchTextChange:i,onExecuteSearch:r,onSearchInputFieldVisibilityChanged:a,isToolbarMode:!0},void 0)},void 0),t.jsx(qAe,{children:t.jsx(APe,{iconName:"Search",onClick:o,tooltipResourceKey:"TopBar.search",ariaLabelResourceKey:"TopBar.search"},void 0)},void 0)]},void 0)},UAe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchBoxLargeScreen",componentId:"sc-1f480ry-0"})(wAe||(wAe=ege(["\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"])),L5),qAe=y.default.div.withConfig({displayName:"ToolbarSearch__SearchIconSmallScreen",componentId:"sc-1f480ry-1"})(kAe||(kAe=ege(["\n @media (min-width: ","px) {\n display: none;\n }\n"],["\n @media (min-width: ","px) {\n display: none;\n }\n"])),D5),WAe=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],h=c[1];return t.jsxs(HAe,Kpe({className:l,"data-content-toolbar":!0},{children:[t.jsxs(YAe,{children:[n&&!r&&t.jsx(QAe,{children:n},void 0),(o||s)&&!a&&t.jsxs(VAe,{children:[s&&t.jsx(GAe,{searchText:s.searchText,onSearchTextChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,onSearchIconClick:function(){d?f():h(!0)},onSearchInputFieldVisibilityChanged:function(e){return h(e)}},void 0),o]},void 0)]},void 0),u,s&&d&&t.jsx(KAe,{children:t.jsx(LPe,{onClear:f,searchText:s.searchText,onChange:s.onSearchTextChange,onExecuteSearch:s.onExecuteSearch,useLightTheme:!0},void 0)},void 0)]}),void 0);function f(){var e;null===(e=s.onSearchTextChange)||void 0===e||e.call(s,""),h(!1)}},HAe=y.default.div.withConfig({displayName:"Toolbar__Host",componentId:"sc-16ftbxt-0"})(xAe||(xAe=ege(["\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),QAe=y.default.div.withConfig({displayName:"Toolbar__LeftSide",componentId:"sc-16ftbxt-1"})(FAe||(FAe=ege(["\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"]))),VAe=y.default.div.withConfig({displayName:"Toolbar__RightSide",componentId:"sc-16ftbxt-2"})(EAe||(EAe=ege(["\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"]))),YAe=y.default.div.withConfig({displayName:"Toolbar__Row",componentId:"sc-16ftbxt-3"})(CAe||(CAe=ege(["\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"]))),KAe=y.default.div.withConfig({displayName:"Toolbar__SearchInputRow",componentId:"sc-16ftbxt-4"})(SAe||(SAe=ege(["\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"])),D5);y.default(WAe).withConfig({displayName:"ChromelessToolbar__StyledToolbar",componentId:"sc-1vovywb-0"})(OAe||(OAe=ege(["\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"])),x5,x5,D5,F5,F5),y.default.p.withConfig({displayName:"PageDescription",componentId:"sc-xcsmz7-0"})(DAe||(DAe=ege(["\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"})(PAe||(PAe=ege([""],[""])));var $Ae,ZAe,XAe,JAe,eLe,tLe,nLe,iLe,rLe,oLe,aLe,sLe=function(e){var n=e.onEmojiSelected,r=e.disabled,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1],c=QF().formatMessage;return t.jsxs(t.Fragment,{children:[t.jsx(lLe,Kpe({ref:o},{children:t.jsx(nwe,{"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(uLe,Kpe({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(dLe,{onSelect:function(e){u(!1),n(e.native)}},void 0)}),void 0)]},void 0)},lLe=y.default.div.withConfig({displayName:"EmojiButton__ButtonWrapper",componentId:"sc-1eq2zlz-0"})($Ae||($Ae=ege([""],[""]))),uLe=y.default(ACe).withConfig({displayName:"EmojiButton__StyledCallout",componentId:"sc-1eq2zlz-1"})(ZAe||(ZAe=ege(["\n border-radius: 10px;\n overflow: hidden;\n"],["\n border-radius: 10px;\n overflow: hidden;\n"]))),cLe=i.lazy((function(){return Promise.resolve().then((function(){return lVn}))})),dLe=function(e){var n=e.onSelect,r=jk();return t.jsx(i.Suspense,Kpe({fallback:t.jsx(hLe,Kpe({isSmaller:r.width<O5},{children:t.jsx(FSe,{},void 0)}),void 0)},{children:t.jsx(cLe,{onSelect:n},void 0)}),void 0)},hLe=y.default.div.withConfig({displayName:"EmojiButton__EmojiPickerSuspenseHost",componentId:"sc-1eq2zlz-2"})(XAe||(XAe=ege(["\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})),fLe=function(){var e=Pg();return t.jsx(pLe,{children:t.jsx("a",Kpe({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)},pLe=y.default.div(JAe||(JAe=ege(["\n text-align: right;\n margin-top: ","px;\n"],["\n text-align: right;\n margin-top: ","px;\n"])),6),gLe=function(e){var n,r,o=e.onGifClick,s=e.className,l=Wg(),u=QF().formatMessage,c=new Qte.GiphyFetch(l.giphy.apiKey),d=i.useState(null),h=d[0],f=d[1],p=Hpe(h,500)[0],g=jk(),m=Mk((function(){if(!p)return c.trending({limit:21});return c.search(p,{limit:21})}),null,[p]),v=m[0],y=m[1],b=g.width<550?80:100;return t.jsxs(mLe,Kpe({className:s},{children:[t.jsx(a.SearchBox,{placeholder:u({id:"Gif.searchPlaceHolder"}),iconProps:{iconName:"Search"},onChange:function(e,t){return f(t)},autoFocus:!0},void 0),t.jsxs(vLe,Kpe({columnWidth:b},{children:[y&&t.jsx(FSe,{delay:300},void 0),0===(null===(n=null==v?void 0:v.data)||void 0===n?void 0:n.length)&&t.jsx(hE,{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(yLe,{gif:e,width:b,height:b,noLink:!0,hideAttribution:!0,onGifClick:o},e.id)}))]}),void 0)]}),void 0)},mLe=y.default.div.withConfig({displayName:"GifSelector__Host",componentId:"sc-lame6k-0"})(eLe||(eLe=ege(["\n padding: ","px;\n"],["\n padding: ","px;\n"])),6),vLe=y.default.div.withConfig({displayName:"GifSelector__GifContainer",componentId:"sc-lame6k-1"})(tLe||(tLe=ege(["\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"])),x5,(function(e){return e.columnWidth}),6),yLe=y.default(L7.Gif).withConfig({displayName:"GifSelector__ClickableGif",componentId:"sc-lame6k-2"})(nLe||(nLe=ege(["\n cursor: pointer;\n"],["\n cursor: pointer;\n"]))),bLe=function(e){var n=e.target,i=e.onGifClick,r=e.onDismiss;return t.jsxs(_Le,Kpe({directionalHint:a.DirectionalHint.topCenter,target:n,onDismiss:r,isBeakVisible:!1,gapSpace:10,preventDismissOnResize:!0,preventDismissOnScroll:!0,styles:{calloutMain:{padding:5}}},{children:[t.jsx(wLe,{onGifClick:i},void 0),t.jsx(fLe,{},void 0)]}),void 0)},_Le=y.default(ACe)(iLe||(iLe=ege(["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n height: 450px;\n"],["\n border-radius: 10px;\n overflow: hidden;\n width: 360px;\n height: 450px;\n"]))),wLe=y.default(gLe)(rLe||(rLe=ege(["\n overflow-y: auto;\n height: 400px;\n"],["\n overflow-y: auto;\n height: 400px;\n"])));o.createGlobalStyle(oLe||(oLe=ege(["\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"])),A5),y.default(gLe).withConfig({displayName:"GifSelectorDialog__StyledDialogGifSelector",componentId:"sc-t6p48w-0"})(aLe||(aLe=ege(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),x5);var kLe,xLe,FLe,ELe,CLe,SLe,OLe=function(e){var n=e.disabled,r=e.onGifClick,o=m0(),a=QF().formatMessage,s=i.useRef(),l=i.useState(!1),u=l[0],c=l[1];return o.giphy?t.jsxs("div",{children:[t.jsx("div",Kpe({ref:s},{children:t.jsx(nwe,{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(bLe,{target:s.current,onGifClick:function(e){c(!1),r({id:e.id.toString(),filename:e.title,url:e.embed_url,type:U0.Giphy})},onDismiss:function(){return c(!1)}},void 0)},void 0)]},void 0):null},DLe=function(e){var n=e.gifInfo,r=e.className,o=Wg(),a=i.useState(),s=a[0],l=a[1];return i.useEffect((function(){new Qte.GiphyFetch(o.giphy.apiKey).gif(n.id).then((function(e){return l(e.data)}))}),[o.giphy.apiKey,n.id]),s?t.jsx(PLe,Kpe({className:r},{children:t.jsx(TLe,{gif:s,width:300,noLink:!0,hideAttribution:!0},void 0)}),void 0):null},PLe=y.default.div(kLe||(kLe=ege([""],[""]))),TLe=y.default(L7.Gif)(xLe||(xLe=ege(["\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"])),A5),ALe=function(e){var n=e.attachments,i=e.onDeleteClick,r=e.className,o=QF().formatMessage,a=n.filter((function(e){return e.type===U0.Giphy}));return 0===a.length?null:t.jsx(LLe,Kpe({className:r,"data-gif-attachment-list":!0},{children:a.map((function(e){return t.jsx(ILe,Kpe({domIdentifier:"gif",deleteButton:t.jsx(OTe,{"data-remove-attachment-button":e.id,iconProps:{iconName:"ChromeClose"},onClick:function(){return i(e)},ariaLabel:o({id:"AriaLabel.removeAttachmentButton"})},void 0)},{children:t.jsx(DLe,{gifInfo:e},void 0)}),e.id)}))}),void 0)},LLe=y.default.div.withConfig({displayName:"GifEditList__Host",componentId:"sc-95dldh-0"})(FLe||(FLe=ege(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),ILe=y.default($we).withConfig({displayName:"GifEditList__StyledAttachmentHost",componentId:"sc-95dldh-1"})(ELe||(ELe=ege(["\n width: auto;\n"],["\n width: auto;\n"]))),MLe=function(e){var n=e.attachments,i=e.className,r=n.filter((function(e){return e.type===U0.Giphy}));return 0===r.length?null:t.jsx(jLe,Kpe({className:i,"data-gif-url-preview":r[0].id},{children:t.jsx(RLe,{children:t.jsx(DLe,{gifInfo:r[0]},void 0)},void 0)}),void 0)},jLe=y.default.div.withConfig({displayName:"GifList__Host",componentId:"sc-8gg7fj-0"})(CLe||(CLe=ege(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"],["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n"]))),RLe=y.default($we).withConfig({displayName:"GifList__StyledAttachmentHost",componentId:"sc-8gg7fj-1"})(SLe||(SLe=ege(["\n width: auto;\n margin: ","px 0 0 0;\n"],["\n width: auto;\n margin: ","px 0 0 0;\n"])),x5);var NLe,zLe,BLe,GLe=function(e){var n,r,o=i.useRef(null),s=i.useState(!1),l=s[0],u=s[1];return t.jsxs(ULe,Kpe({className:e.className},((n={})[e.dataAttribute]=!0,n),{ref:o},{children:[t.jsx(qLe,{"data-icon-with-callout":!0,iconProps:{iconName:e.icon},onClick:function(){return Zpe(this,void 0,void 0,(function(){var t,n;return Xpe(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(WLe,Kpe({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)},ULe=y.default.div.withConfig({displayName:"IconWithCallout__Host",componentId:"sc-1jmscz2-0"})(NLe||(NLe=ege(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),qLe=y.default(nwe).withConfig({displayName:"IconWithCallout__StyledIconButton",componentId:"sc-1jmscz2-1"})(zLe||(zLe=ege(["\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"]))),WLe=y.default(ACe).withConfig({displayName:"IconWithCallout__StyledCallout",componentId:"sc-1jmscz2-2"})(BLe||(BLe=ege(["\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"]))),HLe="video-view-container";function QLe(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 VLe=["ar-dz","ar-kw","ar-ly","ar-ma","ar-sa","ar-tn","ar","bg","bn","ca","cs","da","de-at","de-ch","de","el","en","en-au","en-ca","en-gb","en-ie","en-il","en-nz","en-sg","es-do","es-us","es","et","fa","fi","fr-ca","fr-ch","fr","gu","he","hi","hr","hu","id","it-ch","it","ja","kn","ko","lt","lv","ml","mr","ms-my","ms","nb","nl-be","nl","pl","pt-br","pt","ro","ru","sk","sl","sr-cyrl","sr","sv","sw","ta","te","th","tr","uk","vi","zh-cn","zh-hk","zh-tw"];function YLe(e){return KLe(null==e?void 0:e.preferredLocale)||KLe(function(){try{return Intl.DateTimeFormat().resolvedOptions().locale}catch(e){return null}}())||KLe(null==e?void 0:e.preferredUiLanguage)||KLe(navigator.language)||"en"}function KLe(e){return e?("en-us"===(e=e.toLocaleLowerCase())&&(e="en"),VLe.find((function(t){return t===e}))):null}var $Le,ZLe,XLe,JLe,eIe,tIe,nIe,iIe,rIe,oIe,aIe,sIe,lIe,uIe,cIe=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=QF().formatMessage,d=i.useContext(_5).theme.palette;return s&&a?null:t.jsxs(dIe,Kpe({className:u},{children:[t.jsx(z_e,Kpe({resourceKey:"Lib.paging.goToFirstPage"},{children:t.jsx(fIe,{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(pIe,{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(gIe,{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)},dIe=y.default.div.withConfig({displayName:"HorizontalPager__Host",componentId:"sc-1b5ja54-0"})($Le||($Le=ege(["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"],["\n display: flex;\n justify-content: center;\n margin-top: ","px;\n"])),F5),hIe=y.default(eke).withConfig({displayName:"HorizontalPager__StyledActionButton",componentId:"sc-1b5ja54-1"})(XLe||(XLe=ege(["\n font-weight: bold;\n\n ","\n"],["\n font-weight: bold;\n\n ","\n"])),(function(e){return e.isHidden&&o.css(ZLe||(ZLe=ege(["\n visibility: hidden;\n "],["\n visibility: hidden;\n "])))})),fIe=y.default(hIe).withConfig({displayName:"HorizontalPager__FirstPageButton",componentId:"sc-1b5ja54-2"})(JLe||(JLe=ege([""],[""]))),pIe=y.default(hIe).withConfig({displayName:"HorizontalPager__BackButton",componentId:"sc-1b5ja54-3"})(eIe||(eIe=ege([""],[""]))),gIe=y.default(hIe).withConfig({displayName:"HorizontalPager__MoreButton",componentId:"sc-1b5ja54-4"})(tIe||(tIe=ege(["\n & > span {\n flex-direction: row-reverse;\n }\n"],["\n & > span {\n flex-direction: row-reverse;\n }\n"]))),mIe=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(_5).theme.palette;return o?t.jsx(t.Fragment,{children:l},void 0):t.jsxs(vIe,Kpe({className:u},{children:[t.jsx(bIe,{disabled:a,onClick:r,iconProps:{iconName:"ChevronUpSmall"},color:c.accent},void 0),t.jsx(wIe,{children:l},void 0),t.jsx(_Ie,{disabled:s,onClick:n,iconProps:{iconName:"ChevronDownSmall"},color:c.accent},void 0)]}),void 0)},vIe=y.default.div.withConfig({displayName:"VerticalPager__Host",componentId:"sc-76hdpk-0"})(nIe||(nIe=ege(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"],["\n display: flex;\n flex-direction: column;\n width: 100%;\n"]))),yIe=y.default(nwe).withConfig({displayName:"VerticalPager__StyledIconButton",componentId:"sc-76hdpk-1"})(iIe||(iIe=ege(["\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"])),g5),bIe=y.default(yIe).withConfig({displayName:"VerticalPager__TopButton",componentId:"sc-76hdpk-2"})(rIe||(rIe=ege(["\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})),_Ie=y.default(yIe).withConfig({displayName:"VerticalPager__BottomButton",componentId:"sc-76hdpk-3"})(oIe||(oIe=ege(["\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})),wIe=y.default.div.withConfig({displayName:"VerticalPager__Inner",componentId:"sc-76hdpk-4"})(aIe||(aIe=ege(["\n margin: ","px ","px;\n"],["\n margin: ","px ","px;\n"])),F5,15),kIe=mge,xIe=Array.isArray||function(e){return"Array"==kIe(e)},FIe=xIe,EIe=ive,CIe=jxe,SIe=function(e,t,n,i,r,o,a,s){for(var l,u=r,c=0,d=!!a&&CIe(a,s,3);c<i;){if(c in n){if(l=d?d(n[c],c,t):n[c],o>0&&FIe(l))u=SIe(e,t,l,EIe(l.length),u,o-1)-1;else{if(u>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[u]=l}u++}c++}return u},OIe=SIe,DIe=Fge,PIe=xIe,TIe=zye("species"),AIe=OIe,LIe=Vve,IIe=ive,MIe=Hve,jIe=function(e,t){var n;return PIe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!PIe(n.prototype)?DIe(n)&&null===(n=n[TIe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};function RIe(e,t,n){var r=i.useState(0),o=r[0],a=r[1],s=i.useState(0),l=s[0],u=s[1],c=i.useState({pages:{},paginationToken:null,hasNextPage:!0}),d=c[0],h=c[1],f=i.useState(!0),p=f[0],g=f[1],m=i.useState(!1),v=m[0],y=m[1],b=i.useState(null),_=b[0],w=b[1];i.useEffect((function(){!function(){Zpe(this,void 0,void 0,(function(){var n,i;return Xpe(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(),h({pages:{0:n.items},paginationToken:n.paginationToken,hasNextPage:n.hasNextPage}),n.items.length<=e?(a(e),u(e)):(a(2*e),u(e)),[3,4];case 2:return i=r.sent(),im.error(i),w(i),[3,4];case 3:return g(!1),[7];case 4:return[2]}}))}))}()}),Jpe([e],n||[]));var k=Object.keys(d.pages).flatMap((function(e){return d.pages[e]})).slice(l-e,l);return{items:k,isInitialLoading:p,isLoadingNextPage:v,error:_,getFirstPage:function(){return u(e)},getPrevPage:function(){return u(l-e)},getNextPage:function(){return Zpe(this,void 0,void 0,(function(){return Xpe(this,(function(t){switch(t.label){case 0:return u(l+e),d.hasNextPage&&l===o-e?[4,x(d.paginationToken)]:[3,2];case 1:t.sent(),a(o+e),t.label=2;case 2:return[2]}}))}))},isFirstPage:l===e,isLastPage:l===o&&!d.hasNextPage,isEmpty:!p&&0===(null==k?void 0:k.length)};function x(n){return Zpe(this,void 0,void 0,(function(){var i,r,o;return Xpe(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),y(!0),[4,t(e,n)];case 1:return i=a.sent(),r=n,h((function(e){var t;return{pages:Ype(e.pages,(t={},t[r]={$set:i.items},t)),paginationToken:i.paginationToken,hasNextPage:i.hasNextPage}})),[3,4];case 2:return o=a.sent(),im.error(o),w(_),[3,4];case 3:return y(!1),[7];case 4:return[2]}}))}))}}Wve({target:"Array",proto:!0},{flatMap:function(e){var t,n=LIe(this),i=IIe(n.length);return MIe(e),(t=jIe(n,0)).length=AIe(t,n,n,i,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),wbe("flatMap"),y.default.p.withConfig({displayName:"PaginationStatus__AllLoadedStatus",componentId:"sc-ykj2ti-0"})(sIe||(sIe=ege(["\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"})(lIe||(lIe=ege(["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"],["\n margin: ","px 0;\n\n > * {\n margin: 0;\n }\n"])),S5),y.default.div.withConfig({displayName:"PaginationStatus__LoadStatusPlaceholder",componentId:"sc-ykj2ti-2"})(uIe||(uIe=ege(["\n height: ","px;\n"],["\n height: ","px;\n"])),F5);var NIe,zIe,BIe=i.createContext(null);y.default.div.withConfig({displayName:"PullToRefresh__Host",componentId:"sc-1wloq17-0"})(NIe||(NIe=ege(["\n width: 100%;\n"],["\n width: 100%;\n"]))),y.default.div.withConfig({displayName:"PullToRefresh__Inner",componentId:"sc-1wloq17-1"})(zIe||(zIe=ege(["\n display: contents;\n"],["\n display: contents;\n"])));var GIe,UIe,qIe,WIe,HIe,QIe,VIe,YIe,KIe,$Ie=o.css(GIe||(GIe=ege(["\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"]))),ZIe=o.css(UIe||(UIe=ege(["\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"])),$Ie,D5,F5),XIe=o.css(qIe||(qIe=ege(["\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})),JIe=o.css(WIe||(WIe=ege(["\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"])),L5),eMe="AllChannels",tMe=o.createGlobalStyle(HIe||(HIe=ege(["\n ","\n"],["\n ","\n"])),JIe),nMe=y.default(nSe).withConfig({displayName:"ToolbarChannelSelector__StyledDropdown",componentId:"sc-fwvaya-0"})(QIe||(QIe=ege(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),ZIe),iMe=y.default(r.NavLink).withConfig({displayName:"ToolbarChannelSelector__DropdownNavLink",componentId:"sc-fwvaya-1"})(VIe||(VIe=ege(["\n ","\n"],["\n ","\n"])),XIe),rMe=y.default.span.withConfig({displayName:"ToolbarChannelSelector__OptionSpan",componentId:"sc-fwvaya-2"})(YIe||(YIe=ege(["\n ",";\n"],["\n ",";\n"])),XIe),oMe=function(e){var n=e.handler,i=e.disabled;return m0().unreadTracking?t.jsx(APe,{tooltipResourceKey:"Generic.UnreadItems.markAllAsRead",onClick:n,iconName:"Read",disabled:i,ariaLabelResourceKey:"Generic.UnreadItems.markAllAsRead","data-clear-unread-items":!0},void 0):null},aMe=function(e){var n=e.onClick,i=e.to,r=e.disabled;return t.jsx(APe,{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,(KIe=e.EventView||(e.EventView={})).UpcomingEvents="upcoming",KIe.MyBookedEvents="booked",KIe.PastEvents="past";var sMe,lMe,uMe,cMe,dMe=o.createGlobalStyle(sMe||(sMe=ege(["\n ","\n"],["\n ","\n"])),JIe),hMe=y.default(nSe).withConfig({displayName:"ToolbarEventViewSelector__StyledDropdown",componentId:"sc-ft0a2d-0"})(lMe||(lMe=ege(["\n ","\n display: flex;\n align-items: center;\n"],["\n ","\n display: flex;\n align-items: center;\n"])),ZIe),fMe=y.default.span.withConfig({displayName:"ToolbarEventViewSelector__OptionSpan",componentId:"sc-ft0a2d-1"})(uMe||(uMe=ege(["\n ",";\n"],["\n ",";\n"])),XIe);function pMe(){var e=iq(),t=e.createApiUrl,n=e.fetchFromApi,r=i.useContext(Gk).onRequestToken;return i.useMemo((function(){return{uploadImage:function(e,t,i,o,a){return Zpe(this,void 0,void 0,(function(){var s,l;return Xpe(this,(function(u){switch(u.label){case 0:return(s=new FormData).append("image",a,a.name||"image."+uH.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 Zpe(this,void 0,void 0,(function(){var s,l;return Xpe(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 gMe(){var e=rq();return i.useMemo((function(){var t=null;return{getAllLanguages:n,getAllLanguagesLocalized:function(e){return Zpe(this,void 0,void 0,(function(){var t;return Xpe(this,(function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,D1.apply(void 0,Jpe([e],t))]}}))}))},resolveActiveLanguages:function(e){return Zpe(this,void 0,void 0,(function(){return Xpe(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 Zpe(this,void 0,void 0,(function(){var t;return Xpe(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 mMe(){var e=iq().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(cMe||(cMe=ege(["\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 vMe,yMe,bMe,_Me,wMe,kMe,xMe,FMe,EMe,CMe,SMe,OMe,DMe,PMe=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}(),TMe=function(e){var n=m0(),r=i.useState(null),o=r[0],a=r[1],s=a1().getUserAvatarUrl;if(v9(PMe.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=Ck(e.text||e.displayName||e.upn);return t.jsx(AMe,Kpe({},e,{"data-avatar":!0,text:e.text,imageUrl:o,imageShouldFadeIn:!1,imageInitials:l,initialsColor:Sk(l),secondaryText:G0(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)}))}},AMe=y.default(a.Persona).withConfig({displayName:"Avatar__StyledPersona",componentId:"sc-1r8d14y-0"})(vMe||(vMe=ege(["\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"]))),LMe=function(e){var n=e.className,i=e.iconName,r=e.tooltipResourceKey,o=e.tooltipText,a=e.children;return a?t.jsxs(MMe,Kpe({className:n},{children:[i&&t.jsx(z_e,Kpe({resourceKey:r,text:o},{children:t.jsx(IMe,{iconName:i},"icon")}),void 0),a]}),void 0):null},IMe=y.default(a.Icon).withConfig({displayName:"UserPropertyWrapper__StyledIcon",componentId:"sc-yfrgje-0"})(yMe||(yMe=ege(["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"],["\n && {\n cursor: default;\n display: flex;\n padding-right: 8px;\n padding-top: 1px;\n }\n"]))),MMe=y.default.div.withConfig({displayName:"UserPropertyWrapper__PropertyContainer",componentId:"sc-yfrgje-1"})(bMe||(bMe=ege(["\n display: flex;\n max-width: 100%;\n"],["\n display: flex;\n max-width: 100%;\n"]))),jMe=function(e){var n=e.email;return G0(n)?null:t.jsx(LMe,Kpe({iconName:"mail",tooltipResourceKey:"Generic.mail"},{children:t.jsx(WMe,Kpe({href:"mailto:"+n},{children:n}),void 0)}),void 0)},RMe=function(e){var n=e.value,i=QF().formatMessage;return null==n?null:t.jsx(LMe,Kpe({iconName:"cellPhone",tooltipResourceKey:"Generic.mobilePhone"},{children:t.jsx(WMe,Kpe({href:"tel:"+n},{children:i({id:"Generic.callMobile"},{number:n})}),void 0)}),void 0)},NMe=function(e){var n=e.value,i=QF().formatMessage;return null==n?null:(n="string"==typeof n?[n]:n,t.jsx(t.Fragment,{children:n.map((function(e,n){return t.jsx(LMe,Kpe({iconName:"phone",tooltipResourceKey:"Generic.businessPhone"},{children:t.jsx(WMe,Kpe({href:"tel:"+e},{children:i({id:"Generic.callOffice"},{number:e})}),void 0)}),e+n)}))},void 0))},zMe=function(e){var n=e.value,i=e.tooltipResourceKey,r=m0();return null==n?null:t.jsx(LMe,Kpe({iconName:"MapPin",tooltipResourceKey:i||"Generic.Location"},{children:r.userLocationLookup?t.jsx(WMe,Kpe({target:"_blank",rel:"noopener noreferrer",href:_Ce(n)},{children:n}),void 0):t.jsx(t.Fragment,{children:n},void 0)}),void 0)},BMe=function(e){var n=e.value;return null==n?null:t.jsx(LMe,Kpe({iconName:"workforceManagement",tooltipResourceKey:"Generic.department"},{children:n}),void 0)},GMe=function(e){var n=e.value;return null==n?null:t.jsx(LMe,Kpe({iconName:"contactCard",tooltipResourceKey:"Generic.jobTitle"},{children:n}),void 0)},UMe=function(e){var n=e.value,i=C4().buildPath,r=m0();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(LMe,Kpe({iconName:"Chat",tooltipResourceKey:"Generic.sendChatMessage"},{children:t.jsx(HMe,Kpe({to:i("chats/new")+"?"+Hg.stringify({userId:o.id,userDisplayName:o.displayName,userPrincipalName:o.userPrincipalName})},{children:t.jsx(hE,{id:"Generic.sendChatMessage"},void 0)}),void 0)}),void 0)},qMe=o.css(_Me||(_Me=ege(["\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})),WMe=y.default.a.withConfig({displayName:"UserProperties__StyledAnchor",componentId:"sc-1aw5jcq-0"})(wMe||(wMe=ege(["\n ","\n"],["\n ","\n"])),qMe),HMe=y.default(r.Link).withConfig({displayName:"UserProperties__StyledLink",componentId:"sc-1aw5jcq-1"})(kMe||(kMe=ege(["\n ","\n"],["\n ","\n"])),qMe),QMe={mobilePhone:RMe,department:BMe,address:zMe},VMe=function(e){var n=e.className,r=e.value,o=e.definition,a=function(){var e=g0(),t=QF().formatMessage,n={displayName:{},mobilePhone:{iconName:"cellPhone"},jobTitle:{iconName:"contactCard"},company:{iconName:"EMI"},address:{iconName:"MapPin"},notes:{iconName:"ContactInfo"}};return{getPropertyLabel:function(i){var r=hk(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=QMe[o.name];return d?i.createElement(d,{value:r}):t.jsx(LMe,Kpe({iconName:c,tooltipText:u,className:n},{children:r}),void 0)},YMe=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(BMe,{value:null===(n=s.properties)||void 0===n?void 0:n.department},void 0),!u.includes("jobTitle")&&t.jsx(GMe,{value:null===(i=s.properties)||void 0===i?void 0:i.jobTitle},void 0),!u.includes("mobilePhone")&&t.jsx(RMe,{value:null===(r=s.properties)||void 0===r?void 0:r.mobilePhone},void 0),!u.includes("businessPhones")&&t.jsx(NMe,{value:null===(o=s.properties)||void 0===o?void 0:o.businessPhones},void 0),!u.includes("chatMessage")&&t.jsx(UMe,{value:s},void 0),!u.includes("officeLocation")&&t.jsx(zMe,{value:null===(a=s.properties)||void 0===a?void 0:a.officeLocation},void 0)]},void 0)},KMe=function(e){var n=e.user,i=e.ignoredProperties,r=void 0===i?[]:i,o=g0();return t.jsxs(t.Fragment,{children:[!r.includes("chatMessage")&&t.jsx(UMe,{value:n},void 0),o.subscription.userPropertyDefinitions.filter((function(e){return!r.includes(e.name)})).map((function(e){var i;return t.jsx(VMe,{definition:e,value:null===(i=n.properties)||void 0===i?void 0:i[e.name]},e.name)}))]},void 0)},$Me=["displayName","department","jobTitle"],ZMe=function(e){var n,i=e.upn,r=e.showAvatar,o=e.id,s=a1(),l=s.getUserInfo,u=s.getUserInfoById,c=Mk((function(){return i?l(i):u(o)}),null,[i,o]),d=c[0],h=c[1];if(c[2])return t.jsx(XMe,{children:i?t.jsx(hE,{id:"Profile.CannotLoadInfo",values:{upn:i}},void 0):t.jsx(hE,{id:"Profile.CannotLoadInfoByUserId"},void 0)},void 0);if(h)return t.jsx(tje,{},void 0);var f=r?$Me:[];return t.jsxs(JMe,Kpe({"data-user-details":!0},{children:[r&&t.jsx(TMe,{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(eje,{children:[t.jsx(jMe,{email:null!==(n=d.mail)&&void 0!==n?n:d.userPrincipalName},void 0),d.isDirectoryUser?t.jsx(YMe,{user:d,ignoredProperties:f},void 0):t.jsx(KMe,{user:d,ignoredProperties:f},void 0)]},void 0)]}),void 0)},XMe=y.default.div.withConfig({displayName:"UserDetails__ErrorContainer",componentId:"sc-uqfudb-0"})(xMe||(xMe=ege(["\n padding: 20px;\n"],["\n padding: 20px;\n"]))),JMe=y.default.div.withConfig({displayName:"UserDetails__Host",componentId:"sc-uqfudb-1"})(FMe||(FMe=ege(["\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"])),z5),eje=y.default.div.withConfig({displayName:"UserDetails__ContactCard",componentId:"sc-uqfudb-2"})(EMe||(EMe=ege(["\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"])),x5),tje=y.default(FSe).withConfig({displayName:"UserDetails__StyledSpinner",componentId:"sc-uqfudb-3"})(CMe||(CMe=ege(["\n padding: 20px 80px;\n"],["\n padding: 20px 80px;\n"]))),nje=function(e){var n=e.upn,r=e.className,o=e.children,s=e.readOnly,l=e.domIdentifier,u=i.useRef(null),c=g0(),d=i.useState(!1),h=d[0],f=d[1];return s?t.jsx(rje,Kpe({className:r},{children:o}),void 0):t.jsxs(t.Fragment,{children:[t.jsx(rje,Kpe({ref:u,className:r},{children:t.jsx(oje,Kpe({"data-persona-button":l,"data-rounded-outline":"avatar"===l&&50,className:"persona-card-children",onClick:function(e){e.preventDefault(),f(!h)},ariaLabel:n},{children:o}),"children")}),void 0),h&&!c.isPublicUser&&t.jsx(ACe,Kpe({className:"persona-card-callout",directionalHint:a.DirectionalHint.bottomCenter,isBeakVisible:!0,onDismiss:function(){return f(!1)},target:u.current},{children:t.jsx(ije,{children:t.jsx(ZMe,{upn:n,showAvatar:!0},void 0)},void 0)}),"callout")]},void 0)},ije=y.default.div.withConfig({displayName:"PersonaCard__CalloutHost",componentId:"sc-g7cgoc-0"})(SMe||(SMe=ege(["\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,F5,D5),rje=y.default.div.withConfig({displayName:"PersonaCard__Label",componentId:"sc-g7cgoc-1"})(OMe||(OMe=ege(["\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"]))),oje=y.default(a.ActionButton).withConfig({displayName:"PersonaCard__StyledButton",componentId:"sc-g7cgoc-2"})(DMe||(DMe=ege(["\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 aje(){return aje=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},aje.apply(this,arguments)}var sje=function(e){return g.createElement("svg",aje({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 163"},e),g.createElement("path",{style:{fill:"none"},d:"M0 23.877h400v100H0z"}),g.createElement("path",{d:"M134.231 141.48h149.1c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603-6.914 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h-39.522c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603h71.856c6.913 0 12.602-5.689 12.602-12.602 0-6.914-5.689-12.603-12.602-12.603H162.974c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602H91.118c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602h44.911c6.913 0 12.602 5.689 12.602 12.603 0 6.913-5.689 12.602-12.602 12.602H64.172c-6.914 0-12.603 5.689-12.603 12.603s5.689 12.603 12.603 12.603h70.059c-6.914 0-12.603 5.689-12.603 12.603 0 6.913 5.689 12.602 12.603 12.602v-.006Zm192.708-63.014c0 6.764 5.565 12.329 12.329 12.329 6.763 0 12.329-5.565 12.329-12.329 0-6.763-5.566-12.329-12.329-12.329h-.001c-6.763 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M237.898 60.069c0-4.967-4.033-9-9-9h-58.712c-4.967 0-9 4.033-9 9v45.014c0 4.967 4.033 9 9 9h58.712c4.967 0 9-4.033 9-9V60.069Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M90.299 68.815a32.862 32.862 0 0 1-23.217-18.138 1.364 1.364 0 0 1-.133-.589 1.377 1.377 0 0 1 1.64-1.343l14.747 2.964c3.116.644 6.364.001 9-1.781h.006a11.784 11.784 0 0 0 5.016-7.658l1.9-10.113c1.196-6.529-3.112-12.905-9.616-14.232l-14.751-2.964a1.37 1.37 0 0 1-.661-2.348 31.961 31.961 0 0 1 28.134-7.833c12.566 2.547 22.559 12.193 25.548 24.661a6.579 6.579 0 0 0 .938 1.004 7.774 7.774 0 0 0 3.616 1.753l26.592 5.344a819741.64 819741.64 0 0 0 119.067 23.943c6.256 1.287 10.396 7.424 9.247 13.707-1.019 5.418-5.796 9.38-11.309 9.38-.761 0-1.52-.076-2.266-.226l-55.525-11.174-28.93-5.826-64.138-12.884-.027-.006a1.668 1.668 0 0 0-.7-.007h-.022a1.621 1.621 0 0 0-.562.24 1.58 1.58 0 0 0-.444.441c-7.215 10.867-20.371 16.297-33.15 13.685Zm188.988 8.736a5.483 5.483 0 0 1-3.036.917c-3.008 0-5.485-2.476-5.485-5.485 0-3.009 2.477-5.485 5.485-5.485a5.49 5.49 0 0 1 4.567 2.446c1.666 2.507.975 5.94-1.531 7.607Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2,fillRule:"evenodd"}}),g.createElement("path",{d:"M237.898 30.672c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V30.672ZM218.72 21.083c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V21.083ZM199.542 16.973c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V16.973ZM180.364 19.713c0-3.863-3.137-7-7-7h-5.178c-3.863 0-7 3.137-7 7v28.466c0 3.864 3.137 7 7 7h5.178c3.863 0 7-3.136 7-7V19.713Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m162.903 110.39-17.592-16.8a10.428 10.428 0 0 1-3.933-8.151V65.39a8.809 8.809 0 0 1 4.147-7.536c2.597-1.617 25.763-10.645 25.915-10.739 4.419-2.471 5.974-2.074 8.321 2.135a9.067 9.067 0 0 1 1.219 4.608 8.791 8.791 0 0 1-4.359 7.66c-2.719 1.585-8.564 4.617-11.981 6.682-3.417 2.065-2.248 7.486 1.645 8.538 19.185 5.184 32.008 12.3 38.107 27.065M171.556 114.083h58.712c4.937 0 9 4.063 9 9v35.425h-76.712v-35.425c0-4.937 4.063-9 9-9Z",style:{fill:"#fff",fillRule:"evenodd",stroke:"currentColor",strokeWidth:2}}))};function lje(){return lje=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},lje.apply(this,arguments)}var uje=function(e){return g.createElement("svg",lje({width:400,height:120,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve"},e),g.createElement("path",{style:{fill:"none"},d:"M0 10.951h400v100H0z"}),g.createElement("path",{d:"M113.854 72h30.104c-6.623 0-12 5.377-12 12s5.377 12 12 12h-24.165c-6.623 0-12 5.377-12 12s5.377 12 12 12h74.873c6.623 0 12-5.377 12-12s-5.377-12-12-12h64.042c6.623 0 12-5.377 12-12s-5.377-12-12-12h1.125c-6.288 0-11.393-5.377-11.393-12s5.105-12 11.393-12h37.769c6.623 0 12-5.377 12-12s-5.377-12-12-12h-52.706c6.623 0 12-5.377 12-12s-5.377-12-12-12h-58.5c-6.623 0-12 5.377-12 12s5.377 12 12 12h-22.167c-6.622 0-12 5.377-12 12s5.378 12 12 12h-50.375c-6.288 0-11.394 5.377-11.394 12s5.106 12 11.394 12Zm186.998 12c0-6.623-5.377-12-12-12s-12 5.377-12 12 5.377 12 12 12 12-5.377 12-12Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"m211.775 81.467 1.122-6.522-5.059-5.013 4.488-7.838-65.735-11.306c-.466-21.056-14.403-38.978-33.804-42.314-22.3-3.836-44.233 12.903-48.531 37.887-4.297 24.985 10.784 48.09 33.084 51.925 19.401 3.337 38.525-8.899 45.999-28.589l68.436 11.77ZM110.464 21.98c15.292 2.63 24.847 18.963 21.901 36.095-2.947 17.133-17.41 29.335-32.702 26.705-15.292-2.63-24.847-18.963-21.901-36.096 2.947-17.133 17.41-29.335 32.702-26.704Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M146.128 59.052c.317-1.091.547-2.172.748-3.27.307-1.69.51-3.341.715-4.99l-2-.007c.191 1.627.397 3.255.486 4.946.058 1.101.066 2.192.001 3.313l.05.008ZM145.614 61.745a30.11 30.11 0 0 1-1.108 3.121c-.649 1.565-1.387 3.03-2.111 4.5l1.887.662c.359-1.623.719-3.247.994-4.943a32.34 32.34 0 0 0 .387-3.332l-.049-.008Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"m331.063 28.601-42.249 11.755 8.449 30.367 10.563-2.939-4.225-15.183 10.562-2.939 1.286 4.621 10.562-2.939 2.249 8.081 10.562-2.939-7.759-27.885Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"m213.696 41.343.517 6.969 6.031 4.296 1.236 6.484 116.184-32.328c5.101-1.42 8.09-6.713 6.671-11.814-1.42-5.101-6.713-8.09-11.814-6.67L213.696 41.343Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}))};function cje(){return cje=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},cje.apply(this,arguments)}var dje,hje,fje,pje,gje,mje,vje=function(e){return g.createElement("svg",cje({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",preserveAspectRatio:"xMinYMin slice",viewBox:"0 0 400 179"},e),g.createElement("path",{style:{fill:"none"},d:"M0 35.295h400v100H0z"}),g.createElement("path",{d:"M114.881 160.609h149.1c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603-6.913 0-10.779-5.642-10.779-12.6 0-6.958 7.1-12.6 15.856-12.6h18.279c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h-39.521c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603h71.856c6.914 0 12.603-5.689 12.603-12.602 0-6.914-5.689-12.603-12.603-12.603H143.624c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602H71.768c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602h44.911c6.914 0 12.603 5.689 12.603 12.603 0 6.913-5.689 12.602-12.603 12.602H44.822c-6.913 0-12.602 5.69-12.602 12.603 0 6.914 5.689 12.603 12.602 12.603h70.059c-6.913 0-12.602 5.689-12.602 12.603 0 6.913 5.689 12.602 12.602 12.602v-.006Zm192.708-63.014c0 6.764 5.566 12.329 12.329 12.329 6.764 0 12.329-5.565 12.329-12.329 0-6.763-5.565-12.329-12.329-12.329h-.001c-6.762 0-12.328 5.565-12.328 12.328v.002-.001Z",style:{fill:"currentColor",fillOpacity:.2}}),g.createElement("path",{d:"M292.483 63.514a2.002 2.002 0 0 0-2.259-1.702L140.205 82.896a2.001 2.001 0 0 0-1.702 2.259l12.251 87.169a2.002 2.002 0 0 0 2.259 1.703l150.018-21.084a2.002 2.002 0 0 0 1.703-2.259l-12.251-87.17Z",style:{fill:"#fff",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M247.683 137.397a31.742 31.742 0 0 0 6.393-19.103c0-17.41-14.326-31.737-31.736-31.737s-31.737 14.327-31.737 31.737a31.758 31.758 0 0 0 12.643 25.35c13.903 10.472 33.959 7.652 44.437-6.247ZM236.661 99.29c9.222 6.97 12.111 19.693 6.803 29.962l-37.479-28.242c8.408-7.932 21.435-8.661 30.676-1.716v-.004Zm-35.443 8.055 37.471 28.244a23.806 23.806 0 0 1-16.354 6.51c-13.054 0-23.796-10.742-23.796-23.797a23.8 23.8 0 0 1 2.671-10.954l.008-.003Z",style:{fill:"currentColor"}}),g.createElement("path",{d:"M207.614 8.507a1.585 1.585 0 0 0-2.694.379l-28.129 66.441a1.586 1.586 0 0 0-.126.619 1.595 1.595 0 0 0 1.808 1.571l73.48-10.327a1.587 1.587 0 0 0 1.012-2.569L207.614 8.507Z",style:{fill:"none",fillRule:"nonzero",stroke:"currentColor",strokeWidth:2}}),g.createElement("path",{d:"M205.054.078a7.937 7.937 0 0 1 8.96 6.752 7.938 7.938 0 0 1-6.752 8.96 7.936 7.936 0 0 1-8.959-6.752 7.936 7.936 0 0 1 6.751-8.96Z",style:{fill:"currentColor"}}))},yje=function(e){var n=e.info,i="number"==typeof n;return t.jsx(bje,Kpe({isNumber:i,"data-badge-info":n},{children:t.jsx(_je,Kpe({isNumber:i},{children:"number"==typeof n&&n}),void 0)}),void 0)},bje=y.default.div.withConfig({displayName:"MenuItemBadge__Host",componentId:"sc-1x1dhyf-0"})(fje||(fje=ege(["\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(dje||(dje=ege(["\n min-width: 22px; /* badge min-width */\n "],["\n min-width: 22px; /* badge min-width */\n "]))):o.css(hje||(hje=ege(["\n width: 22px;\n "],["\n width: 22px;\n "])))})),_je=y.default.div.withConfig({displayName:"MenuItemBadge__Badge",componentId:"sc-1x1dhyf-1"})(gje||(gje=ege(["\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(pje||(pje=ege(["\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,B5)}));function wje(){return wje=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},wje.apply(this,arguments)}var kje,xje=function(e){return g.createElement("svg",wje({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048"},e),mje||(mje=g.createElement("path",{d:"M1536 704q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zM0 256h2048v1024h-128V384H128v677l448-447 640 640 256-256 283 282h-182l-101-102-101 102h-310L576 794l-448 449v421h512v128H0V256zm768 1792v-640h1280v640H768zm128-512v384h1024v-384H896zm256 256v-128h512v128h-512z",fill:"#fff"})))};function Fje(e){return t.jsx(Tje,Kpe({"data-page-alert":!0},{children:t.jsxs(Aje,{children:[e.errorType&&t.jsx(Lje,Kpe({onClick:e.onClick},{children:e.errorType===kje.LoginError?t.jsx(uje,{},void 0):e.errorType===kje.GenericError?t.jsx(sje,{},void 0):e.errorType===kje.Error403?t.jsx(vje,{},void 0):t.jsx(PDe,{},void 0)}),void 0),t.jsx(Ije,{children:e.alertText},void 0),t.jsx(Mje,{children:e.children},void 0)]},void 0)}),void 0)}!function(e){e.GenericError="genericError",e.Error404="error404",e.Error403="error403",e.LoginError="loginError"}(kje||(kje={}));var Eje,Cje,Sje,Oje,Dje,Pje,Tje=y.default.div.withConfig({displayName:"PageAlert__Host",componentId:"sc-gj7gx6-0"})(Eje||(Eje=ege(["\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})),Aje=y.default.div.withConfig({displayName:"PageAlert__Content",componentId:"sc-gj7gx6-1"})(Cje||(Cje=ege(["\n padding: 30px;\n text-align: center;\n"],["\n padding: 30px;\n text-align: center;\n"]))),Lje=y.default.div.withConfig({displayName:"PageAlert__SvgContainer",componentId:"sc-gj7gx6-2"})(Sje||(Sje=ege(["\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n"],["\n margin: 1rem auto;\n width: 100%;\n\n > svg {\n height: auto;\n max-width: 400px;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.accent})),Ije=y.default.p.withConfig({displayName:"PageAlert__Text",componentId:"sc-gj7gx6-3"})(Oje||(Oje=ege(["\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})),Mje=y.default.div.withConfig({displayName:"PageAlert__AdditionalContent",componentId:"sc-gj7gx6-4"})(Dje||(Dje=ege(["\n margin: auto;\n max-width: 400px;\n"],["\n margin: auto;\n max-width: 400px;\n"]))),jje=y.default.div.withConfig({displayName:"PageAlert__CenteredAlert",componentId:"sc-gj7gx6-5"})(Pje||(Pje=ege(["\n display: flex;\n justify-content: space-around;\n"],["\n display: flex;\n justify-content: space-around;\n"]))),Rje={exports:{}},Nje=Object.getOwnPropertySymbols,zje=Object.prototype.hasOwnProperty,Bje=Object.prototype.propertyIsEnumerable;function Gje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Uje=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=Gje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))zje.call(n,a)&&(r[a]=n[a]);if(Nje){i=Nje(n);for(var s=0;s<i.length;s++)Bje.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},qje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Wje=function(){};if("production"!==process.env.NODE_ENV){var Hje=qje,Qje={},Vje=Function.call.bind(Object.prototype.hasOwnProperty);Wje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Yje(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(Vje(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]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,Hje)}catch(e){a=e}if(!a||a instanceof Error||Wje((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 Qje)){Qje[a.message]=!0;var l=r?r():"";Wje("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}Yje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Qje={})};var Kje=Yje,$je=w.default,Zje=Uje,Xje=qje,Jje=Kje,eRe=Function.call.bind(Object.prototype.hasOwnProperty),tRe=function(){};function nRe(){return null}"production"!==process.env.NODE_ENV&&(tRe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function iRe(){}function rRe(){}rRe.resetWarningCache=iRe;if("production"!==process.env.NODE_ENV){var oRe=w.default;Rje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(nRe),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 `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",Xje);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 `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return $je.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(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 u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(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(eRe(s,u)){var d=e(s,u,i,r,o+"."+u,Xje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&tRe(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."),nRe;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"===d(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&&tRe("Invalid argument supplied to oneOfType, expected an instance of array."),nRe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tRe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+h(n)+" at index "+t+"."),nRe}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,Xje))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var h=d(s,u,i,r,o+"."+u,Xje);if(h)return h}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=Zje({},t[n],e);for(var d in u){var h=e[d];if(!h)return new a("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=h(s,d,i,r,o+"."+d,Xje);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function a(e){this.message=e,this.stack=""}function s(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,s,l,u,c,d,h){if(u=u||i,d=d||l,h!==Xje){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+l;!n[p]&&r<3&&(tRe("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[p]=!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 c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(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 d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function h(e){var t=d(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=Jje,r.resetWarningCache=Jje.resetWarningCache,r.PropTypes=r,r}(oRe.isElement,!0)}else Rje.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,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:rRe,resetWarningCache:iRe};return n.PropTypes=n,n}();var aRe=Rje.exports,sRe=Object.freeze({__proto__:null,useCurrentUser:g0,useAccountApi:a1,useAuthenticationContext:Uk,useEnvironmentConfig:Tg,useNotificationContext:Y5,usePromise:Mk,LinkContext:vE,TextLink:CPe,logger:im,createId:om,ResourceContext:EE,usePluginSettings:function(){var e=i.useContext(P4).settings;return null!=e?e:{}},usePluginStorage:I4,usePluginDeviceStore:I4,usePluginSubscriptionStore:function(){return i.useContext(P4).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(P4).subscriptionStore,o=Mk((function(){return r.get(e).catch(j4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return fV(n,void 0,void 0,(function(){var n;return pV(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),j4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return fV(n,void 0,void 0,(function(){var t;return pV(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),j4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(P4).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(P4).userStore,o=Mk((function(){return r.get(e).catch(j4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return fV(n,void 0,void 0,(function(){var n;return pV(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),j4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return fV(n,void 0,void 0,(function(){var t;return pV(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),j4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Pg().apiEndpoint}},AccountType:XJ,PeoplePicker:fwe,GutterToggle:iwe,EditorSettingsDialog:twe,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:G_e,useTheme:function(){return i.useContext(_5).theme},useSubscriptionHandlePathBuilder:C4,useSubscriptionWebAppUrl:S4});var lRe,uRe=[{name:"@reach/core",packageDefinition:Kpe({default:{}},sRe)}],cRe=[{name:"react",packageDefinition:Kpe(Kpe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Kpe(Kpe({},_),{default:_})},{name:"react-is",packageDefinition:Kpe(Kpe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Kpe({default:aRe},aRe)},{name:"react-router-dom",packageDefinition:Kpe({},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:nge}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:QF,FormattedDate:fE,FormattedTime:pE,IntlProvider:tE}},{name:"@apollo/client",packageDefinition:{default:{},gql:HI,useQuery:function(e,t){return cM(e,t,!1)},ApolloClient:RI,ApolloProvider:tM,from:hA,ApolloLink:dA,fromPromise:oA,split:fA,HttpLink:wA,InMemoryCache:vI,useLazyQuery:function(e,t){return cM(e,t,!0)},useMutation:dM,ApolloError:bI,useApolloClient:nM,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(JI()),o=t?Fo(Fo({},t),{subscription:e}):{subscription:e},a=i.useState({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=i.useRef(),c=(u.current||(u.current=new aM({options:o,context:r,setResult:l})),u.current);return c.setOptions(o,!0),c.context=r,__DEV__&&uM(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:pj}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:Oj}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:JP}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:hM}}],dRe=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(hRe,Kpe({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)},hRe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(lRe||(lRe=ege(["\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"])),F5),fRe=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 Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Co(void 0,void 0,void 0,(function(){return So(this,(function(n){return im.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(Gk.Provider,Fo({value:u},{children:r}),void 0)},pRe="0.4.0-preview.759",gRe="106989",mRe="14547e1edf5b612578e8b7e28345fccbe84e1f95",vRe=V,yRe=z,bRe=Cn("match"),_Re=function(e){var t;return vRe(e)&&(void 0!==(t=e[bRe])?!!t:"RegExp"==yRe(e))},wRe=Cn("match"),kRe=function(e){if(_Re(e))throw TypeError("The method doesn't accept regular expressions");return e},xRe=q,FRe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[wRe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!FRe("includes")},{includes:function(e){return!!~String(xRe(this)).indexOf(kRe(e),arguments.length>1?arguments[1]:void 0)}});var ERe,CRe,SRe={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"}},ORe={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"}},DRe=["//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"],PRe=function(e){var n=e.children,r=Pg().apiEndpoint,o=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!DRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return im.info("Will use non prod client config..."),Fo({},SRe);return Fo(Fo({},SRe),ORe)}())}),[r]);return t.jsx(qg.Provider,Fo({value:o},{children:n}),void 0)},TRe=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 Co(this,void 0,void 0,(function(){return So(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 Co(this,void 0,void 0,(function(){return So(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}(),ARe=new TRe,LRe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(IRe,Fo({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},IRe=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(Gk).setToken,a=bE(),s=function(){var e=iq().fetchFromApi,t=rq();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=iq().fetchFromApi,u=i.useContext(mE),c=u.handleFatalError,d=u.handleAccessDeniedError,h=Mk((function(){return Co(this,void 0,void 0,(function(){var e,t,i;return So(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]),f=h[0],p=h[1],g=h[2];if(g)return im.error(g),c({error:g}),null;if(p)return null;if(!f){var m={message:"Public access is not enabled for the subscription "+n+"!"};return im.error(m.message),d({error:m}),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)}))}},MRe=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],h=c[1],f=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:h}}),[a,u,h]);return t.jsx(mE.Provider,Fo({value:f},{children:t.jsx(jRe,Fo({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},jRe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(RRe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(RRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(RRe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},RRe=function(e){var n=e.messageId,r=e.error,o=QF().formatMessage,a=i.useState(!1),s=a[0],l=a[1];return t.jsx(Fje,Fo({errorType:kje.GenericError,alertText:o({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(NRe,{children:[t.jsx(hE,{id:"Generic.error.details"},void 0),t.jsx(zRe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},NRe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(ERe||(ERe=Mo(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),F5),zRe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(CRe||(CRe=Mo(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),BRe=function(e){var n=e.children,r=S4(),o=i.useMemo((function(){return{onShare:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(vE.Provider,Fo({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},GRe=function(){return null},URe=Object.freeze({__proto__:null,Page:GRe,NavLinkSidebarItem:GRe,PageMenuActionItem:GRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+pRe+" ("+gRe+") ["+mRe+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var qRe=function(e){var n,r=e.children,o=i.useContext(_5).setTheme,a=i.useContext(EE).changeSettings,s=s1().getCurrentUser,l=Mk((function(){var e,t;return Co(this,void 0,void 0,(function(){var n,i,r,l;return So(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,s()];case 1:return n=u.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=hk(n.preferredUiLanguage,dk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),r=YLe(n),a(i,r).then((function(){return null}),im.error),[2,n];case 2:throw l=u.sent(),im.error(l),l;case 3:return[2]}}))}))})),u=l[0],c=l[1],d=l[2],h=l[3],f=i.useContext(mE),p=f.handleFatalError,g=f.handleNotFoundError,m=f.handleAccessDeniedError,v=i.useMemo((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&h(e))}}}),[u]);return d?(403===(null===(n=null==d?void 0:d.response)||void 0===n?void 0:n.statusCode)?m({error:d}):p({error:d}),null):c?null:null==u?(g({}),null):t.jsx(f0.Provider,Fo({value:v},{children:r}),void 0)},WRe=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(wV,{},void 0),t.jsx(FV,{},void 0)]},void 0)};var HRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,QRe=/[\0-\x1F\x7F-\x9F]/,VRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,YRe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 KRe(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 $Re(e){return Object.prototype.toString.call(e)}function ZRe(e){return"[object Function]"===$Re(e)}function XRe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var JRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var eNe={"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}}},tNe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function nNe(e){var t=e.re=function(e){var t={};return t.src_Any=HRe.source,t.src_Cc=QRe.source,t.src_Z=VRe.source,t.src_P=YRe.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]"===$Re(e)}(n))return!function(e){return"[object RegExp]"===$Re(e)}(n.validate)?ZRe(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(ZRe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===$Re(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(XRe).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 iNe(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 rNe(e,t){var n=new iNe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function oNe(e,t){if(!(this instanceof oNe))return new oNe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||JRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=KRe({},JRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=KRe({},eNe,e),this.__compiled__={},this.__tlds__=tNe,this.__tlds_replaced__=!1,this.re={},nNe(this)}oNe.prototype.add=function(e,t){return this.__schemas__[e]=t,nNe(this),this},oNe.prototype.set=function(e){return this.__opts__=KRe(this.__opts__,e),this},oNe.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},oNe.prototype.pretest=function(e){return this.re.pretest.test(e)},oNe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},oNe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(rNe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(rNe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},oNe.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(),nNe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,nNe(this),this)},oNe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},oNe.prototype.onCompile=function(){};var aNe=oNe;function sNe(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 lNe(){return lNe=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},lNe.apply(this,arguments)}function uNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cNe(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 dNe(e,t,n){return t&&cNe(e.prototype,t),n&&cNe(e,n),e}function hNe(e){return hNe="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},hNe(e)}function fNe(e){return fNe="function"==typeof Symbol&&"symbol"===hNe(Symbol.iterator)?function(e){return hNe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":hNe(e)},fNe(e)}function pNe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gNe(e,t){return!t||"object"!==fNe(t)&&"function"!=typeof t?pNe(e):t}function mNe(e){return mNe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},mNe(e)}function vNe(e,t){return vNe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vNe(e,t)}function yNe(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&&vNe(e,t)}function bNe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _Ne(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 wNe(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 kNe(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 xNe(e){return function(e){if(Array.isArray(e))return kNe(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 kNe(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)?kNe(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 FNe=function(e){return e===Object(e)?Object.keys(e):[]},ENe=function(e){return e===Object(e)?Object.values(e):[]};function CNe(e,t){var n=Object.assign({},e);return DNe(e)&&DNe(t)&&FNe(t).forEach((function(i){DNe(t[i])&&i in e?n[i]=CNe(e[i],t[i]):Object.assign(n,x8({},i,t[i]))})),n}var SNe=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 CNe(e,t)}),e)},ONe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},DNe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},PNe=function(e){return(e||[]).filter(Boolean)},TNe=function(e){return"&"===e[0]},ANe=function(e){return!TNe(e)},LNe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},INe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=FNe(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},MNe=function(e,t){for(var n=t.map(LNe),i=FNe(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(LNe(s))>=0)&&(r[s]=e[s])}return r},jNe=function e(t,n){for(var i=SNe.apply(void 0,[{},ONe(t,n)].concat(xNe(ENe(MNe(t,n))))),r=FNe(i).filter(TNe),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=SNe({},i,l)):i[s]=l}return i};function RNe(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 NNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RNe(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RNe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zNe=["animationName"],BNe=function(e){var t=e.style,n=e.className;return NNe(NNe({},t?{style:INe(t,zNe)}:{}),n?{className:n}:{})},GNe=i.createContext(BNe);GNe.Provider;var UNe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return FNe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},qNe={},WNe=function(e){return function(t,n){var i,r=n||qNe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=UNe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function HNe(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 QNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HNe(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HNe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var VNe=function(e){var t=e&&FNe(e)[0];return t&&t.split("__")[0].split("--")[0]},YNe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(xNe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),xNe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(xNe(r)):r}};function KNe(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BNe,o=n||VNe(i)||(null==t?void 0:t.className),a="function"==typeof t?t:WNe((function(e,n){var a=UNe(e);Vpe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),Vpe(!n||DNe(n),"Optional second parameter must be a plain object.");var s=a.filter(TNe),l=a.filter(ANe),u=l.length>0?function(e){return ENe(MNe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(jNe(e,s))},d=YNe(o,l,s);return KNe(QNe(QNe(QNe({},(t||n)&&{style:SNe.apply(void 0,[{}].concat(xNe(c(n)),xNe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=QNe({},"function"==typeof t?t:{style:t}),l=xNe(new Set([].concat(xNe(s.className?s.className.split(" "):[]),xNe(o?o.split(" "):[])))),u=i?PNe(l.map((function(e){return i[e]}))):l,c=r(QNe(QNe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function $Ne(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 ZNe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$Ne(Object(n),!0).forEach((function(t){x8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var XNe=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 ZNe(ZNe(ZNe({},e),"function"==typeof t?t:{}),{},{style:ZNe(ZNe({},e.style),"function"==typeof t?t.style:t)})}),{})},JNe=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(GNe);return i.useMemo((function(){return KNe({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},eze=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},tze="__id__",nze="__display__",ize=function(e,t){Vpe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(nze),i=e.indexOf(tze);return n<0&&(n=null),i<0&&(i=null),Vpe(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},rze=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=_Ne(t.exec(e.toString()),3),i=n[1],r=n[2];return Vpe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},oze=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},aze=function(){},sze=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:aze,o=rze(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=oze(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),h=t[d],f=h.markup,p=h.displayTransform,g=c+ize(f,"id"),m=c+ize(f,"display"),v=i[g],y=p(v,i[m]),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)},lze=function(e,t){var n="";return sze(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},uze=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 sze(e,t,a,o),void 0===i?e.length:i},cze=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},dze=function(e,t){var n=[];return sze(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},hze=function(e,t){return"".concat(e,"-").concat(t)},fze=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},pze=function(e){var t=eze(e),n=e[e.indexOf(nze)+nze.length],i=e[e.indexOf(tze)+tze.length];return new RegExp(t.replace(nze,"([^".concat(eze(n||""),"]+?)")).replace(tze,"([^".concat(eze(i||""),"]+?)")))},gze=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?mze(i,n):pze(n),displayTransform:r||function(e,t){return t||e}}}))},mze=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=oze(t);return Vpe(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},vze=[{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}],yze=function(e){return function(e){var t=e;return vze.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},bze=function(e,t,n){return n?yze(e).indexOf(yze(t)):e.toLowerCase().indexOf(t.toLowerCase())},_ze=function(e){return"number"==typeof e},wze=function(e){return e===Object(e)?Object.keys(e):[]},kze=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 xze(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=wNe(i,["style","className","classNames"]),l=t?t(s):void 0,u=JNe(e,{style:r,className:o,classNames:a},l);return m.default.createElement(n,lNe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var Fze=function(e){function t(){var e;return uNe(this,t),bNe(pNe(e=gNe(this,mNe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return yNe(t,e),dNe(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=gze(s);i===r&&(e=uze(o,u,i,"START"));var c=[],d={},h=c,f=0;return sze(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);h.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(_ze(e)&&e>=i&&e<=i+n.length){var o=e-i;h.push(t.renderSubstring(n.substring(0,o),f)),h=[t.renderSubstring(n.substring(o),f)]}else h.push(t.renderSubstring(n,f));f++})),h.push(" "),h!==c&&c.push(this.renderHighlighterCaret(h)),m.default.createElement("div",lNe({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",lNe({},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 m.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",lNe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);bNe(Fze,"propTypes",{selectionStart:qH.number,selectionEnd:qH.number,value:qH.string.isRequired,onCaretPositionChange:qH.func.isRequired,containerRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired}),bNe(Fze,"defaultProps",{value:""});var Eze=xze({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}}))(Fze),Cze=function(e){function t(){return uNe(this,t),gNe(this,mNe(t).apply(this,arguments))}return yNe(t,e),dNe(t,[{key:"render",value:function(){var e=kze(this.props,["style","classNames","className"],wze(t.propTypes));return m.default.createElement("li",lNe({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=bze(e,i,n);return-1===o?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,o),m.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);bNe(Cze,"propTypes",{id:qH.string.isRequired,query:qH.string.isRequired,index:qH.number.isRequired,ignoreAccents:qH.bool,suggestion:qH.oneOfType([qH.string,qH.shape({id:qH.oneOfType([qH.string,qH.number]).isRequired,display:qH.string})]).isRequired,renderSuggestion:qH.func,focused:qH.bool});var Sze=xze({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(Cze);function Oze(){var e=JNe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var Dze=function(e){function t(){var e,n;uNe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return bNe(pNe(n=gNe(this,(e=mNe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),bNe(pNe(n),"select",(function(e,t){n.props.onSelect(e,t)})),bNe(pNe(n),"setUlElement",(function(e){n.ulElement=e})),n}return yNe(t,e),dNe(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?m.default.createElement("div",lNe({},XNe({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),m.default.createElement("ul",lNe({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(sNe(t),sNe(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 m.default.createElement(Sze,{style:this.props.style("item"),key:"".concat(a,"-").concat(Pze(e)),id:hze(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 m.default.createElement(Oze,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);bNe(Dze,"propTypes",{id:qH.string.isRequired,suggestions:qH.object.isRequired,a11ySuggestionsListLabel:qH.string,focusIndex:qH.number,position:qH.string,left:qH.number,top:qH.number,scrollFocusedIntoView:qH.bool,isLoading:qH.bool,isOpened:qH.bool.isRequired,onSelect:qH.func,ignoreAccents:qH.bool,containerRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired}),bNe(Dze,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Pze=function(e){return"string"==typeof e?e:e.id},Tze=xze({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Dze);function Aze(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 Lze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aze(n,!0).forEach((function(t){bNe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ize={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Mze=!1,jze={singleLine:qH.bool,allowSpaceInQuery:qH.bool,allowSuggestionsAboveCursor:qH.bool,forceSuggestionsAboveCursor:qH.bool,ignoreAccents:qH.bool,a11ySuggestionsListLabel:qH.string,value:qH.string,onKeyDown:qH.func,onSelect:qH.func,onBlur:qH.func,onChange:qH.func,suggestionsPortalHost:"undefined"==typeof Element?qH.any:qH.PropTypes.instanceOf(Element),inputRef:qH.oneOfType([qH.func,qH.shape({current:"undefined"==typeof Element?qH.any:qH.instanceOf(Element)})]),children:qH.oneOfType([qH.element,qH.arrayOf(qH.element)]).isRequired},Rze=function(e){function t(e){var n;return uNe(this,t),bNe(pNe(n=gNe(this,mNe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),bNe(pNe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return Lze({},kze(n.props,["style","classNames","className"],wze(jze)),{},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":hze(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),bNe(pNe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),bNe(pNe(n),"renderInput",(function(e){return m.default.createElement("input",lNe({type:"text",ref:n.setInputRef},e))})),bNe(pNe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",lNe({ref:n.setInputRef},e))})),bNe(pNe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),bNe(pNe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),bNe(pNe(n),"renderSuggestionsOverlay",(function(){if(!_ze(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=m.default.createElement(Tze,{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})),bNe(pNe(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 m.default.createElement(Eze,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),bNe(pNe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),bNe(pNe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),bNe(pNe(n),"getPlainText",(function(){return lze(n.props.value||"",gze(n.props.children))})),bNe(pNe(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})),bNe(pNe(n),"handleChange",(function(e){if(Mze=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=gze(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=lze(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 h=uze(e,i,c,"START"),f=uze(e,i,d,"END"),p=uze(e,i,c,"NULL"),g=uze(e,i,d,"NULL"),m=null===p||null===g,v=cze(e,h,f,u);if(!m){var y=lze(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),h=uze(e,i,c,"START"),f=uze(e,i,d,"END"),v=cze(e,h,f,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=lze(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(sze(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=dze(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),bNe(pNe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Mze){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)}})),bNe(pNe(n),"handleKeyDown",(function(e){if(0!==fze(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Ize).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Ize.ESC:return void n.clearSuggestions();case Ize.DOWN:return void n.shiftFocus(1);case Ize.UP:return void n.shiftFocus(-1);case Ize.RETURN:case Ize.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),bNe(pNe(n),"shiftFocus",(function(e){var t=fze(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),bNe(pNe(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(sNe(e),sNe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),bNe(pNe(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)})),bNe(pNe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),bNe(pNe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),bNe(pNe(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=Nze(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 h={};if(i){h.position="fixed";var f=c.left,p=c.top;f-=Nze(a,"margin-left"),p-=Nze(a,"margin-top"),f-=s.scrollLeft,p-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);f+a.offsetWidth>g?h.left=Math.max(0,g-a.offsetWidth):h.left=f,r&&p+a.offsetHeight>d&&a.offsetHeight<p-u||o?h.top=Math.max(0,p-a.offsetHeight-u):h.top=p}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+a.offsetWidth>n.containerElement.offsetWidth?h.right=0:h.left=m,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?h.top=v-a.offsetHeight-u:h.top=v}h.left===n.state.suggestionsPosition.left&&h.top===n.state.suggestionsPosition.top&&h.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:h})}}})),bNe(pNe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),bNe(pNe(n),"handleCompositionStart",(function(){Mze=!0})),bNe(pNe(n),"handleCompositionEnd",(function(){Mze=!1})),bNe(pNe(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()}}})),bNe(pNe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=gze(r),a=uze(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=dze(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);m.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=eze(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)}}}))}})),bNe(pNe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),bNe(pNe(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;bze(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)})),bNe(pNe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=Lze({},n.suggestions,bNe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=fze(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),bNe(pNe(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=gze(n.props.children),h=i.Children.toArray(n.props.children)[a].props,f=h.markup,p=h.displayTransform,g=h.appendSpaceOnAdd,m=h.onAdd,v=uze(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(tze,t).replace(nze,n)}(f,r,o);g&&(b+=" ");var _=cze(c,v,y,b);n.inputElement.focus();var w=p(r,o);g&&(w+=" ");var k=s+w.length;n.setState({selectionStart:k,selectionEnd:k,setSelectionAfterMentionChange:!0});var x={target:{value:_}},F=dze(_,d),E=cze(u,s,l,w);n.executeOnChange(x,_,E,F),m&&m(r,o,v,y),n.clearSuggestions()})),bNe(pNe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),bNe(pNe(n),"isOpened",(function(){return _ze(n.state.selectionStart)&&(0!==fze(n.state.suggestions)||n.isLoading())})),bNe(pNe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(pNe(n)),n.handleCut=n.handleCut.bind(pNe(n)),n.handlePaste=n.handlePaste.bind(pNe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return yNe(t,e),dNe(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 m.default.createElement("div",lNe({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=gze(a),l=uze(o,s,n,"START"),u=uze(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),h=cze(o,l,u,c||d).replace(/\r/g,""),f=lze(h,s),p={target:Lze({},e.target,{value:h})};this.executeOnChange(p,h,f,dze(h,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=gze(o),l=uze(a,s,n,"START"),u=uze(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=gze(o),l=uze(a,s,n,"START"),u=uze(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=lze(c,s),h={target:Lze({},e.target,{value:d})};this.executeOnChange(h,c,d,dze(a,s))}}}]),t}(m.default.Component);bNe(Rze,"propTypes",jze),bNe(Rze,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Nze=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},zze=xze({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:Lze({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}}))(Rze),Bze={fontWeight:"inherit"},Gze=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=JNe(Bze,{style:n,className:i,classNames:r});return m.default.createElement("strong",o,t)};Gze.propTypes={onAdd:qH.func,onRemove:qH.func,renderSuggestion:qH.func,trigger:qH.oneOfType([qH.string,qH.instanceOf(RegExp)]),markup:qH.string,displayTransform:qH.func,allowSpaceInQuery:qH.bool,isLoading:qH.bool},Gze.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 Uze=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 qze(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=Uze.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 Wze=[".DS_Store","Thumbs.db"];function Hze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?Vze(e.dataTransfer,e.type):Qze(e))];var n}))}))}function Qze(e){return(null!==e.target&&e.target.files?Kze(e.target.files):[]).map((function(e){return qze(e)}))}function Vze(e,t){return Co(this,void 0,void 0,(function(){var n;return So(this,(function(i){switch(i.label){case 0:return e.items?(n=Kze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map($ze))]):[3,2];case 1:return[2,Yze(Zze(i.sent()))];case 2:return[2,Yze(Kze(e.files).map((function(e){return qze(e)})))]}}))}))}function Yze(e){return e.filter((function(e){return-1===Wze.indexOf(e.name)}))}function Kze(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function $ze(e){if("function"!=typeof e.webkitGetAsEntry)return Xze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?eBe(t):Xze(e)}function Zze(e){return e.reduce((function(e,t){return To(e,Array.isArray(t)?Zze(t):[t])}),[])}function Xze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=qze(t);return Promise.resolve(n)}function Jze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,e.isDirectory?eBe(e):tBe(e)]}))}))}function eBe(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Co(o,void 0,void 0,(function(){var o,a,s;return So(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(Jze)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function tBe(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=qze(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function nBe(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 iBe(e,t,n){if(rBe(e.size)){if(rBe(t)&&rBe(n))return e.size>=t&&e.size<=n;if(rBe(t))return e.size>=t;if(rBe(n))return e.size<=n}return!0}function rBe(e){return null!=e}function oBe(e,t,n,i){return e.every((function(e){return nBe(e,t)&&iBe(e,n,i)}))}function aBe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function sBe(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 lBe(e){e.preventDefault()}function uBe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function cBe(e){return-1!==e.indexOf("Edge/")}function dBe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return uBe(e)||cBe(e)}function hBe(){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!aBe(e)&&t&&t.apply(void 0,[e].concat(i)),aBe(e)}))}}function fBe(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 pBe(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 gBe(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 mBe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gBe(n,!0).forEach((function(t){vBe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gBe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vBe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yBe(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 bBe=i.forwardRef((function(e,t){var n=e.children,r=wBe(yBe(e,["children"])),o=r.open,a=yBe(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),m.default.createElement(i.Fragment,null,n(mBe({},a,{open:o})))}));bBe.displayName="Dropzone",bBe.propTypes={children:qH.func,accept:qH.oneOfType([qH.string,qH.arrayOf(qH.string)]),multiple:qH.bool,preventDropOnDocument:qH.bool,noClick:qH.bool,noKeyboard:qH.bool,noDrag:qH.bool,noDragEventsBubbling:qH.bool,minSize:qH.number,maxSize:qH.number,disabled:qH.bool,getFilesFromEvent:qH.func,onFileDialogCancel:qH.func,onDragEnter:qH.func,onDragLeave:qH.func,onDragOver:qH.func,onDrop:qH.func,onDropAccepted:qH.func,onDropRejected:qH.func};var _Be={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function wBe(){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?Hze:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,h=void 0===d||d,f=e.onDragEnter,p=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,_=e.preventDropOnDocument,w=void 0===_||_,k=e.noClick,x=void 0!==k&&k,F=e.noKeyboard,E=void 0!==F&&F,C=e.noDrag,S=void 0!==C&&C,O=e.noDragEventsBubbling,D=void 0!==O&&O,P=i.useRef(null),T=i.useRef(null),A=i.useReducer(kBe,_Be),L=pBe(A,2),I=L[0],M=L[1],j=I.isFocused,R=I.isFileDialogActive,N=I.draggedFiles,z=i.useCallback((function(){T.current&&(M({type:"openDialog"}),T.current.value=null,T.current.click())}),[M]),B=function(){R&&setTimeout((function(){T.current&&(T.current.files.length||(M({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[T,R,b]);var G=i.useCallback((function(e){P.current&&P.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[P,T]),U=i.useCallback((function(){M({type:"focus"})}),[]),q=i.useCallback((function(){M({type:"blur"})}),[]),W=i.useCallback((function(){x||(dBe()?setTimeout(z,0):z())}),[T,x]),H=i.useRef([]),Q=function(e){P.current&&P.current.contains(e.target)||(e.preventDefault(),H.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",lBe,!1),document.addEventListener("drop",Q,!1)),function(){w&&(document.removeEventListener("dragover",lBe),document.removeEventListener("drop",Q))}}),[P,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===H.current.indexOf(e.target)&&(H.current=[].concat(fBe(H.current),[e.target])),sBe(e)&&Promise.resolve(a(e)).then((function(t){aBe(e)&&!D||(M({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),f&&f(e))}))}),[a,f,D]),Y=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return sBe(e)&&g&&g(e),!1}),[g,D]),K=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=H.current.filter((function(t){return t!==e.target&&P.current&&P.current.contains(t)}));H.current=t,t.length>0||(M({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),sBe(e)&&p&&p(e))}),[P,p,D]),$=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),H.current=[],M({type:"reset"}),sBe(e)&&Promise.resolve(a(e)).then((function(n){if(!aBe(e)||D){var i=[],r=[];n.forEach((function(e){nBe(e,t)&&iBe(e,c,l)?i.push(e):r.push(e)})),!h&&i.length>1&&r.push.apply(r,fBe(i.splice(0))),M({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[h,t,c,l,a,m,v,y,D]),Z=function(e){return r?null:e},X=function(e){return E?null:Z(e)},J=function(e){return S?null:Z(e)},ee=function(e){D&&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,h=yBe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return mBe(vBe({onKeyDown:X(hBe(i,G)),onFocus:X(hBe(o,U)),onBlur:X(hBe(a,q)),onClick:Z(hBe(s,W)),onDragEnter:J(hBe(l,V)),onDragOver:J(hBe(u,Y)),onDragLeave:J(hBe(c,K)),onDrop:J(hBe(d,$))},n,P),r||E?{}:{tabIndex:0},{},h)}}),[P,G,U,q,W,V,Y,K,$,E,S,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=yBe(e,["refKey","onChange","onClick"]),s=vBe({accept:t,multiple:h,type:"file",style:{display:"none"},onChange:Z(hBe(r,$)),onClick:Z(hBe(o,ne)),autoComplete:"off",tabIndex:-1},i,T);return mBe({},s,{},a)}}),[T,t,h,$,r]),re=N.length,oe=h||re<=1,ae=re>0&&oBe(N,t,c,l),se=re>0&&(!ae||!oe);return mBe({},I,{isDragAccept:ae,isDragReject:se,isFocused:j&&!r,getRootProps:te,getInputProps:ie,rootRef:P,inputRef:T,open:Z(z)})}function kBe(e,t){switch(t.type){case"focus":return mBe({},e,{isFocused:!0});case"blur":return mBe({},e,{isFocused:!1});case"openDialog":return mBe({},e,{isFileDialogActive:!0});case"closeDialog":return mBe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return mBe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return mBe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return mBe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var xBe={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()}(xBe);var FBe,EBe=xBe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(FBe||(FBe={}));var CBe={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,h=void 0!==d&&d,f=e.className,p=e.findChunks,g=e.highlightClassName,m=void 0===g?"":g,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,_=void 0===b?"mark":b,w=e.sanitize,k=e.searchWords,x=e.textToHighlight,F=e.unhighlightClassName,E=void 0===F?"":F,C=e.unhighlightStyle,S=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"]),O=(0,o.findAll)({autoEscape:c,caseSensitive:h,findChunks:p,sanitize:w,searchWords:k,textToHighlight:x}),D=_,P=-1,T="",A=void 0,L=(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:f},S,{children:O.map((function(e,t){var i=x.substr(e.start,e.end-e.start);if(e.highlight){P++;var r=void 0;r="object"==typeof m?h?m[i]:(m=L(m))[i.toLowerCase()]:m;var o=P===+a;T=r+" "+(o?n:""),A=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:T,key:t,style:A};return"string"!=typeof D&&(l.highlightIndex=P),(0,s.createElement)(D,l)}return(0,s.createElement)("span",{children:i,className:E,key:t,style:C})}))}))}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}),[])},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 h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);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 p(e,t){this.fun=e,this.array=t}function g(){}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 p(e,t)),1!==u.length||c||s(f)},p.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=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,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:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:p(i.thatReturnsNull),arrayOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("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:p((function(t,n,i,r,o){var a=t[n];return e(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new f("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:p((function(e,t,n,i,r){return m(e[t])?null:new f("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,i,r,o){if("function"!=typeof e)return new f("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new f("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 p((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(h(a,e[s]))return null;return new f("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 p((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 f("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return p((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new f("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 p((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new f("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var h=e[d];if(!h)return new f("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=h(l,d,i,r,o+"."+d,s);if(p)return p}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function p(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function l(l,u,d,h,p,g,m){if(h=h||c,g=g||d,m!==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=h+":"+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.",g,h),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new f("The "+p+" `"+g+"` is marked as required in `"+h+"`, but its value is `null`."):new f("The "+p+" `"+g+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:e(u,d,h,p,g)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function g(e){return p((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new f("Invalid "+r+" `"+o+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function m(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(m);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(!m(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!m(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 f.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 h=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=h?h:"")}}}}).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=m.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}}])}(CBe);var SBe=E(CBe.exports),OBe={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:K(e)}function o(e){return a(e)&&!u(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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__@@",h="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function F(){}function E(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 C(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function O(){return!0}function D(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return A(e,t,0)}function T(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 L=0,I=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",N=j||R;function z(e){this.next=e}function B(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 G(){return{value:void 0,done:!0}}function U(e){return!!H(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(j&&e[j]||e[R]);if("function"==typeof t)return t}function Q(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function K(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=L,z.VALUES=I,z.ENTRIES=M,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[N]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(K,V),K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(e,t){return de(this,e,t,!1)},K.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t($,V),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=$,V.Indexed=K;var Z,X,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():q(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 Q(e)?new te(e):q(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 he(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):ge(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return pe(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?K(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(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,h=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===h}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(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(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 ke(){throw TypeError("Abstract")}function xe(){}function Fe(){}function Ee(){}V.prototype[ee]=!0,t(te,K),te.prototype.get=function(e,t){return this.has(e)?this._array[S(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 z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),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 z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,K),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),i=0;if(q(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=W(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,K),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 z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,K),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 D(e,t,n)?this:new be(this._value,T(t,n)-P(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 z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,K),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return D(e,t,this.size)?this:(e=P(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(xe,ke),t(Fe,ke),t(Ee,ke),ke.Keyed=xe,ke.Indexed=Fe,ke.Set=Ee;var Ce="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 Se(e){return e>>>1&1073741824|3221225471&e}function Oe(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 Se(n)}if("string"===t)return e.length>ze?De(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function De(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Ne]))return t;if(!Le){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ne]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),je)Me.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Ne,{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[Ne]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ne]=t}}return t}var Ae=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Re=0,Ne="__immutablehash__";"function"==typeof Symbol&&(Ne=Symbol(Ne));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?rt():He(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ve])}t(We,xe),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},We.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()},We.prototype.merge=function(){return ht(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},We.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]}))},We.prototype.mergeDeep=function(){return ht(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,pt(t),n)},We.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]}))},We.prototype.sort=function(e){return Ut(dn(this,e))},We.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.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},We.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)},We.isMap=He;var Qe,Ve="@@__IMMUTABLE_MAP__@@",Ye=We.prototype;function Ke(e,t){this.ownerID=e,this.entries=t}function $e(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 Xe(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 B(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(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Qe||(Qe=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(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 Ke(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===Xe}function lt(e,t,n,i,r){if(e.keyHash===i)return new Xe(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 $e(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new F);for(var r=new Je(e,Oe(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 $e(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 ht(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return gt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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 gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).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 mt(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}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(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:E(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 _t(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}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,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){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>=wt)return ut(e,l,i,r);var h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Ke(e,f)}},$e.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(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+m,t,n,i)},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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),h=this.nodes,f=c?h[d]:void 0,p=at(f,e,t+m,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=kt)return dt(e,h,u,s,p);if(c&&!p&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&st(p))return p;var g=e&&e===this.ownerID,v=c?p?u:u^l:u|l,_=c?p?yt(h,d,p,g):_t(h,d,g):bt(h,d,p,g);return g?(this.bitmap=v,this.nodes=_,this):new $e(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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+m,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<xt)return ct(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=yt(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new Ze(e,h,p)},Xe.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},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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 h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Xe(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===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,Oe(i),[i,r])))},Ke.prototype.iterate=Xe.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},$e.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,z),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 G()};var wt=v/4,kt=v/2,xt=v/4;function Ft(e){var t=It();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?Lt(0,i,m,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(Ft,Fe),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Nt(this,e+=this._origin);return n&&n.array[e&y]}return t},Ft.prototype.set=function(e,t){return Mt(this,e,t)},Ft.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ft.prototype.insert=function(e,t){return this.splice(e,0,t)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},Ft.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Ft.prototype.pop=function(){return zt(this,0,-1)},Ft.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},Ft.prototype.shift=function(){return zt(this,1)},Ft.prototype.merge=function(){return Bt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Bt(this,ft,arguments)},Ft.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,pt(t),n)},Ft.prototype.setSize=function(e){return zt(this,0,e)},Ft.prototype.slice=function(e,t){var n=this.size;return D(e,t,n)?this:zt(this,P(e,n),T(t,n))},Ft.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Ft.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Ft.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ft.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=Ft.prototype;function Ot(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Ot.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 Ot([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ot.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-m,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Dt,Pt,Tt={};function At(e,t){var n=e._origin,i=e._capacity,r=Gt(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 Tt;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!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function Lt(e,t,n,i,r,o,a){var s=Object.create(St);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 It(){return Dt||(Dt=Lt(0,0,m))}function Mt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,r,i):e}function jt(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=jt(u,t,n-m,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Nt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new F,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 Ot(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),h=Gt(s);h>=1<<l+m;)u=new Ot(u&&u.array.length?[u]:[],i),l+=m;var f=e._tail,p=h<d?Nt(e,s-1):h>d?new Ot([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=m,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var _=a>>>l&y;if(_!==h>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,l,u,p)}function Bt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Ht():qt(e)?e:Ht().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return He(e)&&c(e)}function Wt(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 Ht(){return Pt||(Pt=Wt(rt(),It()))}function Qt(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Wt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function $t(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=_n,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===M){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===I?L:I,n)},t}function Xt(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(M,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(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=_n,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(M,o),s=0;return new z((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 B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=We().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():We()).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 gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),D(t,n,r))return e;var o=P(t,r),a=T(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=S(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 z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===I?e:B(t,l-1,t===L?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(M,r),s=!0;return new z((function(){if(!s)return G();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===M?e:B(i,l,u,e):(s=!1,G())}))},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(M,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===I?e:B(r,u++,r===L?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===M?e:B(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 z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===M&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},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(I,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?K(o):$(o)}function hn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(I,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),W(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?K:$).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=W(e);if(!t){if(!Q(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(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);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=We(o)},r=i.prototype=Object.create(Fn);return r.constructor=i,i}t(Ut,We),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):Ht()},Ut.prototype.set=function(e,t){return Qt(this,e,t)},Ut.prototype.remove=function(e){return Qt(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?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[p]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Xt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[p]=!0,t(Yt,K),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Kt,$),Kt.prototype.has=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$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){mn(t);var i=a(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(I,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Kt.prototype.cacheResult=$t.prototype.cacheResult=_n,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Cn(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=En(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(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:En(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?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var Fn=xn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Dn(e){return null==e?jn():Pn(e)&&!c(e)?e:jn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[An])}Fn[g]=Fn.remove,Fn.deleteIn=Fn.removeIn=Ye.removeIn,Fn.merge=Ye.merge,Fn.mergeWith=Ye.mergeWith,Fn.mergeIn=Ye.mergeIn,Fn.mergeDeep=Ye.mergeDeep,Fn.mergeDeepWith=Ye.mergeDeepWith,Fn.mergeDeepIn=Ye.mergeDeepIn,Fn.setIn=Ye.setIn,Fn.update=Ye.update,Fn.updateIn=Ye.updateIn,Fn.withMutations=Ye.withMutations,Fn.asMutable=Ye.asMutable,Fn.asImmutable=Ye.asImmutable,t(Dn,Ee),Dn.of=function(){return this(arguments)},Dn.fromKeys=function(e){return this(i(e).keySeq())},Dn.prototype.toString=function(){return this.__toString("Set {","}")},Dn.prototype.has=function(e){return this._map.has(e)},Dn.prototype.add=function(e){return In(this,this._map.set(e,!0))},Dn.prototype.remove=function(e){return In(this,this._map.remove(e))},Dn.prototype.clear=function(){return In(this,this._map.clear())},Dn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).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])},Dn.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)}))}))},Dn.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)}))}))},Dn.prototype.merge=function(){return this.union.apply(this,arguments)},Dn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Dn.prototype.sort=function(e){return Rn(dn(this,e))},Dn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Dn.prototype.wasAltered=function(){return this._map.wasAltered()},Dn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Dn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Dn.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)},Dn.isSet=Pn;var Tn,An="@@__IMMUTABLE_SET__@@",Ln=Dn.prototype;function In(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 Mn(e,t){var n=Object.create(Ln);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Tn||(Tn=Mn(rt()))}function Rn(e){return null==e?Un():Nn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return Pn(e)&&c(e)}Ln[An]=!0,Ln[g]=Ln.remove,Ln.mergeDeep=Ln.merge,Ln.mergeDeepWith=Ln.mergeWith,Ln.withMutations=Ye.withMutations,Ln.asMutable=Ye.asMutable,Ln.asImmutable=Ye.asImmutable,Ln.__empty=jn,Ln.__make=Mn,t(Rn,Dn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Nn;var zn,Bn=Rn.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Ht()))}function qn(e){return null==e?Kn():Wn(e)?e:Kn().unshiftAll(e)}function Wn(e){return!(!e||!e[Qn])}Bn[p]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,Fe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.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):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(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):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.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):Kn()},qn.prototype.slice=function(e,t){if(D(e,t,this.size))return this;var n=P(e,this.size);if(T(t,this.size)!==this.size)return Fe.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):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.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},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Wn;var Hn,Qn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Kn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Qn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Dn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Kt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return Ft(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 gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){qe(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 gn(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 qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(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(L)},map:function(e,t){return gn(this,Xt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(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 gn(this,Jt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(I)},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 C(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(O)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new $t(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=kn(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 hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):oi)},minBy:function(e,t){return hn(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 gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[N]=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){}}(),$n(i,{flip:function(){return gn(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 gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Xn=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 E(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;return si(e.__iterate(n?t?function(e,t){i=31*i+li(Oe(e),Oe(t))|0}:function(e,t){i=i+li(Oe(e),Oe(t))|0}:t?function(e){i=31*i+Oe(e)|0}:function(e){i=i+Oe(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[h]=!0,Xn[N]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},$n(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Jt(this,!1))},slice:function(e,t){return gn(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=P(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=pn(this.toSeq(),K.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,pn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,$n(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,$n(Y,i.prototype),$n(K,r.prototype),$n($,o.prototype),$n(xe,i.prototype),$n(Fe,r.prototype),$n(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:We,OrderedMap:Ut,List:Ft,Stack:qn,Set:Dn,OrderedSet:Rn,Record:xn,Range:we,Repeat:be,is:ve,fromJS:fe}}()}(OBe);var DBe=OBe.exports.OrderedMap,PBe={createFromArray:function(e){return DBe(e.map((function(e){return[e.getKey(),e]})))}},TBe=PBe;var ABe=OBe.exports,LBe=ABe.Map,IBe=ABe.OrderedSet,MBe=ABe.Record,jBe=IBe(),RBe={style:jBe,entity:null},NBe=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 zBe;var t=LBe({style:jBe,entity:null}).merge(e),n=BBe.get(t);if(n)return n;var r=new i(t);return BBe=BBe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?IBe(t):t,entity:Array.isArray(n)?IBe(n):n})},i}(MBe(RBe)),zBe=new NBe,BBe=LBe([[LBe(RBe),zBe]]);NBe.EMPTY=zBe;var GBe=NBe;var UBe=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 qBe=GBe,WBe=UBe,HBe=OBe.exports,QBe=HBe.List,VBe=HBe.Map,YBe=HBe.OrderedSet,KBe=HBe.Record,$Be=HBe.Repeat,ZBe=YBe(),XBe=KBe({key:"",type:"unstyled",text:"",characterList:QBe(),depth:0,data:VBe()}),JBe=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=QBe($Be(qBe.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():ZBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){WBe(this.getCharacterList(),eGe,e,t)},r.findEntityRanges=function(e,t){WBe(this.getCharacterList(),tGe,e,t)},i}(XBe);function eGe(e,t){return e.getStyle()===t.getStyle()}function tGe(e,t){return e.getEntity()===t.getEntity()}var nGe=JBe;var iGe=GBe,rGe=UBe,oGe=OBe.exports,aGe=oGe.List,sGe=oGe.Map,lGe=oGe.OrderedSet,uGe=oGe.Record,cGe=oGe.Repeat,dGe=lGe(),hGe={parent:null,characterList:aGe(),data:sGe(),depth:0,key:"",text:"",type:"unstyled",children:aGe(),prevSibling:null,nextSibling:null},fGe=function(e,t){return e.getStyle()===t.getStyle()},pGe=function(e,t){return e.getEntity()===t.getEntity()},gGe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=aGe(cGe(iGe.EMPTY,n.length))),e},mGe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hGe;return e.call(this,gGe(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():dGe},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){rGe(this.getCharacterList(),fGe,e,t)},r.findEntityRanges=function(e,t){rGe(this.getCharacterList(),pGe,e,t)},i}(uGe(hGe)),vGe=mGe,yGe=GBe,bGe=OBe.exports.Map;function _Ge(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(bGe([[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?yGe.applyStyle(c,n):yGe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var wGe={add:function(e,t,n){return _Ge(e,t,n,!0)},remove:function(e,t,n){return _Ge(e,t,n,!1)}},kGe=GBe;var xGe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,kGe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},FGe=OBe.exports;var EGe=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(FGe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return xGe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},CGe={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,h=l===i,f=u===d;return(!h&&f||h&&!f)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},SGe="production"!==ma.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var OGe=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(SGe(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}},DGe=OGe;var PGe=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"!==ma.env.NODE_ENV?DGe(!1,"Entity key not found in this range."):DGe(!1)),n},TGe=CGe,AGe=PGe,LGe=OGe;function IGe(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=AGe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ma.env.NODE_ENV?LGe(!1,"There should only be one entity range within this removal range."):LGe(!1));var h=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1});o||(a?l=h.end:s=h.start);var f=TGe.getRemovalRange(s,l,t.getText().slice(h.start,h.end),h.start,i);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var MGe=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=IGe(e,t,u,r,s,!0,!0);else if(s&&l){var c=IGe(e,t,u,r,s,!1,!0),d=IGe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var h=IGe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(l){var f=IGe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return u},jGe={},RGe=Math.pow(2,24);var NGe=function(){for(var e;void 0===e||jGe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*RGe).toString(32);return jGe[e]=!0,e},zGe=vGe,BGe=NGe,GGe=OBe.exports.OrderedMap,UGe=function(e){return e.first()instanceof zGe?function(e){var t,n={};return GGe(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=BGe();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 GGe(e.toArray().map((function(e){var t=BGe();return[t,e.set("key",t)]})))}(e)},qGe=GBe,WGe=UBe,HGe=OGe;function QGe(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 WGe(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"!==ma.env.NODE_ENV?HGe(!1,"Removal range must exist within character list."):HGe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,qGe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var VGe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=QGe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var h=QGe(i,d,c);return h!==d&&(r[u]=h),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},YGe=UGe,KGe=VGe,$Ge=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=KGe(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return YGe(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 ZGe=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},XGe=TBe,JGe=vGe,eUe=ZGe,tUe=OGe,nUe=UGe,iUe=OBe.exports.List,rUe=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,h=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":h=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=i.getData()}var f=s.getType();l&&"unstyled"===f&&(f=i.getType());var p=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:eUe(u,i.getCharacterList(),o),type:f,data:h});return e.merge({blockMap:n.set(r,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},oUe=function(e,t,n,i,r,o){var a=n.first()instanceof JGe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),h=d.getLength(),f=d.getKey(),p=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(p?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(p?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 g=XGe.createFromArray(s);return a&&(g=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,h=c.toArray();h.splice.apply(h,[d,0].concat(l)),t.setIn([s,"children"],iUe(h))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:f,anchorOffset:h,focusKey:f,focusOffset:h,isBackward:!1})})},aUe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ma.env.NODE_ENV?tUe(!1,"`insertFragment` should only be called with a collapsed selection state."):tUe(!1));var r=e.getBlockMap(),o=nUe(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof JGe&&(l.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?tUe(!1,"`insertFragment` should not be called when a container node is selected."):tUe(!1))),1===o.size?rUe(e,t,r,o.first(),a,s,i):oUe(e,t,r,o,a,s)},sUe=ZGe,lUe=OGe,uUe=OBe.exports.Repeat;var cUe=function(e,t,n,i){t.isCollapsed()||("production"!==ma.env.NODE_ENV?lUe(!1,"`insertText` should only be called with a collapsed range."):lUe(!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:sUe(l.getCharacterList(),uUe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},dUe=OBe.exports.Map;var hUe=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(dUe([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},fUe=vGe,pUe=function(e,t){if(!(e instanceof fUe))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},gUe=vGe,mUe=pUe,vUe=OBe.exports;vUe.List;var yUe=vUe.Map,bUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},_Ue=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},wUe=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},kUe=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},xUe=function(e,t,n,i){return e.withMutations((function(r){if(bUe(t.getKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})})),bUe(n.getKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})})),_Ue(t.getKey(),i).forEach((function(e){return bUe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),bUe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),bUe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:wUe(e,r,i)})})),bUe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:kUe(e,r,i)})})),bUe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),_Ue(n.getKey(),i).forEach((function(e){bUe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=mUe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?mUe(r,t):null}return n}(n,i).forEach((function(e){return bUe(e,r,(function(e){return e.merge({nextSibling:wUe(e,r,i),prevSibling:kUe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();bUe(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),bUe(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){bUe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);bUe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}bUe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},FUe=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},EUe=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 gUe,d=[];if(c){var h=u.getChildKeys(),f=_Ue(a,i);u.getNextSiblingKey()&&(d=d.concat(f)),h.isEmpty()||(d=d.concat(f.concat([a]))),d=d.concat(_Ue(mUe(u,i),i))}n=l===u?FUe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var p=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),g=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?yUe([[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(yUe([[a,null]])).map((function(e,t){return t===r?p:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=xUe(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},CUe=vGe,SUe=NGe,OUe=OBe.exports,DUe=OGe,PUe=hUe,TUe=OUe.List,AUe=OUe.Map,LUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},IUe=function(e,t){t.isCollapsed()||("production"!==ma.env.NODE_ENV?DUe(!1,"Selection range must be collapsed."):DUe(!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 PUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=SUe(),c=r instanceof CUe,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),h=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:AUe()}),f=i.toSeq().takeUntil((function(e){return e===r})),p=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=f.concat([[n,d],[u,h]],p).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?DUe(!1,"ContentBlockNode must not have children"):DUe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();LUe(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:TUe(o)})})),LUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),LUe(i,e,(function(e){return e.merge({nextSibling:r})})),LUe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,h)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},MUe=GBe,jUe=wGe,RUe=EGe,NUe=MGe,zUe=$Ge,BUe=aUe,GUe=cUe,UUe=OGe,qUe=hUe,WUe=VGe,HUe=EUe,QUe=IUe,VUe=OBe.exports.OrderedSet,YUe={replaceText:function(e,t,n,i,r){var o=WUe(e,t),a=HUe(o,t),s=MUe.create({style:i||VUe(),entity:r||null});return GUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ma.env.NODE_ENV?UUe(!1,"Target range must be collapsed for `insertText`."):UUe(!1)),YUe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=zUe(e,t),r=YUe.removeRange(e,t,"backward");return YUe.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=WUe(e,t),o=HUe(r,t);return BUe(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=NUe(e.getEntityMap(),o,a,t,n);return HUe(e,d)}var h=WUe(e,t);return HUe(h,t)},splitBlock:function(e,t){var n=WUe(e,t),i=HUe(n,t);return QUe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return jUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return jUe.remove(e,t,n)},setBlockType:function(e,t,n){return qUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return qUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return qUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=WUe(e,t);return RUe(i,t,n)}},KUe=YUe;var $Ue=function(e){return Object.keys(e).map((function(t){return e[t]}))};function ZUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XUe=UBe,JUe=$Ue,eqe=OBe.exports,tqe=eqe.List,nqe=eqe.Repeat,iqe=eqe.Record,rqe=function(){return!0},oqe=iqe({start:null,end:null}),aqe=iqe({start:null,end:null,decoratorKey:null,leaves:null}),sqe={generate:function(e,t,n){var i=t.getLength();if(!i)return tqe.of(new aqe({start:0,end:0,decoratorKey:null,leaves:tqe.of(new oqe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):tqe(nqe(null,i)),a=t.getCharacterList();return XUe(o,uqe,rqe,(function(e,t){r.push(new aqe({start:e,end:t,decoratorKey:o.get(e),leaves:lqe(a.slice(e,t).toList(),e)}))})),tqe(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 aqe(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){ZUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?tqe(Array.isArray(t)?t:JUe(t)).map((function(e){return oqe(e)})):null}))}};function lqe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return XUe(i,uqe,rqe,(function(e,i){n.push(new oqe({start:e+t,end:i+t}))})),tqe(n)}function uqe(e,t){return e===t}var cqe=sqe;var dqe=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,OBe.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),hqe=dqe;var fqe=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 pqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gqe=hqe,mqe=OGe,vqe=fqe,yqe=(0,OBe.exports.Map)(),bqe=vqe();function _qe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var wqe={getLastCreatedEntityKey:function(){return _qe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),wqe.__getLastCreatedEntityKey()},create:function(e,t,n){return _qe("DraftEntity.create","contentState.createEntity"),wqe.__create(e,t,n)},add:function(e){return _qe("DraftEntity.add","contentState.addEntity"),wqe.__add(e)},get:function(e){return _qe("DraftEntity.get","contentState.getEntity"),wqe.__get(e)},__getAll:function(){return yqe},__loadWithEntities:function(e){yqe=e,bqe=vqe()},mergeData:function(e,t){return _qe("DraftEntity.mergeData","contentState.mergeEntityData"),wqe.__mergeData(e,t)},replaceData:function(e,t){return _qe("DraftEntity.replaceData","contentState.replaceEntityData"),wqe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return bqe},__create:function(e,t,n){return wqe.__add(new gqe({type:e,mutability:t,data:n||{}}))},__add:function(e){return bqe=vqe(),yqe=yqe.set(bqe,e),bqe},__get:function(e){var t=yqe.get(e);return t||("production"!==ma.env.NODE_ENV?mqe(!1,"Unknown DraftEntity key: %s.",e):mqe(!1)),t},__mergeData:function(e,t){var n=wqe.__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){pqe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return yqe=yqe.set(e,r),r},__replaceData:function(e,t){var n=wqe.__get(e).set("data",t);return yqe=yqe.set(e,n),n}},kqe=wqe;var xqe=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,OBe.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Fqe=xqe,Eqe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},Cqe=new RegExp("\r","g");var Sqe=function(e){return e.replace(Cqe,"")};function Oqe(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){Dqe(e,t,n[t])}))}return e}function Dqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pqe=TBe,Tqe=GBe,Aqe=nGe,Lqe=vGe,Iqe=kqe,Mqe=Fqe,jqe=NGe,Rqe=$Ue,Nqe=Eqe,zqe=OBe.exports,Bqe=Sqe,Gqe=zqe.List,Uqe=zqe.Record,qqe=zqe.Repeat,Wqe=zqe.Map,Hqe=zqe.OrderedMap,Qqe=Uqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),Vqe=Nqe("draft_tree_data_support")?Lqe:Aqe,Yqe=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 Iqe},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 Iqe.__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 Iqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return Iqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return Iqe.__replaceData(e,t),this},r.addEntity=function(e){return Iqe.__add(e),this},r.getEntity=function(e){return Iqe.__get(e)},r.getAllEntities=function(){return Iqe.__getAll()},r.loadWithEntities=function(e){return Iqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=Pqe.createFromArray(n),o=r.isEmpty()?new Mqe:Mqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||Iqe,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=Bqe(e),new Vqe({key:jqe(),text:e,type:"unstyled",characterList:Gqe(qqe(Tqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(Oqe({},e,{blockMap:Hqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new Mqe(e.selectionBefore),selectionAfter:new Mqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new Vqe(Oqe({},e,{data:Wqe(e.data),characterList:null!=t?Gqe((Array.isArray(t)?t:Rqe(t)).map((function(e){return Tqe.fromJS(e)}))):void 0}))},i}(Qqe),Kqe=Yqe,$qe=OGe,Zqe="LTR",Xqe=null;function Jqe(e){return e===Zqe||"RTL"===e}function eWe(e){return Jqe(e)||("production"!==ma.env.NODE_ENV?$qe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),e===Zqe?"ltr":"rtl"}function tWe(e){Xqe=e}var nWe={NEUTRAL:"NEUTRAL",LTR:Zqe,RTL:"RTL",isStrong:Jqe,getHTMLDir:eWe,getHTMLDirIfDifferent:function(e,t){return Jqe(e)||("production"!==ma.env.NODE_ENV?$qe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),Jqe(t)||("production"!==ma.env.NODE_ENV?$qe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):$qe(!1)),e===t?null:eWe(e)},setGlobalDir:tWe,initGlobalDir:function(){tWe(Zqe)},getGlobalDir:function(){return Xqe||this.initGlobalDir(),Xqe||("production"!==ma.env.NODE_ENV?$qe(!1,"Global direction not set."):$qe(!1)),Xqe}},iWe=nWe,rWe=OGe,oWe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",aWe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",sWe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+oWe+aWe+"]"),lWe=new RegExp("["+oWe+aWe+"]");function uWe(e){var t=sWe.exec(e);return null==t?null:t[0]}function cWe(e){var t=uWe(e);return null==t?iWe.NEUTRAL:lWe.exec(t)?iWe.RTL:iWe.LTR}function dWe(e,t){if(t=t||iWe.NEUTRAL,!e.length)return t;var n=cWe(e);return n===iWe.NEUTRAL?t:n}function hWe(e,t){return t||(t=iWe.getGlobalDir()),iWe.isStrong(t)||("production"!==ma.env.NODE_ENV?rWe(!1,"Fallback direction must be a strong direction"):rWe(!1)),dWe(e,t)}var fWe={firstStrongChar:uWe,firstStrongCharDir:cWe,resolveBlockDir:dWe,getDirection:hWe,isDirectionLTR:function(e,t){return hWe(e,t)===iWe.LTR},isDirectionRTL:function(e,t){return hWe(e,t)===iWe.RTL}};function pWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gWe,mWe=fWe,vWe=nWe,yWe=OGe,bWe=function(){function e(e){pWe(this,"_defaultDir",void 0),pWe(this,"_lastDir",void 0),e?vWe.isStrong(e)||("production"!==ma.env.NODE_ENV?yWe(!1,"Default direction must be a strong direction (LTR or RTL)"):yWe(!1)):e=vWe.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=mWe.getDirection(e,this._lastDir),this._lastDir},e}(),_We=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},wWe=bWe,kWe=OBe.exports,xWe=_We,FWe=kWe.OrderedMap,EWe={getDirectionMap:function(e,t){gWe?gWe.reset():gWe=new wWe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return xWe(gWe).getDirection(e.getText())})),r=FWe(n.keySeq().zip(i));return null!=t&&kWe.is(t,r)?t:r}};function CWe(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){SWe(e,t,n[t])}))}return e}function SWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OWe=cqe,DWe=Kqe,PWe=EWe,TWe=Fqe,AWe=OBe.exports,LWe=AWe.OrderedSet,IWe=AWe.Record,MWe=AWe.Stack,jWe=AWe.OrderedMap,RWe=AWe.List,NWe=IWe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:MWe(),selection:null,treeMap:null,undoStack:MWe()}),zWe=function(){t.createEmpty=function(e){return t.createWithContent(DWe.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:MWe(),redoStack:MWe(),decorator:n||null,selection:TWe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=CWe({},e,{treeMap:GWe(n,e.decorator),directionMap:PWe.getDirectionMap(n)});return new t(new NWe(i))},t.fromJS=function(e){return new t(new NWe(CWe({},e,{directionMap:null!=e.directionMap?jWe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?LWe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?DWe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?MWe(e.redoStack.map((function(e){return DWe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new TWe(e.selection):e.selection,treeMap:null!=e.treeMap?jWe(e.treeMap).map((function(e){return RWe(e).map((function(e){return OWe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?MWe(e.undoStack.map((function(e){return DWe.fromJS(e)}))):e.undoStack,currentContent:DWe.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 OWe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):GWe(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 OWe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){SWe(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 qWe(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 qWe(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 BWe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),BWe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new TWe({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=PWe.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()||UWe(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 h={currentContent:u,directionMap:o,undoStack:l,redoStack:MWe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,h)},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=PWe.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=PWe.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 BWe(e,t,n){return zWe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function GWe(e,t){return e.getBlockMap().map((function(n){return OWe.generate(e,n,t)})).toOrderedMap()}function UWe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function qWe(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):LWe()}var WWe=zWe,HWe=vGe,QWe=pUe,VWe=OBe.exports,YWe=OGe,KWe=VWe.OrderedMap,$We=VWe.List,ZWe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},XWe=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(),h=o?n.getNextSiblingKey():s,f=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){ZWe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),ZWe(c,e,(function(e){return e.merge({nextSibling:u})})),ZWe(u,e,(function(e){return e.merge({prevSibling:c})})),ZWe(h,e,(function(e){return e.merge({prevSibling:a})})),ZWe(f,e,(function(e){return e.merge({nextSibling:a})})),ZWe(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:$We(r)})})),ZWe(a,e,(function(e){return e.merge({nextSibling:h,prevSibling:f,parent:d})}))}))},JWe=function(e,t,n,i){"replace"===i&&("production"!==ma.env.NODE_ENV?YWe(!1,"Replacing blocks is not supported."):YWe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1));var a=e.getBlockMap(),s=t instanceof HWe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=QWe(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),h=l.map((function(e){return[e.getKey(),e]})),f=KWe();if("before"===i){var p=e.getBlockBefore(r);p&&p.getKey()===t.getKey()&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1)),f=c.concat([].concat(h,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===o&&("production"!==ma.env.NODE_ENV?YWe(!1,"Block cannot be moved next to itself."):YWe(!1)),f=c.concat([[r,n]].concat(h),d).toOrderedMap()}return e.merge({blockMap:XWe(f,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function eHe(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){tHe(e,t,n[t])}))}return e}function tHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nHe=TBe,iHe=GBe,rHe=nGe,oHe=vGe,aHe=KUe,sHe=WWe,lHe=NGe,uHe=OBe.exports,cHe=JWe,dHe=Eqe("draft_tree_data_support"),hHe=dHe?oHe:rHe,fHe=uHe.List,pHe=uHe.Repeat,gHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=aHe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=aHe.splitBlock(o,a),l=s.getSelectionAfter(),u=aHe.setBlockType(s,l,"atomic"),c=iHe.create({entity:t}),d={key:lHe(),type:"atomic",text:n,characterList:fHe(pHe(c,n.length))},h={key:lHe(),type:"unstyled"};dHe&&(d=eHe({},d,{nextSibling:h.key}),h=eHe({},h,{prevSibling:d.key}));var f=[new hHe(d),new hHe(h)],p=nHe.createFromArray(f),g=aHe.replaceWithFragment(u,l,p),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return sHe.push(e,m,"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=cHe(o,t,s,i)}else{var l=aHe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=cHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=cHe(l,t,c,"after");else{var d=aHe.splitBlock(l,u),h=d.getSelectionAfter(),f=d.getBlockForKey(h.getFocusKey());r=cHe(d,t,f,"before")}}var p=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return sHe.push(e,p,"move-block")}};var mHe=OBe.exports.List,vHe=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)})),mHe(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 yHe=vHe;function bHe(e){return e.replace(/\//g,"-")}var _He=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(bHe).join(" "):Array.prototype.map.call(arguments,bHe).join(" ")},wHe=m.default,kHe=_He,xHe=(0,OBe.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:wHe.createElement("ul",{className:kHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:wHe.createElement("ol",{className:kHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:wHe.createElement("pre",{className:kHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),FHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},EHe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",h="version",f="architecture",p="console",g="mobile",m="tablet",v="smarttv",y="wearable",b="embedded",_="Amazon",w="Apple",k="ASUS",x="BlackBerry",F="Firefox",E="Google",C="Huawei",S="LG",O="Microsoft",D="Motorola",P="Opera",T="Samsung",A="Sony",L="Xiaomi",I="Zebra",M="Facebook",j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},R=function(e,t){return typeof e===s&&-1!==N(t).indexOf(N(e))},N=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var h=t[d],f=t[d+1];for(n=o=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(s=0;s<f.length;s++)c=u[++o],typeof(l=f[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}},G=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(R(t[n][r],e))return"?"===n?i:n}else if(R(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"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[u,P]],[/(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,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[h,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[u,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,M],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,G,{"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,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[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,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,N]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",N]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,N]]],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,T],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,T],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\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,L],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,L],[c,m]],[/; (\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,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\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,D],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,D],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,E],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,E],[c,g]],[/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,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,A],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,_],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,_],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,x],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,k],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,k],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(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,g]],[/(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,m]],[/(surface duo)/i],[l,[d,O],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,O],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,I],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,I],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,p]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,p]],[/(playstation [345portablevi]+)/i],[l,[d,A],[c,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,O],[c,p]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,T],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,E],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,_],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[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,E],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,I],[c,y]],[/(quest( 2)?)/i],[l,[d,M],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[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,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[h,G,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[h,G,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],h],[/(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,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,h]]},W=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof W))return new W(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}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.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,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.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?z(e,255):e,this},this.setUA(r),this};W.VERSION="0.7.31",W.BROWSER=j([u,h,"major"]),W.CPU=j([f]),W.DEVICE=j([l,d,c,p,g,v,m,y,b]),W.ENGINE=W.OS=j([u,h]),e.exports&&(t=e.exports=W),t.UAParser=W;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var Q=new W;H.ua=Q.getResult(),H.ua.get=function(){return Q.getUA()},H.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:F)}(EHe,EHe.exports);var CHe="Unknown",SHe={"Mac OS":"Mac OS X"};var OHe=(new(0,EHe.exports)).getResult(),DHe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(OHe.browser.version),PHe={browserArchitecture:OHe.cpu.architecture||CHe,browserFullVersion:OHe.browser.version||CHe,browserMinorVersion:DHe.minor||CHe,browserName:OHe.browser.name||CHe,browserVersion:OHe.browser.major||CHe,deviceName:OHe.device.model||CHe,engineName:OHe.engine.name||CHe,engineVersion:OHe.engine.version||CHe,platformArchitecture:OHe.cpu.architecture||CHe,platformName:function(e){return SHe[e]||e}(OHe.os.name)||CHe,platformVersion:OHe.os.version||CHe,platformFullVersion:OHe.os.version||CHe},THe=PHe,AHe=OGe,LHe=/\./,IHe=/\|\|/,MHe=/\s+\-\s+/,jHe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,RHe=/^(\d*)(.*)/;function NHe(e,t){var n=e.split(IHe);return n.length>1?n.some((function(e){return KHe.contains(e,t)})):function(e,t){var n=e.split(MHe);if(n.length>0&&n.length<=2||("production"!==ma.env.NODE_ENV?AHe(!1,'the "-" operator expects exactly 2 operands'):AHe(!1)),1===n.length)return zHe(n[0],t);var i=n[0],r=n[1];return WHe(i)&&WHe(r)||("production"!==ma.env.NODE_ENV?AHe(!1,'operands to the "-" operator must be simple (no modifiers)'):AHe(!1)),zHe(">="+i,t)&&zHe("<="+r,t)}(e=n[0].trim(),t)}function zHe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(LHe),i=UHe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return BHe(n,o);case"<=":return function(e,t){var n=YHe(e,t);return-1===n||0===n}(n,o);case">=":return GHe(n,o);case">":return function(e,t){return 1===YHe(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);qHe(o)&&(i[r]=o+1+"");return GHe(e,n)&&BHe(e,i)}(n,o);default:return function(e,t){return 0===YHe(e,t)}(n,o)}}function BHe(e,t){return-1===YHe(e,t)}function GHe(e,t){var n=YHe(e,t);return 1===n||0===n}function UHe(e){var t=e.split(LHe),n=t[0].match(jHe);return n||("production"!==ma.env.NODE_ENV?AHe(!1,"expected regex to match but it did not"):AHe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function qHe(e){return!isNaN(e)&&isFinite(e)}function WHe(e){return!UHe(e).modifier}function HHe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function QHe(e,t){var n=e.match(RHe)[1],i=t.match(RHe)[1],r=parseInt(n,10),o=parseInt(i,10);return qHe(r)&&qHe(o)&&r!==o?VHe(r,o):VHe(e,t)}function VHe(e,t){return typeof e!=typeof t&&("production"!==ma.env.NODE_ENV?AHe(!1,'"a" and "b" must be of the same type'):AHe(!1)),e>t?1:e<t?-1:0}function YHe(e,t){for(var n=function(e,t){HHe(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 HHe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=QHe(i[o],r[o]);if(a)return a}return 0}var KHe={contains:function(e,t){return NHe(e.trim(),t.trim())}},$He=KHe,ZHe=Object.prototype.hasOwnProperty;var XHe=function(e,t,n){if(!e)return null;var i={};for(var r in e)ZHe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var JHe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},eQe=THe,tQe=$He;function nQe(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,tQe.contains(r,t))}function iQe(e){return"Windows"===eQe.platformName?e.replace(/^\s*NT/,""):e}var rQe=XHe({isBrowser:function(e){return nQe(eQe.browserName,eQe.browserFullVersion,e)},isBrowserArchitecture:function(e){return nQe(eQe.browserArchitecture,null,e)},isDevice:function(e){return nQe(eQe.deviceName,null,e)},isEngine:function(e){return nQe(eQe.engineName,eQe.engineVersion,e)},isPlatform:function(e){return nQe(eQe.platformName,eQe.platformFullVersion,e,iQe)},isPlatformArchitecture:function(e){return nQe(eQe.platformArchitecture,null,e)}},JHe);var oQe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var aQe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},sQe=aQe;var lQe=function e(t){if(sQe(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},uQe=oQe,cQe=lQe;var dQe=function(e){for(var t=e;t&&t!==uQe(e).documentElement;){var n=cQe(t);if(null!=n)return n;t=t.parentNode}return null};var hQe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function fQe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pQe=rQe,gQe=dQe,mQe=hQe,vQe=OGe,yQe=_We,bQe=OBe.exports.Map,_Qe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},wQe=pQe.isBrowser("IE <= 11"),kQe=function(){function e(e){var t=this;fQe(this,"observer",void 0),fQe(this,"container",void 0),fQe(this,"mutations",void 0),fQe(this,"onCharData",void 0),this.container=e,this.mutations=bQe();var n=mQe(e);n.MutationObserver&&!wQe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ma.env.NODE_ENV?vQe(!1,"Expected target to be an instance of Node"):vQe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,_Qe):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=bQe(),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 wQe?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=yQe(gQe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),xQe="-",FQe={encode:function(e,t,n){return e+xQe+t+xQe+n},decode:function(e){var t=e.split(xQe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(xQe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},EQe={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},CQe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var SQe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},OQe=OGe,DQe=SQe;var PQe=function(e){var t=e.editorContainer;return t||("production"!==ma.env.NODE_ENV?OQe(!1,"Missing editorNode"):OQe(!1)),DQe(t.firstChild)||("production"!==ma.env.NODE_ENV?OQe(!1,"editorNode.firstChild is not an HTMLElement"):OQe(!1)),t.firstChild},TQe=FQe,AQe=_We;var LQe=function(e,t,n,i,r){var o=AQe(e.getSelection());if(!t||!i)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=TQe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=TQe.decode(i),d=c.blockKey,h=e.getBlockTree(d),f=h&&h.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!f)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var p=u.get("start"),g=f.get("start"),m=u?p+n:null,v=f?g+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===m&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var _=u.get("end"),w=f.get("end");b=g===p&&w===_?r<n:g<p}else{var k=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=k===d}return o.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},IQe=dQe,MQe=lQe,jQe=LQe,RQe=OGe,NQe=aQe,zQe=_We;function BQe(e,t,n){var i=t,r=IQe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ma.env.NODE_ENV?RQe(!1,"Unknown node in selection range."):RQe(!1)),e===i)&&(i=i.firstChild,NQe(i)||("production"!==ma.env.NODE_ENV?RQe(!1,"Invalid DraftEditorContents node."):RQe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ma.env.NODE_ENV?RQe(!1,"Invalid DraftEditorContents structure."):RQe(!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&&(NQe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||MQe(e.firstChild));)e=e.firstChild;return e}(i);o=zQe(MQe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(MQe(s)){var c=function(e){for(;e.lastChild&&(NQe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||MQe(e.lastChild));)e=e.lastChild;return e}(s);l=zQe(MQe(c)),u=GQe(c)}else l=zQe(r),u=GQe(s);return{key:l,offset:u}}function GQe(e){var t=e.textContent;return"\n"===t?0:t.length}var UQe=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:jQe(e,zQe(IQe(n)),i,zQe(IQe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:zQe(IQe(n)),offset:i},u=BQe(t,r,o)):s?(u={key:zQe(IQe(r)),offset:o},l=BQe(t,n,i)):(l=BQe(t,n,i),u=BQe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:jQe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},qQe=UQe;var WQe=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}:qQe(e,t,i,r,o,a)},HQe=CQe,QQe=WWe,VQe=PQe,YQe=WQe;var KQe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();HQe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=YQe(n,VQe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?QQe.forceSelection(n,r):QQe.acceptSelection(n,r),e.update(n))}};var $Qe={notEmptyKey:function(e){return null!=e&&""!=e}},ZQe=$Qe.notEmptyKey;function XQe(e,t){return ZQe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var JQe=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:XQe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),XQe(e.getEntityMap(),n)},eVe=kQe,tVe=KUe,nVe=FQe,iVe=WWe,rVe=EQe,oVe=PQe,aVe=WQe,sVe=JQe,lVe=_We,uVe=!1,cVe=!1,dVe=null;var hVe={onCompositionStart:function(e){cVe=!0,function(e){dVe||(dVe=new eVe(oVe(e))).start()}(e)},onCompositionEnd:function(e){uVe=!1,cVe=!1,setTimeout((function(){uVe||hVe.resolveComposition(e)}),20)},onSelect:KQe,onKeyDown:function(e,t){if(!cVe)return hVe.resolveComposition(e),void e._onKeyDown(t);t.which!==rVe.RIGHT&&t.which!==rVe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===rVe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!cVe){var t=lVe(dVe).stopAndFlushMutations();dVe=null,uVe=!0;var n=iVe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=nVe.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}),h=sVe(i,d),f=i.getBlockForKey(o).getInlineStyleAt(u);i=tVe.replaceText(i,d,e,f,h),n=iVe.set(n,{currentContent:i})}));var r=aVe(n,oVe(e)).selectionState;e.restoreEditorDOM();var o=iVe.acceptSelection(n,r);e.update(iVe.push(o,i,"insert-characters"))}else e.update(n)}}},fVe=hVe,pVe=EH;function gVe(){return gVe=pVe||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},gVe.apply(this,arguments)}var mVe=FQe,vVe=m.default,yVe=fWe,bVe=nWe,_Ve=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),h=r.getPropsForKey(o),f=mVe.encode(u,parseInt(o,10),0),p=l.slice(c.first().get("start"),c.last().get("end")),g=bVe.getHTMLDirIfDifferent(yVe.getDirection(p),a);return vVe.createElement(d,gVe({},h,{contentState:i,decoratedText:p,dir:g,key:f,entityKey:t.getEntityAt(s.get("start")),offsetKey:f}),n)},i}(vVe.Component),wVe=_Ve;function kVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FVe=m.default,EVe=OGe,CVe=aQe,SVe=rQe.isBrowser("IE <= 11");var OVe=function(e){var t,n;function i(t){var n;return xVe(kVe(n=e.call(this,t)||this),"_forceFlag",void 0),xVe(kVe(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;CVe(t)||("production"!==ma.env.NODE_ENV?EVe(!1,"node is not an Element"):EVe(!1));var i=t;return n?!function(e){return SVe?"\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},SVe?FVe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):FVe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return SVe?FVe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):FVe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):FVe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(FVe.Component),DVe=OVe,PVe=aQe;var TVe=function(e){return!(!e||!e.ownerDocument)&&(PVe(e)&&"BR"===e.nodeName)};var AVe=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 LVe=function(e){return AVe(e)&&3==e.nodeType};var IVe=function e(t,n){return!(!t||!n)&&(t===n||!LVe(t)&&(LVe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var MVe=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}},jVe=CQe,RVe=IVe,NVe=MVe,zVe=oQe,BVe=OGe,GVe=aQe,UVe=rQe.isBrowser("IE");function qVe(e,t){if(!e)return"[empty]";var n=WVe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(GVe(n)||("production"!==ma.env.NODE_ENV?BVe(!1,"Node must be an Element if it is not a text node."):BVe(!1)),n.outerHTML)}function WVe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return zVe(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(WVe(o[a],t));return r}function HVe(e,t){for(var n=e,i=n;n;){if(GVe(n)&&i.hasAttribute("contenteditable"))return qVe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function QVe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function VVe(e,t,n,i){var r=NVe();if(e.extend&&null!=t&&RVe(r,t)){n>QVe(t)&&jVe.logSelectionStateFailure({anonymizedDom:HVe(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 jVe.logSelectionStateFailure({anonymizedDom:HVe(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 YVe(e,t,n,i){var r=zVe(t).createRange();if(n>QVe(t)&&jVe.logSelectionStateFailure({anonymizedDom:HVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),UVe)try{e.addRange(r)}catch(e){"production"!==ma.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var KVe=function(e,t,n,i,r){var o=zVe(t);if(RVe(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 h=s,f=l;s=u,l=c,u=h,c=f,d=!1}var p=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(p&&g)return a.removeAllRanges(),YVe(a,t,l-i,e),void VVe(a,t,c-i,e);if(d){if(g&&(a.removeAllRanges(),YVe(a,t,c-i,e)),p){var m=a.focusNode,v=a.focusOffset;a.removeAllRanges(),YVe(a,t,l-i,e),VVe(a,m,v,e)}}else p&&(a.removeAllRanges(),YVe(a,t,l-i,e)),g&&VVe(a,t,c-i,e)}},$Ve=EH;function ZVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JVe=DVe,eYe=m.default,tYe=OGe,nYe=TVe,iYe=KVe,rYe=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 XVe(ZVe(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"!==ma.env.NODE_ENV?tYe(!1,"Missing node"):tYe(!1));var l,u=s.firstChild;u||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing child"):tYe(!1)),u.nodeType===Node.TEXT_NODE?l=u:nYe(u)?l=s:(l=u.firstChild)||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing targetNode"):tYe(!1)),iYe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ma.env.NODE_ENV?tYe(!1,"Missing leafNode"):tYe(!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()),$Ve(e,i,n)}),{});if(o){var u=o(s,t);l=$Ve(l,u)}return eYe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},eYe.createElement(JVe,null,n))},i}(eYe.Component),oYe=rYe;var aYe=wVe,sYe=oYe,lYe=FQe,uYe=OBe.exports,cYe=m.default,dYe=_He;uYe.List;var hYe=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(),h=t.getText(),f=c.size-1,p=this.props.children||c.map((function(e,c){var p=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var o=lYe.encode(d,c,n),a=e.get("start"),g=e.get("end");return cYe.createElement(sYe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:h.slice(a,g),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:p===f&&n===m})})).toArray();return p&&o?cYe.createElement(aYe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:p,direction:a,leafSet:e,text:h,key:c}):v})).toArray();return cYe.createElement("div",{"data-offset-key":lYe.encode(d,0,0),className:dYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},p)},i}(cYe.Component),fYe=hYe;function pYe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var gYe={getTop:function(e){var t=e.ownerDocument;return pYe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;pYe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return pYe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;pYe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},mYe=gYe,vYe=/-(.)/g;var yYe=function(e){return e.replace(vYe,(function(e,t){return t.toUpperCase()}))},bYe=/([A-Z])/g;var _Ye=function(e){return e.replace(bYe,"-$1").toLowerCase()},wYe=yYe,kYe=_Ye;function xYe(e){return null==e?e:String(e)}var FYe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return xYe(n.getPropertyValue(kYe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return xYe(n.getPropertyValue(kYe(t)));if("display"===t)return"none"}return e.currentStyle?xYe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[wYe(t)]):xYe(e.style&&e.style[wYe(t)])};function EYe(e,t){var n=CYe.get(e,t);return"auto"===n||"scroll"===n}var CYe={get:FYe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(EYe(e,"overflow")||EYe(e,"overflowY")||EYe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},SYe=CYe,OYe=IVe;var DYe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!OYe(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 PYe=function(e){var t=DYe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},TYe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var AYe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:TYe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var LYe=AYe,IYe=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 MYe=function(e){var t=LYe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=IYe(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 jYe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function RYe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function NYe(){return{width:window.innerWidth||jYe(),height:window.innerHeight||RYe()}}NYe.withoutScrollbars=function(){return{width:jYe(),height:RYe()}};var zYe=NYe,BYe=EH;function GYe(){return GYe=BYe||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},GYe.apply(this,arguments)}function UYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qYe(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){WYe(e,t,n[t])}))}return e}function WYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HYe=fYe,QYe=FQe,VYe=m.default,YYe=mYe,KYe=SYe,$Ye=PYe,ZYe=MYe,XYe=zYe,JYe=OGe,eKe=SQe;OBe.exports.List;var tKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nKe=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}},iKe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},rKe=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=qYe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},oKe=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 WYe(UYe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",VYe.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||tKe(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=KYe.getScrollParent(n),o=ZYe(r);if(r===window){var a=$Ye(n);(i=a.y+a.height-XYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{eKe(n)||("production"!==ma.env.NODE_ENV?JYe(!1,"blockNode is not an HTMLElement"):JYe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&YYe.setTop(r,YYe.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,h=t.customStyleMap,f=t.direction,p=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=QYe.encode(n,0,0),d=s.getBlockForKey(n),h=iKe(d,o),f=h.CustomComponent||i,p=nKe(d,r),g=p.Element,m=p.wrapperTemplate,v=rKe(d,u,l,a,h,null),y=qYe({},e.props,{tree:c.getBlockTree(n),blockProps:h.customProps,offsetKey:l,block:d});return t.push(VYe.createElement(g,v,VYe.createElement(f,y))),!m||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(VYe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":QYe.encode(d,0,0)},c))}(m,g,t),t}),[]));var y=n.getKey(),b=QYe.encode(y,0,0),_=iKe(n,o),w=_.CustomComponent,k=null!=w?VYe.createElement(w,GYe({},this.props,{tree:c.getBlockTree(y),blockProps:_.customProps,offsetKey:b,block:n})):VYe.createElement(HYe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:h,decorator:l,direction:f,forceSelection:p,hasSelection:tKe(g,y),selection:g,tree:m});if(n.getParentKey())return k;var x=nKe(n,r).Element,F=rKe(n,u,b,a,_,this.wrapperRef);return VYe.createElement(x,F,k)},i}(VYe.Component),aKe=EH;function sKe(){return sKe=aKe||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},sKe.apply(this,arguments)}var lKe=oKe,uKe=FQe,cKe=m.default,dKe=_We,hKe=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(),h=a.getDecorator(),f=dKe(a.getDirectionMap()),p=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:h,editorKey:s,editorState:a,forceSelection:d,selection:c,block:g,direction:l||f.get(m),tree:a.getBlockTree(m)},y=(t.get(g.getType())||t.get("unstyled")).wrapper;p.push({block:cKe.createElement(lKe,sKe({key:m},v)),wrapperTemplate:y,key:m,offsetKey:uKe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var _=[],w=0;w<p.length;){var k=p[w];if(k.wrapperTemplate){var x=[];do{x.push(p[w].block),w++}while(w<p.length&&p[w].wrapperTemplate===k.wrapperTemplate);var F=cKe.cloneElement(k.wrapperTemplate,{key:k.key+"-wrap","data-offset-key":k.offsetKey},x);_.push(F)}else _.push(k.block),w++}return cKe.createElement("div",{"data-contents":"true"},_)},i}(cKe.Component),fKe=hKe,pKe=EH;function gKe(){return gKe=pKe||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},gKe.apply(this,arguments)}function mKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yKe=oYe,bKe=FQe,_Ke=m.default,wKe=mYe,kKe=SYe,xKe=fWe,FKe=nWe,EKe=_He,CKe=PYe,SKe=MYe,OKe=zYe,DKe=OGe,PKe=SQe,TKe=_We,AKe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},LKe=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 vKe(mKe(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||AKe(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=kKe.getScrollParent(n),o=SKe(r);if(r===window){var a=CKe(n);(i=a.y+a.height-OKe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{PKe(n)||("production"!==ma.env.NODE_ENV?DKe(!1,"blockNode is not an HTMLElement"):DKe(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&wKe.setTop(r,wKe.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=AKe(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=bKe.encode(n,s,l),d=a.get("start"),h=a.get("end");return _Ke.createElement(yKe,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,h),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 h=TKe(e.props.decorator),f=h.getComponentForKey(d);if(!f)return c;var p=h.getPropsForKey(d),g=bKe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),y=i.slice(m,v),b=t.getEntityAt(a.get("start")),_=FKe.getHTMLDirIfDifferent(xKe.getDirection(y),e.props.direction),w={contentState:e.props.contentState,decoratedText:y,dir:_,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return _Ke.createElement(f,gKe({},p,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=EKe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return _Ke.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(_Ke.Component),IKe=LKe;var MKe=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},jKe=EH;function RKe(){return RKe=jKe||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},RKe.apply(this,arguments)}function NKe(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){zKe(e,t,n[t])}))}return e}function zKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BKe=IKe,GKe=FQe,UKe=m.default,qKe=_He,WKe=MKe,HKe=_We,QKe=function(e,t,n,i){return qKe({"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})},VKe=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(),h=a.mustForceSelection(),f=a.getDecorator(),p=HKe(a.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,y=null,b=0;b<g.length;b++){var _=g[b],w=_.getKey(),k=_.getType(),x=n(_),F=void 0,E=void 0,C=void 0;x&&(F=x.component,E=x.props,C=x.editable);var S=u||p.get(w),O=GKe.encode(w,0,0),D={contentState:c,block:_,blockProps:E,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:f,direction:S,forceSelection:h,offsetKey:O,preventScroll:l,selection:d,tree:a.getBlockTree(w)},P=t.get(k)||t.get("unstyled"),T=P.wrapper,A=P.element||t.get("unstyled").element,L=_.getDepth(),I="";if(i&&(I=i(_)),"li"===A)I=WKe(I,QKe(k,L,y!==T||null===v||L>v,S));var M=F||BKe,j={className:I,"data-block":!0,"data-editor":s,"data-offset-key":O,key:w};void 0!==C&&(j=NKe({},j,{contentEditable:C,suppressContentEditableWarning:!0}));var R=UKe.createElement(A,j,UKe.createElement(M,RKe({},D,{key:w})));m.push({block:R,wrapperTemplate:T,key:w,offsetKey:O}),v=T?_.getDepth():null,y=T}for(var N=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var U=UKe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);N.push(U)}else N.push(B.block),z++}return UKe.createElement("div",{"data-contents":"true"},N)},i}(UKe.Component),YKe=VKe,KKe=Eqe("draft_tree_data_support")?fKe:YKe,$Ke={isImage:function(e){return"image"===ZKe(e)[0]},isJpeg:function(e){var t=ZKe(e);return $Ke.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function ZKe(e){return e.split("/")}var XKe=$Ke,JKe=OGe;var e$e=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"!==ma.env.NODE_ENV?JKe(!1,"toArray: Array-like object expected"):JKe(!1)),"number"!=typeof t&&("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object needs a length property"):JKe(!1)),0===t||t-1 in e||("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object should have keys for indices"):JKe(!1)),"function"==typeof e.callee&&("production"!==ma.env.NODE_ENV?JKe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):JKe(!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 t$e(e){return function(){return e}}var n$e=function(){};n$e.thatReturns=t$e,n$e.thatReturnsFalse=t$e(!1),n$e.thatReturnsTrue=t$e(!0),n$e.thatReturnsNull=t$e(null),n$e.thatReturnsThis=function(){return this},n$e.thatReturnsArgument=function(e){return e};var i$e=n$e,r$e=XKe,o$e=e$e,a$e=i$e,s$e=new RegExp("\r\n","g"),l$e={"text/rtf":1,"text/html":1};function u$e(e){if("file"==e.kind)return e.getAsFile()}var c$e=function(){function e(e){this.data=e,this.types=e.types?o$e(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return l$e[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(s$e,"\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(!r$e.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(u$e).filter(a$e.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),d$e=c$e,h$e=OGe,f$e=/\.textClipping$/,p$e={"text/plain":!0,"text/html":!0,"text/rtf":!0};var g$e=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!F.FileReader||e.type&&!(e.type in p$e))return void t("");if(""===e.type){var n="";return f$e.test(e.name)&&(n=e.name.replace(f$e,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ma.env.NODE_ENV?h$e(!1,'We should be calling "FileReader.readAsText" which returns a string'):h$e(!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 m$e=function(e){return"handled"===e||!0===e},v$e=d$e,y$e=KUe,b$e=WWe,_$e=dQe,w$e=oQe,k$e=g$e,x$e=LQe,F$e=hQe,E$e=m$e,C$e=_We;var S$e={onDragEnd:function(e){e.exitCurrentMode(),O$e(e)},onDrop:function(e,t){var n=new v$e(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=w$e(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=C$e(n),i=C$e(i);var a=C$e(_$e(n));return x$e(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&&E$e(e.props.handleDroppedFiles(r,o)))return;k$e(o,(function(t){t&&e.update(D$e(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&E$e(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=y$e.moveText(e.getCurrentContent(),e.getSelection(),t);return b$e.push(e,n,"insert-fragment")}(i,r)):e.update(D$e(i,r,n.getText()))),O$e(e)}}}};function O$e(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:F$e(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function D$e(e,t,n){var i=y$e.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return b$e.push(e,i,"insert-fragment")}var P$e=S$e;var T$e=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){ma.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?F:self);var A$e=F.setImmediate,L$e=KUe,I$e=WWe,M$e=JQe,j$e=m$e,R$e=T$e,N$e=_We,z$e=A$e,B$e=rQe.isBrowser("Firefox");function G$e(e,t,n,i,r){var o=L$e.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return I$e.push(e,o,"insert-characters",r)}var U$e=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&&j$e(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(G$e(n,i,n.getCurrentInlineStyle(),M$e(n.getCurrentContent(),n.getSelection()),!0));var s,l=G$e(n,i,n.getCurrentInlineStyle(),M$e(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=R$e(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=B$e&&("'"==s||"/"==s)),u||(u=N$e(l.getDirectionMap()).get(a)!==N$e(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=I$e.set(l,{forceSelection:!0}),void e.update(l);l=I$e.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,z$e((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},q$e=WWe,W$e=IVe,H$e=MVe;var Q$e=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&H$e(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&W$e(r,i.anchorNode)&&W$e(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(q$e.acceptSelection(o,s))}},V$e=WWe;var Y$e=function(e,t){e.setMode("composite"),e.update(V$e.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},K$e=$Ge;var $$e=function(e){var t=e.getSelection();return t.isCollapsed()?null:K$e(e.getCurrentContent(),t)},Z$e=$$e;var X$e=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(Z$e(e._latestEditorState))};var J$e=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},eZe=KUe,tZe=WWe,nZe=SYe,iZe=$$e,rZe=MYe,oZe=J$e;var aZe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(oZe(o)){var a=o;n=rZe(nZe.getScrollParent(a))}var s=iZe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=eZe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return tZe.push(e,t,"remove-range")}(i))}),0)}};var sZe=function(e,t){e.setMode("drag"),t.preventDefault()};var lZe=function(e){e._internalDrag=!0,e.setMode("drag")},uZe=WWe,cZe=rQe;var dZe=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),cZe.isBrowser("Chrome < 60.0.3081.0")?e.update(uZe.forceSelection(n,r)):e.update(uZe.acceptSelection(n,r))}},hZe=OGe,fZe=/[\uD800-\uDFFF]/;function pZe(e){return 55296<=e&&e<=57343}function gZe(e){return fZe.test(e)}function mZe(e,t){return 1+pZe(e.charCodeAt(t))}function vZe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!gZe(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+=mZe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=mZe(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=mZe(e,o);return e.substring(r,o)}var yZe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=mZe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:mZe,hasSurrogateUnit:gZe,isCodeUnitInSurrogateRange:pZe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ma.env.NODE_ENV?hZe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):hZe(!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(!gZe(e))return e.length;for(var t=0,n=0;n<e.length;n+=mZe(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 vZe(e,t=t<n?t:n,i)},substr:vZe},bZe=yZe,_Ze=i$e;function wZe(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 kZe="production"!==ma.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];wZe.apply(void 0,[t].concat(i))}}:_Ze,xZe=kZe,FZe=xZe;var EZe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&FZe(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})},CZe=KUe,SZe=Eqe("draft_tree_data_support");var OZe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(SZe&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(SZe)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 CZe.removeRange(r,o,n)},DZe=WWe,PZe=bZe,TZe=EZe,AZe=OZe;var LZe=function(e){var t=AZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return TZe(e,o?PZe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return DZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},IZe=KUe,MZe=FQe,jZe=WWe,RZe=$Qe.notEmptyKey,NZe=dQe,zZe=LZe,BZe=_We,GZe=rQe.isEngine("Gecko");var UZe=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=BZe(NZe(i)),d=MZe.decode(c),h=d.blockKey,f=d.decoratorKey,p=d.leafKey,g=u.getBlockTree(h).getIn([f,"leaves",p]),m=g.start,v=g.end,y=u.getCurrentContent(),b=y.getBlockForKey(h),_=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==_){var w,k,x,F,E=u.getSelection(),C=E.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),O=RZe(S)?y.getEntity(S):null,D="MUTABLE"===(null!=O?O.getMutability():null),P=D?"spellcheck-change":"apply-entity",T=IZe.replaceText(y,C,l,b.getInlineStyleAt(m),D?b.getEntityAt(m):null);if(GZe)w=n.anchorOffset,k=n.focusOffset,F=(x=m+Math.min(w,k))+Math.abs(w-k),w=x,k=F;else{var A=l.length-_.length;x=E.getStartOffset(),F=E.getEndOffset(),w=r?F+A:x,k=F+A}var L=T.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:E.merge({anchorOffset:w,focusOffset:k})});e.update(jZe.push(u,L,P))}else{var I=t.nativeEvent.inputType;if(I){var M=function(e,t){return"deleteContentBackward"===e?zZe(t):t}(I,u);if(M!==u)return e.restoreEditorDOM(),void e.update(M)}}}},qZe=EQe;var WZe=function(e){return e.which===qZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},HZe=WZe,QZe=rQe.isPlatform("Mac OS X"),VZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return QZe&&e.altKey},usesMacOSHeuristics:function(){return QZe},hasCommandModifier:function(e){return QZe?!!e.metaKey&&!e.altKey:VZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:HZe},YZe=VZe,KZe=KUe,$Ze=WWe,ZZe=$Ge,XZe=_We,JZe=null,eXe={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=XZe(i),JZe=ZZe(t,i);var s=KZe.removeRange(t,i,"forward");return s===t?e:$Ze.push(e,s,"remove-range")},paste:function(e){if(!JZe)return e;var t=KZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),JZe);return $Ze.push(e,t,"insert-fragment")}},tXe=eXe,nXe=OGe;var iXe=rQe.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"!==ma.env.NODE_ENV?nXe(!1,"Found an unexpected detached subtree when getting range client rects."):nXe(!1)}:function(e){return Array.from(e.getClientRects())},rXe=bZe,oXe=oQe,aXe=iXe,sXe=OGe;function lXe(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 uXe(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 cXe=WWe,dXe=function(e){e.collapsed||("production"!==ma.env.NODE_ENV?sXe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):sXe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=oXe(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"!==ma.env.NODE_ENV?sXe(!1,"Missing document.body"):sXe(!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);lXe(aXe(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ma.env.NODE_ENV?sXe(!1,"Found unexpected detached subtree when traversing."):sXe(!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&&rXe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!lXe(aXe(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=uXe(o=o.childNodes[l])}return e.setStart(i,r),e},hXe=UQe,fXe=EZe,pXe=OZe;var gXe=function(e,t){var n=pXe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return fXe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=dXe(i),hXe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:cXe.push(e,n,"remove-range")},mXe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),vXe=new RegExp("^(?:"+mXe+")*(?:"+"['‘’]|(?!"+mXe+").)*(?:(?!"+mXe+").)"),yXe=new RegExp("(?:(?!"+mXe+").)(?:"+"['‘’]|(?!"+mXe+").)*(?:"+mXe+")*$");function bXe(e,t){var n=t?yXe.exec(e):vXe.exec(e);return n?n[0]:e}var _Xe={getBackward:function(e){return bXe(e,!0)},getForward:function(e){return bXe(e,!1)}},wXe=_Xe,kXe=WWe,xXe=EZe,FXe=OZe;var EXe=function(e){var t=FXe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return xXe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=wXe.getBackward(r);return xXe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:kXe.push(e,t,"remove-range")},CXe=xZe;var SXe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&CXe(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})},OXe=_Xe,DXe=WWe,PXe=SXe,TXe=OZe;var AXe=function(e){var t=TXe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=OXe.getForward(r);return PXe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:DXe.push(e,t,"remove-range")},LXe=KUe,IXe=WWe;var MXe=WWe;var jXe=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return MXe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},RXe=WWe;var NXe=function(e){var t=e.getSelection(),n=t.getStartKey();return RXe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},zXe=WWe,BXe=bZe,GXe=SXe,UXe=OZe;var qXe=function(e){var t=UXe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return GXe(e,o?BXe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return zXe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},WXe=KUe,HXe=WWe,QXe=$Ge;var VXe=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=QXe(a,i),u=WXe.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,h=c.merge({anchorOffset:d,focusOffset:d}),f=WXe.replaceWithFragment(u,h,l),p=HXe.push(e,f,"insert-fragment");return HXe.acceptSelection(p,r)},YXe=WWe;var KXe=function(e,t,n){var i=YXe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(YXe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(YXe.set(i,{nativelyRenderedContent:r}))}},$Xe=KUe,ZXe=WWe,XXe=EQe,JXe=tXe,eJe=rQe,tJe=m$e,nJe=gXe,iJe=EXe,rJe=AXe,oJe=function(e){var t=LXe.splitBlock(e.getCurrentContent(),e.getSelection());return IXe.push(e,t,"split-block")},aJe=jXe,sJe=NXe,lJe=LZe,uJe=qXe,cJe=VXe,dJe=KXe,hJe=YZe.isOptionKeyCommand,fJe=eJe.isBrowser("Chrome");var pJe=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 XXe.RETURN:if(t.preventDefault(),e.props.handleReturn&&tJe(e.props.handleReturn(t,i)))return;break;case XXe.ESC:if(t.preventDefault(),r("onEscape"))return;break;case XXe.TAB:if(r("onTab"))return;break;case XXe.UP:if(r("onUpArrow"))return;break;case XXe.RIGHT:if(r("onRightArrow"))return;break;case XXe.DOWN:if(r("onDownArrow"))return;break;case XXe.LEFT:if(r("onLeftArrow"))return;break;case XXe.SPACE:fJe&&hJe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!tJe(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return ZXe.redo(t);case"delete":return uJe(t);case"delete-word":return rJe(t);case"backspace":return lJe(t);case"backspace-word":return iJe(t);case"backspace-to-start-of-line":return nJe(t,n);case"split-block":return oJe(t);case"transpose-characters":return cJe(t);case"move-selection-to-start-of-block":return sJe(t);case"move-selection-to-end-of-block":return aJe(t);case"secondary-cut":return JXe.cut(t);case"secondary-paste":return JXe.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else dJe(t,i,e.update);else if(n===XXe.SPACE&&fJe&&hJe(t)){var s=$Xe.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(ZXe.push(i,s,"insert-characters"))}};var gJe=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}(),mJe=gJe,vJe=OGe,yJe=rQe.isBrowser("IE <= 9");var bJe=function(e){var t,n=null;return!yJe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ma.env.NODE_ENV?vJe(!1,"Missing doc.documentElement"):vJe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},_Je=aQe;var wJe=function(e){return!(!e||!e.ownerDocument)&&(_Je(e)&&"A"===e.nodeName)},kJe=aQe;var xJe,FJe=function(e){return!(!e||!e.ownerDocument)&&(kJe(e)&&"IMG"===e.nodeName)};function EJe(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){CJe(e,t,n[t])}))}return e}function CJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SJe=GBe,OJe=nGe,DJe=vGe,PJe=xHe,TJe=kqe,AJe=mJe,LJe=_He,IJe=NGe,MJe=bJe,jJe=Eqe,RJe=OBe.exports,NJe=RJe.List,zJe=RJe.Map,BJe=RJe.OrderedSet,GJe=wJe,UJe=TVe,qJe=SQe,WJe=FJe,HJe=jJe("draft_tree_data_support"),QJe=new RegExp("\r","g"),VJe=new RegExp("\n","g"),YJe=new RegExp("^\n","g"),KJe=new RegExp(" ","g"),$Je=new RegExp(" ?","g"),ZJe=new RegExp("​?","g"),XJe=["bold","bolder","500","600","700","800","900"],JJe=["light","lighter","normal","100","200","300","400"],e0e=["className","href","rel","target","title"],t0e=["alt","className","height","src","width"],n0e=(CJe(xJe={},LJe("public/DraftStyleDefault/depth0"),0),CJe(xJe,LJe("public/DraftStyleDefault/depth1"),1),CJe(xJe,LJe("public/DraftStyleDefault/depth2"),2),CJe(xJe,LJe("public/DraftStyleDefault/depth3"),3),CJe(xJe,LJe("public/DraftStyleDefault/depth4"),4),xJe),i0e=zJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),r0e=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)}))})),zJe(t)},o0e=function(e){if(qJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},a0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(n0e).some((function(n){e.classList.contains(n)&&(t=n0e[n])})),t},s0e=function(e){if(!GJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},l0e=function(e){if(!WJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},u0e=function(e,t){if(!qJe(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){XJe.indexOf(i)>=0?e.add("BOLD"):JJe.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"))}))},c0e=function(e){return"ul"===e||"ol"===e},d0e=function(){function e(e,t){CJe(this,"characterList",NJe()),CJe(this,"currentBlockType","unstyled"),CJe(this,"currentDepth",0),CJe(this,"currentEntity",null),CJe(this,"currentText",""),CJe(this,"wrapper",null),CJe(this,"blockConfigs",[]),CJe(this,"contentBlocks",[]),CJe(this,"entityMap",TJe),CJe(this,"blockTypeMap",void 0),CJe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=NJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=TJe,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],BJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(HJe?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||IJe(),n=EJe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:NJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=NJe(),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||c0e(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;c0e(o)&&(this.wrapper=o,c0e(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(l0e(r))this._addImgNode(r,t);else if(s0e(r))this._addAnchorNode(r,n,t);else{var u=t;i0e.has(o)&&(u=u.add(i0e.get(o))),u=u0e(r,u);var c=o0e(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,h=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!HJe&&qJe(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var f=r;this.currentDepth=a0e(f,this.currentDepth)}var p=IJe(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:p,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=h}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=SJe.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=NJe()):(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(YJe,"")).replace(VJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){UJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(WJe(e)){var n=e,i={};t0e.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),jJe("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(GJe(e)){var i=e,r={};e0e.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new AJe(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=NJe(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new DJe(EJe({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return NJe(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 OJe(EJe({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=NJe(),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}(),h0e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:MJe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:PJe,i=t(e=e.trim().replace(QJe,"").replace(KJe," ").replace($Je,"").replace(ZJe,""));if(!i)return null;var r=r0e(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new d0e(r,o).addDOMNode(i).getContentBlocks()};function f0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p0e=nGe,g0e=vGe,m0e=h0e,v0e=NGe,y0e=bJe,b0e=Eqe,_0e=OBe.exports,w0e=Sqe,k0e=_0e.List,x0e=_0e.Repeat,F0e=b0e("draft_tree_data_support"),E0e=F0e?g0e:p0e,C0e={processHTML:function(e,t){return m0e(e,y0e,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=w0e(i);var o=v0e(),a={key:o,type:n,text:i,characterList:k0e(x0e(t,i.length))};if(F0e&&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){f0e(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new E0e(a)),e}),[])}};var S0e=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})},O0e=KUe,D0e=WWe,P0e=S0e,T0e=_We,A0e={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 A0e.toggleInlineStyle(e,"BOLD");case"italic":return A0e.toggleInlineStyle(e,"ITALIC");case"underline":return A0e.toggleInlineStyle(e,"UNDERLINE");case"code":return A0e.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return A0e.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return A0e.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=O0e.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=D0e.push(e,t,"insert-characters");return D0e.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 D0e.push(e,a,"remove-range")}var s=A0e.tryToRemoveBlockStyle(e);return s?D0e.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=O0e.removeRange(n,a,"forward");return s!==n?D0e.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=P0e(o,i,e.shiftKey?-1:1,n);return D0e.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=T0e(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(i).getType()===t?"unstyled":t;return D0e.push(e,O0e.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?A0e.toggleBlockType(e,"code-block"):A0e.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return D0e.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?O0e.removeInlineStyle(o,n,t):O0e.applyInlineStyle(o,n,t),D0e.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=O0e.applyEntity(e.getCurrentContent(),t,n);return D0e.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 O0e.setBlockType(r,t,"unstyled")}return null}},L0e=A0e,I0e=/\r\n?|\n/g;var M0e=TBe,j0e=GBe,R0e=d$e,N0e=KUe,z0e=C0e,B0e=WWe,G0e=L0e,U0e=JQe,q0e=g$e,W0e=m$e,H0e=function(e){return e.split(I0e)};function Q0e(e,t,n){var i=N0e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return B0e.push(e,i.set("entityMap",n),"insert-fragment")}var V0e=function(e,t){t.preventDefault();var n=new R0e(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&W0e(e.props.handlePastedFiles(i)))return;return void q0e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=H0e(t),o=j0e.create({style:n.getCurrentInlineStyle(),entity:U0e(n.getCurrentContent(),n.getSelection())}),a=G0e.getCurrentBlockType(n),s=z0e.processText(i,o,a),l=M0e.createFromArray(s),u=N0e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(B0e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!W0e(e.props.handlePastedText(a,s,l))){if(a&&(o=H0e(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(Q0e(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(Q0e(e._latestEditorState,u));if(s){var c=z0e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,h=c.entityMap;if(d){var f=M0e.createFromArray(d);return void e.update(Q0e(e._latestEditorState,f,h))}}}e.setClipboard(null)}if(o.length){var p=j0e.create({style:l.getCurrentInlineStyle(),entity:U0e(l.getCurrentContent(),l.getSelection())}),g=G0e.getCurrentBlockType(l),m=z0e.processText(o,p,g),v=M0e.createFromArray(m);e.update(Q0e(e._latestEditorState,v))}}},Y0e=rQe,K0e=U$e,$0e=Q$e,Z0e=Y$e,X0e=X$e,J0e=aZe,e1e=sZe,t1e=lZe,n1e=dZe,i1e=UZe,r1e=pJe,o1e=V0e,a1e=KQe,s1e=Y0e.isBrowser("Chrome"),l1e=Y0e.isBrowser("Firefox"),u1e=s1e||l1e?a1e:function(e){},c1e={onBeforeInput:K0e,onBlur:$0e,onCompositionStart:Z0e,onCopy:X0e,onCut:J0e,onDragOver:e1e,onDragStart:t1e,onFocus:n1e,onInput:i1e,onKeyDown:r1e,onPaste:o1e,onSelect:a1e,onMouseUp:u1e,onKeyUp:u1e},d1e=b.default.unstable_flushControlled;var h1e=m.default,f1e=_He,p1e=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=f1e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return h1e.createElement("div",{className:t},h1e.createElement("div",{className:f1e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(h1e.Component),g1e=p1e,m1e=YZe,v1e=EQe,y1e=rQe,b1e=y1e.isPlatform("Mac OS X"),_1e=b1e&&y1e.isBrowser("Firefox < 29"),w1e=m1e.hasCommandModifier,k1e=m1e.isCtrlKeyCommand;function x1e(e){return b1e&&e.altKey||k1e(e)}var F1e=function(e){switch(e.keyCode){case 66:return w1e(e)?"bold":null;case 68:return k1e(e)?"delete":null;case 72:return k1e(e)?"backspace":null;case 73:return w1e(e)?"italic":null;case 74:return w1e(e)?"code":null;case 75:return b1e&&k1e(e)?"secondary-cut":null;case 77:case 79:return k1e(e)?"split-block":null;case 84:return b1e&&k1e(e)?"transpose-characters":null;case 85:return w1e(e)?"underline":null;case 87:return b1e&&k1e(e)?"backspace-word":null;case 89:return k1e(e)?b1e?"secondary-paste":"redo":null;case 90:return function(e){return w1e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case v1e.RETURN:return"split-block";case v1e.DELETE:return function(e){return!b1e&&e.shiftKey?null:x1e(e)?"delete-word":"delete"}(e);case v1e.BACKSPACE:return function(e){return w1e(e)&&b1e?"backspace-to-start-of-line":x1e(e)?"backspace-word":"backspace"}(e);case v1e.LEFT:return _1e&&w1e(e)?"move-selection-to-start-of-block":null;case v1e.RIGHT:return _1e&&w1e(e)?"move-selection-to-end-of-block":null;default:return null}},E1e=EH;function C1e(){return C1e=E1e||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},C1e.apply(this,arguments)}function S1e(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){D1e(e,t,n[t])}))}return e}function O1e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P1e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var T1e=xHe,A1e=FHe,L1e=fVe,I1e=KKe,M1e=P$e,j1e=c1e,R1e=d1e,N1e=g1e,z1e=WWe,B1e=m.default,G1e=mYe,U1e=SYe,q1e=_He,W1e=NGe,H1e=F1e,Q1e=MYe,V1e=Eqe,Y1e=OGe,K1e=SQe,$1e=_We,Z1e=rQe.isBrowser("IE"),X1e=!Z1e,J1e={edit:j1e,composite:L1e,drag:M1e,cut:null,render:null},e2e=!1,t2e=function(e){function t(){return e.apply(this,arguments)||this}P1e(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}(B1e.Component),n2e=function(e){function t(t){var n;return D1e(O1e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),D1e(O1e(n),"_clipboard",void 0),D1e(O1e(n),"_handler",void 0),D1e(O1e(n),"_dragCount",void 0),D1e(O1e(n),"_internalDrag",void 0),D1e(O1e(n),"_editorKey",void 0),D1e(O1e(n),"_placeholderAccessibilityID",void 0),D1e(O1e(n),"_latestEditorState",void 0),D1e(O1e(n),"_latestCommittedEditorState",void 0),D1e(O1e(n),"_pendingStateFromBeforeInput",void 0),D1e(O1e(n),"_onBeforeInput",void 0),D1e(O1e(n),"_onBlur",void 0),D1e(O1e(n),"_onCharacterData",void 0),D1e(O1e(n),"_onCompositionEnd",void 0),D1e(O1e(n),"_onCompositionStart",void 0),D1e(O1e(n),"_onCopy",void 0),D1e(O1e(n),"_onCut",void 0),D1e(O1e(n),"_onDragEnd",void 0),D1e(O1e(n),"_onDragOver",void 0),D1e(O1e(n),"_onDragStart",void 0),D1e(O1e(n),"_onDrop",void 0),D1e(O1e(n),"_onInput",void 0),D1e(O1e(n),"_onFocus",void 0),D1e(O1e(n),"_onKeyDown",void 0),D1e(O1e(n),"_onKeyPress",void 0),D1e(O1e(n),"_onKeyUp",void 0),D1e(O1e(n),"_onMouseDown",void 0),D1e(O1e(n),"_onMouseUp",void 0),D1e(O1e(n),"_onPaste",void 0),D1e(O1e(n),"_onSelect",void 0),D1e(O1e(n),"editor",void 0),D1e(O1e(n),"editorContainer",void 0),D1e(O1e(n),"focus",void 0),D1e(O1e(n),"blur",void 0),D1e(O1e(n),"setMode",void 0),D1e(O1e(n),"exitCurrentMode",void 0),D1e(O1e(n),"restoreEditorDOM",void 0),D1e(O1e(n),"setClipboard",void 0),D1e(O1e(n),"getClipboard",void 0),D1e(O1e(n),"getEditorKey",void 0),D1e(O1e(n),"update",void 0),D1e(O1e(n),"onDragEnter",void 0),D1e(O1e(n),"onDragLeave",void 0),D1e(O1e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),D1e(O1e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=U1e.getScrollParent(r),a=e||Q1e(o),s=a.x,l=a.y;K1e(r)||("production"!==ma.env.NODE_ENV?Y1e(!1,"editorNode is not an HTMLElement"):Y1e(!1)),r.focus(),o===window?window.scrollTo(s,l):G1e.setTop(o,l),i||n.update(z1e.forceSelection(t,t.getSelection()))}})),D1e(O1e(n),"blur",(function(){var e=n.editor;e&&(K1e(e)||("production"!==ma.env.NODE_ENV?Y1e(!1,"editorNode is not an HTMLElement"):Y1e(!1)),e.blur())})),D1e(O1e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=S1e({},J1e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=S1e({},J1e,{edit:a});n._handler=s[e]})),D1e(O1e(n),"exitCurrentMode",(function(){n.setMode("edit")})),D1e(O1e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),D1e(O1e(n),"setClipboard",(function(e){n._clipboard=e})),D1e(O1e(n),"getClipboard",(function(){return n._clipboard})),D1e(O1e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),D1e(O1e(n),"onDragEnter",(function(){n._dragCount++})),D1e(O1e(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||W1e(),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"!==ma.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}P1e(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&&(R1e?R1e((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:$1e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return B1e.createElement(N1e,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=q1e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),h=this.props.role||"textbox",f="combobox"===h?!!this.props.ariaExpanded:null,p={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:S1e({},A1e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return B1e.createElement("div",{className:d},this._renderPlaceholder(),B1e.createElement("div",{className:q1e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},B1e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:f,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:q1e({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:h,spellCheck:X1e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},B1e.createElement(t2e,{editor:this,editorState:a}),B1e.createElement(I1e,C1e({},p,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!e2e&&V1e("draft_ods_enabled")&&(e2e=!0),this.setMode("edit"),Z1e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):F.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(B1e.Component);D1e(n2e,"defaultProps",{blockRenderMap:T1e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:H1e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var i2e=n2e,r2e=C(Object.freeze({__proto__:null})),o2e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},a2e=o2e,s2e=bZe.strlen;var l2e=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:s2e(o.slice(0,i)),length:s2e(o.slice(i,r)),key:Number(t[a2e.stringify(a)])})})),n},u2e=bZe,c2e=UBe,d2e=function(e,t){return e===t},h2e=function(e){return!!e},f2e=[];var p2e=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 c2e(r,d2e,h2e,(function(t,r){var o=e.getText();i.push({offset:u2e.strlen(o.slice(0,t)),length:u2e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(f2e,n.toJS())};function g2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m2e=nGe,v2e=vGe,y2e=o2e,b2e=l2e,_2e=p2e,w2e=OGe,k2e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:_2e(e),entityRanges:b2e(e,t),data:e.getData().toObject()}},x2e=function(e,t,n,i){if(e instanceof m2e)n.push(k2e(e,t));else{e instanceof v2e||("production"!==ma.env.NODE_ENV?w2e(!1,"block is not a BlockNode"):w2e(!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){g2e(e,t,n[t])}))}return e}({},k2e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},F2e=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=y2e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),x2e(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(y2e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function E2e(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){C2e(e,t,n[t])}))}return e}function C2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S2e=NGe,O2e=OGe,D2e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},P2e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ma.env.NODE_ENV?O2e(!1,"Invalid raw state"):O2e(!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"!==ma.env.NODE_ENV?O2e(!1,"Invalid tree raw block"):O2e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=E2e({},e);D2e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?E2e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,E2e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=D2e(e),r=e.depth||0,o=E2e({},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:S2e(),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)})),E2e({},e,{blocks:t})}},T2e=P2e,A2e=xZe,L2e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&A2e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==r&&r===o?("production"!==ma.env.NODE_ENV&&A2e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ma.env.NODE_ENV&&A2e(!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"!==ma.env.NODE_ENV&&A2e(!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)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==ma.env.NODE_ENV&&A2e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ma.env.NODE_ENV&&A2e(!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)}},I2e=L2e,M2e=GBe,j2e=OBe.exports.List;var R2e=function(e,t){var n=e.map((function(e,n){var i=t[n];return M2e.create({style:e,entity:i})}));return j2e(n)},N2e=bZe.substr;var z2e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=N2e(e,0,t.offset).length,r=i+N2e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},B2e=bZe,G2e=OBe.exports.OrderedSet,U2e=B2e.substr,q2e=G2e();var W2e=function(e,t){var n=Array(e.length).fill(q2e);return t&&t.forEach((function(t){for(var i=U2e(e,0,t.offset).length,r=i+U2e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function H2e(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){Q2e(e,t,n[t])}))}return e}function Q2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V2e=nGe,Y2e=vGe,K2e=Kqe,$2e=kqe,Z2e=T2e,X2e=I2e,J2e=Fqe,e3e=R2e,t3e=z2e,n3e=W2e,i3e=NGe,r3e=OBe.exports,o3e=OGe,a3e=Eqe("draft_tree_data_support"),s3e=r3e.List,l3e=r3e.Map,u3e=r3e.OrderedMap,c3e=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||i3e(),data:l3e(r),characterList:d3e(e,t)}},d3e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return e3e(n3e(n,r||[]),t3e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return H2e({},e,{key:t[e.key]})}))))},h3e=function(e){return H2e({},e,{key:e.key||i3e()})},f3e=function(e,t,n){var i=t.map((function(e){return H2e({},e,{parentRef:n})}));return e.concat(i.reverse())},p3e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=a3e&&!n?Z2e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!a3e)return function(e,t){return u3e(e.map((function(e){var n=new V2e(c3e(e,t));return[n.getKey(),n]})))}(n?Z2e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(h3e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):o3e(!1));var o=i.children.map(h3e),a=new Y2e(H2e({},c3e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:s3e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=f3e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):o3e(!1));break}var f=l.children.map(h3e),p=new Y2e(H2e({},c3e(l,t),{parent:u.getKey(),children:s3e(f.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(p.getKey(),p),s=f3e(s,f,p)}return n}),u3e())}(i,t);return"production"!==ma.env.NODE_ENV&&(X2e.isValidTree(r)||("production"!==ma.env.NODE_ENV?o3e(!1,"Should be a valid tree"):o3e(!1))),r},g3e=function(e){Array.isArray(e.blocks)||("production"!==ma.env.NODE_ENV?o3e(!1,"invalid RawDraftContentState"):o3e(!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]=$2e.__create(r,o,a||{})})),n}(e),n=p3e(e,t),i=n.isEmpty()?new J2e:J2e.createEmpty(n.first().getKey());return new K2e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},m3e=iXe;var v3e=function(e){var t=m3e(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}},y3e=v3e;var b3e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=y3e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},_3e={Editor:i2e,EditorBlock:IKe,EditorState:WWe,CompositeDecorator:yHe,Entity:kqe,EntityInstance:hqe,BlockMapBuilder:TBe,CharacterMetadata:GBe,ContentBlock:nGe,ContentState:Kqe,RawDraftContentState:r2e,SelectionState:Fqe,AtomicBlockUtils:gHe,KeyBindingUtil:YZe,Modifier:KUe,RichUtils:L0e,DefaultDraftBlockRenderMap:xHe,DefaultDraftInlineStyle:FHe,convertFromHTML:h0e,convertFromRaw:g3e,convertToRaw:F2e,genKey:NGe,getDefaultKeyBinding:F1e,getVisibleSelectionRect:b3e};function w3e(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 k3e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},x3e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function F3e(e){return F3e="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},F3e(e)}var E3e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function C3e(e){if(-1!==E3e.indexOf(e.type))return k.default.renderToStaticMarkup(e);var t=k.default.renderToStaticMarkup(m.default.cloneElement(e,{},"\r")).split("\r");return Vpe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),Vpe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function S3e(e){return m.default.isValidElement(e)&&m.default.Children.count(e.props.children)>0}function O3e(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(m.default.isValidElement(e)){if(S3e(e))return k.default.renderToStaticMarkup(e);var n=C3e(e);if(null!==t&&"object"===F3e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(Vpe(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 D3e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(m.default.isValidElement(t)){var i=C3e(t);if("string"==typeof i)return 0;var r=i[n].length,o=m.default.Children.toArray(t.props.children)[0];return r+(o&&m.default.isValidElement(o)?e(o,n):0)}return"object"===F3e(t)&&t[n]?t[n].length:0},P3e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},T3e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P3e,i=xNe(e.text),r=n;if(n.__isMiddleware&&(r=n(P3e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(k3e),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=xNe(O3e(u,l)||l),d=D3e(u,"start"),h=D3e(u,"end"),f=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?w3e(t,n.offset,n.length,c.length,d,h):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=f(o),a=f(a),i=[].concat(xNe(i.slice(0,n.offset)),xNe(c),xNe(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},A3e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},L3e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function I3e(e){switch(e){case"BOLD":return m.default.createElement("strong",null);case"ITALIC":return m.default.createElement("em",null);case"UNDERLINE":return m.default.createElement("u",null);case"CODE":return m.default.createElement("code",null);default:return{start:"",end:""}}}var M3e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},j3e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return Vpe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},R3e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},N3e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},z3e=function(e,t){return t.offset+t.length-(e.offset+e.length)},B3e=function(e,t){for(var n=0;n<e.length;){if(!t.every(N3e.bind(null,e[n])))return e.slice(n);n++}return[]},G3e=function(e,t,n){return t+O3e(e(n.style)).start},U3e=function(e,t,n){return O3e(e(n.style)).end+t},q3e=function(e){return function(t){return e(t)}};q3e.__isMiddleware=!0;var W3e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function H3e(e){return Vpe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:m.default.isValidElement(e)?(t=e,m.default.isValidElement(t)&&m.default.Children.count(t.props.children)>0?k.default.renderToStaticMarkup(e):C3e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&m.default.isValidElement(e.element)?Object.assign({},e,C3e(e.element)):(Vpe(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);var t}function Q3e(e,t){if(Vpe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=C3e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(m.default.isValidElement(e.nest)){var o=C3e(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return Vpe(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 V3e=["1","a","i"],Y3e={unstyled:m.default.createElement("p",null),paragraph:m.default.createElement("p",null),"header-one":m.default.createElement("h1",null),"header-two":m.default.createElement("h2",null),"header-three":m.default.createElement("h3",null),"header-four":m.default.createElement("h4",null),"header-five":m.default.createElement("h5",null),"header-six":m.default.createElement("h6",null),blockquote:m.default.createElement("blockquote",null),"unordered-list-item":{element:m.default.createElement("li",null),nest:m.default.createElement("ul",null)},"ordered-list-item":{element:m.default.createElement("li",null),nest:function(e){var t=V3e[e%3];return m.default.createElement("ol",{type:t})}},media:m.default.createElement("figure",null),atomic:m.default.createElement("figure",null)},K3e=function(e,t){return t},$3e=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?K3e:o;return function(e){var t;Vpe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(W3e(Y3e)):L3e(W3e(r),W3e(Y3e));var i=_3e.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+=Q3e(t(d),s).nestEnd,u+=Q3e(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var h=o[o.length-1];l+=Q3e(t(h),s).nestEnd,o=o.slice(0,-1)}else u+=Q3e(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+Q3e(t(n),s).nestEnd}),""),o=[];var f,p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q3e;Vpe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(I3e):L3e(A3e(n),A3e(I3e));for(var i="",r=[],o=e.inlineStyleRanges.sort(k3e),a=xNe(e.text),s=0;s<a.length;s++){var l=R3e(s,o),u=M3e(r,l),c=M3e(l,r),d=M3e(r,u),h=B3e(d,c),f=h.concat(c).sort(z3e),p=f.reduce(G3e.bind(null,t),"");i+=u.concat(h).reduce(U3e.bind(null,t),"")+p+a[s],r=(r=j3e(r,h.concat(u))).concat(f),Vpe(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+O3e(t(n.style)).end}),i)}(T3e(function(e){for(var t=xNe(e.text),n=e.entityRanges.sort(k3e),i=e.inlineStyleRanges.sort(k3e),r="",o=function(e){var o=t[e];if(void 0!==x3e[o]){var a=x3e[o],s=xNe(r).length;r+=a;var l=function(e){return w3e(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),g=H3e(t(e));return f="string"==typeof g?g:g.start+p+g.end,0===p.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(f=m.default.isValidElement(g.empty)?k.default.renderToStaticMarkup(g.empty):g.empty),l+u+f})).join("");return s=o.reduce((function(e,n){return e+Q3e(t(n),n.depth).nestEnd}),s)}},Z3e={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:K(e)}function o(e){return a(e)&&!u(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[h])}function l(e){return!(!e||!e[f])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[p])}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__@@",h="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function F(){}function E(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 C(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function O(){return!0}function D(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function P(e,t){return A(e,t,0)}function T(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 L=0,I=1,M=2,j="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",N=j||R;function z(e){this.next=e}function B(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 G(){return{value:void 0,done:!0}}function U(e){return!!H(e)}function q(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(j&&e[j]||e[R]);if("function"==typeof t)return t}function Q(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function K(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=L,z.VALUES=I,z.ENTRIES=M,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[N]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(K,V),K.of=function(){return K(arguments)},K.prototype.toIndexedSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq [","]")},K.prototype.__iterate=function(e,t){return de(this,e,t,!1)},K.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t($,V),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=$,V.Indexed=K;var Z,X,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():q(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 Q(e)?new te(e):q(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 he(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function fe(e,t){return t?pe(t,e,"",{"":e}):ge(e)}function pe(e,t,n,i){return Array.isArray(t)?e.call(i,n,K(t).map((function(n,i){return pe(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return pe(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?K(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(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,h=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===h}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(X)return X;X=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(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 ke(){throw TypeError("Abstract")}function xe(){}function Fe(){}function Ee(){}V.prototype[ee]=!0,t(te,K),te.prototype.get=function(e,t){return this.has(e)?this._array[S(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 z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),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 z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[p]=!0,t(ie,K),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),i=0;if(q(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=W(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,K),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 z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,K),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 D(e,t,n)?this:new be(this._value,T(t,n)-P(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 z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,K),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return D(e,t,this.size)?this:(e=P(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(xe,ke),t(Fe,ke),t(Ee,ke),ke.Keyed=xe,ke.Indexed=Fe,ke.Set=Ee;var Ce="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 Se(e){return e>>>1&1073741824|3221225471&e}function Oe(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 Se(n)}if("string"===t)return e.length>ze?De(e):Pe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Te(e);if("function"==typeof e.toString)return Pe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function De(e){var t=Ue[e];return void 0===t&&(t=Pe(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Pe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Te(e){var t;if(je&&void 0!==(t=Me.get(e)))return t;if(void 0!==(t=e[Ne]))return t;if(!Le){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ne]))return t;if(void 0!==(t=Ie(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),je)Me.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Le)Object.defineProperty(e,Ne,{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[Ne]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ne]=t}}return t}var Ae=Object.isExtensible,Le=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var Me,je="function"==typeof WeakMap;je&&(Me=new WeakMap);var Re=0,Ne="__immutablehash__";"function"==typeof Symbol&&(Ne=Symbol(Ne));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function We(e){return null==e?rt():He(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ve])}t(We,xe),We.prototype.toString=function(){return this.__toString("Map {","}")},We.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},We.prototype.set=function(e,t){return ot(this,e,t)},We.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},We.prototype.remove=function(e){return ot(this,e,b)},We.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},We.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},We.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},We.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()},We.prototype.merge=function(){return ht(this,void 0,arguments)},We.prototype.mergeWith=function(t){return ht(this,t,e.call(arguments,1))},We.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]}))},We.prototype.mergeDeep=function(){return ht(this,ft,arguments)},We.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ht(this,pt(t),n)},We.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]}))},We.prototype.sort=function(e){return Ut(dn(this,e))},We.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},We.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},We.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},We.prototype.asImmutable=function(){return this.__ensureOwner()},We.prototype.wasAltered=function(){return this.__altered},We.prototype.__iterator=function(e,t){return new et(this,e,t)},We.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},We.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)},We.isMap=He;var Qe,Ve="@@__IMMUTABLE_MAP__@@",Ye=We.prototype;function Ke(e,t){this.ownerID=e,this.entries=t}function $e(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 Xe(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 B(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(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Qe||(Qe=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(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 Ke(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===Xe}function lt(e,t,n,i,r){if(e.keyHash===i)return new Xe(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 $e(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Je(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new F);for(var r=new Je(e,Oe(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 $e(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 ht(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return fe(e)}))),r.push(l)}return gt(e,t,r)}function ft(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function pt(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 gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).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 mt(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}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(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:E(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 _t(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}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,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){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>=wt)return ut(e,l,i,r);var h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Ke(e,f)}},$e.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(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+m,t,n,i)},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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),h=this.nodes,f=c?h[d]:void 0,p=at(f,e,t+m,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=kt)return dt(e,h,u,s,p);if(c&&!p&&2===h.length&&st(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&st(p))return p;var g=e&&e===this.ownerID,v=c?p?u:u^l:u|l,_=c?p?yt(h,d,p,g):_t(h,d,g):bt(h,d,p,g);return g?(this.bitmap=v,this.nodes=_,this):new $e(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=Oe(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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+m,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<xt)return ct(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=yt(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new Ze(e,h,p)},Xe.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},Xe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=Oe(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 h=e&&e===this.ownerID,f=h?l:E(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new Xe(e,this.keyHash,f)},Je.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Je.prototype.update=function(e,t,n,i,r,o,a){var s=r===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,Oe(i),[i,r])))},Ke.prototype.iterate=Xe.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},$e.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,z),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 G()};var wt=v/4,kt=v/2,xt=v/4;function Ft(e){var t=It();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?Lt(0,i,m,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(Ft,Fe),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Nt(this,e+=this._origin);return n&&n.array[e&y]}return t},Ft.prototype.set=function(e,t){return Mt(this,e,t)},Ft.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ft.prototype.insert=function(e,t){return this.splice(e,0,t)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):It()},Ft.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},Ft.prototype.pop=function(){return zt(this,0,-1)},Ft.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){zt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},Ft.prototype.shift=function(){return zt(this,1)},Ft.prototype.merge=function(){return Bt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},Ft.prototype.mergeDeep=function(){return Bt(this,ft,arguments)},Ft.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,pt(t),n)},Ft.prototype.setSize=function(e){return zt(this,0,e)},Ft.prototype.slice=function(e,t){var n=this.size;return D(e,t,n)?this:zt(this,P(e,n),T(t,n))},Ft.prototype.__iterator=function(e,t){var n=0,i=At(this,t);return new z((function(){var t=i();return t===Tt?G():B(e,n++,t)}))},Ft.prototype.__iterate=function(e,t){for(var n,i=0,r=At(this,t);(n=r())!==Tt&&!1!==e(n,i++,this););return i},Ft.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Lt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ft.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=Ft.prototype;function Ot(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Ot.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 Ot([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Rt(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Ot.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-m,n))===o&&r===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Dt,Pt,Tt={};function At(e,t){var n=e._origin,i=e._capacity,r=Gt(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 Tt;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!==Tt)return e;s=null}if(u===c)return Tt;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function Lt(e,t,n,i,r,o,a){var s=Object.create(St);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 It(){return Dt||(Dt=Lt(0,0,m))}function Mt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=jt(i,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):Lt(e._origin,e._capacity,e._level,r,i):e}function jt(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=jt(u,t,n-m,i,r,o);return c===u?e:((a=Rt(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(x(o),a=Rt(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Nt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new F,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 Ot(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),h=Gt(s);h>=1<<l+m;)u=new Ot(u&&u.array.length?[u]:[],i),l+=m;var f=e._tail,p=h<d?Nt(e,s-1):h>d?new Ot([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=Rt(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Rt(g.array[b],i)}g.array[d>>>m&y]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=m,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var _=a>>>l&y;if(_!==h>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):Lt(a,s,l,u,p)}function Bt(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 fe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Ht():qt(e)?e:Ht().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return He(e)&&c(e)}function Wt(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 Ht(){return Pt||(Pt=Wt(rt(),It()))}function Qt(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?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):Wt(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Kt(e){this._iter=e,this.size=e.size}function $t(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=_n,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===M){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===I?L:I,n)},t}function Xt(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(M,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(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=_n,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(M,o),s=0;return new z((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 B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=We().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():We()).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 gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),D(t,n,r))return e;var o=P(t,r),a=T(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=S(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 z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===I?e:B(t,l-1,t===L?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(M,r),s=!0;return new z((function(){if(!s)return G();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===M?e:B(i,l,u,e):(s=!1,G())}))},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(M,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===I?e:B(r,u++,r===L?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===M?e:B(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 z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===M&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},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(I,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?K(o):$(o)}function hn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return fn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return fn(t,e,n)?n:e}))}function fn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function pn(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(I,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),W(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?K:$).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=W(e);if(!t){if(!Q(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(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);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=We(o)},r=i.prototype=Object.create(Fn);return r.constructor=i,i}t(Ut,We),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):Ht()},Ut.prototype.set=function(e,t){return Qt(this,e,t)},Ut.prototype.remove=function(e){return Qt(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?Wt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[p]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Jt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=Xt(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(I,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[p]=!0,t(Yt,K),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Kt,$),Kt.prototype.has=function(e){return this._iter.includes(e)},Kt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Kt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(I,t);return new z((function(){var t=n.next();return t.done?t:B(e,t.value,t.value,t)}))},t($t,Y),$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){mn(t);var i=a(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(I,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Kt.prototype.cacheResult=$t.prototype.cacheResult=_n,t(xn,xe),xn.prototype.toString=function(){return this.__toString(Cn(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=En(this,rt()))},xn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(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:En(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?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var Fn=xn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(On.bind(void 0,e))}catch(e){}}function On(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Dn(e){return null==e?jn():Pn(e)&&!c(e)?e:jn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Pn(e){return!(!e||!e[An])}Fn[g]=Fn.remove,Fn.deleteIn=Fn.removeIn=Ye.removeIn,Fn.merge=Ye.merge,Fn.mergeWith=Ye.mergeWith,Fn.mergeIn=Ye.mergeIn,Fn.mergeDeep=Ye.mergeDeep,Fn.mergeDeepWith=Ye.mergeDeepWith,Fn.mergeDeepIn=Ye.mergeDeepIn,Fn.setIn=Ye.setIn,Fn.update=Ye.update,Fn.updateIn=Ye.updateIn,Fn.withMutations=Ye.withMutations,Fn.asMutable=Ye.asMutable,Fn.asImmutable=Ye.asImmutable,t(Dn,Ee),Dn.of=function(){return this(arguments)},Dn.fromKeys=function(e){return this(i(e).keySeq())},Dn.prototype.toString=function(){return this.__toString("Set {","}")},Dn.prototype.has=function(e){return this._map.has(e)},Dn.prototype.add=function(e){return In(this,this._map.set(e,!0))},Dn.prototype.remove=function(e){return In(this,this._map.remove(e))},Dn.prototype.clear=function(){return In(this,this._map.clear())},Dn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter((function(e){return 0!==e.size}))).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])},Dn.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)}))}))},Dn.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)}))}))},Dn.prototype.merge=function(){return this.union.apply(this,arguments)},Dn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Dn.prototype.sort=function(e){return Rn(dn(this,e))},Dn.prototype.sortBy=function(e,t){return Rn(dn(this,t,e))},Dn.prototype.wasAltered=function(){return this._map.wasAltered()},Dn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Dn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Dn.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)},Dn.isSet=Pn;var Tn,An="@@__IMMUTABLE_SET__@@",Ln=Dn.prototype;function In(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 Mn(e,t){var n=Object.create(Ln);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jn(){return Tn||(Tn=Mn(rt()))}function Rn(e){return null==e?Un():Nn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return Pn(e)&&c(e)}Ln[An]=!0,Ln[g]=Ln.remove,Ln.mergeDeep=Ln.merge,Ln.mergeDeepWith=Ln.mergeWith,Ln.withMutations=Ye.withMutations,Ln.asMutable=Ye.asMutable,Ln.asImmutable=Ye.asImmutable,Ln.__empty=jn,Ln.__make=Mn,t(Rn,Dn),Rn.of=function(){return this(arguments)},Rn.fromKeys=function(e){return this(i(e).keySeq())},Rn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rn.isOrderedSet=Nn;var zn,Bn=Rn.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Ht()))}function qn(e){return null==e?Kn():Wn(e)?e:Kn().unshiftAll(e)}function Wn(e){return!(!e||!e[Qn])}Bn[p]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,Fe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.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):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(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):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.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):Kn()},qn.prototype.slice=function(e,t){if(D(e,t,this.size))return this;var n=P(e,this.size);if(T(t,this.size)!==this.size)return Fe.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):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.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},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Wn;var Hn,Qn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Kn(){return Hn||(Hn=Yn(0))}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Qn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return We(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return Rn(s(this)?this.valueSeq():this)},toSet:function(){return Dn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Kt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return Ft(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 gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){qe(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 gn(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 qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(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(L)},map:function(e,t){return gn(this,Xt(this,e,t))},reduce:function(e,t,n){var i,r;return qe(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 gn(this,Jt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(I)},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 C(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(O)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new $t(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=kn(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 hn(this,e)},maxBy:function(e,t){return hn(this,t,e)},min:function(e){return hn(this,e?ni(e):oi)},minBy:function(e,t){return hn(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 gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(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[N]=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){}}(),$n(i,{flip:function(){return gn(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 gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var Xn=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 E(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;return si(e.__iterate(n?t?function(e,t){i=31*i+li(Oe(e),Oe(t))|0}:function(e,t){i=i+li(Oe(e),Oe(t))|0}:t?function(e){i=31*i+Oe(e)|0}:function(e){i=i+Oe(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Xn[h]=!0,Xn[N]=Zn.entries,Xn.__toJS=Zn.toObject,Xn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},$n(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(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 gn(this,Jt(this,!1))},slice:function(e,t){return gn(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=P(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(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 gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(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=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=pn(this.toSeq(),K.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,pn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,pn(this,e,t))}}),r.prototype[f]=!0,r.prototype[p]=!0,$n(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,$n(Y,i.prototype),$n(K,r.prototype),$n($,o.prototype),$n(xe,i.prototype),$n(Fe,r.prototype),$n(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:We,OrderedMap:Ut,List:Ft,Stack:qn,Set:Dn,OrderedSet:Rn,Record:xn,Range:we,Repeat:be,is:ve,fromJS:fe}}()}(Z3e);var X3e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function J3e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=X3e(e)):t=X3e(e);return t.body}var e4e=" ",t4e=new RegExp("\r","g"),n4e=new RegExp("\n","g"),i4e=new RegExp(" ","g"),r4e=new RegExp("\r","g"),o4e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],a4e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},s4e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},l4e=function(e,t,n){},u4e=function(e,t,n){return n},c4e=function(e,t){},d4e=function(e){return[]},h4e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function f4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Z3e.exports.Map();return!0===n?{text:"\r",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function p4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z3e.exports.Map();return{text:"\r",inlines:[Z3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function g4e(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 m4e(e,t,n){return g4e(e,n)}function v4e(e,t,n){var i=a4e[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 y4e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Z3e.exports.OrderedSet();return v4e(e,t,n)}function b4e(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===e4e||"\n"===t.text)return e;i!==e4e&&"\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 _4e(e,t,n,i,r,o,a,s,l,u,c,d,h,f,p,g){var m=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===m){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:e4e,inlines:[Z3e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(n4e,e4e));var _=Array(b.length).fill(g),w=0;return l(b,c,d,h,f).sort(k3e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),_.splice.bind(_,o,i).apply(_,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:_,blocks:[]}}if("br"===m){var k=i;return null===k?f4e("unstyled",o,!0):f4e(k||"unstyled",o,p.flat)}var x={text:"",inlines:[],entities:[],blocks:[]};t=a(m,e,t=v4e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(o+=1),n=m,i=null);var F,E,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(F=C,E=Z3e.exports.Map()):(F="string"==typeof C?C:C.type,E=C.data?Z3e.exports.Map(C.data):Z3e.exports.Map()),i||-1===r.indexOf(m)&&!F)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===F&&(i=F,v=!0,x=f4e(F,o,!0,E));else{var S=g4e(m,n);x=p4e(S,o),i=S,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else x=p4e(F||g4e(m,n),o,E),i=F||g4e(m,n),v=!0;var O=e.firstChild;null!=O||!g||"atomic"!==F&&"atomic"!==i||(O=document.createTextNode("a")),null!=O&&(m=O.nodeName.toLowerCase());for(var D=null;O;){D=s(m,O,c,d,h,f),x=b4e(x,_4e(O,t,n,i,r,o,a,s,l,u,c,d,h,f,p,D||g),p.flat);var P=O.nextSibling;if(P&&r.indexOf(m)>=0&&i){var T=u(m,O,n,i),A=void 0,L=void 0;!1!==T&&("string"==typeof(T=T||{})?(A=T,L=Z3e.exports.Map()):(A=T.type||g4e(m,n),L=T.data?Z3e.exports.Map(T.data):Z3e.exports.Map()),x=b4e(x,f4e(A,o,p.flat,L),p.flat))}P&&(m=P.nodeName.toLowerCase()),O=P}return v&&(x=b4e(x,p4e(y,o,Z3e.exports.Map()),p.flat)),x}function w4e(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(t4e,"").replace(i4e,e4e));if(!d)return null;var h=function(e){return o4e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?o4e.concat(["div"]):["div"],f=_4e(d,Z3e.exports.OrderedSet(),"ul",null,h,-1,t,n,i,r,o,a,s,l,u);return 0===f.text.indexOf("\r")&&(f={text:f.text.slice(1),inlines:f.inlines.slice(1),entities:f.entities.slice(1),blocks:f.blocks}),"\r"===f.text.slice(-1)&&(f.text=f.text.slice(0,-1),f.inlines=f.inlines.slice(0,-1),f.entities=f.entities.slice(0,-1),f.blocks.pop()),0===f.blocks.length&&f.blocks.push({type:"unstyled",data:Z3e.exports.Map(),depth:0}),f.text.split("\r").length===f.blocks.length+1&&f.blocks.unshift({type:"unstyled",data:Z3e.exports.Map(),depth:0}),f}function k4e(e,t,n,i,r,o,a,s,l,u,c,d){var h=w4e(e,t,n,i,r,o,a,s,l,u,c);if(null==h)return[];var f=0;return h.text.split("\r").map((function(e,t){e=e.replace(r4e,"");var n=f+e.length,i=h4e(h).inlines.slice(f,n),r=h4e(h).entities.slice(f,n),o=Z3e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),_3e.CharacterMetadata.create(n)})));return f=n+1,new _3e.ContentBlock({key:d(),type:h4e(h).blocks[t].type,data:h4e(h).blocks[t].data,depth:h4e(h).blocks[t].depth,text:e,characterList:o})}))}var x4e=function(e){var t=e.htmlToStyle,n=void 0===t?u4e:t,i=e.htmlToEntity,r=void 0===i?c4e:i,o=e.textToEntity,a=void 0===o?d4e:o,s=e.htmlToBlock,l=void 0===s?l4e: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]:J3e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_3e.genKey,s=_3e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():_3e.Entity.create.apply(_3e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):_3e.Entity.get.apply(_3e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):_3e.Entity.mergeData.apply(_3e.Entity,arguments)},h=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):_3e.Entity.replaceData.apply(_3e.Entity,arguments)},f=k4e(e,s4e(n,y4e),s4e(r,c4e),s4e(a,d4e),s4e(l,m4e),u,c,d,h,t,i,o),p=_3e.BlockMapBuilder.createFromArray(f),g=f[0].getKey();return s.merge({blockMap:p,selectionBefore:_3e.SelectionState.createEmpty(g),selectionAfter:_3e.SelectionState.createEmpty(g)})}},F4e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?x4e({}).apply(void 0,arguments):x4e.apply(void 0,arguments)};VQ('/**\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 E4e=32,C4e=31,S4e={};function O4e(e){e&&(e.value=!0)}function D4e(){}function P4e(e){return void 0===e.size&&(e.size=e.__iterate(A4e)),e.size}function T4e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?P4e(e)+t:t}function A4e(){return!0}function L4e(e,t,n){return(0===e&&!R4e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function I4e(e,t){return j4e(e,t,0)}function M4e(e,t){return j4e(e,t,t)}function j4e(e,t,n){return void 0===e?n:R4e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function R4e(e){return e<0||0===e&&1/e==-1/0}var N4e="@@__IMMUTABLE_ITERABLE__@@";function z4e(e){return Boolean(e&&e[N4e])}var B4e="@@__IMMUTABLE_KEYED__@@";function G4e(e){return Boolean(e&&e[B4e])}var U4e="@@__IMMUTABLE_INDEXED__@@";function q4e(e){return Boolean(e&&e[U4e])}function W4e(e){return G4e(e)||q4e(e)}var H4e=function(e){return z4e(e)?e:f6e(e)},Q4e=function(e){function t(e){return G4e(e)?e:p6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e),V4e=function(e){function t(e){return q4e(e)?e:g6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e),Y4e=function(e){function t(e){return z4e(e)&&!W4e(e)?e:m6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(H4e);H4e.Keyed=Q4e,H4e.Indexed=V4e,H4e.Set=Y4e;var K4e="@@__IMMUTABLE_SEQ__@@";function $4e(e){return Boolean(e&&e[K4e])}function Z4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function X4e(e){return z4e(e)||Z4e(e)}var J4e="@@__IMMUTABLE_ORDERED__@@";function e6e(e){return Boolean(e&&e[J4e])}var t6e="function"==typeof Symbol&&Symbol.iterator,n6e="@@iterator",i6e=t6e||n6e,r6e=function(e){this.next=e};function o6e(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 a6e(){return{value:void 0,done:!0}}function s6e(e){return!!c6e(e)}function l6e(e){return e&&"function"==typeof e.next}function u6e(e){var t=c6e(e);return t&&t.call(e)}function c6e(e){var t=e&&(t6e&&e[t6e]||e["@@iterator"]);if("function"==typeof t)return t}r6e.prototype.toString=function(){return"[Iterator]"},r6e.KEYS=0,r6e.VALUES=1,r6e.ENTRIES=2,r6e.prototype.inspect=r6e.prototype.toSource=function(){return this.toString()},r6e.prototype[i6e]=function(){return this};var d6e=Object.prototype.hasOwnProperty;function h6e(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 f6e=function(e){function t(e){return null==e?w6e():X4e(e)?e.toSeq():function(e){var t=F6e(e);if(t)return t;if("object"==typeof e)return new y6e(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 r6e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return o6e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(H4e),p6e=function(e){function t(e){return null==e?w6e().toKeyedSeq():z4e(e)?G4e(e)?e.toSeq():e.fromEntrySeq():Z4e(e)?e.toSeq():k6e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(f6e),g6e=function(e){function t(e){return null==e?w6e():z4e(e)?G4e(e)?e.entrySeq():e.toIndexedSeq():Z4e(e)?e.toSeq().entrySeq():x6e(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}(f6e),m6e=function(e){function t(e){return(z4e(e)&&!W4e(e)?e:g6e(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}(f6e);f6e.isSeq=$4e,f6e.Keyed=p6e,f6e.Set=m6e,f6e.Indexed=g6e,f6e.prototype[K4e]=!0;var v6e=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[T4e(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 r6e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return o6e(e,o,n[o])}))},t}(g6e),y6e=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 d6e.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 r6e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return o6e(e,a,n[a])}))},t}(p6e);y6e.prototype[J4e]=!0;var b6e,_6e=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=u6e(this._collection),i=0;if(l6e(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=u6e(this._collection);if(!l6e(n))return new r6e(a6e);var i=0;return new r6e((function(){var t=n.next();return t.done?t:o6e(e,i++,t.value)}))},t}(g6e);function w6e(){return b6e||(b6e=new v6e([]))}function k6e(e){var t=Array.isArray(e)?new v6e(e):s6e(e)?new _6e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new y6e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function x6e(e){var t=F6e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function F6e(e){return h6e(e)?new v6e(e):s6e(e)?new _6e(e):void 0}var E6e="@@__IMMUTABLE_MAP__@@";function C6e(e){return Boolean(e&&e[E6e])}function S6e(e){return C6e(e)&&e6e(e)}function O6e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function D6e(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!!(O6e(e)&&O6e(t)&&e.equals(t))}var P6e="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 T6e(e){return e>>>1&1073741824|3221225471&e}var A6e=Object.prototype.valueOf;function L6e(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 T6e(t)}(e);case"string":return e.length>G6e?function(e){var t=W6e[e];void 0===t&&(t=I6e(e),q6e===U6e&&(q6e=0,W6e={}),q6e++,W6e[e]=t);return t}(e):I6e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?T6e(e.hashCode(e)):(e.valueOf!==A6e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(N6e&&void 0!==(t=R6e.get(e)))return t;if(void 0!==(t=e[B6e]))return t;if(!j6e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[B6e]))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=++z6e,1073741824&z6e&&(z6e=0);if(N6e)R6e.set(e,t);else{if(void 0!==M6e&&!1===M6e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(j6e)Object.defineProperty(e,B6e,{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[B6e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[B6e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return I6e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function I6e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return T6e(t)}var M6e=Object.isExtensible,j6e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var R6e,N6e="function"==typeof WeakMap;N6e&&(R6e=new WeakMap);var z6e=0,B6e="__immutablehash__";"function"==typeof Symbol&&(B6e=Symbol(B6e));var G6e=16,U6e=255,q6e=0,W6e={},H6e=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=Z6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=$6e(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}(p6e);H6e.prototype[J4e]=!0;var Q6e=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&&P4e(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&&P4e(this),new r6e((function(){var o=i.next();return o.done?o:o6e(e,t?n.size-++r:r++,o.value,o)}))},t}(g6e),V6e=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 r6e((function(){var t=n.next();return t.done?t:o6e(e,t.value,t.value,t)}))},t}(m6e),Y6e=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){l5e(t);var i=z4e(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 r6e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){l5e(i);var r=z4e(i);return o6e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(p6e);function K6e(e){var t=c5e(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=d5e,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 r6e((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 $6e(e,t,n){var i=c5e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,S4e);return o===S4e?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 r6e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return o6e(i,s,t.call(n,a[1],s,e),r)}))},i}function Z6e(e,t){var n=this,i=c5e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=K6e(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=d5e,i.__iterate=function(n,i){var r=this,o=0;return i&&P4e(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&&P4e(e);var a=e.__iterator(2,!r);return new r6e((function(){var e=a.next();if(e.done)return e;var s=e.value;return o6e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function X6e(e,t,n,i){var r=c5e(e);return i&&(r.has=function(i){var r=e.get(i,S4e);return r!==S4e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,S4e);return o!==S4e&&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 r6e((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 o6e(r,i?u:s++,c,o)}}))},r}function J6e(e,t,n,i){var r=e.size;if(L4e(t,n,r))return e;var o=I4e(t,r),a=M4e(n,r);if(o!=o||a!=a)return J6e(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=c5e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&$4e(e)&&s>=0&&(u.get=function(t,n){return(t=T4e(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 r6e(a6e);var r=e.__iterator(t,n),a=0,l=0;return new r6e((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:o6e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function e5e(e,t,n,i){var r=c5e(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 r6e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:o6e(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:o6e(r,o,c,e)}))},r}function t5e(e,t){var n=G4e(e),i=[e].concat(t).map((function(e){return z4e(e)?n&&(e=Q4e(e)):e=n?k6e(e):x6e(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&&G4e(r)||q4e(e)&&q4e(r))return r}var o=new v6e(i);return n?o=o.toKeyedSeq():q4e(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 n5e(e,t,n){var i=c5e(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)&&z4e(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 r6e((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)||!z4e(l))return n?e:o6e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function i5e(e,t,n){t||(t=h5e);var i=G4e(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?p6e(o):q4e(e)?g6e(o):m6e(o)}function r5e(e,t,n){if(t||(t=h5e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return o5e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return o5e(t,e,n)?n:e}))}function o5e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function a5e(e,t,n,i){var r=c5e(e),o=new v6e(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=H4e(e),u6e(r?e.reverse():e)})),a=0,s=!1;return new r6e((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}:o6e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function s5e(e,t){return e===t?e:$4e(e)?t:e.constructor(t)}function l5e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function u5e(e){return G4e(e)?Q4e:q4e(e)?V4e:Y4e}function c5e(e){return Object.create((G4e(e)?p6e:q4e(e)?g6e:m6e).prototype)}function d5e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):f6e.prototype.cacheResult.call(this)}function h5e(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 f5e(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 p5e(e,t){if(!e)throw new Error(t)}function g5e(e){p5e(e!==1/0,"Cannot perform this action with an infinite size.")}function m5e(e){if(h6e(e)&&"string"!=typeof e)return e;if(e6e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function v5e(e){return"object"==typeof e&&(X4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function y5e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function b5e(e,t,n){return X4e(e)?e.get(t,n):function(e,t){return X4e(e)?e.has(t):v5e(e)&&d6e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function _5e(e){if(Array.isArray(e))return f5e(e);var t={};for(var n in e)d6e.call(e,n)&&(t[n]=e[n]);return t}function w5e(e,t,n,i){i||(i=n,n=void 0);var r=k5e(X4e(e),e,m5e(t),0,n,i);return r===S4e?n:r}function k5e(e,t,n,i,r,o){var a=t===S4e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!v5e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(y5e)+"]: "+t);var u=n[i],c=a?S4e:b5e(t,u,S4e),d=k5e(c===S4e?e:X4e(c),c,n,i+1,r,o);return d===c?t:d===S4e?function(e,t){if(!v5e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(X4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!d6e.call(e,t))return e;var n=_5e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!v5e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(X4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(d6e.call(e,t)&&n===e[t])return e;var i=_5e(e);return i[t]=n,i}(a?e?K5e():{}:t,u,d)}function x5e(e,t){return function(e,t,n){return w5e(e,t,S4e,(function(){return n}))}(this,e,t)}function F5e(e){return function(e,t){return w5e(e,t,(function(){return S4e}))}(this,e)}function E5e(e,t,n,i){return w5e(e,[t],n,i)}function C5e(e,t,n){return 1===arguments.length?e(this):E5e(this,e,t,n)}function S5e(e,t,n){return w5e(this,e,t,n)}function O5e(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=Q4e(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){E5e(e,i,S4e,(function(e){return e===S4e?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 D5e(e,t,n){return P5e(e,t,function(e){function t(n,i,r){return v5e(n)&&v5e(i)?P5e(n,[i],t):e?e(n,i,r):i}return t}(n))}function P5e(e,t,n){if(!v5e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(X4e(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?V4e:Q4e,a=i?function(t){r===e&&(r=_5e(r)),r.push(t)}:function(t,i){var o=d6e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=_5e(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function T5e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return w5e(this,e,K5e(),(function(e){return P5e(e,t)}))}function A5e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return w5e(this,e,K5e(),(function(e){return D5e(e,t)}))}function L5e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function I5e(){return this.__ownerID?this:this.__ensureOwner(new D4e)}function M5e(){return this.__ensureOwner()}function j5e(){return this.__altered}Q6e.prototype.cacheResult=H6e.prototype.cacheResult=V6e.prototype.cacheResult=Y6e.prototype.cacheResult=d5e;var R5e=function(e){function t(t){return null==t?K5e():C6e(t)&&!e6e(t)?t:K5e().withMutations((function(n){var i=e(t);g5e(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 K5e().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 $5e(this,e,t)},t.prototype.remove=function(e){return $5e(this,e,S4e)},t.prototype.deleteAll=function(e){var t=H4e(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):K5e()},t.prototype.sort=function(e){return w9e(i5e(this,e))},t.prototype.sortBy=function(e,t){return w9e(i5e(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 H5e(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?Y5e(this.size,this._root,e,this.__hash):0===this.size?K5e():(this.__ownerID=e,this.__altered=!1,this)},t}(Q4e);R5e.isMap=C6e;var N5e=R5e.prototype;N5e[E6e]=!0,N5e.delete=N5e.remove,N5e.removeAll=N5e.deleteAll,N5e.setIn=x5e,N5e.removeIn=N5e.deleteIn=F5e,N5e.update=C5e,N5e.updateIn=S5e,N5e.merge=N5e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return O5e(this,e)},N5e.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 O5e(this,t,e)},N5e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return D5e(this,e)},N5e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return D5e(this,t,e)},N5e.mergeIn=T5e,N5e.mergeDeepIn=A5e,N5e.withMutations=L5e,N5e.wasAltered=j5e,N5e.asImmutable=M5e,N5e["@@transducer/init"]=N5e.asMutable=I5e,N5e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},N5e["@@transducer/result"]=function(e){return e.asImmutable()};var z5e=function(e,t){this.ownerID=e,this.entries=t};z5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(D6e(n,r[o][0]))return r[o][1];return i},z5e.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===S4e,l=this.entries,u=0,c=l.length;u<c&&!D6e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(O4e(a),(s||!d)&&O4e(o),!s||1!==l.length){if(!d&&!s&&l.length>=n9e)return function(e,t,n,i){e||(e=new D4e);for(var r=new q5e(e,L6e(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 h=e&&e===this.ownerID,f=h?l:f5e(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new z5e(e,f)}};var B5e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};B5e.prototype.get=function(e,t,n,i){void 0===t&&(t=L6e(n));var r=1<<((0===e?t:t>>>e)&C4e),o=this.bitmap;return 0==(o&r)?i:this.nodes[e9e(o&r-1)].get(e+5,t,n,i)},B5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=(0===t?n:n>>>t)&C4e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===S4e)return this;var d=e9e(u&l-1),h=this.nodes,f=c?h[d]:void 0,p=Z5e(f,e,t+5,n,i,r,o,a);if(p===f)return this;if(!c&&p&&h.length>=i9e)return function(e,t,n,i,r){for(var o=0,a=new Array(E4e),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new G5e(e,o+1,a)}(e,h,u,s,p);if(c&&!p&&2===h.length&&X5e(h[1^d]))return h[1^d];if(c&&p&&1===h.length&&X5e(p))return p;var g=e&&e===this.ownerID,m=c?p?u:u^l:u|l,v=c?p?t9e(h,d,p,g):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}(h,d,g):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}(h,d,p,g);return g?(this.bitmap=m,this.nodes=v,this):new B5e(e,m,v)};var G5e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};G5e.prototype.get=function(e,t,n,i){void 0===t&&(t=L6e(n));var r=(0===e?t:t>>>e)&C4e,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},G5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=(0===t?n:n>>>t)&C4e,l=r===S4e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=Z5e(c,e,t+5,n,i,r,o,a);if(d===c)return this;var h=this.count;if(c){if(!d&&--h<r9e)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 B5e(e,r,a)}(e,u,h,s)}else h++;var f=e&&e===this.ownerID,p=t9e(u,s,d,f);return f?(this.count=h,this.nodes=p,this):new G5e(e,h,p)};var U5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};U5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(D6e(n,r[o][0]))return r[o][1];return i},U5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=L6e(i));var s=r===S4e;if(n!==this.keyHash)return s?this:(O4e(a),O4e(o),J5e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!D6e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(O4e(a),(s||!d)&&O4e(o),s&&2===c)return new q5e(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,f=h?l:f5e(l);return d?s?u===c-1?f.pop():f[u]=f.pop():f[u]=[i,r]:f.push([i,r]),h?(this.entries=f,this):new U5e(e,this.keyHash,f)};var q5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};q5e.prototype.get=function(e,t,n,i){return D6e(n,this.entry[0])?this.entry[1]:i},q5e.prototype.update=function(e,t,n,i,r,o,a){var s=r===S4e,l=D6e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(O4e(a),s?void O4e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new q5e(e,this.keyHash,[i,r]):(O4e(o),J5e(this,e,t,L6e(i),[i,r])))},z5e.prototype.iterate=U5e.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},B5e.prototype.iterate=G5e.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}},q5e.prototype.iterate=function(e,t){return e(this.entry)};var W5e,H5e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&V5e(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 Q5e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Q5e(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 Q5e(e,o.entry);t=this._stack=V5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(r6e);function Q5e(e,t){return o6e(e,t[0],t[1])}function V5e(e,t){return{node:e,index:0,__prev:t}}function Y5e(e,t,n,i){var r=Object.create(N5e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function K5e(){return W5e||(W5e=Y5e(0))}function $5e(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=Z5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===S4e?-1:1:0)}else{if(n===S4e)return e;r=1,i=new z5e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Y5e(r,i):K5e()}function Z5e(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===S4e?e:(O4e(s),O4e(a),new q5e(t,i,[r,o]))}function X5e(e){return e.constructor===q5e||e.constructor===U5e}function J5e(e,t,n,i,r){if(e.keyHash===i)return new U5e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&C4e,s=(0===n?i:i>>>n)&C4e,l=a===s?[J5e(e,t,n+5,i,r)]:(o=new q5e(t,i,r),a<s?[e,o]:[o,e]);return new B5e(t,1<<a|1<<s,l)}function e9e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function t9e(e,t,n,i){var r=i?e:f5e(e);return r[t]=n,r}var n9e=8,i9e=16,r9e=8,o9e="@@__IMMUTABLE_LIST__@@";function a9e(e){return Boolean(e&&e[o9e])}var s9e=function(e){function t(t){var n=p9e();if(null==t)return n;if(a9e(t))return t;var i=e(t),r=i.size;return 0===r?n:(g5e(r),r>0&&r<E4e?f9e(0,r,5,null,new u9e(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=T4e(this,e))>=0&&e<this.size){var n=v9e(this,e+=this._origin);return n&&n.array[e&C4e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=T4e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?y9e(e,t).set(0,n):y9e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=b9e(e._capacity)?i=g9e(i,e.__ownerID,0,t,n,o):r=g9e(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 f9e(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):p9e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){y9e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return y9e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){y9e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return y9e(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&&s6e(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 y9e(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 L4e(e,t,n)?this:y9e(this,I4e(e,n),M4e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=h9e(this,t);return new r6e((function(){var r=i();return r===d9e?{value:void 0,done:!0}:o6e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=h9e(this,t);(n=r())!==d9e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?f9e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?p9e():(this.__ownerID=e,this.__altered=!1,this)},t}(V4e);s9e.isList=a9e;var l9e=s9e.prototype;l9e[o9e]=!0,l9e.delete=l9e.remove,l9e.merge=l9e.concat,l9e.setIn=x5e,l9e.deleteIn=l9e.removeIn=F5e,l9e.update=C5e,l9e.updateIn=S5e,l9e.mergeIn=T5e,l9e.mergeDeepIn=A5e,l9e.withMutations=L5e,l9e.wasAltered=j5e,l9e.asImmutable=M5e,l9e["@@transducer/init"]=l9e.asMutable=I5e,l9e["@@transducer/step"]=function(e,t){return e.push(t)},l9e["@@transducer/result"]=function(e){return e.asImmutable()};var u9e=function(e,t){this.array=e,this.ownerID=t};u9e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&C4e;if(i>=this.array.length)return new u9e([],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=m9e(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},u9e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&C4e;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=m9e(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var c9e,d9e={};function h9e(e,t){var n=e._origin,i=e._capacity,r=b9e(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>E4e&&(u=E4e);return function(){if(l===u)return d9e;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>E4e&&(c=E4e);return function(){for(;;){if(s){var e=s();if(e!==d9e)return e;s=null}if(u===c)return d9e;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function f9e(e,t,n,i,r,o,a){var s=Object.create(l9e);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 p9e(){return c9e||(c9e=f9e(0,0,5))}function g9e(e,t,n,i,r,o){var a,s=i>>>n&C4e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=g9e(u,t,n-5,i,r,o);return c===u?e:((a=m9e(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&O4e(o),a=m9e(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function m9e(e,t){return t&&e&&t===e.ownerID?e:new u9e(e?e.array.slice():[],t)}function v9e(e,t){if(t>=b9e(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&C4e],i-=5;return n}}function y9e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new D4e,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 u9e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=b9e(o),h=b9e(s);h>=1<<l+5;)u=new u9e(u&&u.array.length?[u]:[],i),l+=5;var f=e._tail,p=h<d?v9e(e,s-1):h>d?new u9e([],i):f;if(f&&h>d&&a<o&&f.array.length){for(var g=u=m9e(u,i),m=l;m>5;m-=5){var v=d>>>m&C4e;g=g.array[v]=m9e(g.array[v],i)}g.array[d>>>5&C4e]=f}if(s<o&&(p=p&&p.removeAfter(i,0,s)),a>=h)a-=h,s-=h,l=5,u=null,p=p&&p.removeBefore(i,0,a);else if(a>r||h<d){for(c=0;u;){var y=a>>>l&C4e;if(y!==h>>>l&C4e)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&h<d&&(u=u.removeAfter(i,l,h-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=p,e.__hash=void 0,e.__altered=!0,e):f9e(a,s,l,u,p)}function b9e(e){return e<E4e?0:e-1>>>5<<5}var _9e,w9e=function(e){function t(e){return null==e?x9e():S6e(e)?e:x9e().withMutations((function(t){var n=Q4e(e);g5e(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):x9e()},t.prototype.set=function(e,t){return F9e(this,e,t)},t.prototype.remove=function(e){return F9e(this,e,S4e)},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?k9e(t,n,e,this.__hash):0===this.size?x9e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(R5e);function k9e(e,t,n,i){var r=Object.create(w9e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function x9e(){return _9e||(_9e=k9e(K5e(),p9e()))}function F9e(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===S4e){if(!l)return e;a.size>=E4e&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).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):k9e(i,r)}w9e.isOrderedMap=S6e,w9e.prototype[J4e]=!0,w9e.prototype.delete=w9e.prototype.remove;var E9e="@@__IMMUTABLE_STACK__@@";function C9e(e){return Boolean(e&&e[E9e])}var S9e=function(e){function t(e){return null==e?T9e():C9e(e)?e:T9e().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=T4e(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):P9e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&C9e(t))return t;g5e(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):P9e(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):T9e()},t.prototype.slice=function(t,n){if(L4e(t,n,this.size))return this;var i=I4e(t,this.size);if(M4e(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):P9e(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?P9e(this.size,this._head,e,this.__hash):0===this.size?T9e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new v6e(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 v6e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new r6e((function(){if(i){var t=i.value;return i=i.next,o6e(e,n++,t)}return{value:void 0,done:!0}}))},t}(V4e);S9e.isStack=C9e;var O9e,D9e=S9e.prototype;function P9e(e,t,n,i){var r=Object.create(D9e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function T9e(){return O9e||(O9e=P9e(0))}D9e[E9e]=!0,D9e.shift=D9e.pop,D9e.unshift=D9e.push,D9e.unshiftAll=D9e.pushAll,D9e.withMutations=L5e,D9e.wasAltered=j5e,D9e.asImmutable=M5e,D9e["@@transducer/init"]=D9e.asMutable=I5e,D9e["@@transducer/step"]=function(e,t){return e.unshift(t)},D9e["@@transducer/result"]=function(e){return e.asImmutable()};var A9e="@@__IMMUTABLE_SET__@@";function L9e(e){return Boolean(e&&e[A9e])}function I9e(e){return L9e(e)&&e6e(e)}function M9e(e,t){if(e===t)return!0;if(!z4e(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||G4e(e)!==G4e(t)||q4e(e)!==q4e(t)||e6e(e)!==e6e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!W4e(e);if(e6e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&D6e(r[1],e)&&(n||D6e(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?!D6e(t,e.get(i,S4e)):!D6e(e.get(i,S4e),t))return a=!1,!1}));return a&&e.size===s}function j9e(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 R9e(e){if(!e||"object"!=typeof e)return e;if(!z4e(e)){if(!v5e(e))return e;e=f6e(e)}if(G4e(e)){var t={};return e.__iterate((function(e,n){t[n]=R9e(e)})),t}var n=[];return e.__iterate((function(e){n.push(R9e(e))})),n}var N9e=function(e){function t(t){return null==t?q9e():L9e(t)&&!e6e(t)?t:q9e().withMutations((function(n){var i=e(t);g5e(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(Q4e(e).keySeq())},t.intersect=function(e){return(e=H4e(e).toArray()).length?B9e.intersect.apply(t(e.pop()),e):q9e()},t.union=function(e){return(e=H4e(e).toArray()).length?B9e.union.apply(t(e.pop()),e):q9e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return G9e(this,this._map.set(e,e))},t.prototype.remove=function(e){return G9e(this,this._map.remove(e))},t.prototype.clear=function(){return G9e(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 0===(t=t.filter((function(e){return 0!==e.size}))).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 o7e(i5e(this,e))},t.prototype.sortBy=function(e,t){return o7e(i5e(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}(Y4e);N9e.isSet=L9e;var z9e,B9e=N9e.prototype;function G9e(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 U9e(e,t){var n=Object.create(B9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function q9e(){return z9e||(z9e=U9e(K5e()))}B9e[A9e]=!0,B9e.delete=B9e.remove,B9e.merge=B9e.concat=B9e.union,B9e.withMutations=L5e,B9e.asImmutable=M5e,B9e["@@transducer/init"]=B9e.asMutable=I5e,B9e["@@transducer/step"]=function(e,t){return e.add(t)},B9e["@@transducer/result"]=function(e){return e.asImmutable()},B9e.__empty=q9e,B9e.__make=U9e;var W9e,H9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(p5e(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(W9e)return W9e;W9e=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+T4e(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 L4e(e,n,this.size)?this:(e=I4e(e,this.size),(n=M4e(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 r6e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,o6e(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:M9e(this,e)},t}(g6e);function Q9e(e,t,n){for(var i=m5e(t),r=0;r!==i.length;)if((e=b5e(e,i[r++],S4e))===S4e)return n;return e}function V9e(){g5e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}H4e.isIterable=z4e,H4e.isKeyed=G4e,H4e.isIndexed=q4e,H4e.isAssociative=W4e,H4e.isOrdered=e6e,H4e.Iterator=r6e,j9e(H4e,{toArray:function(){g5e(this.size);var e=new Array(this.size||0),t=G4e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new Q6e(this)},toJS:function(){return R9e(this)},toKeyedSeq:function(){return new H6e(this,!0)},toMap:function(){return R5e(this.toKeyedSeq())},toObject:V9e,toOrderedMap:function(){return w9e(this.toKeyedSeq())},toOrderedSet:function(){return o7e(G4e(this)?this.valueSeq():this)},toSet:function(){return N9e(G4e(this)?this.valueSeq():this)},toSetSeq:function(){return new V6e(this)},toSeq:function(){return q4e(this)?this.toIndexedSeq():G4e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return S9e(G4e(this)?this.valueSeq():this)},toList:function(){return s9e(G4e(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 s5e(this,t5e(this,e))},includes:function(e){return this.some((function(t){return D6e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){g5e(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 s5e(this,X6e(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 g5e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){g5e(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 s5e(this,$6e(this,e,t))},reduce:function(e,t,n){return Z9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Z9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return s5e(this,Z6e(this,!0))},slice:function(e,t){return s5e(this,J6e(this,e,t,!0))},some:function(e,t){return!this.every(e7e(e),t)},sort:function(e){return s5e(this,i5e(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 P4e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=R5e().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 M9e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new v6e(e._cache);var t=e.toSeq().map(J9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(e7e(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(A4e,null,e)},flatMap:function(e,t){return s5e(this,function(e,t,n){var i=u5e(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 s5e(this,n5e(this,e,!0))},fromEntrySeq:function(){return new Y6e(this)},get:function(e,t){return this.find((function(t,n){return D6e(n,e)}),void 0,t)},getIn:function(e,t){return Q9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=G4e(e),r=(e6e(e)?w9e():R5e()).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=u5e(e);return r.map((function(t){return s5e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,S4e)!==S4e},hasIn:function(e){return function(e,t){return Q9e(e,t,S4e)!==S4e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:H4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:H4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return D6e(t,e)}))},keySeq:function(){return this.toSeq().map(X9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return r5e(this,e)},maxBy:function(e,t){return r5e(this,t,e)},min:function(e){return r5e(this,e?t7e(e):i7e)},minBy:function(e,t){return r5e(this,t?t7e(t):i7e,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 s5e(this,e5e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(e7e(e),t)},sortBy:function(e,t){return s5e(this,i5e(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 s5e(this,function(e,t,n){var i=c5e(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 r6e((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:o6e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(e7e(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=e6e(e),n=G4e(e),i=t?1:0;return function(e,t){return t=P6e(t,3432918353),t=P6e(t<<15|t>>>-15,461845907),t=P6e(t<<13|t>>>-13,5),t=P6e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=T6e((t=P6e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+r7e(L6e(e),L6e(t))|0}:function(e,t){i=i+r7e(L6e(e),L6e(t))|0}:t?function(e){i=31*i+L6e(e)|0}:function(e){i=i+L6e(e)|0}),i)}(this))}});var Y9e=H4e.prototype;Y9e[N4e]=!0,Y9e[i6e]=Y9e.values,Y9e.toJSON=Y9e.toArray,Y9e.__toStringMapper=y5e,Y9e.inspect=Y9e.toSource=function(){return this.toString()},Y9e.chain=Y9e.flatMap,Y9e.contains=Y9e.includes,j9e(Q4e,{flip:function(){return s5e(this,K6e(this))},mapEntries:function(e,t){var n=this,i=0;return s5e(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return s5e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var K9e=Q4e.prototype;K9e[B4e]=!0,K9e[i6e]=Y9e.entries,K9e.toJSON=V9e,K9e.__toStringMapper=function(e,t){return y5e(t)+": "+y5e(e)},j9e(V4e,{toKeyedSeq:function(){return new H6e(this,!1)},filter:function(e,t){return s5e(this,X6e(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 s5e(this,Z6e(this,!1))},slice:function(e,t){return s5e(this,J6e(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=I4e(e,e<0?this.count():this.size);var i=this.slice(0,e);return s5e(this,1===n?i:i.concat(f5e(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 s5e(this,n5e(this,e,!1))},get:function(e,t){return(e=T4e(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=T4e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return s5e(this,function(e,t){var n=c5e(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 r6e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?o6e(n,a++,t):o6e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(f5e(arguments)),t=a5e(this.toSeq(),g6e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),s5e(this,n)},keySeq:function(){return H9e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return s5e(this,e5e(this,e,t,!1))},zip:function(){var e=[this].concat(f5e(arguments));return s5e(this,a5e(this,n7e,e))},zipAll:function(){var e=[this].concat(f5e(arguments));return s5e(this,a5e(this,n7e,e,!0))},zipWith:function(e){var t=f5e(arguments);return t[0]=this,s5e(this,a5e(this,e,t))}});var $9e=V4e.prototype;function Z9e(e,t,n,i,r,o){return g5e(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function X9e(e,t){return t}function J9e(e,t){return[t,e]}function e7e(e){return function(){return!e.apply(this,arguments)}}function t7e(e){return function(){return-e.apply(this,arguments)}}function n7e(){return f5e(arguments)}function i7e(e,t){return e<t?1:e>t?-1:0}function r7e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}$9e[U4e]=!0,$9e[J4e]=!0,j9e(Y4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),Y4e.prototype.has=Y9e.includes,Y4e.prototype.contains=Y4e.prototype.includes,j9e(p6e,Q4e.prototype),j9e(g6e,V4e.prototype),j9e(m6e,Y4e.prototype);var o7e=function(e){function t(e){return null==e?u7e():I9e(e)?e:u7e().withMutations((function(t){var n=Y4e(e);g5e(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(Q4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(N9e);o7e.isOrderedSet=I9e;var a7e,s7e=o7e.prototype;function l7e(e,t){var n=Object.create(s7e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function u7e(){return a7e||(a7e=l7e(x9e()))}s7e[J4e]=!0,s7e.zip=$9e.zip,s7e.zipWith=$9e.zipWith,s7e.__empty=u7e,s7e.__make=l7e;var c7e={exports:{}};
|
|
159
159
|
/*!
|
|
160
160
|
Copyright (c) 2015 Jed Watson.
|
|
161
161
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|