@livetiles/reach-components-react 0.4.0-preview.515 → 0.4.0-preview.516

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 CHANGED
@@ -113,7 +113,7 @@ var xV=function(){return xV=Object.assign||function(e){for(var t,n=1,r=arguments
113
113
  object-assign
114
114
  (c) Sindre Sorhus
115
115
  @license MIT
116
- */function VH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var KH=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=VH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))UH.call(n,a)&&(i[a]=n[a]);if(BH){r=BH(n);for(var s=0;s<r.length;s++)qH.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},HH=function(){};if("production"!==Es.env.NODE_ENV){var WH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",GH={},YH=Function.call.bind(Object.prototype.hasOwnProperty);HH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function QH(e,t,n,r,i){if("production"!==Es.env.NODE_ENV)for(var o in e)if(YH(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,WH)}catch(e){a=e}if(!a||a instanceof Error||HH((r||"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 GH)){GH[a.message]=!0;var u=i?i():"";HH("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}QH.resetWarningCache=function(){"production"!==Es.env.NODE_ENV&&(GH={})};var $H=Se,ZH=KH,JH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",XH=QH,eW=Function.call.bind(Object.prototype.hasOwnProperty),tW=function(){};function nW(){return null}"production"!==Es.env.NODE_ENV&&(tW=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function rW(){}function iW(){}iW.resetWarningCache=rW;if("production"!==Es.env.NODE_ENV){var oW=Se;zH.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(nW),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",JH);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return $H.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(eW(s,c)){var d=e(s,c,r,i,o+"."+c,JH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==Es.env.NODE_ENV&&tW(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."),nW;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==Es.env.NODE_ENV&&tW("Invalid argument supplied to oneOfType, expected an instance of array."),nW;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tW("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),nW}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,JH))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,JH);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=ZH({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,JH);if(p)return p}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"!==Es.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==JH){if(t){var p=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 p.name="Invariant Violation",p}if("production"!==Es.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(tW("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(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=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(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,i.checkPropTypes=XH,i.resetWarningCache=XH.resetWarningCache,i.PropTypes=i,i}(oW.isElement,!0)}else zH.exports=function(){function e(e,t,n,r,i,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:iW,resetWarningCache:rW};return n.PropTypes=n,n}();var aW=zH.exports,sW=!1,uW="production"!==Es.env.NODE_ENV?aW.oneOfType([aW.number,aW.shape({enter:aW.number,exit:aW.number,appear:aW.number}).isRequired]):null;"production"!==Es.env.NODE_ENV&&aW.oneOfType([aW.string,aW.shape({enter:aW.string,exit:aW.string,active:aW.string}),aW.shape({enter:aW.string,enterDone:aW.string,enterActive:aW.string,exit:aW.string,exitDone:aW.string,exitActive:aW.string})]);var cW=o.createContext(null),lW=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}FH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}: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?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[je.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||sW?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:je.findDOMNode(this);t&&!sW?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},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(r){n&&(n=!1,t.nextCallback=null,e(r))},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:je.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[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("unmounted"===e)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 r=RH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return o.createElement(cW.Provider,{value:null},"function"==typeof n?n(e,r):o.cloneElement(o.Children.only(n),r))},t}(o.Component);function dW(){}lW.contextType=cW,lW.propTypes="production"!==Es.env.NODE_ENV?{nodeRef:aW.shape({current:"undefined"==typeof Element?aW.any:function(e,t,n,r,i,o){var a=e[t];return aW.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:aW.oneOfType([aW.func.isRequired,aW.element.isRequired]).isRequired,in:aW.bool,mountOnEnter:aW.bool,unmountOnExit:aW.bool,appear:aW.bool,enter:aW.bool,exit:aW.bool,timeout:function(e){var t=uW;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[e].concat(r))},addEndListener:aW.func,onEnter:aW.func,onEntering:aW.func,onEntered:aW.func,onExit:aW.func,onExiting:aW.func,onExited:aW.func}:{},lW.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:dW,onEntering:dW,onEntered:dW,onExit:dW,onExiting:dW,onExited:dW},lW.UNMOUNTED="unmounted",lW.EXITED="exited",lW.ENTERING="entering",lW.ENTERED="entered",lW.EXITING="exiting";var fW=lW;function pW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){var n=Object.create(null);return e&&h.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&m(e)?t(e):e}(e)})),n}function mW(e,t,n){return null!=n[t]?n[t]:e.props[t]}function gW(e,t,n){var r=hW(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(m(a)){var s=o in t,u=o in r,c=t[o],l=m(c)&&!c.props.in;!u||s&&!l?u||!s||l?u&&s&&m(c)&&(i[o]=g(a,{onExited:n.bind(null,a),in:c.props.in,exit:mW(a,"exit",e),enter:mW(a,"enter",e)})):i[o]=g(a,{in:!1}):i[o]=g(a,{onExited:n.bind(null,a),in:!0,exit:mW(a,"exit",e),enter:mW(a,"enter",e)})}})),i}var vW=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},yW=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(pW(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}FH(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,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,hW(n.children,(function(e){return g(e,{onExited:r.bind(null,e),in:!0,appear:mW(e,"appear",n),enter:mW(e,"enter",n),exit:mW(e,"exit",n)})}))):gW(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=hW(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=jH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=RH(e,["component","childFactory"]),i=this.state.contextValue,a=vW(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(cW.Provider,{value:i},a):o.createElement(cW.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);yW.propTypes="production"!==Es.env.NODE_ENV?{component:aW.any,children:aW.node,appear:aW.bool,enter:aW.bool,exit:aW.bool,childFactory:aW.func}:{},yW.defaultProps={component:"div",childFactory:function(e){return e}};var bW=yW,wW={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},xW={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},_W=0,SW=1,kW=2,CW=3,EW=4,IW=function(){};function OW(e){return"number"==typeof e&&!isNaN(e)&&e>0}function TW(e){return Object.keys(e).map((function(t){return e[t]}))}var NW=!("undefined"==typeof window||!window.document||!window.document.createElement);var DW,AW=((DW=function(e,t,n){var r=e[t];return!1===r||OW(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" 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.");DW(e,t,n)},DW),PW={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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.list.has(e)&&this.list.get(e).forEach((function(n){var i=setTimeout((function(){n.apply(void 0,r)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(i)}))}};function MW(e){var t=e.enter,n=e.exit,r=e.duration,i=void 0===r?750:r,a=e.appendPosition,s=void 0!==a&&a;return function(e){var r,a,u=e.children,c=e.position,l=e.preventExitTransition,d=RH(e,["children","position","preventExitTransition"]),f=s?t+"--"+c:t,p=s?n+"--"+c:n;Array.isArray(i)&&2===i.length?(r=i[0],a=i[1]):r=a=i;return o.createElement(fW,jH({},d,{timeout:l?0:{enter:r,exit:a},onEnter:function(e){e.classList.add(f),e.style.animationFillMode="forwards",e.style.animationDuration=.001*r+"s"},onEntered:function(e){e.classList.remove(f),e.style.cssText=""},onExit:l?IW:function(e){e.classList.add(p),e.style.animationFillMode="forwards",e.style.animationDuration=.001*a+"s"}}),u)}}function jW(e){var t,n,r=e.delay,i=e.isRunning,a=e.closeToast,s=e.type,u=e.hide,c=e.className,l=e.style,d=e.controlledProgress,f=e.progress,p=e.rtl,h=jH({},l,{animationDuration:r+"ms",animationPlayState:i?"running":"paused",opacity:u?0:1,transform:d?"scaleX("+f+")":null}),m=vK("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+s,((t={})["Toastify__progress-bar--rtl"]=p,t),c),g=((n={})[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]=d&&f<1?null:a,n);return o.createElement("div",jH({className:m,style:h},g))}function RW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function LW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}jW.propTypes={delay:AW.isRequired,isRunning:aW.bool.isRequired,closeToast:aW.func.isRequired,rtl:aW.bool.isRequired,type:aW.string,hide:aW.bool,className:aW.oneOfType([aW.string,aW.object]),progress:aW.number,controlledProgress:aW.bool},jW.defaultProps={type:xW.DEFAULT,hide:!1};var FW=NW&&/(msie|trident)/i.test(navigator.userAgent),zW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||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=RW(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=RW(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=LW(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,r=e.bottom,i=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=i&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(FW)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}FH(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,r=n.closeButton,i=n.children,a=n.autoClose,s=n.pauseOnHover,u=n.onClick,c=n.closeOnClick,l=n.type,d=n.hideProgressBar,f=n.closeToast,p=n.transition,h=n.position,m=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,w=n.role,x=n.progress,_=n.rtl,S={className:vK("Toastify__toast","Toastify__toast--"+l,(e={},e["Toastify__toast--rtl"]=_,e),m)};a&&s&&(S.onMouseEnter=this.pauseToast,S.onMouseLeave=this.playToast),c&&(S.onClick=function(e){u&&u(e),t.flag.canCloseOnClick&&f()});var k=parseFloat(x)===x;return o.createElement(p,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:h,preventExitTransition:this.state.preventExitTransition},o.createElement("div",jH({onClick:u},S,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),o.createElement("div",jH({},this.props.in&&{role:w},{className:vK("Toastify__toast-body",g)}),i),r&&r,(a||k)&&o.createElement(jW,jH({},b&&!k?{key:"pb-"+b}:{},{rtl:_,delay:a,isRunning:this.state.isRunning,closeToast:f,hide:d,type:l,style:y,className:v,controlledProgress:k,progress:x}))))},t}(v);function BW(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return o.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"✖︎")}zW.propTypes={closeButton:aW.oneOfType([aW.node,aW.bool]).isRequired,autoClose:AW.isRequired,children:aW.node.isRequired,closeToast:aW.func.isRequired,position:aW.oneOf(TW(wW)).isRequired,pauseOnHover:aW.bool.isRequired,pauseOnFocusLoss:aW.bool.isRequired,closeOnClick:aW.bool.isRequired,transition:aW.func.isRequired,rtl:aW.bool.isRequired,hideProgressBar:aW.bool.isRequired,draggable:aW.bool.isRequired,draggablePercent:aW.number.isRequired,in:aW.bool,onExited:aW.func,onOpen:aW.func,onClose:aW.func,type:aW.oneOf(TW(xW)),className:aW.oneOfType([aW.string,aW.object]),bodyClassName:aW.oneOfType([aW.string,aW.object]),progressClassName:aW.oneOfType([aW.string,aW.object]),progressStyle:aW.object,progress:aW.number,updateId:aW.oneOfType([aW.string,aW.number]),ariaLabel:aW.string,containerId:aW.oneOfType([aW.string,aW.number]),role:aW.string},zW.defaultProps={type:xW.DEFAULT,in:!0,onOpen:IW,onClose:IW,className:null,bodyClassName:null,progressClassName:null,updateId:null},BW.propTypes={closeToast:aW.func,arialLabel:aW.string},BW.defaultProps={ariaLabel:"close"};var UW=MW({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),qW=MW({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});MW({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),MW({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var VW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}FH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;PW.cancelEmit(CW).on(_W,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(SW,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(kW,this)},n.componentWillUnmount=function(){PW.emit(CW,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){PW.emit(EW,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,i=this.props.closeButton;return m(e)||!1===e?i=e:!0===e&&(i=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:o.createElement(BW,null)),!1!==i&&g(i,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||OW(e)?e:this.props.autoClose},n.canBeRendered=function(e){return m(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,i=RH(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 o=i.toastId,a=i.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(i)||this.isToastActive(o)&&null==a)){var s=function(){return n.removeToast(o)},u={id:o,key:i.key||this.toastKey++,type:i.type,closeToast:s,updateId:i.updateId,rtl:this.props.rtl,position:i.position||this.props.position,transition:i.transition||this.props.transition,className:this.parseClassName(i.className||this.props.toastClassName),bodyClassName:this.parseClassName(i.bodyClassName||this.props.bodyClassName),onClick:i.onClick||this.props.onClick,closeButton:this.makeCloseButton(i.closeButton,o,i.type),pauseOnHover:"boolean"==typeof i.pauseOnHover?i.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof i.pauseOnFocusLoss?i.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof i.draggable?i.draggable:this.props.draggable,draggablePercent:"number"!=typeof i.draggablePercent||isNaN(i.draggablePercent)?this.props.draggablePercent:i.draggablePercent,closeOnClick:"boolean"==typeof i.closeOnClick?i.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(i.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(i.autoClose),hideProgressBar:"boolean"==typeof i.hideProgressBar?i.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(i.progress),role:"string"==typeof i.role?i.role:this.props.role};"function"==typeof i.onOpen&&(u.onOpen=i.onOpen),"function"==typeof i.onClose&&(u.onClose=i.onClose),m(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=g(e,{closeToast:s}):"function"==typeof e&&(e=e({closeToast:s})),OW(r)?setTimeout((function(){n.appendToast(u,e,i.staleToastId)}),r):this.appendToast(u,e,i.staleToastId)}},n.appendToast=function(e,t,n){var r,i=e.id,o=e.updateId;this.collection=jH({},this.collection,((r={})[i]={options:e,content:t,position:e.position},r)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[i])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,r=n.className,i=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var r=e.collection[n],i=r.position,a=r.options,s=r.content;t[i]||(t[i]=[]),-1!==e.state.toast.indexOf(a.id)?t[i].push(o.createElement(zW,jH({},a,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+a.key}),s)):(t[i].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var a,s=1===t[n].length&&null===t[n][0],u={className:vK("Toastify__toast-container","Toastify__toast-container--"+n,(a={},a["Toastify__toast-container--rtl"]=e.props.rtl,a),e.parseClassName(r)),style:s?jH({},i,{pointerEvents:"none"}):jH({},i)};return o.createElement(bW,jH({},u,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return o.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(v);VW.propTypes={position:aW.oneOf(TW(wW)),autoClose:AW,closeButton:aW.oneOfType([aW.node,aW.bool]),hideProgressBar:aW.bool,pauseOnHover:aW.bool,closeOnClick:aW.bool,newestOnTop:aW.bool,className:aW.oneOfType([aW.string,aW.object]),style:aW.object,toastClassName:aW.oneOfType([aW.string,aW.object]),bodyClassName:aW.oneOfType([aW.string,aW.object]),progressClassName:aW.oneOfType([aW.string,aW.object]),progressStyle:aW.object,transition:aW.func,rtl:aW.bool,draggable:aW.bool,draggablePercent:aW.number,pauseOnFocusLoss:aW.bool,enableMultiContainer:aW.bool,containerId:aW.oneOfType([aW.string,aW.number]),role:aW.string,onClick:aW.func},VW.defaultProps={position:wW.TOP_RIGHT,transition:UW,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:o.createElement(BW,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 KW=new Map,HW=null,WW=null,GW={},YW=[],QW=!1;function $W(){return KW.size>0}function ZW(e,t){var n=function(e){return $W()?e?KW.get(e):KW.get(HW):null}(t.containerId);if(!n)return null;var r=n.collection[e];return void 0===r?null:r}function JW(e,t){return jH({},e,{type:t,toastId:eG(e)})}function XW(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function eG(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:XW()}function tG(e,t){return $W()?PW.emit(_W,e,t):(YW.push({action:_W,content:e,options:t}),QW&&NW&&(QW=!1,WW=document.createElement("div"),document.body.appendChild(WW),Re(o.createElement(VW,GW),WW))),t.toastId}var nG=function(e,t){return tG(e,JW(t,t&&t.type||xW.DEFAULT))},rG=function(e){xW[e]!==xW.DEFAULT&&(nG[xW[e].toLowerCase()]=function(t,n){return tG(t,JW(n,n&&n.type||xW[e]))})};for(var iG in xW)rG(iG);function oG(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}nG.warn=nG.warning,nG.dismiss=function(e){return void 0===e&&(e=null),$W()&&PW.emit(SW,e)},nG.isActive=function(e){var t=!1;return KW.size>0&&KW.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},nG.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=ZW(e,t);if(n){var r=n.options,i=n.content,o=jH({},r,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=XW();var a=void 0!==o.render?o.render:i;delete o.render,tG(a,o)}}),0)},nG.done=function(e){nG.update(e,{progress:1})},nG.onChange=function(e){"function"==typeof e&&PW.on(EW,e)},nG.configure=function(e){QW=!0,GW=e},nG.POSITION=wW,nG.TYPE=xW,PW.on(kW,(function(e){HW=e.props.containerId||e,KW.set(HW,e),YW.forEach((function(e){PW.emit(e.action,e.content,e.options)})),YW=[]})).on(CW,(function(e){e?KW.delete(e.props.containerId||e):KW.clear(),0===KW.size&&PW.off(_W).off(SW),NW&&WW&&document.body.removeChild(WW)}));oG(".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 aG=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new sG(e,this.selector,this.caught))},e}(),sG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return Pa(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 r=new lH(this,void 0,void 0);this.add(r),gH(this,n,void 0,void 0,r)}},t}(cH);function uG(e,t){return void 0===t&&(t=iH),function(n){return n.lift(new cG(e,t))}}var cG=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new lG(e,this.dueTime,this.scheduler))},e}(),lG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return Pa(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(dG,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}(NK);function dG(e){e.debouncedNext()}var fG=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},e}();function pG(){return new BK}function hG(e,t){return"function"==typeof t?function(n){return n.pipe(hG((function(n,r){return yH(e(n,r)).pipe(aH((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new mG(e))}}var mG=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new gG(e,this.project))},e}(),gG=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return Pa(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 r=this.innerSubscription;r&&r.unsubscribe();var i=new lH(this,void 0,void 0);this.destination.add(i),this.innerSubscription=gH(this,e,t,n,i)},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,r,i){this.destination.next(t)},t}(cH);var vG=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 yG(e,this.nextOrObserver,this.error,this.complete))},e}(),yG=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=PK,o._tapError=PK,o._tapComplete=PK,o._tapError=r||PK,o._tapComplete=i||PK,yK(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||PK,o._tapError=n.error||PK,o._tapComplete=n.complete||PK),o}return Pa(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}(NK),bG=function(e,t){return bG=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])},bG(e,t)};var wG=function(){return wG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wG.apply(this,arguments)};function xG(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function _G(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function SG(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function kG(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function CG(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var EG,IG,OG,TG,NG=Ce(EG||(EG=CG(["\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})),DG=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},AG=function(e){return Ee(IG||(IG=CG(["\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")},PG=Ce(OG||(OG=CG(["\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 .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 .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}),AG(!0),AG()),MG=vK(["browser-version-"+tv,"browser-name-"+ev],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(TG||(TG={}));function jG(){var e=eE();return u((function(){return{getLocalLanguage:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){switch(t.label){case 0:return[4,e.getString("Language")];case 1:return[2,Z_(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Language",t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Locale",t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){return[2,e.getString("Locale")]}))}))}}}),[e])}var RG="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},LG=function(e){return e&&e.Math==Math&&e},FG=LG("object"==typeof globalThis&&globalThis)||LG("object"==typeof window&&window)||LG("object"==typeof self&&self)||LG("object"==typeof RG&&RG)||Function("return this")(),zG={},BG=function(e){try{return!!e()}catch(e){return!0}},UG=!BG((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),qG={},VG={}.propertyIsEnumerable,KG=Object.getOwnPropertyDescriptor,HG=KG&&!VG.call({1:2},1);qG.f=HG?function(e){var t=KG(this,e);return!!t&&t.enumerable}:VG;var WG=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},GG={}.toString,YG=function(e){return GG.call(e).slice(8,-1)},QG=YG,$G="".split,ZG=BG((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==QG(e)?$G.call(e,""):Object(e)}:Object,JG=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},XG=ZG,eY=JG,tY=function(e){return XG(eY(e))},nY=function(e){return"object"==typeof e?null!==e:"function"==typeof e},rY=nY,iY=function(e,t){if(!rY(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!rY(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!rY(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!rY(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},oY={}.hasOwnProperty,aY=function(e,t){return oY.call(e,t)},sY=nY,uY=FG.document,cY=sY(uY)&&sY(uY.createElement),lY=function(e){return cY?uY.createElement(e):{}},dY=lY,fY=!UG&&!BG((function(){return 7!=Object.defineProperty(dY("div"),"a",{get:function(){return 7}}).a})),pY=UG,hY=qG,mY=WG,gY=tY,vY=iY,yY=aY,bY=fY,wY=Object.getOwnPropertyDescriptor;zG.f=pY?wY:function(e,t){if(e=gY(e),t=vY(t,!0),bY)try{return wY(e,t)}catch(e){}if(yY(e,t))return mY(!hY.f.call(e,t),e[t])};var xY={},_Y=nY,SY=function(e){if(!_Y(e))throw TypeError(String(e)+" is not an object");return e},kY=UG,CY=fY,EY=SY,IY=iY,OY=Object.defineProperty;xY.f=kY?OY:function(e,t,n){if(EY(e),t=IY(t,!0),EY(n),CY)try{return OY(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 TY=xY,NY=WG,DY=UG?function(e,t,n){return TY.f(e,t,NY(1,n))}:function(e,t,n){return e[t]=n,e},AY={exports:{}},PY=FG,MY=DY,jY=function(e,t){try{MY(PY,e,t)}catch(n){PY[e]=t}return t},RY=jY,LY=FG["__core-js_shared__"]||RY("__core-js_shared__",{}),FY=LY,zY=Function.toString;"function"!=typeof FY.inspectSource&&(FY.inspectSource=function(e){return zY.call(e)});var BY=FY.inspectSource,UY=BY,qY=FG.WeakMap,VY="function"==typeof qY&&/native code/.test(UY(qY)),KY={exports:{}},HY=LY;(KY.exports=function(e,t){return HY[e]||(HY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var WY,GY,YY,QY=0,$Y=Math.random(),ZY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++QY+$Y).toString(36)},JY=KY.exports,XY=ZY,eQ=JY("keys"),tQ=function(e){return eQ[e]||(eQ[e]=XY(e))},nQ={},rQ=VY,iQ=nY,oQ=DY,aQ=aY,sQ=tQ,uQ=nQ,cQ=FG.WeakMap;if(rQ){var lQ=new cQ,dQ=lQ.get,fQ=lQ.has,pQ=lQ.set;WY=function(e,t){return pQ.call(lQ,e,t),t},GY=function(e){return dQ.call(lQ,e)||{}},YY=function(e){return fQ.call(lQ,e)}}else{var hQ=sQ("state");uQ[hQ]=!0,WY=function(e,t){return oQ(e,hQ,t),t},GY=function(e){return aQ(e,hQ)?e[hQ]:{}},YY=function(e){return aQ(e,hQ)}}var mQ={set:WY,get:GY,has:YY,enforce:function(e){return YY(e)?GY(e):WY(e,{})},getterFor:function(e){return function(t){var n;if(!iQ(t)||(n=GY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},gQ=FG,vQ=DY,yQ=aY,bQ=jY,wQ=BY,xQ=mQ.get,_Q=mQ.enforce,SQ=String(String).split("String");(AY.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||yQ(n,"name")||vQ(n,"name",t),_Q(n).source=SQ.join("string"==typeof t?t:"")),e!==gQ?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:vQ(e,t,n)):o?e[t]=n:bQ(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&xQ(this).source||wQ(this)}));var kQ=FG,CQ=FG,EQ=function(e){return"function"==typeof e?e:void 0},IQ=function(e,t){return arguments.length<2?EQ(kQ[e])||EQ(CQ[e]):kQ[e]&&kQ[e][t]||CQ[e]&&CQ[e][t]},OQ={},TQ=Math.ceil,NQ=Math.floor,DQ=function(e){return isNaN(e=+e)?0:(e>0?NQ:TQ)(e)},AQ=DQ,PQ=Math.min,MQ=function(e){return e>0?PQ(AQ(e),9007199254740991):0},jQ=DQ,RQ=Math.max,LQ=Math.min,FQ=tY,zQ=MQ,BQ=function(e,t){var n=jQ(e);return n<0?RQ(n+t,0):LQ(n,t)},UQ=function(e){return function(t,n,r){var i,o=FQ(t),a=zQ(o.length),s=BQ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},qQ={includes:UQ(!0),indexOf:UQ(!1)},VQ=aY,KQ=tY,HQ=qQ.indexOf,WQ=nQ,GQ=function(e,t){var n,r=KQ(e),i=0,o=[];for(n in r)!VQ(WQ,n)&&VQ(r,n)&&o.push(n);for(;t.length>i;)VQ(r,n=t[i++])&&(~HQ(o,n)||o.push(n));return o},YQ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],QQ=GQ,$Q=YQ.concat("length","prototype");OQ.f=Object.getOwnPropertyNames||function(e){return QQ(e,$Q)};var ZQ={};ZQ.f=Object.getOwnPropertySymbols;var JQ=OQ,XQ=ZQ,e$=SY,t$=IQ("Reflect","ownKeys")||function(e){var t=JQ.f(e$(e)),n=XQ.f;return n?t.concat(n(e)):t},n$=aY,r$=t$,i$=zG,o$=xY,a$=BG,s$=/#|\.prototype\./,u$=function(e,t){var n=l$[c$(e)];return n==f$||n!=d$&&("function"==typeof t?a$(t):!!t)},c$=u$.normalize=function(e){return String(e).replace(s$,".").toLowerCase()},l$=u$.data={},d$=u$.NATIVE="N",f$=u$.POLYFILL="P",p$=u$,h$=FG,m$=zG.f,g$=DY,v$=AY.exports,y$=jY,b$=function(e,t){for(var n=r$(t),r=o$.f,i=i$.f,o=0;o<n.length;o++){var a=n[o];n$(e,a)||r(e,a,i(t,a))}},w$=p$,x$=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,c=e.stat;if(n=u?h$:c?h$[s]||y$(s,{}):(h$[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=m$(n,r))&&a.value:n[r],!w$(u?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;b$(o,i)}(e.sham||i&&i.sham)&&g$(o,"sham",!0),v$(n,r,o,e)}},_$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},S$=JG,k$=function(e){return Object(S$(e))},C$=_$,E$=k$,I$=ZG,O$=MQ,T$=function(e){return function(t,n,r,i){C$(n);var o=E$(t),a=I$(o),s=O$(o.length),u=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(u in a){i=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;e?u>=0:s>u;u+=c)u in a&&(i=n(i,a[u],u,o));return i}},N$={left:T$(!1),right:T$(!0)},D$=BG,A$=function(e,t){var n=[][e];return!!n&&D$((function(){n.call(null,t||function(){throw 1},1)}))},P$=UG,M$=BG,j$=aY,R$=Object.defineProperty,L$={},F$=function(e){throw e},z$=x$,B$=N$.left,U$=function(e,t){if(j$(L$,e))return L$[e];t||(t={});var n=[][e],r=!!j$(t,"ACCESSORS")&&t.ACCESSORS,i=j$(t,0)?t[0]:F$,o=j$(t,1)?t[1]:void 0;return L$[e]=!!n&&!M$((function(){if(r&&!P$)return!0;var e={length:-1};r?R$(e,1,{enumerable:!0,get:F$}):e[1]=1,n.call(e,i,o)}))},q$=A$("reduce"),V$=U$("reduce",{1:0});z$({target:"Array",proto:!0,forced:!q$||!V$},{reduce:function(e){return B$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var K$=FG.Promise,H$=AY.exports,W$=BG,G$=!!Object.getOwnPropertySymbols&&!W$((function(){return!String(Symbol())})),Y$=G$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q$=FG,$$=KY.exports,Z$=aY,J$=ZY,X$=G$,eZ=Y$,tZ=$$("wks"),nZ=Q$.Symbol,rZ=eZ?nZ:nZ&&nZ.withoutSetter||J$,iZ=function(e){return Z$(tZ,e)||(X$&&Z$(nZ,e)?tZ[e]=nZ[e]:tZ[e]=rZ("Symbol."+e)),tZ[e]},oZ=xY.f,aZ=aY,sZ=iZ("toStringTag"),uZ=function(e,t,n){e&&!aZ(e=n?e:e.prototype,sZ)&&oZ(e,sZ,{configurable:!0,value:t})},cZ=IQ,lZ=xY,dZ=UG,fZ=iZ("species"),pZ={exports:{}},hZ={},mZ=hZ,gZ=iZ("iterator"),vZ=Array.prototype,yZ=_$,bZ=function(e,t,n){if(yZ(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,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},wZ={};wZ[iZ("toStringTag")]="z";var xZ="[object z]"===String(wZ),_Z=YG,SZ=iZ("toStringTag"),kZ="Arguments"==_Z(function(){return arguments}()),CZ=xZ?_Z:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),SZ))?n:kZ?_Z(t):"Object"==(r=_Z(t))&&"function"==typeof t.callee?"Arguments":r},EZ=CZ,IZ=hZ,OZ=iZ("iterator"),TZ=SY,NZ=SY,DZ=function(e){return void 0!==e&&(mZ.Array===e||vZ[gZ]===e)},AZ=MQ,PZ=bZ,MZ=function(e){if(null!=e)return e[OZ]||e["@@iterator"]||IZ[EZ(e)]},jZ=function(e,t,n,r){try{return r?t(TZ(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&TZ(i.call(e)),t}},RZ=function(e,t){this.stopped=e,this.result=t},LZ=pZ.exports=function(e,t,n,r,i){var o,a,s,u,c,l,d,f=PZ(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=MZ(e)))throw TypeError("Target is not iterable");if(DZ(a)){for(s=0,u=AZ(e.length);u>s;s++)if((c=r?f(NZ(d=e[s])[0],d[1]):f(e[s]))&&c instanceof RZ)return c;return new RZ(!1)}o=a.call(e)}for(l=o.next;!(d=l.call(o)).done;)if("object"==typeof(c=jZ(o,f,d.value,r))&&c&&c instanceof RZ)return c;return new RZ(!1)};LZ.stop=function(e){return new RZ(!0,e)};var FZ=iZ("iterator"),zZ=!1;try{var BZ=0,UZ={next:function(){return{done:!!BZ++}},return:function(){zZ=!0}};UZ[FZ]=function(){return this},Array.from(UZ,(function(){throw 2}))}catch(e){}var qZ,VZ,KZ,HZ=SY,WZ=_$,GZ=iZ("species"),YZ=function(e,t){var n,r=HZ(e).constructor;return void 0===r||null==(n=HZ(r)[GZ])?t:WZ(n)},QZ=IQ("document","documentElement"),$Z=IQ("navigator","userAgent")||"",ZZ=/(iphone|ipod|ipad).*applewebkit/i.test($Z),JZ=FG,XZ=BG,eJ=YG,tJ=bZ,nJ=QZ,rJ=lY,iJ=ZZ,oJ=JZ.location,aJ=JZ.setImmediate,sJ=JZ.clearImmediate,uJ=JZ.process,cJ=JZ.MessageChannel,lJ=JZ.Dispatch,dJ=0,fJ={},pJ=function(e){if(fJ.hasOwnProperty(e)){var t=fJ[e];delete fJ[e],t()}},hJ=function(e){return function(){pJ(e)}},mJ=function(e){pJ(e.data)},gJ=function(e){JZ.postMessage(e+"",oJ.protocol+"//"+oJ.host)};aJ&&sJ||(aJ=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return fJ[++dJ]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},qZ(dJ),dJ},sJ=function(e){delete fJ[e]},"process"==eJ(uJ)?qZ=function(e){uJ.nextTick(hJ(e))}:lJ&&lJ.now?qZ=function(e){lJ.now(hJ(e))}:cJ&&!iJ?(KZ=(VZ=new cJ).port2,VZ.port1.onmessage=mJ,qZ=tJ(KZ.postMessage,KZ,1)):!JZ.addEventListener||"function"!=typeof postMessage||JZ.importScripts||XZ(gJ)||"file:"===oJ.protocol?qZ="onreadystatechange"in rJ("script")?function(e){nJ.appendChild(rJ("script")).onreadystatechange=function(){nJ.removeChild(this),pJ(e)}}:function(e){setTimeout(hJ(e),0)}:(qZ=gJ,JZ.addEventListener("message",mJ,!1)));var vJ,yJ,bJ,wJ,xJ,_J,SJ,kJ,CJ={set:aJ,clear:sJ},EJ=FG,IJ=zG.f,OJ=YG,TJ=CJ.set,NJ=ZZ,DJ=EJ.MutationObserver||EJ.WebKitMutationObserver,AJ=EJ.process,PJ=EJ.Promise,MJ="process"==OJ(AJ),jJ=IJ(EJ,"queueMicrotask"),RJ=jJ&&jJ.value;RJ||(vJ=function(){var e,t;for(MJ&&(e=AJ.domain)&&e.exit();yJ;){t=yJ.fn,yJ=yJ.next;try{t()}catch(e){throw yJ?wJ():bJ=void 0,e}}bJ=void 0,e&&e.enter()},MJ?wJ=function(){AJ.nextTick(vJ)}:DJ&&!NJ?(xJ=!0,_J=document.createTextNode(""),new DJ(vJ).observe(_J,{characterData:!0}),wJ=function(){_J.data=xJ=!xJ}):PJ&&PJ.resolve?(SJ=PJ.resolve(void 0),kJ=SJ.then,wJ=function(){kJ.call(SJ,vJ)}):wJ=function(){TJ.call(EJ,vJ)});var LJ=RJ||function(e){var t={fn:e,next:void 0};bJ&&(bJ.next=t),yJ||(yJ=t,wJ()),bJ=t},FJ={},zJ=_$,BJ=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=zJ(t),this.reject=zJ(n)};FJ.f=function(e){return new BJ(e)};var UJ,qJ,VJ=SY,KJ=nY,HJ=FJ,WJ=FG,GJ=$Z,YJ=FG.process,QJ=YJ&&YJ.versions,$J=QJ&&QJ.v8;$J?qJ=(UJ=$J.split("."))[0]+UJ[1]:GJ&&(!(UJ=GJ.match(/Edge\/(\d+)/))||UJ[1]>=74)&&(UJ=GJ.match(/Chrome\/(\d+)/))&&(qJ=UJ[1]);var ZJ,JJ,XJ,eX,tX=qJ&&+qJ,nX=x$,rX=FG,iX=IQ,oX=K$,aX=AY.exports,sX=function(e,t,n){for(var r in t)H$(e,r,t[r],n);return e},uX=uZ,cX=function(e){var t=cZ(e),n=lZ.f;dZ&&t&&!t[fZ]&&n(t,fZ,{configurable:!0,get:function(){return this}})},lX=nY,dX=_$,fX=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},pX=YG,hX=BY,mX=pZ.exports,gX=function(e,t){if(!t&&!zZ)return!1;var n=!1;try{var r={};r[FZ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},vX=YZ,yX=CJ.set,bX=LJ,wX=function(e,t){if(VJ(e),KJ(t)&&t.constructor===e)return t;var n=HJ.f(e);return(0,n.resolve)(t),n.promise},xX=function(e,t){var n=WJ.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},_X=FJ,SX=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},kX=mQ,CX=p$,EX=tX,IX=iZ("species"),OX=kX.get,TX=kX.set,NX=kX.getterFor("Promise"),DX=oX,AX=rX.TypeError,PX=rX.document,MX=rX.process,jX=iX("fetch"),RX=_X.f,LX=RX,FX="process"==pX(MX),zX=!!(PX&&PX.createEvent&&rX.dispatchEvent),BX=CX("Promise",(function(){if(!(hX(DX)!==String(DX))){if(66===EX)return!0;if(!FX&&"function"!=typeof PromiseRejectionEvent)return!0}if(EX>=51&&/native code/.test(DX))return!1;var e=DX.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[IX]=t,!(e.then((function(){}))instanceof t)})),UX=BX||!gX((function(e){DX.all(e).catch((function(){}))})),qX=function(e){var t;return!(!lX(e)||"function"!=typeof(t=e.then))&&t},VX=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;bX((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,u,c,l=r[a++],d=o?l.ok:l.fail,f=l.resolve,p=l.reject,h=l.domain;try{d?(o||(2===t.rejection&&GX(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===l.promise?p(AX("Promise-chain cycle")):(u=qX(s))?u.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&HX(e,t)}))}},KX=function(e,t,n){var r,i;zX?((r=PX.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),rX.dispatchEvent(r)):r={promise:t,reason:n},(i=rX["on"+e])?i(r):"unhandledrejection"===e&&xX("Unhandled promise rejection",n)},HX=function(e,t){yX.call(rX,(function(){var n,r=t.value;if(WX(t)&&(n=SX((function(){FX?MX.emit("unhandledRejection",r,e):KX("unhandledrejection",e,r)})),t.rejection=FX||WX(t)?2:1,n.error))throw n.value}))},WX=function(e){return 1!==e.rejection&&!e.parent},GX=function(e,t){yX.call(rX,(function(){FX?MX.emit("rejectionHandled",e):KX("rejectionhandled",e,t.value)}))},YX=function(e,t,n,r){return function(i){e(t,n,i,r)}},QX=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,VX(e,t,!0))},$X=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw AX("Promise can't be resolved itself");var i=qX(n);i?bX((function(){var r={done:!1};try{i.call(n,YX($X,e,r,t),YX(QX,e,r,t))}catch(n){QX(e,r,n,t)}})):(t.value=n,t.state=1,VX(e,t,!1))}catch(n){QX(e,{done:!1},n,t)}}};function ZX(e){switch(null==e?void 0:e.toLowerCase()){case"da":return import("./da.async.esm.esm.js");case"de":return import("./de.async.esm.esm.js");case"fr":return import("./fr.async.esm.esm.js");case"es":return import("./es.async.esm.esm.js");case"zh-tw":return import("./zh-TW.async.esm.esm.js");case"zh-cn":return import("./zh-CN.async.esm.esm.js");case"ja":return import("./ja.async.esm.esm.js");case"tr":return import("./tr.async.esm.esm.js");case"it":return import("./it.async.esm.esm.js");default:return import("./en.async.esm.esm.js")}}function JX(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return import("./ar-dz.async.esm.esm.js");case"ar-kw":return import("./ar-kw.async.esm.esm.js");case"ar-ly":return import("./ar-ly.async.esm.esm.js");case"ar-ma":return import("./ar-ma.async.esm.esm.js");case"ar-sa":return import("./ar-sa.async.esm.esm.js");case"ar-tn":return import("./ar-tn.async.esm.esm.js");case"ar":return import("./ar.async.esm.esm.js");case"bg":return import("./bg.async.esm.esm.js");case"bn":return import("./bn.async.esm.esm.js");case"ca":return import("./ca.async.esm.esm.js");case"cs":return import("./cs.async.esm.esm.js");case"da":return import("./da.async.esm2.esm.js");case"de-at":return import("./de-at.async.esm.esm.js");case"de-ch":return import("./de-ch.async.esm.esm.js");case"de":return import("./de.async.esm2.esm.js");case"el":return import("./el.async.esm.esm.js");case"en-au":return import("./en-au.async.esm.esm.js");case"en-ca":return import("./en-ca.async.esm.esm.js");case"en-gb":return import("./en-gb.async.esm.esm.js");case"en-ie":return import("./en-ie.async.esm.esm.js");case"en-il":return import("./en-il.async.esm.esm.js");case"en-nz":return import("./en-nz.async.esm.esm.js");case"en-sg":return import("./en-sg.async.esm.esm.js");case"es-do":return import("./es-do.async.esm.esm.js");case"es-us":return import("./es-us.async.esm.esm.js");case"es":return import("./es.async.esm2.esm.js");case"et":return import("./et.async.esm.esm.js");case"fa":return import("./fa.async.esm.esm.js");case"fi":return import("./fi.async.esm.esm.js");case"fr-ca":return import("./fr-ca.async.esm.esm.js");case"fr-ch":return import("./fr-ch.async.esm.esm.js");case"fr":return import("./fr.async.esm2.esm.js");case"gu":return import("./gu.async.esm.esm.js");case"he":return import("./he.async.esm.esm.js");case"hi":return import("./hi.async.esm.esm.js");case"hr":return import("./hr.async.esm.esm.js");case"hu":return import("./hu.async.esm.esm.js");case"id":return import("./id.async.esm.esm.js");case"it-ch":return import("./it-ch.async.esm.esm.js");case"it":return import("./it.async.esm2.esm.js");case"ja":return import("./ja.async.esm2.esm.js");case"kn":return import("./kn.async.esm.esm.js");case"ko":return import("./ko.async.esm.esm.js");case"lt":return import("./lt.async.esm.esm.js");case"lv":return import("./lv.async.esm.esm.js");case"ml":return import("./ml.async.esm.esm.js");case"mr":return import("./mr.async.esm.esm.js");case"ms-my":return import("./ms-my.async.esm.esm.js");case"ms":return import("./ms.async.esm.esm.js");case"nb":return import("./nb.async.esm.esm.js");case"nl-be":return import("./nl-be.async.esm.esm.js");case"nl":return import("./nl.async.esm.esm.js");case"pl":return import("./pl.async.esm.esm.js");case"pt-br":return import("./pt-br.async.esm.esm.js");case"pt":return import("./pt.async.esm.esm.js");case"ro":return import("./ro.async.esm.esm.js");case"ru":return import("./ru.async.esm.esm.js");case"sk":return import("./sk.async.esm.esm.js");case"sl":return import("./sl.async.esm.esm.js");case"sr-cyrl":return import("./sr-cyrl.async.esm.esm.js");case"sr":return import("./sr.async.esm.esm.js");case"sv":return import("./sv.async.esm.esm.js");case"sw":return import("./sw.async.esm.esm.js");case"ta":return import("./ta.async.esm.esm.js");case"te":return import("./te.async.esm.esm.js");case"th":return import("./th.async.esm.esm.js");case"tr":return import("./tr.async.esm2.esm.js");case"uk":return import("./uk.async.esm.esm.js");case"vi":return import("./vi.async.esm.esm.js");case"zh-cn":return import("./zh-cn.async.esm2.esm.js");case"zh-hk":return import("./zh-hk.async.esm.esm.js");case"zh-tw":return import("./zh-tw.async.esm2.esm.js");default:return Promise.resolve()}}BX&&(DX=function(e){fX(this,DX,"Promise"),dX(e),ZJ.call(this);var t=OX(this);try{e(YX($X,this,t),YX(QX,this,t))}catch(e){QX(this,t,e)}},(ZJ=function(e){TX(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=sX(DX.prototype,{then:function(e,t){var n=NX(this),r=RX(vX(this,DX));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=FX?MX.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&VX(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),JJ=function(){var e=new ZJ,t=OX(e);this.promise=e,this.resolve=YX($X,e,t),this.reject=YX(QX,e,t)},_X.f=RX=function(e){return e===DX||e===XJ?new JJ(e):LX(e)},"function"==typeof oX&&(eX=oX.prototype.then,aX(oX.prototype,"then",(function(e,t){var n=this;return new DX((function(e,t){eX.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof jX&&nX({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return wX(DX,jX.apply(rX,arguments))}}))),nX({global:!0,wrap:!0,forced:BX},{Promise:DX}),uX(DX,"Promise",!1),cX("Promise"),XJ=iX("Promise"),nX({target:"Promise",stat:!0,forced:BX},{reject:function(e){var t=RX(this);return t.reject.call(void 0,e),t.promise}}),nX({target:"Promise",stat:!0,forced:BX},{resolve:function(e){return wX(this,e)}}),nX({target:"Promise",stat:!0,forced:UX},{all:function(e){var t=this,n=RX(t),r=n.resolve,i=n.reject,o=SX((function(){var n=dX(t.resolve),o=[],a=0,s=1;mX(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=RX(t),r=n.reject,i=SX((function(){var i=dX(t.resolve);mX(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var XX=function(t){var n,r=t.children,i=t.language,o=d(null),a=o[0],s=o[1],u=jG(),c=u.getLocalLanguage,f=u.getLocaleFromLocalStorage;return l((function(){(function(){return _G(this,void 0,void 0,(function(){var e,t,n;return SG(this,(function(r){switch(r.label){case 0:return[4,f()];case 1:return e=r.sent(),t=p,null==i?[3,2]:(n=i,[3,4]);case 2:return[4,c()];case 3:n=r.sent(),r.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return r.sent(),[2]}}))}))})().then((function(){return null}),$g.error)}),[]),(null===(n=null==a?void 0:a.resources)||void 0===n?void 0:n[a.language])?e(aE.Provider,wG({value:{language:a.language,changeLocale:function(e){return function(e,t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e0(e||t)];case 1:return n.sent(),s((function(t){return wG(wG({},t),{locale:e})})),[2]}}))}))}(e,a.language)},changeLanguage:function(e){return _G(this,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return[4,h(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),a.locale?[3,3]:[4,e0(e)];case 2:n.sent(),n.label=3;case 3:return s((function(n){return wG(wG({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:p,addResources:function(e){s((function(t){var n=Object.keys(e).reduce((function(n,r){var i;return(i={})[r]=wG(wG(wG({},n),t.resources[r]),e[r]),i}),{});return wG(wG({},t),{resources:wG(wG({},t.resources),n)})}))}}},{children:e(LC,wG({locale:a.locale||a.language,messages:a.resources[a.language]},{children:e(oE,{children:r},void 0)}),void 0)}),void 0):null;function p(e,t){return _G(this,void 0,void 0,(function(){var n;return SG(this,(function(r){switch(r.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==a?void 0:a.language)===e&&(null==a?void 0:a.locale)===t?[2]:[4,h(e)];case 1:return n=r.sent(),[4,e0(t||e)];case 2:return r.sent(),s({language:e,locale:t,resources:n}),[2]}}))}))}function h(e){return _G(this,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,m(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),$g.error(t),[2,null];case 3:return[2]}}))}))}function m(e){var t;return _G(this,void 0,void 0,(function(){var n,r,i;return SG(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==a?void 0:a.resources)||void 0===t?void 0:t[e])return[2,a.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,r=[e],[4,ZX(e)];case 2:return[2,n.apply(void 0,r.concat([o.sent().default]))];case 3:return i=o.sent(),$g.error(i),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,r,i,o=window.__localeResourcesInterceptor||{};return wG(wG(wG({},null!==(i=null==a?void 0:a.resources)&&void 0!==i?i:{}),((n={})[e]=t,n)),o[e]&&((r={})[e]=o[e],r))}};function e0(e){return _G(this,void 0,void 0,(function(){var t;return SG(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,JX(e)];case 2:return n.sent(),pu.locale(e),[3,4];case 3:return t=n.sent(),$g.error(t),[3,4];case 4:return[2]}}))}))}var t0,n0,r0,i0,o0,a0,s0,u0,c0,l0,d0,f0,p0,h0=["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","userLocationLookup"],m0=function(){},g0=s(null);function v0(){return a(g0)}function y0(){var e=a(g0);return null==e?void 0:e.user}function b0(){var e=y0();return function(e){var t,n=new m0;if(!e)return n;for(var r=0;r<h0.length;r++){var i=h0[r];e.featureMask?n[i]="1"===e.featureMask[r]:n[i]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[i])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(t0||(t0={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(n0||(n0={})),function(e){e.large="large",e.small="small"}(r0||(r0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(i0||(i0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(o0||(o0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(a0||(a0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(s0||(s0={})),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"}(u0||(u0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(c0||(c0={})),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"}(l0||(l0={})),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"}(d0||(d0={})),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"}(f0||(f0={})),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"}(p0||(p0={}));var w0=nY,x0=YG,_0=iZ("match"),S0=function(e){var t;return w0(e)&&(void 0!==(t=e[_0])?!!t:"RegExp"==x0(e))},k0=S0,C0=function(e){if(k0(e))throw TypeError("The method doesn't accept regular expressions");return e},E0=iZ("match"),I0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[E0]=!1,"/./"[e](t)}catch(e){}}return!1},O0=C0,T0=JG;x$({target:"String",proto:!0,forced:!I0("includes")},{includes:function(e){return!!~String(T0(this)).indexOf(O0(e),arguments.length>1?arguments[1]:void 0)}});var N0=x$,D0=zG.f,A0=MQ,P0=C0,M0=JG,j0=I0,R0="".endsWith,L0=Math.min,F0=j0("endsWith"),z0=!F0&&!!function(){var e=D0(String.prototype,"endsWith");return e&&!e.writable}();function B0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length)return!1;return r.some((function(t){return t.role.roleValue>=e}))}(e,t,i))}function U0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length||n&&n.length!==r.length)return!1;return r.every((function(t){return t.role.roleValue>=e}))}(e,t,i))}function q0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function V0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}N0({target:"String",proto:!0,forced:!z0&&!F0},{endsWith:function(e){var t=String(M0(this));P0(e);var n=arguments.length>1?arguments[1]:void 0,r=A0(t.length),i=void 0===n?r:L0(A0(n),r),o=String(e);return R0?R0.call(t,o,i):t.slice(i-o.length,i)===o}});var K0,H0,W0={},G0={};function Y0(){var e=IV();return u((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,r){return t({search:r,type:t0.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){G0[t]||(G0[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(G0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return G0[t]},getUserInfoById:function(t){G0[t]||(G0[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(G0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return G0[t]},getUserAvatarUrl:function(t,n){W0[t]||(W0[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+zg.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 yH(W0[t])},clearUserInfoCache:function(e){G0[e]&&delete G0[e]},clearUserAvatarCache:function(e){W0[e]&&delete W0[e]}};function t(t){var n=zg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function Q0(){var e=IV(),t=EV(),n=a(SS).onRequestToken;return u((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return _G(this,void 0,void 0,(function(){var n,o;return SG(this,(function(a){switch(a.label){case 0:return e?[4,r(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,i(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>=u0.Admin,isEditor:n||t>=u0.Editor,isAuthor:n||t>=u0.Author,isReader:n||t>=u0.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,r){return _G(this,void 0,void 0,(function(){var i,o,a;return SG(this,(function(s){switch(s.label){case 0:return(i=new FormData).append("file",r,r.name||"image."+OH.getExtension(r.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:i,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function r(e,n){return _G(this,void 0,void 0,(function(){var r;return SG(this,(function(i){switch(i.label){case 0:return[4,t.fetchFromApi("/users/current?"+zg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(r=i.sent()).status?null:r.json()]}}))}))}function i(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){return[2,e.custom("users/current?"+zg.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 $0(){var e=IV(),t=jG(),n=t.saveLanguageToLocalStorage,r=t.saveLocaleToLocalStorage;return u((function(){return{updateNotificationTypeSettings:function(t){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},r=function(e){Object.keys(n).every((function(t){return t!==e}))&&delete t[e]},i=0,o=Object.keys(t||{});i<o.length;i++){var a=o[i];r(a)}return e.custom("users/current/notification_settings/types").put(t).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(t,n,r){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:t,followPublicPublishableItemComments:i,followEditorPublishableItemComments:o,followAllPublishableItemComments:function(e,t){i(e,t),o(e,t)},followPublishableItemComments:a,resolveSegment:s,getFollowCommentSegment:u,toggleBookmark:function(t,n){null==n.bookmarks&&(n.bookmarks=[]);var r=n.bookmarks.findIndex((function(e){return e===t}));if(r<0)return e.one("users","current").all("bookmarks").put(t,null).then((function(){return n.bookmarks.push(t),!0}));return e.one("users","current").all("bookmarks").delete(t).then((function(){return n.bookmarks.splice(r,1),!1}))},getUserProperties:function(){return e.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(t){return e.custom("users/current/channels").put(t)},addContact:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts").post(t)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts/"+t.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return e.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/ui_language/"+t).put(null)];case 1:return r.sent(),[4,n(t)];case 2:return r.sent(),[2]}}))}))},setContentLanguage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/content_language/"+t).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/locale/"+t).put(null)];case 1:return n.sent(),[4,r(t)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(t,n){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).put(n).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},clearMyUnreadItems:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/"+t+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(t){return e.custom("users/current/terms_and_conditions/"+t).patch({})}};function t(t,n,r,i){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).put({enabled:i})}function i(e,t){a(e,t,H0.Public)}function o(e,t){a(e,t,H0.Editor)}function a(e,n,r){t(e,n,r,!0).then((function(){return null}),(function(e){return $g.error(e)}))}function s(e,t){switch(t){case H0.Editor:return"editor_comments";case H0.Public:return u(e)+"_comments";case H0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function u(e){switch(e){case K0.News:return"news";case K0.Pages:return"page";case K0.Events:return"event";default:throw Error("Invalid type")}}}),[e,n,r])}!function(e){e.News="news",e.Pages="pages",e.Posts="posts",e.Events="events",e.Comments="comments"}(K0||(K0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(H0||(H0={}));var Z0,J0=GQ,X0=YQ,e1=Object.keys||function(e){return J0(e,X0)},t1=xY,n1=SY,r1=e1,i1=UG?Object.defineProperties:function(e,t){n1(e);for(var n,r=r1(t),i=r.length,o=0;i>o;)t1.f(e,n=r[o++],t[n]);return e},o1=SY,a1=i1,s1=YQ,u1=nQ,c1=QZ,l1=lY,d1=tQ("IE_PROTO"),f1=function(){},p1=function(e){return"<script>"+e+"<\/script>"},h1=function(){try{Z0=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h1=Z0?function(e){e.write(p1("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Z0):((t=l1("iframe")).style.display="none",c1.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p1("document.F=Object")),e.close(),e.F);for(var n=s1.length;n--;)delete h1.prototype[s1[n]];return h1()};u1[d1]=!0;var m1=Object.create||function(e,t){var n;return null!==e?(f1.prototype=o1(e),n=new f1,f1.prototype=null,n[d1]=e):n=h1(),void 0===t?n:a1(n,t)},g1=m1,v1=xY,y1=iZ("unscopables"),b1=Array.prototype;null==b1[y1]&&v1.f(b1,y1,{configurable:!0,value:g1(null)});var w1,x1,_1,S1=function(e){b1[y1][e]=!0},k1=!BG((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),C1=aY,E1=k$,I1=k1,O1=tQ("IE_PROTO"),T1=Object.prototype,N1=I1?Object.getPrototypeOf:function(e){return e=E1(e),C1(e,O1)?e[O1]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?T1:null},D1=N1,A1=DY,P1=aY,M1=iZ("iterator"),j1=!1;[].keys&&("next"in(_1=[].keys())?(x1=D1(D1(_1)))!==Object.prototype&&(w1=x1):j1=!0),null==w1&&(w1={}),P1(w1,M1)||A1(w1,M1,(function(){return this}));var R1={IteratorPrototype:w1,BUGGY_SAFARI_ITERATORS:j1},L1=R1.IteratorPrototype,F1=m1,z1=WG,B1=uZ,U1=hZ,q1=function(){return this},V1=nY,K1=SY,H1=function(e){if(!V1(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},W1=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,r){return K1(n),H1(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),G1=x$,Y1=function(e,t,n){var r=t+" Iterator";return e.prototype=F1(L1,{next:z1(1,n)}),B1(e,r,!1),U1[r]=q1,e},Q1=N1,$1=W1,Z1=uZ,J1=DY,X1=AY.exports,e2=hZ,t2=R1.IteratorPrototype,n2=R1.BUGGY_SAFARI_ITERATORS,r2=iZ("iterator"),i2=function(){return this},o2=tY,a2=S1,s2=hZ,u2=mQ,c2=function(e,t,n,r,i,o,a){Y1(n,t,r);var s,u,c,l=function(e){if(e===i&&m)return m;if(!n2&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[r2]||p["@@iterator"]||i&&p[i],m=!n2&&h||l(i),g="Array"==t&&p.entries||h;if(g&&(s=Q1(g.call(new e)),t2!==Object.prototype&&s.next&&(Q1(s)!==t2&&($1?$1(s,t2):"function"!=typeof s[r2]&&J1(s,r2,i2)),Z1(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[r2]!==m&&J1(p,r2,m),e2[t]=m,i)if(u={values:l("values"),keys:o?m:l("keys"),entries:l("entries")},a)for(c in u)(n2||f||!(c in p))&&X1(p,c,u[c]);else G1({target:t,proto:!0,forced:n2||f},u);return u},l2=u2.set,d2=u2.getterFor("Array Iterator"),f2=c2(Array,"Array",(function(e,t){l2(this,{type:"Array Iterator",target:o2(e),index:0,kind:t})}),(function(){var e=d2(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");s2.Arguments=s2.Array,a2("keys"),a2("values"),a2("entries");var p2=FG,h2={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},m2=f2,g2=DY,v2=iZ,y2=v2("iterator"),b2=v2("toStringTag"),w2=m2.values;for(var x2 in h2){var _2=p2[x2],S2=_2&&_2.prototype;if(S2){if(S2[y2]!==w2)try{g2(S2,y2,w2)}catch(e){S2[y2]=w2}if(S2[b2]||g2(S2,b2,x2),h2[x2])for(var k2 in m2)if(S2[k2]!==m2[k2])try{g2(S2,k2,m2[k2])}catch(e){S2[k2]=m2[k2]}}}var C2=s(null);function E2(){var e=a(C2);return null!=e?e.refresh:function(){return null}}var I2,O2=function(t){var n=t.children,r=v0().refreshUser,i=Dj(),o=f((function(){var e,t;return _G(this,void 0,void 0,(function(){var n,o;return SG(this,(function(a){switch(a.label){case 0:return[4,i.query({query:T2,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(o=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return wG(wG({},e),function(e){var t,n,r,i,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!==(r=null==e?void 0:e.unreadNews)&&void 0!==r?r:[],unreadEvents:null!==(i=null==e?void 0:e.unreadEvents)&&void 0!==i?i:[],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}}(wG({bookmarks:o.bookmarkIds,availableSubscriptions:o.subscriptions},o)))}))];case 2:return[2,a.sent()];case 3:return(null==o||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&$g.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[i]),a=u((function(){return{refresh:o}}),[o]);return l((function(){o().then(null,$g.error)}),[o]),e(C2.Provider,wG({value:a},{children:n}),void 0)},T2=wj(I2||(I2=CG(["\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"]))),N2=x$,D2=zG.f,A2=MQ,P2=C0,M2=JG,j2=I0,R2="".startsWith,L2=Math.min,F2=j2("startsWith"),z2=!F2&&!!function(){var e=D2(String.prototype,"startsWith");return e&&!e.writable}();function B2(){var e=a(tE).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 U2(){var e=Eg().webAppUrl,t=V2();return t?"https://"+t:e}function q2(){var e=Eg().webAppUrls,t=V2();return t?kG(kG([],e),["https://"+t]):e}function V2(){var e,t=y0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}N2({target:"String",proto:!0,forced:!z2&&!F2},{startsWith:function(e){var t=String(M2(this));P2(e);var n=A2(L2(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return R2?R2.call(t,r,n):t.slice(n,n+r.length)===r}});var K2=["rm"],H2=["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 W2(e){return e.preferredContentLanguage||e.preferredUiLanguage||$_()||e.subscription&&e.subscription.defaultLanguage||"en"}function G2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return wG(wG({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}var Y2=s(null);var Q2=window.System;function $2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==r){var i=document.createElement("script");i.type="systemjs-importmap",i.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var u=s[a].name;o.imports[u]="app:"+u}i.textContent=JSON.stringify(o,null,2),document.head.appendChild(i);for(var c=0,l=t;c<l.length;c++){var d=l[c],f=d.name,p=d.packageDefinition;Q2.set("app:"+f,p)}}}var Z2=function(){return null};var J2=SY,X2=function(){var e=J2(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},e3={},t3=BG;function n3(e,t){return RegExp(e,t)}e3.UNSUPPORTED_Y=t3((function(){var e=n3("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),e3.BROKEN_CARET=t3((function(){var e=n3("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var r3=X2,i3=e3,o3=RegExp.prototype.exec,a3=String.prototype.replace,s3=o3,u3=function(){var e=/a/,t=/b*/g;return o3.call(e,"a"),o3.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),c3=i3.UNSUPPORTED_Y||i3.BROKEN_CARET,l3=void 0!==/()??/.exec("")[1];(u3||l3||c3)&&(s3=function(e){var t,n,r,i,o=this,a=c3&&o.sticky,s=r3.call(o),u=o.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),n=new RegExp("^(?:"+u+")",s)),l3&&(n=new RegExp("^"+u+"$(?!\\s)",s)),u3&&(t=o.lastIndex),r=o3.call(a?n:o,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:u3&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),l3&&r&&r.length>1&&a3.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var d3=s3;x$({target:"RegExp",proto:!0,forced:/./.exec!==d3},{exec:d3});var f3=AY.exports,p3=BG,h3=iZ,m3=d3,g3=DY,v3=h3("species"),y3=!p3((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),b3="$0"==="a".replace(/./,"$0"),w3=h3("replace"),x3=!!/./[w3]&&""===/./[w3]("a","$0"),_3=!p3((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]})),S3=function(e,t,n,r){var i=h3(e),o=!p3((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!p3((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[v3]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!y3||!b3||x3)||"split"===e&&!_3){var s=/./[i],u=n(i,""[e],(function(e,t,n,r,i){return t.exec===m3?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:b3,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x3}),c=u[0],l=u[1];f3(String.prototype,e,c),f3(RegExp.prototype,i,2==t?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}r&&g3(RegExp.prototype[i],"sham",!0)},k3=DQ,C3=JG,E3=function(e){return function(t,n){var r,i,o=String(C3(t)),a=k3(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},I3={codeAt:E3(!1),charAt:E3(!0)}.charAt,O3=function(e,t,n){return t+(n?I3(e,t).length:1)},T3=YG,N3=d3,D3=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==T3(e))throw TypeError("RegExp#exec called on incompatible receiver");return N3.call(e,t)},A3=S3,P3=SY,M3=k$,j3=MQ,R3=DQ,L3=JG,F3=O3,z3=D3,B3=Math.max,U3=Math.min,q3=Math.floor,V3=/\$([$&'`]|\d\d?|<[^>]*>)/g,K3=/\$([$&'`]|\d\d?)/g;function H3(){return a(Y2).storage}function W3(e,t){var n="Plugins::"+e+"::";return{getAllKeys:r,getString:function(e){return t.getString(n+e)},setString:function(e,r){return t.setString(n+e,r)},remove:function(e){return t.remove(n+e)},clearAll:function(){return _G(this,void 0,void 0,(function(){var e,i,o,a;return SG(this,(function(s){switch(s.label){case 0:return[4,r()];case 1:e=s.sent(),i=0,o=e,s.label=2;case 2:return i<o.length?(a=o[i],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2]}}))}))}};function r(){var e;return _G(this,void 0,void 0,(function(){var r;return SG(this,(function(i){switch(i.label){case 0:return[4,t.getAllKeys()];case 1:return r=i.sent(),[2,null!==(e=null==r?void 0:r.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function G3(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function Y3(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,r){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function Q3(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,r){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}A3("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=L3(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var u=n(t,e,this,r);if(u.done)return u.value}var c=P3(e),l=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=z3(c,l);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=F3(l,j3(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=B3(U3(R3(m.index),l.length),0),_=[],S=1;S<m.length;S++)_.push(void 0===(g=m[S])?g:String(g));var k=m.groups;if(d){var C=[w].concat(_,x,l);void 0!==k&&C.push(k);var E=String(r.apply(void 0,C))}else E=s(w,l,x,_,k,r);x>=y&&(v+=l.slice(y,x)+E,y=x+w.length)}return v+l.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,u=i.length,c=K3;return void 0!==o&&(o=M3(o),c=V3),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>u){var d=q3(l/10);return 0===d?t:d<=u?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}));var $3=function(t){var n=t.pluginId,r=t.componentName,i=t.settings,o=t.bundleUrl,s=t.bundleModificationDate,c=xG(t,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),l=eE(),d=IV(),f=function(){var e=IV(),t=y0(),n=EV(),r=n.createApiUrl,i=n.fetchFromApi,o=a(SS).onRequestToken;return u((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 _G(this,void 0,void 0,(function(){return SG(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 _G(this,void 0,void 0,(function(){var r,a,s;return SG(this,(function(u){switch(u.label){case 0:return(r=new FormData).append("file",n),[4,o()];case 1:return a=u.sent(),s={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":t.subscription.id}},[2,i("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,r){return _G(this,void 0,void 0,(function(){return SG(this,(function(i){switch(i.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:r}).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},linkPlugin:function(t,n){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.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,r.sent()]}}))}))},unlinkPlugin:function(t){return _G(this,void 0,void 0,(function(){return SG(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,i,o,t.subscription.id])}().getPluginFileUrl,p=u((function(){return y((function(){return function(e,t){return _G(this,void 0,void 0,(function(){var n;return SG(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,Q2.import(e)];case 1:return[2,{default:r.sent()[t]}];case 2:return n=r.sent(),$g.error(n),[2,{default:Z2}];case 3:return[2]}}))}))}(f(n,o,s),r)}))}),[r,n,f,o,s]),h=u((function(){return{settings:i,storage:W3(n,l),userStore:Y3(n,d),subscriptionStore:Q3(n,d)}}),[n,i,l,d]);return e(b,wG({fallback:e("div",{},void 0)},{children:e(Y2.Provider,wG({value:h},{children:e(p,wG({name:r},c),void 0)}),void 0)}),void 0)},Z3=YG,J3=Array.isArray||function(e){return"Array"==Z3(e)},X3=J3,e4=MQ,t4=bZ,n4=function(e,t,n,r,i,o,a,s){for(var u,c=i,l=0,d=!!a&&t4(a,s,3);l<r;){if(l in n){if(u=d?d(n[l],l,t):n[l],o>0&&X3(u))c=n4(e,t,u,e4(u.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=u}c++}l++}return c},r4=n4,i4=nY,o4=J3,a4=iZ("species"),s4=r4,u4=k$,c4=MQ,l4=_$,d4=function(e,t){var n;return o4(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o4(n.prototype)?i4(n)&&null===(n=n[a4])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};x$({target:"Array",proto:!0},{flatMap:function(e){var t,n=u4(this),r=c4(n.length);return l4(e),(t=d4(n,0)).length=s4(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),S1("flatMap");var f4,p4,h4=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},m4=SY,g4=JG,v4=h4,y4=D3;function b4(){var e=y0(),t=function(){var e=function(){var e=ve(),t=zg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));w4.some((function(e){return e.pluginId===n.pluginId}))||(w4.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(w4)))}return w4}(),t=vS(n,[],[null==e?void 0:e.length])[0];return null!=x4?x4:t;function n(){return _G(this,void 0,void 0,(function(){var t,n,r,i,o,a;return SG(this,(function(s){switch(s.label){case 0:if(x4)return[2,x4];t=[],n=0,r=e,s.label=1;case 1:return n<r.length?(i=r[n],o="http://localhost:"+i.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,x4=t]}}))}))}}();return kG(kG([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}S3("search",1,(function(e,t,n){return[function(t){var n=g4(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=m4(e),o=String(this),a=i.lastIndex;v4(a,0)||(i.lastIndex=0);var s=y4(i,o);return v4(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(p4||(p4={}));var w4=null!==(f4=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==f4?f4:[];var x4=null;var _4=UG,S4=BG,k4=e1,C4=ZQ,E4=qG,I4=k$,O4=ZG,T4=Object.assign,N4=Object.defineProperty,D4=!T4||S4((function(){if(_4&&1!==T4({b:1},T4(N4({},"a",{enumerable:!0,get:function(){N4(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=T4({},e)[n]||k4(T4({},t)).join("")!=r}))?function(e,t){for(var n=I4(e),r=arguments.length,i=1,o=C4.f,a=E4.f;r>i;)for(var s,u=O4(arguments[i++]),c=o?k4(u).concat(o(u)):k4(u),l=c.length,d=0;l>d;)s=c[d++],_4&&!a.call(u,s)||(n[s]=u[s]);return n}:T4,A4=D4;x$({target:"Object",stat:!0,forced:Object.assign!==A4},{assign:A4});var P4=YG,M4=DQ,j4=JG,R4="".repeat||function(e){var t=String(j4(this)),n="",r=M4(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},L4=x$,F4=DQ,z4=function(e){if("number"!=typeof e&&"Number"!=P4(e))throw TypeError("Incorrect invocation");return+e},B4=R4,U4=BG,q4=1..toFixed,V4=Math.floor,K4=function(e,t,n){return 0===t?n:t%2==1?K4(e,t-1,n*e):K4(e*e,t/2,n)};L4({target:"Number",proto:!0,forced:q4&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!U4((function(){q4.call({})}))},{toFixed:function(e){var t,n,r,i,o=z4(this),a=F4(e),s=[0,0,0,0,0,0],u="",c="0",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=V4(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=V4(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+B4.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&&(u="-",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*K4(2,69,1))-69,n=t<0?o*K4(2,-t,1):o/K4(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=a;r>=7;)l(1e7,0),r-=7;for(l(K4(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),c=f()}else l(0,n),l(1<<-t,0),c=f()+B4.call("0",a);return c=a>0?u+((i=c.length)<=a?"0."+B4.call("0",a-i)+c:c.slice(0,i-a)+"."+c.slice(i-a)):u+c}});var H4={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},W4={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"}},G4=SY,Y4=MQ,Q4=JG,$4=O3,Z4=D3;S3("match",1,(function(e,t,n){return[function(t){var n=Q4(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=G4(e),o=String(this);if(!i.global)return Z4(i,o);var a=i.unicode;i.lastIndex=0;for(var s,u=[],c=0;null!==(s=Z4(i,o));){var l=String(s[0]);u[c]=l,""===l&&(i.lastIndex=$4(o,Y4(i.lastIndex),a)),c++}return 0===c?null:u}]}));var J4=JG,X4="[\t\n\v\f\r                 \u2028\u2029\ufeff]",e5=RegExp("^"+X4+X4+"*"),t5=RegExp(X4+X4+"*$"),n5=function(e){return function(t){var n=String(J4(t));return 1&e&&(n=n.replace(e5,"")),2&e&&(n=n.replace(t5,"")),n}},r5={start:n5(1),end:n5(2),trim:n5(3)},i5=r5.trim,o5=FG.parseInt,a5=/^[+-]?0[Xx]/,s5=8!==o5("\t\n\v\f\r                 \u2028\u2029\ufeff08")||22!==o5("\t\n\v\f\r                 \u2028\u2029\ufeff0x16")?function(e,t){var n=i5(String(e));return o5(n,t>>>0||(a5.test(n)?16:10))}:o5;x$({global:!0,forced:parseInt!=s5},{parseInt:s5});var u5=S3,c5=S0,l5=SY,d5=JG,f5=YZ,p5=O3,h5=MQ,m5=D3,g5=d3,v5=BG,y5=[].push,b5=Math.min,w5=!v5((function(){return!RegExp(4294967295,"y")}));u5("split",2,(function(e,t,n){var r;return r="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 r=String(d5(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!c5(e))return t.call(r,e,i);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=new RegExp(e.source,c+"g");(o=g5.call(d,r))&&!((a=d.lastIndex)>l&&(u.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&y5.apply(u,o.slice(1)),s=o[0].length,l=a,u.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return l===r.length?!s&&d.test("")||u.push(""):u.push(r.slice(l)),u.length>i?u.slice(0,i):u}:"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 i=d5(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=l5(e),s=String(this),u=f5(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(w5?"y":"g"),d=new u(w5?a:"^(?:"+a.source+")",l),f=void 0===i?4294967295:i>>>0;if(0===f)return[];if(0===s.length)return null===m5(d,s)?[s]:[];for(var p=0,h=0,m=[];h<s.length;){d.lastIndex=w5?h:0;var g,v=m5(d,w5?s:s.slice(h));if(null===v||(g=b5(h5(d.lastIndex+(w5?0:h)),s.length))===p)h=p5(s,h,c);else{if(m.push(s.slice(p,h)),m.length===f)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===f)return m;h=p=g}}return m.push(s.slice(p)),m}]}),!w5);var x5=BG,_5="\t\n\v\f\r                 \u2028\u2029\ufeff",S5=r5.trim,k5=function(e){return x5((function(){return!!_5[e]()||"​…᠎"!="​…᠎"[e]()||_5[e].name!==e}))};x$({target:"String",proto:!0,forced:k5("trim")},{trim:function(){return S5(this)}});var C5=AY.exports,E5=SY,I5=BG,O5=X2,T5=RegExp.prototype,N5=T5.toString,D5=I5((function(){return"/a/b"!=N5.call({source:"a",flags:"b"})})),A5="toString"!=N5.name;(D5||A5)&&C5(RegExp.prototype,"toString",(function(){var e=E5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in T5)?O5.call(e):n)}),{unsafe:!0});var P5=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}(),M5=null,j5=wG({name:"Default"},H4),R5=W4.palette.neutralLighter,L5=[j5,{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 F5(e,t){var n=z5(e.primaryColor),r=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,i=e.useHighlightColorOnWhiteBackground?B5(r):B5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:B5(n),textColorOnSecondary:B5(e.secondaryColor),accentColor:r,textColorOnAccent:i},a=wG({},W4),s=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new P5(e.accentColor).toHex(),r=new P5(e.accentColor).lighten(-.3).toHex(),i=new P5(e.accentColor).lighten(.5).toHex(),o=z5(e.primaryColor),a=B5(r);return t.palette.themeDarker=new P5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new P5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new P5(e.primaryColor).toHex(),t.palette.themeLight=new P5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new P5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new P5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new P5("#B90000").toHex(),t.palette.redDark=new P5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new P5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new P5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=r,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=r,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=r,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=r,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=i,t.palette.themeSecondary=new P5(e.secondaryColor).toHex(),t.palette.themeTertiary=new P5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new P5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new P5(e.textColorOnSecondary).toHex(),t.textColors.default=new P5("#333333").toHex(),t.textColors.onAccent=new P5(e.textColorOnAccent).toHex(),t}(o);for(var u in s)s.hasOwnProperty(u)&&Object.assign(a[u],s[u]);return t||I(a),function(e){var t=[],n=".lt-reach";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];"textColors"!==r&&(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+";}")}}M5||((M5=document.createElement("style")).type="text/css",M5.id="condense-ui-fabric-overrides",document.head.appendChild(M5));M5.innerHTML=t.join(" ")}(a),a}function z5(e){return new P5(e).lighten(-.2).toHex()}function B5(e){return function(e){var t=MH(e,"#333333"),n=MH(e,"#ffffff");return t>n}(e)?"#333333":"#ffffff"}var U5,q5,V5,K5,H5,W5,G5,Y5,Q5,$5,Z5,J5,X5,e6,t6=s(null),n6=function(t){var n=t.disableUiFabricThemeOverwrite,r=t.children,i=d((function(){return F5(L5.find((function(e){return"Default"===e.name})),n)})),o=i[0],a=i[1];return e(t6.Provider,wG({value:{theme:o,setTheme:function(e){return a(F5(e,n))}}},{children:e(Ie,wG({theme:o},{children:r}),void 0)}),void 0)};function r6(e){switch(e){case X5.YouTube:return J5.YouTube;case X5.Vimeo:return J5.Vimeo;case X5.MicrosoftStream:return J5.MicrosoftStream;case X5.GenericUrl:return J5.GenericUrl;case X5.Kaltura:return J5.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"}(U5||(U5={})),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"}(q5||(q5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(V5||(V5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(K5||(K5={})),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"}(H5||(H5={})),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"}(W5||(W5={})),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"}(G5||(G5={})),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"}(Y5||(Y5={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(Q5||(Q5={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}($5||($5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(Z5||(Z5={})),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"}(J5||(J5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(X5||(X5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(e6||(e6={}));var i6=function(e){function t(t,n){var r=e.call(this)||this;return r.actualSizeInMb=t,r.maxSizeInMb=n,r}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}bG(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function o6(e){if(e.size>1e6*undefined.maxFileSizeInMb){var t=new i6(e.size/1e6,undefined.maxFileSizeInMb);throw n=t,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),$g.error(n,r),(void 0).trackException({exception:n})),t}var n,r,i=new FormData;return i.append("file",e),i}function a6(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 s6(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function u6(e,t,n,r,i,o){var a=r||i;if(null==e)return a;var s=e.find((function(e){return e.name===i}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!r)return c6(t,s.translations,a,o);var u=s&&s.keywords.find((function(e){return e.name===r}));return u?c6(t,u.translations,a,o):a}function c6(e,t,n,r){return null==t&&(t={}),r||(r=W2(e)),r&&t[r]||t[e.subscription.defaultLanguage]||n}var l6={small:550,medium:768,large:1024,xLarge:1350,xxLarge:1640,xxxLarge:1919},d6=549,f6=767,p6=1023,h6=1349,m6=s(null),g6=s(null);function v6(){return a(m6)}var y6,b6,w6,x6,_6,S6,k6=function(t){var r=t.children,i=d(!1),o=i[0],a=i[1],s=d({}),c=s[0],l=s[1],f=u((function(){return{showErrorText:m,showInfo:h,showError:g,showWarning:v,showSuccess:y,hideNotification:b,showToast:w,showToastWarning:x,dismissToast:_}}),[l,a]),p=u((function(){return wG(wG({},c),{isNotificationBarVisible:o})}),[c,o]);return e(m6.Provider,wG({value:f},{children:e(g6.Provider,wG({value:p},{children:r}),void 0)}),void 0);function h(e,t){l({messageId:e,messageValues:t,messageBarType:E.info,actions:null,className:"ms-messageBar--info"}),a(!0)}function m(e){l({text:e,messageBarType:E.error,actions:null}),a(!0)}function g(e,t){l({messageId:e,messageValues:t,messageBarType:E.error,actions:null}),a(!0)}function v(e,t){l({messageId:e,messageValues:t,messageBarType:E.warning,actions:null}),a(!0)}function y(e,t,n,r){l({messageId:e,messageValues:t,messageBarType:E.success,className:n,actions:r}),a(!0)}function b(){a(!1)}function w(t,r,i,o){var a=e(GC,{id:t,values:r},void 0);return null==i?nG(a,o):nG(n(C6,{children:[e(E6,{children:a},void 0),e(I6,{children:i},void 0)]},void 0),wG({},o))}function x(e,t,n){var r={autoClose:!1,type:"warning"};return n&&(r.onClose=n),w(e,t,null,r)}function _(e){nG.dismiss(e)}},C6=ke.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(y6||(y6=CG(["\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"])),l6.small),E6=ke.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(b6||(b6=CG(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),I6=ke.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(w6||(w6=CG(["\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"])),l6.small),O6=function(){var r=me(),i=a(NT).hideChrome;return l((function(){var e=r.listen((function(){return nG.dismiss()}));return function(){return e()}}),[r]),n(t,{children:[e(T6,{chromeless:i},void 0),e(VW,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:qW,closeButton:!1},void 0)]},void 0)},T6=Ce(S6||(S6=CG(["\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&&Ee(x6||(x6=CG(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&Ee(_6||(_6=CG(["\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 "])),d6)}));function N6(){var e=IV();return u((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(SK(n))return SH(n,null);if(kK(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return SH(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return SH(e=1===e.length&&SK(e[0])?e[0]:e,null).pipe(aH((function(e){return i.apply(void 0,e)})))}return SH(e,null)}(n(),t()).pipe(aH((function(e){var t=e[0],n=e[1],r={};return t.forEach((function(e){r[e.id]=n.filter((function(t){return t.groupId===e.id}))})),r}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return _G(this,void 0,void 0,(function(){return SG(this,(function(r){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 _G(this,void 0,void 0,(function(){return SG(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 D6,A6=s(null),P6=function(t){var n=t.children,r=function(){var e=IV();return u((function(){return{getChannels:function(){return _G(this,void 0,void 0,(function(){return SG(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=""),_G(this,void 0,void 0,(function(){return SG(this,(function(r){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,i=N6(),o=i.getAllKeywords,a=i.getSelectedGroups;return e(M6,wG({getChannels:r,getAllKeywords:o,getSelectedGroups:a},{children:n}),void 0)},M6=function(t){var n=t.getChannels,r=t.getAllKeywords,i=t.getSelectedGroups,o=t.children,s=b0(),c=a(tE).identifier,l=a(ZC),d=l.handleFatalError,p=l.handleAccessDeniedError,h=f((function(){var e,t;return _G(this,void 0,void 0,(function(){var r,i,o,a,s,u,c;return SG(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),D6=new Promise((function(e){return r=e})),[4,Promise.all([n(),S(),k()])];case 1:return i=l.sent(),o=i[0],a=i[1],s=i[2],u=s.reduce((function(e,t){var n;return wG(wG({},e),((n={})[t.id]=a.filter((function(e){return e.groupId===t.id})),n))}),{}),r(o),[2,{channels:o,allKeywords:a,keywordsByGroupId:u,selectedKeywordGroups:s}];case 2:return c=l.sent(),$g.error(JSON.stringify(c)),403===(null===(e=null==c?void 0:c.response)||void 0===e?void 0:e.statusCode)?p({error:null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.data}):d({error:c}),[2,{}];case 3:return[2]}}))}))}),[n,r,i]),m=vS(h,{},[c.id,n,r]),g=m[0],v=g.channels,y=g.allKeywords,b=g.keywordsByGroupId,w=g.selectedKeywordGroups,x=m[3],_=u((function(){return{channels:v,getChannels:function(){return D6},allKeywords:y,keywordsByGroupId:b,selectedKeywordGroups:w,refreshSubscription:function(){return _G(void 0,void 0,void 0,(function(){var e;return SG(this,(function(t){switch(t.label){case 0:return[4,h()];case 1:return e=t.sent(),x(e),[2]}}))}))}}}),[v,y,b,w,x,h]);return e(A6.Provider,wG({value:_},{children:o}),void 0);function S(){return _G(this,void 0,void 0,(function(){var e;return SG(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(),$g.error(e),[2,[]];case 4:return[2]}}))}))}function k(){return _G(this,void 0,void 0,(function(){var e;return SG(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,i()];case 2:return[2,t.sent()];case 3:return e=t.sent(),$g.error(e),[2,[]];case 4:return[2]}}))}))}};var j6={};function R6(e){var t;(null==e?void 0:e.type)&&(null===(t=j6[e.type])||void 0===t||t.some((function(t){return t(e)})))}function L6(e,t,n){l((function(){if(e)return j6[e]||(j6[e]=[]),j6[e].push(t),function(){j6[e]=j6[e].filter((function(e){return e!==t}))}}),kG([e],n||[]))}var F6=x$,z6=_$,B6=k$,U6=BG,q6=A$,V6=[],K6=V6.sort,H6=U6((function(){V6.sort(void 0)})),W6=U6((function(){V6.sort(null)})),G6=q6("sort");F6({target:"Array",proto:!0,forced:H6||!W6||!G6},{sort:function(e){return void 0===e?K6.call(B6(this)):K6.call(B6(this),z6(e))}});var Y6=J3,Q6=[].reverse,$6=[1,2];x$({target:"Array",proto:!0,forced:String($6)===String($6.reverse())},{reverse:function(){return Y6(this)&&(this.length=this.length),Q6.call(this)}});var Z6,J6,X6,e7=[],t7=function(e,t){e7.some((function(t){return t.handler===e}))||e7.push({handler:e,priority:t||0})},n7=function(e){e7=e7.filter((function(t){return t.handler!==e}))};!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Z6||(Z6={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(J6||(J6={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(X6||(X6={})),(new BK).pipe(uG(100),(function(e){return qK()((t=pG,function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new fG(r,n));var i=Object.create(e,WK);return i.source=e,i.subjectFactory=r,i})(e));var t,n}));oG("/*! 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");oG('/*! 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 r7,i7={exports:{}},o7=i7.exports=function(){var e=function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[i](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){i.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){i.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(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var r=e.length;r--;)if(e[r][n]===t)return r;return-1},extend:function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){if(n&&e.hasOwnProperty(r))continue;e[r]=t[r]}},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(i.features)return i.features;var e=i.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 r=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=r.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(r)}for(var u,c,l=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],f=0;f<4;f++){t=d[f];for(var p=0;p<3;p++)u=l[p],c=t+(t?u.charAt(0).toUpperCase()+u.slice(1):u),!n[u]&&c in e&&(n[u]=c);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 h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),r=window.setTimeout((function(){e(t+n)}),n);return h=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"==typeof n&&n.handleEvent){if(r){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=a;e[o]("on"+i,n["oldIE"+i])}else e[o]("on"+i,n)});var o=this,a=25,s=3,u={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"};i.extend(u,r);var c,l,d,f,p,h,m,g,v,y,b,w,x,_,S,k,C,E,I,O,T,N,D,A,P,M,j,R,L,F,z,B,U,q,V,K,H,W,G,Y,Q,$,Z,J,X,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de=function(){return{x:0,y:0}},fe=de(),pe=de(),he=de(),me={},ge=0,ve={},ye=de(),be=0,we=!0,xe=[],_e={},Se=!1,ke=function(e,t){i.extend(o,t.publicMethods),xe.push(e)},Ce=function(e){var t=Xt();return e>t-1?e-t:e<0?t+e:e},Ee={},Ie=function(e,t){return Ee[e]||(Ee[e]=[]),Ee[e].push(t)},Oe=function(e){var t=Ee[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;r<t.length;r++)t[r].apply(o,n)}},Te=function(){return(new Date).getTime()},Ne=function(e){ue=e,o.bg.style.opacity=e*u.bgOpacity},De=function(e,t,n,r,i){(!Se||i&&i!==o.currItem)&&(r/=i?i.fitRatio:o.currItem.fitRatio),e[N]=w+t+"px, "+n+"px"+x+" scale("+r+")"},Ae=function(e){re&&(e&&(y>o.currItem.fitRatio?Se||(dn(o.currItem,!1,!0),Se=!0):Se&&(dn(o.currItem),Se=!1)),De(re,he.x,he.y,y))},Pe=function(e){e.container&&De(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Me=function(e,t){t[N]=w+e+"px, 0px"+x},je=function(e,t){if(!u.loop&&t){var n=f+(ye.x*ge-e)/ye.x,r=Math.round(e-yt.x);(n<0&&r>0||n>=Xt()-1&&r<0)&&(e=yt.x+r*u.mainScrollEndFriction)}yt.x=e,Me(e,p)},Re=function(e,t){var n=bt[e]-ve[e];return pe[e]+fe[e]+n-n*(t/b)},Le=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Fe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Be=function(){ze&&(i.unbind(document,"mousemove",Be),i.addClass(e,"pswp--has_mouse"),u.mouseUsed=!0,Oe("mouseUsed")),ze=setTimeout((function(){ze=null}),100)},Ue=function(){i.bind(document,"keydown",o),z.transform&&i.bind(o.scrollWrap,"click",o),u.mouseUsed||i.bind(document,"mousemove",Be),i.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")},qe=function(){i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",v.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Be),z.transform&&i.unbind(o.scrollWrap,"click",o),G&&i.unbind(window,m,o),clearTimeout(B),Oe("unbindEvents")},Ve=function(e,t){var n=sn(o.currItem,me,e);return t&&(ne=n),n},Ke=function(e){return e||(e=o.currItem),e.initialZoomLevel},He=function(e){return e||(e=o.currItem),e.w>0?u.maxSpreadZoom:1},We=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=Re(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(N){var t=z.perspective&&!A;return w="translate"+(t?"3d(":"("),void(x=z.perspective?", 0px)":")")}N="left",i.addClass(e,"pswp--ie"),Me=function(e,t){t.left=e+"px"},Pe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(re){var e=re,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=he.x+"px",e.top=he.y+"px"}}},Ye=function(e){var t="";u.escKey&&27===e.keyCode?t="close":u.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]()))},Qe=function(e){e&&($||Q||ie||H)&&(e.preventDefault(),e.stopPropagation())},$e=function(){o.setScrollOffset(0,i.getScrollY())},Ze={},Je=0,Xe=function(e){Ze[e]&&(Ze[e].raf&&M(Ze[e].raf),Je--,delete Ze[e])},et=function(e){Ze[e]&&Xe(e),Ze[e]||(Je++,Ze[e]={})},tt=function(){for(var e in Ze)Ze.hasOwnProperty(e)&&Xe(e)},nt=function(e,t,n,r,i,o,a){var s,u=Te();et(e);var c=function(){if(Ze[e]){if((s=Te()-u)>=r)return Xe(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),Ze[e].raf=P(c)}};c()},rt={shout:Oe,listen:Ie,viewportSize:me,options:u,isMainScrollAnimating:function(){return ie},getZoomLevel:function(){return y},getCurrentIndex:function(){return f},isDragging:function(){return G},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,F=ve.y=t,Oe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,r){he.x=t,he.y=n,y=e,Ae(r)},init:function(){if(!c&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pswp__bg"),j=e.className,c=!0,z=i.detectFeatures(),P=z.raf,M=z.caf,N=z.transform,L=z.oldIE,o.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pswp__container"),p=o.container.style,o.itemHolders=k=[{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}],k[0].el.style.display=k[2].el.style.display="none",Ge(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout((function(){me.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:$e,keydown:Ye,click:Qe};var r=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!r||(u.showAnimationDuration=u.hideAnimationDuration=0),n=0;n<xe.length;n++)o["init"+xe[n]]();t&&(o.ui=new t(o,i)).init(),Oe("firstUpdate"),f=f||u.index||0,(isNaN(f)||f<0||f>=Xt())&&(f=0),o.currItem=Jt(f),(z.isOldIOSPhone||z.isOldAndroid)&&(we=!1),e.setAttribute("aria-hidden","false"),u.modal&&(we?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===F&&(Oe("initialLayout"),F=R=i.getScrollY());var a="pswp--open ";for(u.mainClass&&(a+=u.mainClass+" "),u.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=z.animationName?" pswp--css_animation":"",a+=z.svg?" pswp--svg":"",i.addClass(e,a),o.updateSize(),h=-1,be=null,n=0;n<s;n++)Me((n+h)*ye.x,k[n].el.style);L||i.bind(o.scrollWrap,g,o),Ie("initialZoomInEnd",(function(){o.setContent(k[0],f-1),o.setContent(k[2],f+1),k[0].el.style.display=k[2].el.style.display="block",u.focus&&e.focus(),Ue()})),o.setContent(k[1],f),o.updateCurrItem(),Oe("afterInit"),we||(_=setInterval((function(){Je||G||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pswp--visible")}},close:function(){c&&(c=!1,l=!0,Oe("close"),qe(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=j,_&&clearInterval(_),i.unbind(o.scrollWrap,g,o),i.unbind(window,"scroll",o),kt(),tt(),Ee=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)),he.x=e,he.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Ce(e))-f;be=t,f=e,o.currItem=Jt(f),ge-=t,je(ye.x*ge),tt(),ie=!1,o.updateCurrItem()},next:function(){o.goTo(f+1)},prev:function(){o.goTo(f-1)},updateCurrZoomItem:function(e){if(e&&Oe("beforeChange",0),k[1].el.children.length){var t=k[1].el.children[0];re=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else re=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,he.x=ne.center.x,he.y=ne.center.y,e&&Oe("afterChange")},invalidateCurrItems:function(){S=!0;for(var e=0;e<s;e++)k[e].item&&(k[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Jt(f),Se=!1,Oe("beforeChange",be),n>=s&&(h+=be+(be>0?-s:s),n=s);for(var r=0;r<n;r++)be>0?(t=k.shift(),k[s-1]=t,h++,Me((h+2)*ye.x,t.el.style),o.setContent(t,f-n+r+1+1)):(t=k.pop(),k.unshift(t),h--,Me(h*ye.x,t.el.style),o.setContent(t,f+n-r-1-1));if(re&&1===Math.abs(be)){var i=Jt(C);i.initialZoomLevel!==y&&(sn(i,me),dn(i),Pe(i))}be=0,o.updateCurrZoomItem(),C=f,Oe("afterChange")}}},updateSize:function(t){if(!we&&u.modal){var n=i.getScrollY();if(F!==n&&(e.style.top=n+"px",F=n),!t&&_e.x===window.innerWidth&&_e.y===window.innerHeight)return;_e.x=window.innerWidth,_e.y=window.innerHeight,e.style.height=_e.y+"px"}if(me.x=o.scrollWrap.clientWidth,me.y=o.scrollWrap.clientHeight,$e(),ye.x=me.x+Math.round(me.x*u.spacing),ye.y=me.y,je(ye.x*ge),Oe("beforeResize"),void 0!==h){for(var r,a,c,l=0;l<s;l++)r=k[l],Me((l+h)*ye.x,r.el.style),c=f+l-1,u.loop&&Xt()>2&&(c=Ce(c)),(a=Jt(c))&&(S||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(r,c),1===l&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===r.index&&c>=0&&o.setContent(r,c),a&&a.container&&(sn(a,me),dn(a),Pe(a));S=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(he.x=ne.center.x,he.y=ne.center.y,Ae(!0)),Oe("resize")},zoomTo:function(e,t,n,r,o){t&&(b=y,bt.x=Math.abs(t.x)-he.x,bt.y=Math.abs(t.y)-he.y,Le(pe,he));var a=Ve(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var u=y,c={x:he.x,y:he.y};Fe(s);var l=function(t){1===t?(y=e,he.x=s.x,he.y=s.y):(y=(e-u)*t+u,he.x=(s.x-c.x)*t+c.x,he.y=(s.y-c.y)*t+c.y),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,r||i.easing.sine.inOut,l):l(1)}},it=30,ot=10,at={},st={},ut={},ct={},lt={},dt=[],ft={},pt=[],ht={},mt=0,gt=de(),vt=0,yt=de(),bt=de(),wt=de(),xt=function(e,t){return e.x===t.x&&e.y===t.y},_t=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},St=function(e,t){return ht.x=Math.abs(e.x-t.x),ht.y=Math.abs(e.y-t.y),Math.sqrt(ht.x*ht.x+ht.y*ht.y)},kt=function(){Z&&(M(Z),Z=null)},Ct=function(){G&&(Z=P(Ct),Ut())},Et=function(){return!("fit"===u.scaleMode&&y===o.currItem.initialZoomLevel)},It=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:It(e.parentNode,t))},Ot={},Tt=function(e,t){return Ot.prevent=!It(e.target,u.isClickableElement),Oe("preventDragEvent",e,t,Ot),Ot.prevent},Nt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=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-q>50){var r=pt.length>2?pt.shift():{};r.x=t,r.y=n,pt.push(r),q=e}},Pt=function(){var e=he.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Mt={},jt={},Rt=[],Lt=function(e){for(;Rt.length>0;)Rt.pop();return D?(le=0,dt.forEach((function(e){0===le?Rt[0]=e:1===le&&(Rt[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Rt[0]=Nt(e.touches[0],Mt),e.touches.length>1&&(Rt[1]=Nt(e.touches[1],jt))):(Mt.x=e.pageX,Mt.y=e.pageY,Mt.id="",Rt[0]=Mt),Rt},Ft=function(e,t){var n,r,i,a,s=he[e]+t[e],c=t[e]>0,l=yt.x+t.x,d=yt.x-ft.x;if(n=s>ne.min[e]||s<ne.max[e]?u.panEndFriction:1,s=he[e]+t[e]*n,(u.allowPanToNext||y===o.currItem.initialZoomLevel)&&(re?"h"!==oe||"x"!==e||Q||(c?(s>ne.min[e]&&(n=u.panEndFriction,ne.min[e],r=ne.min[e]-pe[e]),(r<=0||d<0)&&Xt()>1?(a=l,d<0&&l>ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s)):(s<ne.max[e]&&(n=u.panEndFriction,ne.max[e],r=pe[e]-ne.max[e]),(r<=0||d>0)&&Xt()>1?(a=l,d>0&&l<ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s))):a=l,"x"===e))return void 0!==a&&(je(a,!0),J=a!==ft.x),ne.min.x!==ne.max.x&&(void 0!==i?he.x=i:J||(he.x+=t.x*n)),void 0!==a;ie||J||y>o.currItem.fitRatio&&(he[e]+=t[e]*n)},zt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Zt)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Tt(e,!0)&&e.preventDefault(),Oe("pointerDown"),D){var t=i.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Lt(e),r=n.length;X=null,tt(),G&&1!==r||(G=ae=!0,i.bind(window,m,o),K=ce=se=H=J=$=Y=Q=!1,oe=null,Oe("firstTouchStart",n),Le(pe,he),fe.x=fe.y=0,Le(ct,n[0]),Le(lt,ct),ft.x=ye.x*ge,pt=[{x:ct.x,y:ct.y}],q=U=Te(),Ve(y,!0),kt(),Ct()),!ee&&r>1&&!ie&&!J&&(b=y,Q=!1,ee=Y=!0,fe.y=fe.x=0,Le(pe,he),Le(at,n[0]),Le(st,n[1]),Dt(at,st,wt),bt.x=Math.abs(wt.x)-he.x,bt.y=Math.abs(wt.y)-he.y,te=St(at,st))}},Bt=function(e){if(e.preventDefault(),D){var t=i.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var r=Lt(e);if(oe||$||ee)X=r;else if(yt.x!==ye.x*ge)oe="h";else{var o=Math.abs(r[0].x-ct.x)-Math.abs(r[0].y-ct.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",X=r)}}},Ut=function(){if(X){var e=X.length;if(0!==e)if(Le(at,X[0]),ut.x=at.x-ct.x,ut.y=at.y-ct.y,ee&&e>1){if(ct.x=at.x,ct.y=at.y,!ut.x&&!ut.y&&xt(X[1],st))return;Le(st,X[1]),Q||(Q=!0,Oe("zoomGestureStarted"));var t=St(at,st),n=Wt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ce=!0);var r=1,i=Ke(),a=He();if(n<i)if(u.pinchToClose&&!ce&&b<=o.currItem.initialZoomLevel){var s=1-(i-n)/(i/1.2);Ne(s),Oe("onPinchClose",s),se=!0}else(r=(i-n)/i)>1&&(r=1),n=i-r*(i/3);else n>a&&((r=(n-a)/(6*i))>1&&(r=1),n=a+r*i);r<0&&(r=0),Dt(at,st,gt),fe.x+=gt.x-wt.x,fe.y+=gt.y-wt.y,Le(wt,gt),he.x=Re("x",n),he.y=Re("y",n),K=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(ut.x)>=ot&&(ut.x-=X[0].x-lt.x),Math.abs(ut.y)>=ot&&(ut.y-=X[0].y-lt.y)),ct.x=at.x,ct.y=at.y,0===ut.x&&0===ut.y)return;if("v"===oe&&u.closeOnVerticalDrag&&!Et()){fe.y+=ut.y,he.y+=ut.y;var c=Pt();return H=!0,Oe("onVerticalDrag",c),Ne(c),void Ae()}At(Te(),at.x,at.y),$=!0,ne=o.currItem.bounds,Ft("x",ut)||(Ft("y",ut),Fe(he),Ae())}}},qt=function(e){if(z.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Oe("pointerUp"),Tt(e,!1)&&e.preventDefault(),D){var n=i.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var r={4:"mouse",2:"touch",3:"pen"};t.type=r[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Lt(e),c=s.length;if("mouseup"===e.type&&(c=0),2===c)return X=null,!0;1===c&&Le(lt,s[0]),0!==c||oe||ie||(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 l=-1;if(0===c&&(G=!1,i.unbind(window,m,o),kt(),ee?l=0:-1!==vt&&(l=Te()-vt)),vt=1===c?Te():-1,a=-1!==l&&l<150?"zoom":"swipe",ee&&c<2&&(ee=!1,1===c&&(a="zoomPointerUp"),Oe("zoomGestureEnded")),X=null,$||Q||ie||H)if(tt(),V||(V=Vt()),V.calculateSwipeSpeed("x"),H)if(Pt()<u.verticalDragRange)o.close();else{var d=he.y,f=ue;nt("verticalDrag",0,1,300,i.easing.cubic.out,(function(e){he.y=(o.currItem.initialPosition.y-d)*e+d,Ne((1-f)*e+f),Ae()})),Oe("onVerticalDrag",1)}else{if((J||ie)&&0===c){if(Ht(a,V))return;a="zoomPointerUp"}ie||("swipe"===a?!J&&y>o.currItem.fitRatio&&Kt(V):Gt())}},Vt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){pt.length>1?(e=Te()-q+50,t=pt[pt.length-2][r]):(e=Te()-U,t=lt[r]),n.lastFlickOffset[r]=ct[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(he[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:he[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,he[e],n.backAnimDestination[e],t||300,i.easing.sine.out,(function(t){he[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,he[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Ze.zoomPan&&(Ze.zoomPan.raf=P(n.panAnimLoop),n.now=Te(),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 he.x=Math.round(he.x),he.y=Math.round(he.y),Ae(),void Xe("zoomPan")}};return n},Kt=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=Te(),e.panAnimLoop()},Ht=function(e,t){var n,r,a;if(ie||(mt=f),"swipe"===e){var s=ct.x-lt.x,c=t.lastFlickDist.x<10;s>it&&(c||t.lastFlickOffset.x>20)?r=-1:s<-it&&(c||t.lastFlickOffset.x<-20)&&(r=1)}r&&((f+=r)<0?(f=u.loop?Xt()-1:0,a=!0):f>=Xt()&&(f=u.loop?0:Xt()-1,a=!0),a&&!u.loop||(be+=r,ge-=r,n=!0));var l,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(l=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,l=Math.min(l,400),l=Math.max(l,250)):l=333,mt===f&&(n=!1),ie=!0,Oe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,l,i.easing.cubic.out,je,(function(){tt(),ie=!1,mt=-1,(n||mt!==f)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Gt=function(){var e=y,t=Ke(),n=He();y<t?e=t:y>n&&(e=n);var r,a=1,s=ue;return se&&!K&&!ce&&y<t?(o.close(),!0):(se&&(r=function(e){Ne((a-s)*e+s)}),o.zoomTo(e,0,200,i.easing.cubic.out,r),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,r,i){E=e+t,I=e+n,O=e+r,T=i?e+i:""};(D=z.pointerEvent)&&z.touch&&(z.touch=!1),D?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"),m=I+" "+O+" "+T,g=E,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[E]=zt,v[I]=Bt,v[O]=qt,T&&(v[T]=v[O]),z.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[E],v.mousemove=v[I],v.mouseup=v[O]),A||(u.allowPanToNext=!1)}}});var Yt,Qt,$t,Zt,Jt,Xt,en=function(t,n,r,a){var s;Yt&&clearTimeout(Yt),Zt=!0,$t=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=u.getThumbBoundsFn&&u.getThumbBoundsFn(f);var c=r?u.hideAnimationDuration:u.showAnimationDuration,l=function(){Xe("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ne(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(r?"OutEnd":"InEnd"))),a&&a(),Zt=!1};if(!c||!s||void 0===s.x)return Oe("initialZoom"+(r?"Out":"In")),y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),e.style.opacity=r?0:1,Ne(1),void(c?setTimeout((function(){l()}),c):l());var p=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||u.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(y=s.w/t.w,he.x=s.x,he.y=s.y-R,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),r&&!n&&i.removeClass(e,"pswp--animated-in"),a&&(r?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){i.addClass(e,"pswp--animate_opacity")}),30)),Yt=setTimeout((function(){if(Oe("initialZoom"+(r?"Out":"In")),r){var o=s.w/t.w,u={x:he.x,y:he.y},d=y,f=ue,p=function(t){1===t?(y=o,he.x=s.x,he.y=s.y-F):(y=(o-d)*t+d,he.x=(s.x-u.x)*t+u.x,he.y=(s.y-F-u.y)*t+u.y),Ae(),a?e.style.opacity=1-t:Ne(f-t*f)};n?nt("initialZoom",0,1,c,i.easing.cubic.out,p,l):(p(1),Yt=setTimeout(l,c+20))}else y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),Ne(1),a?e.style.opacity=1:Ne(1),Yt=setTimeout(l,c+20)}),r?25:90)};p()},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 Qt.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 r=e.bounds;r.center.x=Math.round((tn.x-t)/2),r.center.y=Math.round((tn.y-n)/2)+e.vGap.top,r.max.x=t>tn.x?Math.round(tn.x-t):r.center.x,r.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:r.center.y,r.min.x=t>tn.x?0:r.center.x,r.min.y=n>tn.y?e.vGap.top:r.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(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,r){var i=tn.x/e.w,o=tn.y/e.h;e.fitRatio=i<o?i:o;var a=u.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),r&&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},un=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,dn(t,r,t===o.currItem&&Se),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.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},ln=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=u.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},fn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ce(e);var t=Jt(e);t&&(!t.loaded&&!t.loading||S)&&(Oe("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(u,rn,!0),o.items=Qt=n,Jt=o.getItemAt,(Xt=u.getNumItemsFn)()<3&&(u.loop=!1),Ie("beforeChange",(function(e){var t,n=u.preload,r=null===e||e>=0,i=Math.min(n[0],Xt()),a=Math.min(n[1],Xt());for(t=1;t<=(r?a:i);t++)o.lazyLoadItem(f+t);for(t=1;t<=(r?i:a);t++)o.lazyLoadItem(f-t)})),Ie("initialLayout",(function(){o.currItem.initialLayout=u.getThumbBoundsFn&&u.getThumbBoundsFn(f)})),Ie("mainScrollAnimComplete",fn),Ie("initialZoomInEnd",fn),Ie("destroy",(function(){for(var e,t=0;t<Qt.length;t++)(e=Qt[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!==Qt[e]&&Qt[e]},allowProgressiveImg:function(){return u.forceProgressiveLoading||!A||u.mouseUsed||screen.width>1200},setContent:function(e,t){u.loop&&(t=Ce(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,a=o.getItemAt(t);if(a){Oe("gettingData",t,a),e.index=t,e.item=a;var s=a.container=i.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),ln(a),sn(a,me),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((r=i.createEl("pswp__img","img")).style.opacity=1,r.src=a.src,dn(a,r),un(t,a,s,r));else{if(a.loadComplete=function(n){if(c){if(e&&e.index===t){if(ln(n,!0))return n.loadComplete=n.img=null,sn(n,me),Pe(n),void(e.index===f&&o.updateCurrZoomItem());n.imageAppended?!Zt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):z.transform&&(ie||Zt)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,s,n.img,ie||Zt,!0)}n.loadComplete=null,n.img=null,Oe("imageLoadComplete",t,n)}},i.features.transform){var l="pswp__img pswp__img--placeholder";l+=a.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(l,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||cn(a),o.allowProgressiveImg()&&(!$t&&z.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):un(t,a,s,a.img,!0,!0))}$t||t!==f?Pe(a):(re=s.style,en(a,r||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 pn,hn,mn={},gn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(r)};ke("Tap",{publicMethods:{initTap:function(){Ie("firstTouchStart",o.onTapStart),Ie("touchRelease",o.onTapRelease),Ie("destroy",(function(){mn={},pn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(pn),pn=null)},onTapRelease:function(e,t){if(t&&!$&&!Y&&!Je){var n=t;if(pn&&(clearTimeout(pn),pn=null,_t(n,mn)))return void Oe("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);Le(mn,n),pn=setTimeout((function(){gn(e,t),pn=null}),300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(A?Ie("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){hn={};var n="wheel mousewheel DOMMouseScroll";Ie("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Ie("unbindEvents",(function(){hn&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pswp--dragging"),r=!1)};Ie("resize",a),Ie("afterChange",a),Ie("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pswp--dragging"))})),Ie("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return u.modal&&(!u.closeOnScroll||Je||G?e.preventDefault():N&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),hn.x=0,"deltaX"in e)1===e.deltaMode?(hn.x=18*e.deltaX,hn.y=18*e.deltaY):(hn.x=e.deltaX,hn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(hn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?hn.y=-.16*e.wheelDeltaY:hn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;hn.y=e.detail}Ve(y,!0);var t=he.x-hn.x,n=he.y-hn.y;(u.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:me.x/2+ve.x,y:me.y/2+ve.y};var n=u.getDoubleTapZoom(!0,o.currItem),r=y===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,wn,xn,_n,Sn,kn,Cn,En,In,On,Tn={history:!0,galleryUID:1},Nn=function(){return In.hash.substring(1)},Dn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Nn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n<r.length;n++)if(r[n]){var i=r[n].split("=");i.length<2||(t[i[0]]=i[1])}if(u.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Qt.length;n++)if(Qt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Pn=function(){if(bn&&clearTimeout(bn),Je||G)bn=setTimeout(Pn,500);else{wn?clearTimeout(yn):wn=!0;var e=f+1,t=Jt(f);t.hasOwnProperty("pid")&&(e=t.pid);var n=Sn+"&gid="+u.galleryUID+"&pid="+e;kn||-1===In.hash.indexOf(n)&&(En=!0);var r=In.href.split("#")[0]+"#"+n;On?"#"+n!==window.location.hash&&history[kn?"replaceState":"pushState"]("",document.title,r):kn?In.replace(r):In.hash=n,kn=!0,yn=setTimeout((function(){wn=!1}),60)}};ke("History",{publicMethods:{initHistory:function(){if(i.extend(u,Tn,!0),u.history){In=window.location,En=!1,Cn=!1,kn=!1,Sn=Nn(),On="pushState"in history,Sn.indexOf("gid=")>-1&&(Sn=(Sn=Sn.split("&gid=")[0]).split("?gid=")[0]),Ie("afterChange",o.updateURL),Ie("unbindEvents",(function(){i.unbind(window,"hashchange",o.onHashChange)}));var e=function(){_n=!0,Cn||(En?history.back():Sn?In.hash=Sn:On?history.pushState("",document.title,In.pathname+In.search):In.hash=""),Dn()};Ie("unbindEvents",(function(){d&&e()})),Ie("destroy",(function(){_n||e()})),Ie("firstUpdate",(function(){f=An().pid}));var t=Sn.indexOf("pid=");t>-1&&"&"===(Sn=Sn.substring(0,t)).slice(-1)&&(Sn=Sn.slice(0,-1)),setTimeout((function(){c&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Nn()===Sn)return Cn=!0,void o.close();wn||(xn=!0,o.goTo(An().pid),xn=!1)},updateURL:function(){Dn(),xn||(kn?vn=setTimeout(Pn,800):Pn())}}}),i.extend(o,rt)};return e}(),a7={exports:{}},s7=a7.exports=(r7=function(e,t){var n,r,i,o,a,s,u,c,l,d,f,p,h,m,g,v,y,b,w=this,x=!1,_=!0,S=!0,k={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!l&&j();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o<V.length;o++)(n=V[o]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),v=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),a)}},E=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},I=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pswp__"+n)},O=function(){var e=1===g.getNumItemsFn();e!==m&&(I(r,"ui--one-slide",e),m=e)},T=function(){I(u,"share-modal--hidden",S)},N=function(){return(S=!S)?(t.removeClass(u,"pswp__share-modal--fade-in"),setTimeout((function(){S&&T()}),300)):(T(),setTimeout((function(){S||t.addClass(u,"pswp__share-modal--fade-in")}),30)),S||A(),!1},D=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||N(),1))},A=function(){for(var e,t,n,r,i="",o=0;o<g.shareButtons.length;o++)e=g.shareButtons[o],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),r=g.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(r))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(i=g.parseShareButtonOut(e,i));u.children[0].innerHTML=i,u.children[0].onclick=D},P=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},M=0,j=function(){clearTimeout(b),M=0,l&&w.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){w.setIdle(!0)}),g.timeToIdleOutside))},L=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},F=function(){g.preloaderEl&&(z(!0),d("beforeChange",(function(){clearTimeout(h),h=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&z(!1):z(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&z(!0)})))},z=function(e){p!==e&&(I(f,"preloader--active",!e),p=e)},B=function(e){var n=e.vGap;if(E()){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(o||((o=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),r.insertBefore(o,i),t.addClass(r,"pswp__ui--fit")),g.addCaptionHTMLFn(e,o,!0)){var s=o.clientHeight;n.bottom=parseInt(s,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},U=function(){g.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",j),t.bind(document,"mouseout",R),y=setInterval((function(){2==++M&&w.setIdle(!0)}),g.timeToIdle/2)}))},q=function(){var e;d("onVerticalDrag",(function(e){_&&e<.95?w.hideControls():!_&&e>=.95&&w.showControls()})),d("onPinchClose",(function(t){_&&t<.9?(w.hideControls(),e=!0):e&&!_&&t>.9&&w.showControls()})),d("zoomGestureEnded",(function(){(e=!1)&&!_&&w.showControls()}))},V=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){u=e},onTap:function(){N()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){N()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}],K=function(){var e,n,i,o=function(r){if(r)for(var o=r.length,a=0;a<o;a++){e=r[a],n=e.className;for(var s=0;s<V.length;s++)i=V[s],n.indexOf("pswp__"+i.name)>-1&&(g[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(r.children);var a=t.getChildByClass(r,"pswp__top-bar");a&&o(a.children)};w.init=function(){t.extend(e.options,k,!0),g=e.options,r=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,q(),d("beforeChange",w.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var r=e.target||e.srcElement;r&&r.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(r.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(r.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(r,"pswpTap click",C),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)})),d("unbindEvents",(function(){S||N(),y&&clearInterval(y),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",j),t.unbind(r,"pswpTap click",C),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(o&&r.removeChild(o),t.removeClass(i,"pswp__caption--empty")),u&&(u.children[0].onclick=null),t.removeClass(r,"pswp__ui--over-close"),t.addClass(r,"pswp__ui--hidden"),w.setIdle(!1)})),g.showAnimationDuration||t.removeClass(r,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&t.removeClass(r,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(r,"pswp__ui--hidden")})),d("parseVerticalMargin",B),K(),g.shareEl&&s&&u&&(S=!0),O(),U(),L(),F()},w.setIdle=function(e){l=e,I(r,"ui--idle",e)},w.update=function(){_&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,i),I(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,S||N(),O()},w.updateFullscreen=function(r){r&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){var r=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(P(r))return void e.close();t.hasClass(r,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(_?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(r,"pswp__img")||P(r)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;I(r,"ui--over-close",P(t))},w.hideControls=function(){t.addClass(r,"pswp__ui--hidden"),_=!1},w.showControls=function(){_=!0,x||w.update(),t.removeClass(r,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,r="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:r}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+r}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+r}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}},r7),u7={exports:{}},c7={exports:{}},l7=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return null!=e})),0!==t.length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))},d7=function(){};
116
+ */function VH(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var KH=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=VH(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))UH.call(n,a)&&(i[a]=n[a]);if(BH){r=BH(n);for(var s=0;s<r.length;s++)qH.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},HH=function(){};if("production"!==Es.env.NODE_ENV){var WH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",GH={},YH=Function.call.bind(Object.prototype.hasOwnProperty);HH=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function QH(e,t,n,r,i){if("production"!==Es.env.NODE_ENV)for(var o in e)if(YH(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,WH)}catch(e){a=e}if(!a||a instanceof Error||HH((r||"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 GH)){GH[a.message]=!0;var u=i?i():"";HH("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}QH.resetWarningCache=function(){"production"!==Es.env.NODE_ENV&&(GH={})};var $H=Se,ZH=KH,JH="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",XH=QH,eW=Function.call.bind(Object.prototype.hasOwnProperty),tW=function(){};function nW(){return null}"production"!==Es.env.NODE_ENV&&(tW=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function rW(){}function iW(){}iW.resetWarningCache=rW;if("production"!==Es.env.NODE_ENV){var oW=Se;zH.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(nW),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",JH);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return $H.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(eW(s,c)){var d=e(s,c,r,i,o+"."+c,JH);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==Es.env.NODE_ENV&&tW(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."),nW;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==Es.env.NODE_ENV&&tW("Invalid argument supplied to oneOfType, expected an instance of array."),nW;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return tW("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),nW}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,JH))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,JH);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=ZH({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,JH);if(p)return p}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"!==Es.env.NODE_ENV)var n={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==JH){if(t){var p=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 p.name="Invariant Violation",p}if("production"!==Es.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(tW("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(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=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(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,i.checkPropTypes=XH,i.resetWarningCache=XH.resetWarningCache,i.PropTypes=i,i}(oW.isElement,!0)}else zH.exports=function(){function e(e,t,n,r,i,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:iW,resetWarningCache:rW};return n.PropTypes=n,n}();var aW=zH.exports,sW=!1,uW="production"!==Es.env.NODE_ENV?aW.oneOfType([aW.number,aW.shape({enter:aW.number,exit:aW.number,appear:aW.number}).isRequired]):null;"production"!==Es.env.NODE_ENV&&aW.oneOfType([aW.string,aW.shape({enter:aW.string,exit:aW.string,active:aW.string}),aW.shape({enter:aW.string,enterDone:aW.string,enterActive:aW.string,exit:aW.string,exitDone:aW.string,exitActive:aW.string})]);var cW=o.createContext(null),lW=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}FH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}: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?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[je.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||sW?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:je.findDOMNode(this);t&&!sW?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},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(r){n&&(n=!1,t.nextCallback=null,e(r))},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:je.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[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("unmounted"===e)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 r=RH(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return o.createElement(cW.Provider,{value:null},"function"==typeof n?n(e,r):o.cloneElement(o.Children.only(n),r))},t}(o.Component);function dW(){}lW.contextType=cW,lW.propTypes="production"!==Es.env.NODE_ENV?{nodeRef:aW.shape({current:"undefined"==typeof Element?aW.any:function(e,t,n,r,i,o){var a=e[t];return aW.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:aW.oneOfType([aW.func.isRequired,aW.element.isRequired]).isRequired,in:aW.bool,mountOnEnter:aW.bool,unmountOnExit:aW.bool,appear:aW.bool,enter:aW.bool,exit:aW.bool,timeout:function(e){var t=uW;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[e].concat(r))},addEndListener:aW.func,onEnter:aW.func,onEntering:aW.func,onEntered:aW.func,onExit:aW.func,onExiting:aW.func,onExited:aW.func}:{},lW.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:dW,onEntering:dW,onEntered:dW,onExit:dW,onExiting:dW,onExited:dW},lW.UNMOUNTED="unmounted",lW.EXITED="exited",lW.ENTERING="entering",lW.ENTERED="entered",lW.EXITING="exiting";var fW=lW;function pW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){var n=Object.create(null);return e&&h.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&m(e)?t(e):e}(e)})),n}function mW(e,t,n){return null!=n[t]?n[t]:e.props[t]}function gW(e,t,n){var r=hW(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(m(a)){var s=o in t,u=o in r,c=t[o],l=m(c)&&!c.props.in;!u||s&&!l?u||!s||l?u&&s&&m(c)&&(i[o]=g(a,{onExited:n.bind(null,a),in:c.props.in,exit:mW(a,"exit",e),enter:mW(a,"enter",e)})):i[o]=g(a,{in:!1}):i[o]=g(a,{onExited:n.bind(null,a),in:!0,exit:mW(a,"exit",e),enter:mW(a,"enter",e)})}})),i}var vW=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},yW=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(pW(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}FH(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,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,hW(n.children,(function(e){return g(e,{onExited:r.bind(null,e),in:!0,appear:mW(e,"appear",n),enter:mW(e,"enter",n),exit:mW(e,"exit",n)})}))):gW(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=hW(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=jH({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=RH(e,["component","childFactory"]),i=this.state.contextValue,a=vW(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(cW.Provider,{value:i},a):o.createElement(cW.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);yW.propTypes="production"!==Es.env.NODE_ENV?{component:aW.any,children:aW.node,appear:aW.bool,enter:aW.bool,exit:aW.bool,childFactory:aW.func}:{},yW.defaultProps={component:"div",childFactory:function(e){return e}};var bW=yW,wW={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},xW={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},_W=0,SW=1,kW=2,CW=3,EW=4,IW=function(){};function OW(e){return"number"==typeof e&&!isNaN(e)&&e>0}function TW(e){return Object.keys(e).map((function(t){return e[t]}))}var NW=!("undefined"==typeof window||!window.document||!window.document.createElement);var DW,AW=((DW=function(e,t,n){var r=e[t];return!1===r||OW(r)?null:new Error(n+" expect "+t+" \n to be a valid Number > 0 or equal to false. "+r+" 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.");DW(e,t,n)},DW),PW={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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.list.has(e)&&this.list.get(e).forEach((function(n){var i=setTimeout((function(){n.apply(void 0,r)}),0);t.emitQueue.has(e)||t.emitQueue.set(e,[]),t.emitQueue.get(e).push(i)}))}};function MW(e){var t=e.enter,n=e.exit,r=e.duration,i=void 0===r?750:r,a=e.appendPosition,s=void 0!==a&&a;return function(e){var r,a,u=e.children,c=e.position,l=e.preventExitTransition,d=RH(e,["children","position","preventExitTransition"]),f=s?t+"--"+c:t,p=s?n+"--"+c:n;Array.isArray(i)&&2===i.length?(r=i[0],a=i[1]):r=a=i;return o.createElement(fW,jH({},d,{timeout:l?0:{enter:r,exit:a},onEnter:function(e){e.classList.add(f),e.style.animationFillMode="forwards",e.style.animationDuration=.001*r+"s"},onEntered:function(e){e.classList.remove(f),e.style.cssText=""},onExit:l?IW:function(e){e.classList.add(p),e.style.animationFillMode="forwards",e.style.animationDuration=.001*a+"s"}}),u)}}function jW(e){var t,n,r=e.delay,i=e.isRunning,a=e.closeToast,s=e.type,u=e.hide,c=e.className,l=e.style,d=e.controlledProgress,f=e.progress,p=e.rtl,h=jH({},l,{animationDuration:r+"ms",animationPlayState:i?"running":"paused",opacity:u?0:1,transform:d?"scaleX("+f+")":null}),m=vK("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar--"+s,((t={})["Toastify__progress-bar--rtl"]=p,t),c),g=((n={})[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]=d&&f<1?null:a,n);return o.createElement("div",jH({className:m,style:h},g))}function RW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function LW(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}jW.propTypes={delay:AW.isRequired,isRunning:aW.bool.isRequired,closeToast:aW.func.isRequired,rtl:aW.bool.isRequired,type:aW.string,hide:aW.bool,className:aW.oneOfType([aW.string,aW.object]),progress:aW.number,controlledProgress:aW.bool},jW.defaultProps={type:xW.DEFAULT,hide:!1};var FW=NW&&/(msie|trident)/i.test(navigator.userAgent),zW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||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=RW(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=RW(e),t.drag.deltaX=t.drag.x-t.drag.start,t.drag.y=LW(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,r=e.bottom,i=e.left,o=e.right;t.props.pauseOnHover&&t.drag.x>=i&&t.drag.x<=o&&t.drag.y>=n&&t.drag.y<=r?t.pauseToast():t.playToast()}},t.onExitTransitionEnd=function(){if(FW)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}FH(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,r=n.closeButton,i=n.children,a=n.autoClose,s=n.pauseOnHover,u=n.onClick,c=n.closeOnClick,l=n.type,d=n.hideProgressBar,f=n.closeToast,p=n.transition,h=n.position,m=n.className,g=n.bodyClassName,v=n.progressClassName,y=n.progressStyle,b=n.updateId,w=n.role,x=n.progress,_=n.rtl,S={className:vK("Toastify__toast","Toastify__toast--"+l,(e={},e["Toastify__toast--rtl"]=_,e),m)};a&&s&&(S.onMouseEnter=this.pauseToast,S.onMouseLeave=this.playToast),c&&(S.onClick=function(e){u&&u(e),t.flag.canCloseOnClick&&f()});var k=parseFloat(x)===x;return o.createElement(p,{in:this.props.in,appear:!0,onExited:this.onExitTransitionEnd,position:h,preventExitTransition:this.state.preventExitTransition},o.createElement("div",jH({onClick:u},S,{ref:function(e){return t.ref=e},onMouseDown:this.onDragStart,onTouchStart:this.onDragStart,onMouseUp:this.onDragTransitionEnd,onTouchEnd:this.onDragTransitionEnd}),o.createElement("div",jH({},this.props.in&&{role:w},{className:vK("Toastify__toast-body",g)}),i),r&&r,(a||k)&&o.createElement(jW,jH({},b&&!k?{key:"pb-"+b}:{},{rtl:_,delay:a,isRunning:this.state.isRunning,closeToast:f,hide:d,type:l,style:y,className:v,controlledProgress:k,progress:x}))))},t}(v);function BW(e){var t=e.closeToast,n=e.type,r=e.ariaLabel;return o.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":r},"✖︎")}zW.propTypes={closeButton:aW.oneOfType([aW.node,aW.bool]).isRequired,autoClose:AW.isRequired,children:aW.node.isRequired,closeToast:aW.func.isRequired,position:aW.oneOf(TW(wW)).isRequired,pauseOnHover:aW.bool.isRequired,pauseOnFocusLoss:aW.bool.isRequired,closeOnClick:aW.bool.isRequired,transition:aW.func.isRequired,rtl:aW.bool.isRequired,hideProgressBar:aW.bool.isRequired,draggable:aW.bool.isRequired,draggablePercent:aW.number.isRequired,in:aW.bool,onExited:aW.func,onOpen:aW.func,onClose:aW.func,type:aW.oneOf(TW(xW)),className:aW.oneOfType([aW.string,aW.object]),bodyClassName:aW.oneOfType([aW.string,aW.object]),progressClassName:aW.oneOfType([aW.string,aW.object]),progressStyle:aW.object,progress:aW.number,updateId:aW.oneOfType([aW.string,aW.number]),ariaLabel:aW.string,containerId:aW.oneOfType([aW.string,aW.number]),role:aW.string},zW.defaultProps={type:xW.DEFAULT,in:!0,onOpen:IW,onClose:IW,className:null,bodyClassName:null,progressClassName:null,updateId:null},BW.propTypes={closeToast:aW.func,arialLabel:aW.string},BW.defaultProps={ariaLabel:"close"};var UW=MW({enter:"Toastify__bounce-enter",exit:"Toastify__bounce-exit",appendPosition:!0}),qW=MW({enter:"Toastify__slide-enter",exit:"Toastify__slide-exit",duration:[450,750],appendPosition:!0});MW({enter:"Toastify__zoom-enter",exit:"Toastify__zoom-exit"}),MW({enter:"Toastify__flip-enter",exit:"Toastify__flip-exit"});var VW=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={toast:[]},t.toastKey=1,t.collection={},t.isToastActive=function(e){return-1!==t.state.toast.indexOf(e)},t}FH(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;PW.cancelEmit(CW).on(_W,(function(t,n){return e.ref?e.buildToast(t,n):null})).on(SW,(function(t){return e.ref?null==t?e.clear():e.removeToast(t):null})).emit(kW,this)},n.componentWillUnmount=function(){PW.emit(CW,this)},n.removeToast=function(e){this.setState({toast:this.state.toast.filter((function(t){return t!==e}))},this.dispatchChange)},n.dispatchChange=function(){PW.emit(EW,this.state.toast.length,this.props.containerId)},n.makeCloseButton=function(e,t,n){var r=this,i=this.props.closeButton;return m(e)||!1===e?i=e:!0===e&&(i=this.props.closeButton&&"boolean"!=typeof this.props.closeButton?this.props.closeButton:o.createElement(BW,null)),!1!==i&&g(i,{closeToast:function(){return r.removeToast(t)},type:n})},n.getAutoCloseDelay=function(e){return!1===e||OW(e)?e:this.props.autoClose},n.canBeRendered=function(e){return m(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,i=RH(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 o=i.toastId,a=i.updateId;if(!(this.props.enableMultiContainer&&!this.belongToContainer(i)||this.isToastActive(o)&&null==a)){var s=function(){return n.removeToast(o)},u={id:o,key:i.key||this.toastKey++,type:i.type,closeToast:s,updateId:i.updateId,rtl:this.props.rtl,position:i.position||this.props.position,transition:i.transition||this.props.transition,className:this.parseClassName(i.className||this.props.toastClassName),bodyClassName:this.parseClassName(i.bodyClassName||this.props.bodyClassName),onClick:i.onClick||this.props.onClick,closeButton:this.makeCloseButton(i.closeButton,o,i.type),pauseOnHover:"boolean"==typeof i.pauseOnHover?i.pauseOnHover:this.props.pauseOnHover,pauseOnFocusLoss:"boolean"==typeof i.pauseOnFocusLoss?i.pauseOnFocusLoss:this.props.pauseOnFocusLoss,draggable:"boolean"==typeof i.draggable?i.draggable:this.props.draggable,draggablePercent:"number"!=typeof i.draggablePercent||isNaN(i.draggablePercent)?this.props.draggablePercent:i.draggablePercent,closeOnClick:"boolean"==typeof i.closeOnClick?i.closeOnClick:this.props.closeOnClick,progressClassName:this.parseClassName(i.progressClassName||this.props.progressClassName),progressStyle:this.props.progressStyle,autoClose:this.getAutoCloseDelay(i.autoClose),hideProgressBar:"boolean"==typeof i.hideProgressBar?i.hideProgressBar:this.props.hideProgressBar,progress:parseFloat(i.progress),role:"string"==typeof i.role?i.role:this.props.role};"function"==typeof i.onOpen&&(u.onOpen=i.onOpen),"function"==typeof i.onClose&&(u.onClose=i.onClose),m(e)&&"string"!=typeof e.type&&"number"!=typeof e.type?e=g(e,{closeToast:s}):"function"==typeof e&&(e=e({closeToast:s})),OW(r)?setTimeout((function(){n.appendToast(u,e,i.staleToastId)}),r):this.appendToast(u,e,i.staleToastId)}},n.appendToast=function(e,t,n){var r,i=e.id,o=e.updateId;this.collection=jH({},this.collection,((r={})[i]={options:e,content:t,position:e.position},r)),this.setState({toast:(o?[].concat(this.state.toast):[].concat(this.state.toast,[i])).filter((function(e){return e!==n}))},this.dispatchChange)},n.clear=function(){this.setState({toast:[]})},n.renderToast=function(){var e=this,t={},n=this.props,r=n.className,i=n.style;return(n.newestOnTop?Object.keys(this.collection).reverse():Object.keys(this.collection)).forEach((function(n){var r=e.collection[n],i=r.position,a=r.options,s=r.content;t[i]||(t[i]=[]),-1!==e.state.toast.indexOf(a.id)?t[i].push(o.createElement(zW,jH({},a,{isDocumentHidden:e.state.isDocumentHidden,key:"toast-"+a.key}),s)):(t[i].push(null),delete e.collection[n])})),Object.keys(t).map((function(n){var a,s=1===t[n].length&&null===t[n][0],u={className:vK("Toastify__toast-container","Toastify__toast-container--"+n,(a={},a["Toastify__toast-container--rtl"]=e.props.rtl,a),e.parseClassName(r)),style:s?jH({},i,{pointerEvents:"none"}):jH({},i)};return o.createElement(bW,jH({},u,{key:"container-"+n}),t[n])}))},n.render=function(){var e=this;return o.createElement("div",{ref:function(t){return e.ref=t},className:"Toastify"},this.renderToast())},t}(v);VW.propTypes={position:aW.oneOf(TW(wW)),autoClose:AW,closeButton:aW.oneOfType([aW.node,aW.bool]),hideProgressBar:aW.bool,pauseOnHover:aW.bool,closeOnClick:aW.bool,newestOnTop:aW.bool,className:aW.oneOfType([aW.string,aW.object]),style:aW.object,toastClassName:aW.oneOfType([aW.string,aW.object]),bodyClassName:aW.oneOfType([aW.string,aW.object]),progressClassName:aW.oneOfType([aW.string,aW.object]),progressStyle:aW.object,transition:aW.func,rtl:aW.bool,draggable:aW.bool,draggablePercent:aW.number,pauseOnFocusLoss:aW.bool,enableMultiContainer:aW.bool,containerId:aW.oneOfType([aW.string,aW.number]),role:aW.string,onClick:aW.func},VW.defaultProps={position:wW.TOP_RIGHT,transition:UW,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:o.createElement(BW,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 KW=new Map,HW=null,WW=null,GW={},YW=[],QW=!1;function $W(){return KW.size>0}function ZW(e,t){var n=function(e){return $W()?e?KW.get(e):KW.get(HW):null}(t.containerId);if(!n)return null;var r=n.collection[e];return void 0===r?null:r}function JW(e,t){return jH({},e,{type:t,toastId:eG(e)})}function XW(){return(Math.random().toString(36)+Date.now().toString(36)).substr(2,10)}function eG(e){return e&&("string"==typeof e.toastId||"number"==typeof e.toastId&&!isNaN(e.toastId))?e.toastId:XW()}function tG(e,t){return $W()?PW.emit(_W,e,t):(YW.push({action:_W,content:e,options:t}),QW&&NW&&(QW=!1,WW=document.createElement("div"),document.body.appendChild(WW),Re(o.createElement(VW,GW),WW))),t.toastId}var nG=function(e,t){return tG(e,JW(t,t&&t.type||xW.DEFAULT))},rG=function(e){xW[e]!==xW.DEFAULT&&(nG[xW[e].toLowerCase()]=function(t,n){return tG(t,JW(n,n&&n.type||xW[e]))})};for(var iG in xW)rG(iG);function oG(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}nG.warn=nG.warning,nG.dismiss=function(e){return void 0===e&&(e=null),$W()&&PW.emit(SW,e)},nG.isActive=function(e){var t=!1;return KW.size>0&&KW.forEach((function(n){n.isToastActive(e)&&(t=!0)})),t},nG.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=ZW(e,t);if(n){var r=n.options,i=n.content,o=jH({},r,{},t,{toastId:t.toastId||e});t.toastId&&t.toastId!==e?o.staleToastId=e:o.updateId=XW();var a=void 0!==o.render?o.render:i;delete o.render,tG(a,o)}}),0)},nG.done=function(e){nG.update(e,{progress:1})},nG.onChange=function(e){"function"==typeof e&&PW.on(EW,e)},nG.configure=function(e){QW=!0,GW=e},nG.POSITION=wW,nG.TYPE=xW,PW.on(kW,(function(e){HW=e.props.containerId||e,KW.set(HW,e),YW.forEach((function(e){PW.emit(e.action,e.content,e.options)})),YW=[]})).on(CW,(function(e){e?KW.delete(e.props.containerId||e):KW.clear(),0===KW.size&&PW.off(_W).off(SW),NW&&WW&&document.body.removeChild(WW)}));oG(".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 aG=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new sG(e,this.selector,this.caught))},e}(),sG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return Pa(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 r=new lH(this,void 0,void 0);this.add(r),gH(this,n,void 0,void 0,r)}},t}(cH);function uG(e,t){return void 0===t&&(t=iH),function(n){return n.lift(new cG(e,t))}}var cG=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new lG(e,this.dueTime,this.scheduler))},e}(),lG=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return Pa(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(dG,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}(NK);function dG(e){e.debouncedNext()}var fG=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},e}();function pG(){return new BK}function hG(e,t){return"function"==typeof t?function(n){return n.pipe(hG((function(n,r){return yH(e(n,r)).pipe(aH((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new mG(e))}}var mG=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new gG(e,this.project))},e}(),gG=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return Pa(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 r=this.innerSubscription;r&&r.unsubscribe();var i=new lH(this,void 0,void 0);this.destination.add(i),this.innerSubscription=gH(this,e,t,n,i)},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,r,i){this.destination.next(t)},t}(cH);var vG=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 yG(e,this.nextOrObserver,this.error,this.complete))},e}(),yG=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=PK,o._tapError=PK,o._tapComplete=PK,o._tapError=r||PK,o._tapComplete=i||PK,yK(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||PK,o._tapError=n.error||PK,o._tapComplete=n.complete||PK),o}return Pa(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}(NK),bG=function(e,t){return bG=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])},bG(e,t)};var wG=function(){return wG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wG.apply(this,arguments)};function xG(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function _G(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function SG(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function kG(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function CG(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var EG,IG,OG,TG,NG=Ce(EG||(EG=CG(["\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})),DG=function(e){return"\n .ms-Fabric--isFocusVisible .lt-reach {\n "+e+"\n }\n"},AG=function(e){return Ee(IG||(IG=CG(["\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")},PG=Ce(OG||(OG=CG(["\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 .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 .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}),AG(!0),AG()),MG=vK(["browser-version-"+tv,"browser-name-"+ev],"lt-reach");!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(TG||(TG={}));function jG(){var e=eE();return u((function(){return{getLocalLanguage:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){switch(t.label){case 0:return[4,e.getString("Language")];case 1:return[2,Z_(t.sent())]}}))}))},saveLanguageToLocalStorage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Language",t)];case 1:return n.sent(),[2]}}))}))},saveLocaleToLocalStorage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.setString("Locale",t)];case 1:return n.sent(),[2]}}))}))},getLocaleFromLocalStorage:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){return[2,e.getString("Locale")]}))}))}}}),[e])}var RG="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},LG=function(e){return e&&e.Math==Math&&e},FG=LG("object"==typeof globalThis&&globalThis)||LG("object"==typeof window&&window)||LG("object"==typeof self&&self)||LG("object"==typeof RG&&RG)||Function("return this")(),zG={},BG=function(e){try{return!!e()}catch(e){return!0}},UG=!BG((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),qG={},VG={}.propertyIsEnumerable,KG=Object.getOwnPropertyDescriptor,HG=KG&&!VG.call({1:2},1);qG.f=HG?function(e){var t=KG(this,e);return!!t&&t.enumerable}:VG;var WG=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},GG={}.toString,YG=function(e){return GG.call(e).slice(8,-1)},QG=YG,$G="".split,ZG=BG((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==QG(e)?$G.call(e,""):Object(e)}:Object,JG=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},XG=ZG,eY=JG,tY=function(e){return XG(eY(e))},nY=function(e){return"object"==typeof e?null!==e:"function"==typeof e},rY=nY,iY=function(e,t){if(!rY(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!rY(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!rY(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!rY(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},oY={}.hasOwnProperty,aY=function(e,t){return oY.call(e,t)},sY=nY,uY=FG.document,cY=sY(uY)&&sY(uY.createElement),lY=function(e){return cY?uY.createElement(e):{}},dY=lY,fY=!UG&&!BG((function(){return 7!=Object.defineProperty(dY("div"),"a",{get:function(){return 7}}).a})),pY=UG,hY=qG,mY=WG,gY=tY,vY=iY,yY=aY,bY=fY,wY=Object.getOwnPropertyDescriptor;zG.f=pY?wY:function(e,t){if(e=gY(e),t=vY(t,!0),bY)try{return wY(e,t)}catch(e){}if(yY(e,t))return mY(!hY.f.call(e,t),e[t])};var xY={},_Y=nY,SY=function(e){if(!_Y(e))throw TypeError(String(e)+" is not an object");return e},kY=UG,CY=fY,EY=SY,IY=iY,OY=Object.defineProperty;xY.f=kY?OY:function(e,t,n){if(EY(e),t=IY(t,!0),EY(n),CY)try{return OY(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 TY=xY,NY=WG,DY=UG?function(e,t,n){return TY.f(e,t,NY(1,n))}:function(e,t,n){return e[t]=n,e},AY={exports:{}},PY=FG,MY=DY,jY=function(e,t){try{MY(PY,e,t)}catch(n){PY[e]=t}return t},RY=jY,LY=FG["__core-js_shared__"]||RY("__core-js_shared__",{}),FY=LY,zY=Function.toString;"function"!=typeof FY.inspectSource&&(FY.inspectSource=function(e){return zY.call(e)});var BY=FY.inspectSource,UY=BY,qY=FG.WeakMap,VY="function"==typeof qY&&/native code/.test(UY(qY)),KY={exports:{}},HY=LY;(KY.exports=function(e,t){return HY[e]||(HY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var WY,GY,YY,QY=0,$Y=Math.random(),ZY=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++QY+$Y).toString(36)},JY=KY.exports,XY=ZY,eQ=JY("keys"),tQ=function(e){return eQ[e]||(eQ[e]=XY(e))},nQ={},rQ=VY,iQ=nY,oQ=DY,aQ=aY,sQ=tQ,uQ=nQ,cQ=FG.WeakMap;if(rQ){var lQ=new cQ,dQ=lQ.get,fQ=lQ.has,pQ=lQ.set;WY=function(e,t){return pQ.call(lQ,e,t),t},GY=function(e){return dQ.call(lQ,e)||{}},YY=function(e){return fQ.call(lQ,e)}}else{var hQ=sQ("state");uQ[hQ]=!0,WY=function(e,t){return oQ(e,hQ,t),t},GY=function(e){return aQ(e,hQ)?e[hQ]:{}},YY=function(e){return aQ(e,hQ)}}var mQ={set:WY,get:GY,has:YY,enforce:function(e){return YY(e)?GY(e):WY(e,{})},getterFor:function(e){return function(t){var n;if(!iQ(t)||(n=GY(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},gQ=FG,vQ=DY,yQ=aY,bQ=jY,wQ=BY,xQ=mQ.get,_Q=mQ.enforce,SQ=String(String).split("String");(AY.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||yQ(n,"name")||vQ(n,"name",t),_Q(n).source=SQ.join("string"==typeof t?t:"")),e!==gQ?(i?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:vQ(e,t,n)):o?e[t]=n:bQ(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&xQ(this).source||wQ(this)}));var kQ=FG,CQ=FG,EQ=function(e){return"function"==typeof e?e:void 0},IQ=function(e,t){return arguments.length<2?EQ(kQ[e])||EQ(CQ[e]):kQ[e]&&kQ[e][t]||CQ[e]&&CQ[e][t]},OQ={},TQ=Math.ceil,NQ=Math.floor,DQ=function(e){return isNaN(e=+e)?0:(e>0?NQ:TQ)(e)},AQ=DQ,PQ=Math.min,MQ=function(e){return e>0?PQ(AQ(e),9007199254740991):0},jQ=DQ,RQ=Math.max,LQ=Math.min,FQ=tY,zQ=MQ,BQ=function(e,t){var n=jQ(e);return n<0?RQ(n+t,0):LQ(n,t)},UQ=function(e){return function(t,n,r){var i,o=FQ(t),a=zQ(o.length),s=BQ(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},qQ={includes:UQ(!0),indexOf:UQ(!1)},VQ=aY,KQ=tY,HQ=qQ.indexOf,WQ=nQ,GQ=function(e,t){var n,r=KQ(e),i=0,o=[];for(n in r)!VQ(WQ,n)&&VQ(r,n)&&o.push(n);for(;t.length>i;)VQ(r,n=t[i++])&&(~HQ(o,n)||o.push(n));return o},YQ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],QQ=GQ,$Q=YQ.concat("length","prototype");OQ.f=Object.getOwnPropertyNames||function(e){return QQ(e,$Q)};var ZQ={};ZQ.f=Object.getOwnPropertySymbols;var JQ=OQ,XQ=ZQ,e$=SY,t$=IQ("Reflect","ownKeys")||function(e){var t=JQ.f(e$(e)),n=XQ.f;return n?t.concat(n(e)):t},n$=aY,r$=t$,i$=zG,o$=xY,a$=BG,s$=/#|\.prototype\./,u$=function(e,t){var n=l$[c$(e)];return n==f$||n!=d$&&("function"==typeof t?a$(t):!!t)},c$=u$.normalize=function(e){return String(e).replace(s$,".").toLowerCase()},l$=u$.data={},d$=u$.NATIVE="N",f$=u$.POLYFILL="P",p$=u$,h$=FG,m$=zG.f,g$=DY,v$=AY.exports,y$=jY,b$=function(e,t){for(var n=r$(t),r=o$.f,i=i$.f,o=0;o<n.length;o++){var a=n[o];n$(e,a)||r(e,a,i(t,a))}},w$=p$,x$=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,c=e.stat;if(n=u?h$:c?h$[s]||y$(s,{}):(h$[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=m$(n,r))&&a.value:n[r],!w$(u?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;b$(o,i)}(e.sham||i&&i.sham)&&g$(o,"sham",!0),v$(n,r,o,e)}},_$=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},S$=JG,k$=function(e){return Object(S$(e))},C$=_$,E$=k$,I$=ZG,O$=MQ,T$=function(e){return function(t,n,r,i){C$(n);var o=E$(t),a=I$(o),s=O$(o.length),u=e?s-1:0,c=e?-1:1;if(r<2)for(;;){if(u in a){i=a[u],u+=c;break}if(u+=c,e?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;e?u>=0:s>u;u+=c)u in a&&(i=n(i,a[u],u,o));return i}},N$={left:T$(!1),right:T$(!0)},D$=BG,A$=function(e,t){var n=[][e];return!!n&&D$((function(){n.call(null,t||function(){throw 1},1)}))},P$=UG,M$=BG,j$=aY,R$=Object.defineProperty,L$={},F$=function(e){throw e},z$=x$,B$=N$.left,U$=function(e,t){if(j$(L$,e))return L$[e];t||(t={});var n=[][e],r=!!j$(t,"ACCESSORS")&&t.ACCESSORS,i=j$(t,0)?t[0]:F$,o=j$(t,1)?t[1]:void 0;return L$[e]=!!n&&!M$((function(){if(r&&!P$)return!0;var e={length:-1};r?R$(e,1,{enumerable:!0,get:F$}):e[1]=1,n.call(e,i,o)}))},q$=A$("reduce"),V$=U$("reduce",{1:0});z$({target:"Array",proto:!0,forced:!q$||!V$},{reduce:function(e){return B$(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var K$=FG.Promise,H$=AY.exports,W$=BG,G$=!!Object.getOwnPropertySymbols&&!W$((function(){return!String(Symbol())})),Y$=G$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q$=FG,$$=KY.exports,Z$=aY,J$=ZY,X$=G$,eZ=Y$,tZ=$$("wks"),nZ=Q$.Symbol,rZ=eZ?nZ:nZ&&nZ.withoutSetter||J$,iZ=function(e){return Z$(tZ,e)||(X$&&Z$(nZ,e)?tZ[e]=nZ[e]:tZ[e]=rZ("Symbol."+e)),tZ[e]},oZ=xY.f,aZ=aY,sZ=iZ("toStringTag"),uZ=function(e,t,n){e&&!aZ(e=n?e:e.prototype,sZ)&&oZ(e,sZ,{configurable:!0,value:t})},cZ=IQ,lZ=xY,dZ=UG,fZ=iZ("species"),pZ={exports:{}},hZ={},mZ=hZ,gZ=iZ("iterator"),vZ=Array.prototype,yZ=_$,bZ=function(e,t,n){if(yZ(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,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},wZ={};wZ[iZ("toStringTag")]="z";var xZ="[object z]"===String(wZ),_Z=YG,SZ=iZ("toStringTag"),kZ="Arguments"==_Z(function(){return arguments}()),CZ=xZ?_Z:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),SZ))?n:kZ?_Z(t):"Object"==(r=_Z(t))&&"function"==typeof t.callee?"Arguments":r},EZ=CZ,IZ=hZ,OZ=iZ("iterator"),TZ=SY,NZ=SY,DZ=function(e){return void 0!==e&&(mZ.Array===e||vZ[gZ]===e)},AZ=MQ,PZ=bZ,MZ=function(e){if(null!=e)return e[OZ]||e["@@iterator"]||IZ[EZ(e)]},jZ=function(e,t,n,r){try{return r?t(TZ(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&TZ(i.call(e)),t}},RZ=function(e,t){this.stopped=e,this.result=t},LZ=pZ.exports=function(e,t,n,r,i){var o,a,s,u,c,l,d,f=PZ(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=MZ(e)))throw TypeError("Target is not iterable");if(DZ(a)){for(s=0,u=AZ(e.length);u>s;s++)if((c=r?f(NZ(d=e[s])[0],d[1]):f(e[s]))&&c instanceof RZ)return c;return new RZ(!1)}o=a.call(e)}for(l=o.next;!(d=l.call(o)).done;)if("object"==typeof(c=jZ(o,f,d.value,r))&&c&&c instanceof RZ)return c;return new RZ(!1)};LZ.stop=function(e){return new RZ(!0,e)};var FZ=iZ("iterator"),zZ=!1;try{var BZ=0,UZ={next:function(){return{done:!!BZ++}},return:function(){zZ=!0}};UZ[FZ]=function(){return this},Array.from(UZ,(function(){throw 2}))}catch(e){}var qZ,VZ,KZ,HZ=SY,WZ=_$,GZ=iZ("species"),YZ=function(e,t){var n,r=HZ(e).constructor;return void 0===r||null==(n=HZ(r)[GZ])?t:WZ(n)},QZ=IQ("document","documentElement"),$Z=IQ("navigator","userAgent")||"",ZZ=/(iphone|ipod|ipad).*applewebkit/i.test($Z),JZ=FG,XZ=BG,eJ=YG,tJ=bZ,nJ=QZ,rJ=lY,iJ=ZZ,oJ=JZ.location,aJ=JZ.setImmediate,sJ=JZ.clearImmediate,uJ=JZ.process,cJ=JZ.MessageChannel,lJ=JZ.Dispatch,dJ=0,fJ={},pJ=function(e){if(fJ.hasOwnProperty(e)){var t=fJ[e];delete fJ[e],t()}},hJ=function(e){return function(){pJ(e)}},mJ=function(e){pJ(e.data)},gJ=function(e){JZ.postMessage(e+"",oJ.protocol+"//"+oJ.host)};aJ&&sJ||(aJ=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return fJ[++dJ]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},qZ(dJ),dJ},sJ=function(e){delete fJ[e]},"process"==eJ(uJ)?qZ=function(e){uJ.nextTick(hJ(e))}:lJ&&lJ.now?qZ=function(e){lJ.now(hJ(e))}:cJ&&!iJ?(KZ=(VZ=new cJ).port2,VZ.port1.onmessage=mJ,qZ=tJ(KZ.postMessage,KZ,1)):!JZ.addEventListener||"function"!=typeof postMessage||JZ.importScripts||XZ(gJ)||"file:"===oJ.protocol?qZ="onreadystatechange"in rJ("script")?function(e){nJ.appendChild(rJ("script")).onreadystatechange=function(){nJ.removeChild(this),pJ(e)}}:function(e){setTimeout(hJ(e),0)}:(qZ=gJ,JZ.addEventListener("message",mJ,!1)));var vJ,yJ,bJ,wJ,xJ,_J,SJ,kJ,CJ={set:aJ,clear:sJ},EJ=FG,IJ=zG.f,OJ=YG,TJ=CJ.set,NJ=ZZ,DJ=EJ.MutationObserver||EJ.WebKitMutationObserver,AJ=EJ.process,PJ=EJ.Promise,MJ="process"==OJ(AJ),jJ=IJ(EJ,"queueMicrotask"),RJ=jJ&&jJ.value;RJ||(vJ=function(){var e,t;for(MJ&&(e=AJ.domain)&&e.exit();yJ;){t=yJ.fn,yJ=yJ.next;try{t()}catch(e){throw yJ?wJ():bJ=void 0,e}}bJ=void 0,e&&e.enter()},MJ?wJ=function(){AJ.nextTick(vJ)}:DJ&&!NJ?(xJ=!0,_J=document.createTextNode(""),new DJ(vJ).observe(_J,{characterData:!0}),wJ=function(){_J.data=xJ=!xJ}):PJ&&PJ.resolve?(SJ=PJ.resolve(void 0),kJ=SJ.then,wJ=function(){kJ.call(SJ,vJ)}):wJ=function(){TJ.call(EJ,vJ)});var LJ=RJ||function(e){var t={fn:e,next:void 0};bJ&&(bJ.next=t),yJ||(yJ=t,wJ()),bJ=t},FJ={},zJ=_$,BJ=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=zJ(t),this.reject=zJ(n)};FJ.f=function(e){return new BJ(e)};var UJ,qJ,VJ=SY,KJ=nY,HJ=FJ,WJ=FG,GJ=$Z,YJ=FG.process,QJ=YJ&&YJ.versions,$J=QJ&&QJ.v8;$J?qJ=(UJ=$J.split("."))[0]+UJ[1]:GJ&&(!(UJ=GJ.match(/Edge\/(\d+)/))||UJ[1]>=74)&&(UJ=GJ.match(/Chrome\/(\d+)/))&&(qJ=UJ[1]);var ZJ,JJ,XJ,eX,tX=qJ&&+qJ,nX=x$,rX=FG,iX=IQ,oX=K$,aX=AY.exports,sX=function(e,t,n){for(var r in t)H$(e,r,t[r],n);return e},uX=uZ,cX=function(e){var t=cZ(e),n=lZ.f;dZ&&t&&!t[fZ]&&n(t,fZ,{configurable:!0,get:function(){return this}})},lX=nY,dX=_$,fX=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},pX=YG,hX=BY,mX=pZ.exports,gX=function(e,t){if(!t&&!zZ)return!1;var n=!1;try{var r={};r[FZ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},vX=YZ,yX=CJ.set,bX=LJ,wX=function(e,t){if(VJ(e),KJ(t)&&t.constructor===e)return t;var n=HJ.f(e);return(0,n.resolve)(t),n.promise},xX=function(e,t){var n=WJ.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},_X=FJ,SX=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},kX=mQ,CX=p$,EX=tX,IX=iZ("species"),OX=kX.get,TX=kX.set,NX=kX.getterFor("Promise"),DX=oX,AX=rX.TypeError,PX=rX.document,MX=rX.process,jX=iX("fetch"),RX=_X.f,LX=RX,FX="process"==pX(MX),zX=!!(PX&&PX.createEvent&&rX.dispatchEvent),BX=CX("Promise",(function(){if(!(hX(DX)!==String(DX))){if(66===EX)return!0;if(!FX&&"function"!=typeof PromiseRejectionEvent)return!0}if(EX>=51&&/native code/.test(DX))return!1;var e=DX.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[IX]=t,!(e.then((function(){}))instanceof t)})),UX=BX||!gX((function(e){DX.all(e).catch((function(){}))})),qX=function(e){var t;return!(!lX(e)||"function"!=typeof(t=e.then))&&t},VX=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;bX((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,u,c,l=r[a++],d=o?l.ok:l.fail,f=l.resolve,p=l.reject,h=l.domain;try{d?(o||(2===t.rejection&&GX(e,t),t.rejection=1),!0===d?s=i:(h&&h.enter(),s=d(i),h&&(h.exit(),c=!0)),s===l.promise?p(AX("Promise-chain cycle")):(u=qX(s))?u.call(s,f,p):f(s)):p(i)}catch(e){h&&!c&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&HX(e,t)}))}},KX=function(e,t,n){var r,i;zX?((r=PX.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),rX.dispatchEvent(r)):r={promise:t,reason:n},(i=rX["on"+e])?i(r):"unhandledrejection"===e&&xX("Unhandled promise rejection",n)},HX=function(e,t){yX.call(rX,(function(){var n,r=t.value;if(WX(t)&&(n=SX((function(){FX?MX.emit("unhandledRejection",r,e):KX("unhandledrejection",e,r)})),t.rejection=FX||WX(t)?2:1,n.error))throw n.value}))},WX=function(e){return 1!==e.rejection&&!e.parent},GX=function(e,t){yX.call(rX,(function(){FX?MX.emit("rejectionHandled",e):KX("rejectionhandled",e,t.value)}))},YX=function(e,t,n,r){return function(i){e(t,n,i,r)}},QX=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,VX(e,t,!0))},$X=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw AX("Promise can't be resolved itself");var i=qX(n);i?bX((function(){var r={done:!1};try{i.call(n,YX($X,e,r,t),YX(QX,e,r,t))}catch(n){QX(e,r,n,t)}})):(t.value=n,t.state=1,VX(e,t,!1))}catch(n){QX(e,{done:!1},n,t)}}};function ZX(e){switch(null==e?void 0:e.toLowerCase()){case"da":return import("./da.async.esm.esm.js");case"de":return import("./de.async.esm.esm.js");case"fr":return import("./fr.async.esm.esm.js");case"es":return import("./es.async.esm.esm.js");case"zh-tw":return import("./zh-TW.async.esm.esm.js");case"zh-cn":return import("./zh-CN.async.esm.esm.js");case"ja":return import("./ja.async.esm.esm.js");case"tr":return import("./tr.async.esm.esm.js");case"it":return import("./it.async.esm.esm.js");default:return import("./en.async.esm.esm.js")}}function JX(e){switch(null==e?void 0:e.toLowerCase()){case"ar-dz":return import("./ar-dz.async.esm.esm.js");case"ar-kw":return import("./ar-kw.async.esm.esm.js");case"ar-ly":return import("./ar-ly.async.esm.esm.js");case"ar-ma":return import("./ar-ma.async.esm.esm.js");case"ar-sa":return import("./ar-sa.async.esm.esm.js");case"ar-tn":return import("./ar-tn.async.esm.esm.js");case"ar":return import("./ar.async.esm.esm.js");case"bg":return import("./bg.async.esm.esm.js");case"bn":return import("./bn.async.esm.esm.js");case"ca":return import("./ca.async.esm.esm.js");case"cs":return import("./cs.async.esm.esm.js");case"da":return import("./da.async.esm2.esm.js");case"de-at":return import("./de-at.async.esm.esm.js");case"de-ch":return import("./de-ch.async.esm.esm.js");case"de":return import("./de.async.esm2.esm.js");case"el":return import("./el.async.esm.esm.js");case"en-au":return import("./en-au.async.esm.esm.js");case"en-ca":return import("./en-ca.async.esm.esm.js");case"en-gb":return import("./en-gb.async.esm.esm.js");case"en-ie":return import("./en-ie.async.esm.esm.js");case"en-il":return import("./en-il.async.esm.esm.js");case"en-nz":return import("./en-nz.async.esm.esm.js");case"en-sg":return import("./en-sg.async.esm.esm.js");case"es-do":return import("./es-do.async.esm.esm.js");case"es-us":return import("./es-us.async.esm.esm.js");case"es":return import("./es.async.esm2.esm.js");case"et":return import("./et.async.esm.esm.js");case"fa":return import("./fa.async.esm.esm.js");case"fi":return import("./fi.async.esm.esm.js");case"fr-ca":return import("./fr-ca.async.esm.esm.js");case"fr-ch":return import("./fr-ch.async.esm.esm.js");case"fr":return import("./fr.async.esm2.esm.js");case"gu":return import("./gu.async.esm.esm.js");case"he":return import("./he.async.esm.esm.js");case"hi":return import("./hi.async.esm.esm.js");case"hr":return import("./hr.async.esm.esm.js");case"hu":return import("./hu.async.esm.esm.js");case"id":return import("./id.async.esm.esm.js");case"it-ch":return import("./it-ch.async.esm.esm.js");case"it":return import("./it.async.esm2.esm.js");case"ja":return import("./ja.async.esm2.esm.js");case"kn":return import("./kn.async.esm.esm.js");case"ko":return import("./ko.async.esm.esm.js");case"lt":return import("./lt.async.esm.esm.js");case"lv":return import("./lv.async.esm.esm.js");case"ml":return import("./ml.async.esm.esm.js");case"mr":return import("./mr.async.esm.esm.js");case"ms-my":return import("./ms-my.async.esm.esm.js");case"ms":return import("./ms.async.esm.esm.js");case"nb":return import("./nb.async.esm.esm.js");case"nl-be":return import("./nl-be.async.esm.esm.js");case"nl":return import("./nl.async.esm.esm.js");case"pl":return import("./pl.async.esm.esm.js");case"pt-br":return import("./pt-br.async.esm.esm.js");case"pt":return import("./pt.async.esm.esm.js");case"ro":return import("./ro.async.esm.esm.js");case"ru":return import("./ru.async.esm.esm.js");case"sk":return import("./sk.async.esm.esm.js");case"sl":return import("./sl.async.esm.esm.js");case"sr-cyrl":return import("./sr-cyrl.async.esm.esm.js");case"sr":return import("./sr.async.esm.esm.js");case"sv":return import("./sv.async.esm.esm.js");case"sw":return import("./sw.async.esm.esm.js");case"ta":return import("./ta.async.esm.esm.js");case"te":return import("./te.async.esm.esm.js");case"th":return import("./th.async.esm.esm.js");case"tr":return import("./tr.async.esm2.esm.js");case"uk":return import("./uk.async.esm.esm.js");case"vi":return import("./vi.async.esm.esm.js");case"zh-cn":return import("./zh-cn.async.esm2.esm.js");case"zh-hk":return import("./zh-hk.async.esm.esm.js");case"zh-tw":return import("./zh-tw.async.esm2.esm.js");default:return Promise.resolve()}}BX&&(DX=function(e){fX(this,DX,"Promise"),dX(e),ZJ.call(this);var t=OX(this);try{e(YX($X,this,t),YX(QX,this,t))}catch(e){QX(this,t,e)}},(ZJ=function(e){TX(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=sX(DX.prototype,{then:function(e,t){var n=NX(this),r=RX(vX(this,DX));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=FX?MX.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&VX(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),JJ=function(){var e=new ZJ,t=OX(e);this.promise=e,this.resolve=YX($X,e,t),this.reject=YX(QX,e,t)},_X.f=RX=function(e){return e===DX||e===XJ?new JJ(e):LX(e)},"function"==typeof oX&&(eX=oX.prototype.then,aX(oX.prototype,"then",(function(e,t){var n=this;return new DX((function(e,t){eX.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof jX&&nX({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return wX(DX,jX.apply(rX,arguments))}}))),nX({global:!0,wrap:!0,forced:BX},{Promise:DX}),uX(DX,"Promise",!1),cX("Promise"),XJ=iX("Promise"),nX({target:"Promise",stat:!0,forced:BX},{reject:function(e){var t=RX(this);return t.reject.call(void 0,e),t.promise}}),nX({target:"Promise",stat:!0,forced:BX},{resolve:function(e){return wX(this,e)}}),nX({target:"Promise",stat:!0,forced:UX},{all:function(e){var t=this,n=RX(t),r=n.resolve,i=n.reject,o=SX((function(){var n=dX(t.resolve),o=[],a=0,s=1;mX(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=RX(t),r=n.reject,i=SX((function(){var i=dX(t.resolve);mX(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var XX=function(t){var n,r=t.children,i=t.language,o=d(null),a=o[0],s=o[1],u=jG(),c=u.getLocalLanguage,f=u.getLocaleFromLocalStorage;return l((function(){(function(){return _G(this,void 0,void 0,(function(){var e,t,n;return SG(this,(function(r){switch(r.label){case 0:return[4,f()];case 1:return e=r.sent(),t=p,null==i?[3,2]:(n=i,[3,4]);case 2:return[4,c()];case 3:n=r.sent(),r.label=4;case 4:return[4,t.apply(void 0,[n,e])];case 5:return r.sent(),[2]}}))}))})().then((function(){return null}),$g.error)}),[]),(null===(n=null==a?void 0:a.resources)||void 0===n?void 0:n[a.language])?e(aE.Provider,wG({value:{language:a.language,changeLocale:function(e){return function(e,t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e0(e||t)];case 1:return n.sent(),s((function(t){return wG(wG({},t),{locale:e})})),[2]}}))}))}(e,a.language)},changeLanguage:function(e){return _G(this,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return[4,h(e=null==e?void 0:e.toLocaleLowerCase())];case 1:return t=n.sent(),a.locale?[3,3]:[4,e0(e)];case 2:n.sent(),n.label=3;case 3:return s((function(n){return wG(wG({},n),{language:e,resources:t})})),[2]}}))}))},changeSettings:p,addResources:function(e){s((function(t){var n=Object.keys(e).reduce((function(n,r){var i;return(i={})[r]=wG(wG(wG({},n),t.resources[r]),e[r]),i}),{});return wG(wG({},t),{resources:wG(wG({},t.resources),n)})}))}}},{children:e(LC,wG({locale:a.locale||a.language,messages:a.resources[a.language]},{children:e(oE,{children:r},void 0)}),void 0)}),void 0):null;function p(e,t){return _G(this,void 0,void 0,(function(){var n;return SG(this,(function(r){switch(r.label){case 0:return e=null==e?void 0:e.toLocaleLowerCase(),(null==a?void 0:a.language)===e&&(null==a?void 0:a.locale)===t?[2]:[4,h(e)];case 1:return n=r.sent(),[4,e0(t||e)];case 2:return r.sent(),s({language:e,locale:t,resources:n}),[2]}}))}))}function h(e){return _G(this,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,m(e)];case 1:return[2,n.sent()];case 2:return t=n.sent(),$g.error(t),[2,null];case 3:return[2]}}))}))}function m(e){var t;return _G(this,void 0,void 0,(function(){var n,r,i;return SG(this,(function(o){switch(o.label){case 0:if(null==e)return[2,null];if(null===(t=null==a?void 0:a.resources)||void 0===t?void 0:t[e])return[2,a.resources];o.label=1;case 1:return o.trys.push([1,3,,4]),e=e.toLowerCase(),n=g,r=[e],[4,ZX(e)];case 2:return[2,n.apply(void 0,r.concat([o.sent().default]))];case 3:return i=o.sent(),$g.error(i),[2,{}];case 4:return[2]}}))}))}function g(e,t){var n,r,i,o=window.__localeResourcesInterceptor||{};return wG(wG(wG({},null!==(i=null==a?void 0:a.resources)&&void 0!==i?i:{}),((n={})[e]=t,n)),o[e]&&((r={})[e]=o[e],r))}};function e0(e){return _G(this,void 0,void 0,(function(){var t;return SG(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,JX(e)];case 2:return n.sent(),pu.locale(e),[3,4];case 3:return t=n.sent(),$g.error(t),[3,4];case 4:return[2]}}))}))}var t0,n0,r0,i0,o0,a0,s0,u0,c0,l0,d0,f0,p0,h0=["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"],m0=function(){},g0=s(null);function v0(){return a(g0)}function y0(){var e=a(g0);return null==e?void 0:e.user}function b0(){var e=y0();return function(e){var t,n=new m0;if(!e)return n;for(var r=0;r<h0.length;r++){var i=h0[r];e.featureMask?n[i]="1"===e.featureMask[r]:n[i]=!(null===(t=e.disabledFeatures)||void 0===t?void 0:t[i])}return n}(null==e?void 0:e.subscription)}!function(e){e[e.User=1]="User",e[e.Group=2]="Group"}(t0||(t0={})),function(e){e[e.AnyGroupOrAnyProperty=0]="AnyGroupOrAnyProperty",e[e.AnyGroupAndAnyProperty=1]="AnyGroupAndAnyProperty"}(n0||(n0={})),function(e){e.large="large",e.small="small"}(r0||(r0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.OneDirectoryLimit=3]="OneDirectoryLimit",e[e.CurrentTenantAlreadyLinked=4]="CurrentTenantAlreadyLinked"}(i0||(i0={})),function(e){e[e.Unknown=0]="Unknown",e[e.Text=1]="Text",e[e.MultilineText=2]="MultilineText"}(o0||(o0={})),function(e){e[e.Unknown=0]="Unknown",e[e.AdminOnly=1]="AdminOnly",e[e.UserEditable=2]="UserEditable",e[e.Hidden=3]="Hidden"}(a0||(a0={})),function(e){e.Admin="Admin",e.Editor="Editor",e.Author="Author",e.Reader="Reader",e.LimitedReader="LimitedReader",e.None="None"}(s0||(s0={})),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"}(u0||(u0={})),function(e){e[e.Success=1]="Success",e[e.InvalidHash=2]="InvalidHash",e[e.InvalidEmail=3]="InvalidEmail",e[e.NotPending=4]="NotPending"}(c0||(c0={})),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"}(l0||(l0={})),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"}(d0||(d0={})),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"}(f0||(f0={})),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"}(p0||(p0={}));var w0=nY,x0=YG,_0=iZ("match"),S0=function(e){var t;return w0(e)&&(void 0!==(t=e[_0])?!!t:"RegExp"==x0(e))},k0=S0,C0=function(e){if(k0(e))throw TypeError("The method doesn't accept regular expressions");return e},E0=iZ("match"),I0=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[E0]=!1,"/./"[e](t)}catch(e){}}return!1},O0=C0,T0=JG;x$({target:"String",proto:!0,forced:!I0("includes")},{includes:function(e){return!!~String(T0(this)).indexOf(O0(e),arguments.length>1?arguments[1]:void 0)}});var N0=x$,D0=zG.f,A0=MQ,P0=C0,M0=JG,j0=I0,R0="".endsWith,L0=Math.min,F0=j0("endsWith"),z0=!F0&&!!function(){var e=D0(String.prototype,"endsWith");return e&&!e.writable}();function B0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length)return!1;return r.some((function(t){return t.role.roleValue>=e}))}(e,t,i))}function U0(e,t,n){var r=n,i=Array.isArray(n)?n:(null==r?void 0:r.groupIds)||[];return!!(t&&e&&i&&i.length)&&(!!t.isSubscriptionOwner||function(e,t,n){var r=t.groups.filter((function(e){return!n||n.includes(e.id)}));if(!r.length||n&&n.length!==r.length)return!1;return r.every((function(t){return t.role.roleValue>=e}))}(e,t,i))}function q0(e,t,n){return n||(n=function(){return!0}),t.groups.filter((function(t){return t.role.roleValue>=e&&n(t)}))}function V0(e){return!!e&&e.endsWith("@hidden-email.reach.livetiles.io")}N0({target:"String",proto:!0,forced:!z0&&!F0},{endsWith:function(e){var t=String(M0(this));P0(e);var n=arguments.length>1?arguments[1]:void 0,r=A0(t.length),i=void 0===n?r:L0(A0(n),r),o=String(e);return R0?R0.call(t,o,i):t.slice(i-o.length,i)===o}});var K0,H0,W0={},G0={};function Y0(){var e=IV();return u((function(){return{searchAccounts:t,searchAccountsByItemId:function(e,n,r){return t({search:r,type:t0.User,includePendingInvitationUsers:!0,includePendingRegistrationUsers:!0,localOnly:!0,excludeApiUsers:!0,itemId:n,minRole:e})},getUserInfo:function(t){G0[t]||(G0[t]=e.custom("users/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(G0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return G0[t]},getUserInfoById:function(t){G0[t]||(G0[t]=e.custom("users/by_id/"+t+"/info").get().then((function(e){return e.body().data()})).catch((function(e){if(G0[t]=null,e.response&&404===e.response.statusCode)return{userPrincipalName:t};throw e})));return G0[t]},getUserAvatarUrl:function(t,n){W0[t]||(W0[t]=e.custom("users/"+encodeURIComponent(t)+"/avatar?"+zg.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 yH(W0[t])},clearUserInfoCache:function(e){G0[e]&&delete G0[e]},clearUserAvatarCache:function(e){W0[e]&&delete W0[e]}};function t(t){var n=zg.stringify(t);return e.all("accounts?"+n).getAll().then((function(e){return e.body(!1)}))}}),[e])}function Q0(){var e=IV(),t=EV(),n=a(SS).onRequestToken;return u((function(){return{getCurrentUser:function(e,t){void 0===t&&(t=!0);return _G(this,void 0,void 0,(function(){var n,o;return SG(this,(function(a){switch(a.label){case 0:return e?[4,r(e,t)]:[3,2];case 1:return o=a.sent(),[3,4];case 2:return[4,i(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>=u0.Admin,isEditor:n||t>=u0.Editor,isAuthor:n||t>=u0.Author,isReader:n||t>=u0.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,r){return _G(this,void 0,void 0,(function(){var i,o,a;return SG(this,(function(s){switch(s.label){case 0:return(i=new FormData).append("file",r,r.name||"image."+OH.getExtension(r.type)),[4,n()];case 1:return o=s.sent(),a={method:"PUT",body:i,headers:{authorization:"Bearer "+o,"subscription-id":e}},[2,t.fetchFromApi("/users/current/avatar",a)]}}))}))},deleteCurrentUserAvatar:function(){return _G(this,void 0,void 0,(function(){return SG(this,(function(t){return[2,e.custom("users/current/avatar").delete()]}))}))}};function r(e,n){return _G(this,void 0,void 0,(function(){var r;return SG(this,(function(i){switch(i.label){case 0:return[4,t.fetchFromApi("/users/current?"+zg.stringify({essentialOnly:n}),{headers:{Authorization:"Bearer "+e}})];case 1:return[2,404===(r=i.sent()).status?null:r.json()]}}))}))}function i(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){return[2,e.custom("users/current?"+zg.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 $0(){var e=IV(),t=jG(),n=t.saveLanguageToLocalStorage,r=t.saveLocaleToLocalStorage;return u((function(){return{updateNotificationTypeSettings:function(t){for(var n={comments:null,mentions:null,posts:null,news:null,events:null,chat:null,pluginNotifications:null},r=function(e){Object.keys(n).every((function(t){return t!==e}))&&delete t[e]},i=0,o=Object.keys(t||{});i<o.length;i++){var a=o[i];r(a)}return e.custom("users/current/notification_settings/types").put(t).then((function(e){return e.body().data()}))},getFollowCommentsStatus:function(t,n,r){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).get().then((function(e){return e.body().data().enabled}))},toggleFollowComments:t,followPublicPublishableItemComments:i,followEditorPublishableItemComments:o,followAllPublishableItemComments:function(e,t){i(e,t),o(e,t)},followPublishableItemComments:a,resolveSegment:s,getFollowCommentSegment:u,toggleBookmark:function(t,n){null==n.bookmarks&&(n.bookmarks=[]);var r=n.bookmarks.findIndex((function(e){return e===t}));if(r<0)return e.one("users","current").all("bookmarks").put(t,null).then((function(){return n.bookmarks.push(t),!0}));return e.one("users","current").all("bookmarks").delete(t).then((function(){return n.bookmarks.splice(r,1),!1}))},getUserProperties:function(){return e.all("users/user_properties").get("").then((function(e){return e.body().data()}))},setUserChannels:function(t){return e.custom("users/current/channels").put(t)},addContact:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts").post(t)];case 1:return[2,n.sent().body().data()]}}))}))},deleteContact:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.all("users/current/contacts/"+t.tokenUniqueId).delete("")];case 1:return[2,n.sent().body().data()]}}))}))},getContactAccounts:function(){return e.all("users/current/contacts").getAll().then((function(e){return e.body(!1)}))},setLanguage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/ui_language/"+t).put(null)];case 1:return r.sent(),[4,n(t)];case 2:return r.sent(),[2]}}))}))},setContentLanguage:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/content_language/"+t).put(null)];case 1:return n.sent(),[2]}}))}))},setLocale:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/locale/"+t).put(null)];case 1:return n.sent(),[4,r(t)];case 2:return n.sent(),[2]}}))}))},getGroupNotificationSettings:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).get().then((function(e){return e.body().data()}))];case 1:return[2,n.sent()]}}))}))},updateGroupNotificationSettings:function(t,n){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.label){case 0:return[4,e.custom("users/current/notification_settings/groups/"+t).put(n).then((function(e){return e.body().data()}))];case 1:return[2,r.sent()]}}))}))},clearMyUnreadItems:function(t){return _G(this,void 0,void 0,(function(){return SG(this,(function(n){switch(n.label){case 0:return[4,e.custom("users/current/"+t+"/unread").delete()];case 1:return n.sent(),[2]}}))}))},acceptTermsAndConditions:function(t){return e.custom("users/current/terms_and_conditions/"+t).patch({})}};function t(t,n,r,i){return e.custom("users/current/notification_settings/"+s(n,r)+"/"+t).put({enabled:i})}function i(e,t){a(e,t,H0.Public)}function o(e,t){a(e,t,H0.Editor)}function a(e,n,r){t(e,n,r,!0).then((function(){return null}),(function(e){return $g.error(e)}))}function s(e,t){switch(t){case H0.Editor:return"editor_comments";case H0.Public:return u(e)+"_comments";case H0.Posts:return"post_comments";default:throw Error("Invalid scope")}}function u(e){switch(e){case K0.News:return"news";case K0.Pages:return"page";case K0.Events:return"event";default:throw Error("Invalid type")}}}),[e,n,r])}!function(e){e.News="news",e.Pages="pages",e.Posts="posts",e.Events="events",e.Comments="comments"}(K0||(K0={})),function(e){e[e.Public=0]="Public",e[e.Editor=1]="Editor",e[e.Posts=2]="Posts"}(H0||(H0={}));var Z0,J0=GQ,X0=YQ,e1=Object.keys||function(e){return J0(e,X0)},t1=xY,n1=SY,r1=e1,i1=UG?Object.defineProperties:function(e,t){n1(e);for(var n,r=r1(t),i=r.length,o=0;i>o;)t1.f(e,n=r[o++],t[n]);return e},o1=SY,a1=i1,s1=YQ,u1=nQ,c1=QZ,l1=lY,d1=tQ("IE_PROTO"),f1=function(){},p1=function(e){return"<script>"+e+"<\/script>"},h1=function(){try{Z0=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h1=Z0?function(e){e.write(p1("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Z0):((t=l1("iframe")).style.display="none",c1.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p1("document.F=Object")),e.close(),e.F);for(var n=s1.length;n--;)delete h1.prototype[s1[n]];return h1()};u1[d1]=!0;var m1=Object.create||function(e,t){var n;return null!==e?(f1.prototype=o1(e),n=new f1,f1.prototype=null,n[d1]=e):n=h1(),void 0===t?n:a1(n,t)},g1=m1,v1=xY,y1=iZ("unscopables"),b1=Array.prototype;null==b1[y1]&&v1.f(b1,y1,{configurable:!0,value:g1(null)});var w1,x1,_1,S1=function(e){b1[y1][e]=!0},k1=!BG((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),C1=aY,E1=k$,I1=k1,O1=tQ("IE_PROTO"),T1=Object.prototype,N1=I1?Object.getPrototypeOf:function(e){return e=E1(e),C1(e,O1)?e[O1]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?T1:null},D1=N1,A1=DY,P1=aY,M1=iZ("iterator"),j1=!1;[].keys&&("next"in(_1=[].keys())?(x1=D1(D1(_1)))!==Object.prototype&&(w1=x1):j1=!0),null==w1&&(w1={}),P1(w1,M1)||A1(w1,M1,(function(){return this}));var R1={IteratorPrototype:w1,BUGGY_SAFARI_ITERATORS:j1},L1=R1.IteratorPrototype,F1=m1,z1=WG,B1=uZ,U1=hZ,q1=function(){return this},V1=nY,K1=SY,H1=function(e){if(!V1(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},W1=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,r){return K1(n),H1(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),G1=x$,Y1=function(e,t,n){var r=t+" Iterator";return e.prototype=F1(L1,{next:z1(1,n)}),B1(e,r,!1),U1[r]=q1,e},Q1=N1,$1=W1,Z1=uZ,J1=DY,X1=AY.exports,e2=hZ,t2=R1.IteratorPrototype,n2=R1.BUGGY_SAFARI_ITERATORS,r2=iZ("iterator"),i2=function(){return this},o2=tY,a2=S1,s2=hZ,u2=mQ,c2=function(e,t,n,r,i,o,a){Y1(n,t,r);var s,u,c,l=function(e){if(e===i&&m)return m;if(!n2&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[r2]||p["@@iterator"]||i&&p[i],m=!n2&&h||l(i),g="Array"==t&&p.entries||h;if(g&&(s=Q1(g.call(new e)),t2!==Object.prototype&&s.next&&(Q1(s)!==t2&&($1?$1(s,t2):"function"!=typeof s[r2]&&J1(s,r2,i2)),Z1(s,d,!0))),"values"==i&&h&&"values"!==h.name&&(f=!0,m=function(){return h.call(this)}),p[r2]!==m&&J1(p,r2,m),e2[t]=m,i)if(u={values:l("values"),keys:o?m:l("keys"),entries:l("entries")},a)for(c in u)(n2||f||!(c in p))&&X1(p,c,u[c]);else G1({target:t,proto:!0,forced:n2||f},u);return u},l2=u2.set,d2=u2.getterFor("Array Iterator"),f2=c2(Array,"Array",(function(e,t){l2(this,{type:"Array Iterator",target:o2(e),index:0,kind:t})}),(function(){var e=d2(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");s2.Arguments=s2.Array,a2("keys"),a2("values"),a2("entries");var p2=FG,h2={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},m2=f2,g2=DY,v2=iZ,y2=v2("iterator"),b2=v2("toStringTag"),w2=m2.values;for(var x2 in h2){var _2=p2[x2],S2=_2&&_2.prototype;if(S2){if(S2[y2]!==w2)try{g2(S2,y2,w2)}catch(e){S2[y2]=w2}if(S2[b2]||g2(S2,b2,x2),h2[x2])for(var k2 in m2)if(S2[k2]!==m2[k2])try{g2(S2,k2,m2[k2])}catch(e){S2[k2]=m2[k2]}}}var C2=s(null);function E2(){var e=a(C2);return null!=e?e.refresh:function(){return null}}var I2,O2=function(t){var n=t.children,r=v0().refreshUser,i=Dj(),o=f((function(){var e,t;return _G(this,void 0,void 0,(function(){var n,o;return SG(this,(function(a){switch(a.label){case 0:return[4,i.query({query:T2,fetchPolicy:"no-cache",errorPolicy:"all"})];case 1:return n=a.sent(),null==(o=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.currentUser)?[3,3]:[4,r((function(e){return wG(wG({},e),function(e){var t,n,r,i,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!==(r=null==e?void 0:e.unreadNews)&&void 0!==r?r:[],unreadEvents:null!==(i=null==e?void 0:e.unreadEvents)&&void 0!==i?i:[],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}}(wG({bookmarks:o.bookmarkIds,availableSubscriptions:o.subscriptions},o)))}))];case 2:return[2,a.sent()];case 3:return(null==o||(null===(t=null==n?void 0:n.errors)||void 0===t?void 0:t.length)>0)&&$g.error("Failed to load the currentUser with details.",null==n?void 0:n.errors),[2]}}))}))}),[i]),a=u((function(){return{refresh:o}}),[o]);return l((function(){o().then(null,$g.error)}),[o]),e(C2.Provider,wG({value:a},{children:n}),void 0)},T2=wj(I2||(I2=CG(["\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"]))),N2=x$,D2=zG.f,A2=MQ,P2=C0,M2=JG,j2=I0,R2="".startsWith,L2=Math.min,F2=j2("startsWith"),z2=!F2&&!!function(){var e=D2(String.prototype,"startsWith");return e&&!e.writable}();function B2(){var e=a(tE).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 U2(){var e=Eg().webAppUrl,t=V2();return t?"https://"+t:e}function q2(){var e=Eg().webAppUrls,t=V2();return t?kG(kG([],e),["https://"+t]):e}function V2(){var e,t=y0();return(null===(e=null==t?void 0:t.subscription)||void 0===e?void 0:e.customDomain)||process.env.NX_CUSTOM_DOMAIN}N2({target:"String",proto:!0,forced:!z2&&!F2},{startsWith:function(e){var t=String(M2(this));P2(e);var n=A2(L2(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return R2?R2.call(t,r,n):t.slice(n,n+r.length)===r}});var K2=["rm"],H2=["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 W2(e){return e.preferredContentLanguage||e.preferredUiLanguage||$_()||e.subscription&&e.subscription.defaultLanguage||"en"}function G2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t?t.map((function(t){return wG(wG({},t),{localizedName:e.formatMessage({id:"Generic.languages."+t.code,defaultMessage:t.englishName})})})):[]}var Y2=s(null);var Q2=window.System;function $2(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=document.querySelector('script[type="systemjs-importmap"][data-reach-package="'+e+'"]');if(null==r){var i=document.createElement("script");i.type="systemjs-importmap",i.setAttribute("data-reach-package",e);for(var o={imports:{}},a=0,s=t;a<s.length;a++){var u=s[a].name;o.imports[u]="app:"+u}i.textContent=JSON.stringify(o,null,2),document.head.appendChild(i);for(var c=0,l=t;c<l.length;c++){var d=l[c],f=d.name,p=d.packageDefinition;Q2.set("app:"+f,p)}}}var Z2=function(){return null};var J2=SY,X2=function(){var e=J2(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},e3={},t3=BG;function n3(e,t){return RegExp(e,t)}e3.UNSUPPORTED_Y=t3((function(){var e=n3("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),e3.BROKEN_CARET=t3((function(){var e=n3("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var r3=X2,i3=e3,o3=RegExp.prototype.exec,a3=String.prototype.replace,s3=o3,u3=function(){var e=/a/,t=/b*/g;return o3.call(e,"a"),o3.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),c3=i3.UNSUPPORTED_Y||i3.BROKEN_CARET,l3=void 0!==/()??/.exec("")[1];(u3||l3||c3)&&(s3=function(e){var t,n,r,i,o=this,a=c3&&o.sticky,s=r3.call(o),u=o.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),n=new RegExp("^(?:"+u+")",s)),l3&&(n=new RegExp("^"+u+"$(?!\\s)",s)),u3&&(t=o.lastIndex),r=o3.call(a?n:o,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:u3&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),l3&&r&&r.length>1&&a3.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var d3=s3;x$({target:"RegExp",proto:!0,forced:/./.exec!==d3},{exec:d3});var f3=AY.exports,p3=BG,h3=iZ,m3=d3,g3=DY,v3=h3("species"),y3=!p3((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),b3="$0"==="a".replace(/./,"$0"),w3=h3("replace"),x3=!!/./[w3]&&""===/./[w3]("a","$0"),_3=!p3((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]})),S3=function(e,t,n,r){var i=h3(e),o=!p3((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),a=o&&!p3((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[v3]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!a||"replace"===e&&(!y3||!b3||x3)||"split"===e&&!_3){var s=/./[i],u=n(i,""[e],(function(e,t,n,r,i){return t.exec===m3?o&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:b3,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x3}),c=u[0],l=u[1];f3(String.prototype,e,c),f3(RegExp.prototype,i,2==t?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}r&&g3(RegExp.prototype[i],"sham",!0)},k3=DQ,C3=JG,E3=function(e){return function(t,n){var r,i,o=String(C3(t)),a=k3(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},I3={codeAt:E3(!1),charAt:E3(!0)}.charAt,O3=function(e,t,n){return t+(n?I3(e,t).length:1)},T3=YG,N3=d3,D3=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==T3(e))throw TypeError("RegExp#exec called on incompatible receiver");return N3.call(e,t)},A3=S3,P3=SY,M3=k$,j3=MQ,R3=DQ,L3=JG,F3=O3,z3=D3,B3=Math.max,U3=Math.min,q3=Math.floor,V3=/\$([$&'`]|\d\d?|<[^>]*>)/g,K3=/\$([$&'`]|\d\d?)/g;function H3(){return a(Y2).storage}function W3(e,t){var n="Plugins::"+e+"::";return{getAllKeys:r,getString:function(e){return t.getString(n+e)},setString:function(e,r){return t.setString(n+e,r)},remove:function(e){return t.remove(n+e)},clearAll:function(){return _G(this,void 0,void 0,(function(){var e,i,o,a;return SG(this,(function(s){switch(s.label){case 0:return[4,r()];case 1:e=s.sent(),i=0,o=e,s.label=2;case 2:return i<o.length?(a=o[i],[4,t.remove(n+a)]):[3,5];case 3:s.sent(),s.label=4;case 4:return i++,[3,2];case 5:return[2]}}))}))}};function r(){var e;return _G(this,void 0,void 0,(function(){var r;return SG(this,(function(i){switch(i.label){case 0:return[4,t.getAllKeys()];case 1:return r=i.sent(),[2,null!==(e=null==r?void 0:r.filter((function(e){return e.startsWith(n)})).map((function(e){return e.replace(n,"")})))&&void 0!==e?e:[]]}}))}))}}function G3(e){var t;if(404!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.statusCode))throw e}function Y3(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,r){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("users/current/plugins/"+e+"/store/"+n+"/value").delete()}}}function Q3(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,r){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").put(r).then((function(e){return e.body().data()}))},delete:function(n){return t.custom("subscriptions/current/plugins/"+e+"/store/"+n+"/value").delete()}}}A3("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=L3(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var u=n(t,e,this,r);if(u.done)return u.value}var c=P3(e),l=String(this),d="function"==typeof r;d||(r=String(r));var f=c.global;if(f){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=z3(c,l);if(null===m)break;if(h.push(m),!f)break;""===String(m[0])&&(c.lastIndex=F3(l,j3(c.lastIndex),p))}for(var g,v="",y=0,b=0;b<h.length;b++){m=h[b];for(var w=String(m[0]),x=B3(U3(R3(m.index),l.length),0),_=[],S=1;S<m.length;S++)_.push(void 0===(g=m[S])?g:String(g));var k=m.groups;if(d){var C=[w].concat(_,x,l);void 0!==k&&C.push(k);var E=String(r.apply(void 0,C))}else E=s(w,l,x,_,k,r);x>=y&&(v+=l.slice(y,x)+E,y=x+w.length)}return v+l.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,u=i.length,c=K3;return void 0!==o&&(o=M3(o),c=V3),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>u){var d=q3(l/10);return 0===d?t:d<=u?void 0===i[d-1]?a.charAt(1):i[d-1]+a.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}));var $3=function(t){var n=t.pluginId,r=t.componentName,i=t.settings,o=t.bundleUrl,s=t.bundleModificationDate,c=xG(t,["pluginId","componentName","settings","bundleUrl","bundleModificationDate"]),l=eE(),d=IV(),f=function(){var e=IV(),t=y0(),n=EV(),r=n.createApiUrl,i=n.fetchFromApi,o=a(SS).onRequestToken;return u((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 _G(this,void 0,void 0,(function(){return SG(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 _G(this,void 0,void 0,(function(){var r,a,s;return SG(this,(function(u){switch(u.label){case 0:return(r=new FormData).append("file",n),[4,o()];case 1:return a=u.sent(),s={method:"PUT",body:r,headers:{authorization:"Bearer "+a,"subscription-id":t.subscription.id}},[2,i("/plugins/"+encodeURIComponent(e)+"/bundle",s)]}}))}))},generateApiKey:function(t,n,r){return _G(this,void 0,void 0,(function(){return SG(this,(function(i){switch(i.label){case 0:return[4,e.all("plugins/"+encodeURIComponent(t)+"/api_keys").post({displayName:n,expiryDate:r}).then((function(e){return e.body().data()}))];case 1:return[2,i.sent()]}}))}))},linkPlugin:function(t,n){return _G(this,void 0,void 0,(function(){return SG(this,(function(r){switch(r.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,r.sent()]}}))}))},unlinkPlugin:function(t){return _G(this,void 0,void 0,(function(){return SG(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,i,o,t.subscription.id])}().getPluginFileUrl,p=u((function(){return y((function(){return function(e,t){return _G(this,void 0,void 0,(function(){var n;return SG(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,Q2.import(e)];case 1:return[2,{default:r.sent()[t]}];case 2:return n=r.sent(),$g.error(n),[2,{default:Z2}];case 3:return[2]}}))}))}(f(n,o,s),r)}))}),[r,n,f,o,s]),h=u((function(){return{settings:i,storage:W3(n,l),userStore:Y3(n,d),subscriptionStore:Q3(n,d)}}),[n,i,l,d]);return e(b,wG({fallback:e("div",{},void 0)},{children:e(Y2.Provider,wG({value:h},{children:e(p,wG({name:r},c),void 0)}),void 0)}),void 0)},Z3=YG,J3=Array.isArray||function(e){return"Array"==Z3(e)},X3=J3,e4=MQ,t4=bZ,n4=function(e,t,n,r,i,o,a,s){for(var u,c=i,l=0,d=!!a&&t4(a,s,3);l<r;){if(l in n){if(u=d?d(n[l],l,t):n[l],o>0&&X3(u))c=n4(e,t,u,e4(u.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=u}c++}l++}return c},r4=n4,i4=nY,o4=J3,a4=iZ("species"),s4=r4,u4=k$,c4=MQ,l4=_$,d4=function(e,t){var n;return o4(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o4(n.prototype)?i4(n)&&null===(n=n[a4])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)};x$({target:"Array",proto:!0},{flatMap:function(e){var t,n=u4(this),r=c4(n.length);return l4(e),(t=d4(n,0)).length=s4(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}}),S1("flatMap");var f4,p4,h4=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},m4=SY,g4=JG,v4=h4,y4=D3;function b4(){var e=y0(),t=function(){var e=function(){var e=ve(),t=zg.parse(e.search);if(null!=t.plugin){var n=JSON.parse(atob(t.plugin));w4.some((function(e){return e.pluginId===n.pluginId}))||(w4.push(n),window.sessionStorage.setItem("Reach::InjectedRemotePlugins",JSON.stringify(w4)))}return w4}(),t=vS(n,[],[null==e?void 0:e.length])[0];return null!=x4?x4:t;function n(){return _G(this,void 0,void 0,(function(){var t,n,r,i,o,a;return SG(this,(function(s){switch(s.label){case 0:if(x4)return[2,x4];t=[],n=0,r=e,s.label=1;case 1:return n<r.length?(i=r[n],o="http://localhost:"+i.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,x4=t]}}))}))}}();return kG(kG([],(e.subscription.webPluginDefinitions||[]).filter((function(e){return!t.some((function(t){return t.pluginId===e.pluginId}))}))),t)}S3("search",1,(function(e,t,n){return[function(t){var n=g4(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=m4(e),o=String(this),a=i.lastIndex;v4(a,0)||(i.lastIndex=0);var s=y4(i,o);return v4(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]})),function(e){e.global="Global",e.page="Page",e.eventEditorFeedbackSection="EventEditorFeedbackSection",e.eventDetailViewSection="EventDetailViewSection"}(p4||(p4={}));var w4=null!==(f4=JSON.parse(window.sessionStorage.getItem("Reach::InjectedRemotePlugins")))&&void 0!==f4?f4:[];var x4=null;var _4=UG,S4=BG,k4=e1,C4=ZQ,E4=qG,I4=k$,O4=ZG,T4=Object.assign,N4=Object.defineProperty,D4=!T4||S4((function(){if(_4&&1!==T4({b:1},T4(N4({},"a",{enumerable:!0,get:function(){N4(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=T4({},e)[n]||k4(T4({},t)).join("")!=r}))?function(e,t){for(var n=I4(e),r=arguments.length,i=1,o=C4.f,a=E4.f;r>i;)for(var s,u=O4(arguments[i++]),c=o?k4(u).concat(o(u)):k4(u),l=c.length,d=0;l>d;)s=c[d++],_4&&!a.call(u,s)||(n[s]=u[s]);return n}:T4,A4=D4;x$({target:"Object",stat:!0,forced:Object.assign!==A4},{assign:A4});var P4=YG,M4=DQ,j4=JG,R4="".repeat||function(e){var t=String(j4(this)),n="",r=M4(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},L4=x$,F4=DQ,z4=function(e){if("number"!=typeof e&&"Number"!=P4(e))throw TypeError("Incorrect invocation");return+e},B4=R4,U4=BG,q4=1..toFixed,V4=Math.floor,K4=function(e,t,n){return 0===t?n:t%2==1?K4(e,t-1,n*e):K4(e*e,t/2,n)};L4({target:"Number",proto:!0,forced:q4&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!U4((function(){q4.call({})}))},{toFixed:function(e){var t,n,r,i,o=z4(this),a=F4(e),s=[0,0,0,0,0,0],u="",c="0",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=V4(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=V4(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+B4.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&&(u="-",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*K4(2,69,1))-69,n=t<0?o*K4(2,-t,1):o/K4(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=a;r>=7;)l(1e7,0),r-=7;for(l(K4(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),c=f()}else l(0,n),l(1<<-t,0),c=f()+B4.call("0",a);return c=a>0?u+((i=c.length)<=a?"0."+B4.call("0",a-i)+c:c.slice(0,i-a)+"."+c.slice(i-a)):u+c}});var H4={primaryColor:"#512DA8",secondaryColor:"#6AE6C6"},W4={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"}},G4=SY,Y4=MQ,Q4=JG,$4=O3,Z4=D3;S3("match",1,(function(e,t,n){return[function(t){var n=Q4(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=G4(e),o=String(this);if(!i.global)return Z4(i,o);var a=i.unicode;i.lastIndex=0;for(var s,u=[],c=0;null!==(s=Z4(i,o));){var l=String(s[0]);u[c]=l,""===l&&(i.lastIndex=$4(o,Y4(i.lastIndex),a)),c++}return 0===c?null:u}]}));var J4=JG,X4="[\t\n\v\f\r                 \u2028\u2029\ufeff]",e5=RegExp("^"+X4+X4+"*"),t5=RegExp(X4+X4+"*$"),n5=function(e){return function(t){var n=String(J4(t));return 1&e&&(n=n.replace(e5,"")),2&e&&(n=n.replace(t5,"")),n}},r5={start:n5(1),end:n5(2),trim:n5(3)},i5=r5.trim,o5=FG.parseInt,a5=/^[+-]?0[Xx]/,s5=8!==o5("\t\n\v\f\r                 \u2028\u2029\ufeff08")||22!==o5("\t\n\v\f\r                 \u2028\u2029\ufeff0x16")?function(e,t){var n=i5(String(e));return o5(n,t>>>0||(a5.test(n)?16:10))}:o5;x$({global:!0,forced:parseInt!=s5},{parseInt:s5});var u5=S3,c5=S0,l5=SY,d5=JG,f5=YZ,p5=O3,h5=MQ,m5=D3,g5=d3,v5=BG,y5=[].push,b5=Math.min,w5=!v5((function(){return!RegExp(4294967295,"y")}));u5("split",2,(function(e,t,n){var r;return r="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 r=String(d5(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!c5(e))return t.call(r,e,i);for(var o,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,d=new RegExp(e.source,c+"g");(o=g5.call(d,r))&&!((a=d.lastIndex)>l&&(u.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&y5.apply(u,o.slice(1)),s=o[0].length,l=a,u.length>=i));)d.lastIndex===o.index&&d.lastIndex++;return l===r.length?!s&&d.test("")||u.push(""):u.push(r.slice(l)),u.length>i?u.slice(0,i):u}:"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 i=d5(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=l5(e),s=String(this),u=f5(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(w5?"y":"g"),d=new u(w5?a:"^(?:"+a.source+")",l),f=void 0===i?4294967295:i>>>0;if(0===f)return[];if(0===s.length)return null===m5(d,s)?[s]:[];for(var p=0,h=0,m=[];h<s.length;){d.lastIndex=w5?h:0;var g,v=m5(d,w5?s:s.slice(h));if(null===v||(g=b5(h5(d.lastIndex+(w5?0:h)),s.length))===p)h=p5(s,h,c);else{if(m.push(s.slice(p,h)),m.length===f)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===f)return m;h=p=g}}return m.push(s.slice(p)),m}]}),!w5);var x5=BG,_5="\t\n\v\f\r                 \u2028\u2029\ufeff",S5=r5.trim,k5=function(e){return x5((function(){return!!_5[e]()||"​…᠎"!="​…᠎"[e]()||_5[e].name!==e}))};x$({target:"String",proto:!0,forced:k5("trim")},{trim:function(){return S5(this)}});var C5=AY.exports,E5=SY,I5=BG,O5=X2,T5=RegExp.prototype,N5=T5.toString,D5=I5((function(){return"/a/b"!=N5.call({source:"a",flags:"b"})})),A5="toString"!=N5.name;(D5||A5)&&C5(RegExp.prototype,"toString",(function(){var e=E5(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in T5)?O5.call(e):n)}),{unsafe:!0});var P5=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}(),M5=null,j5=wG({name:"Default"},H4),R5=W4.palette.neutralLighter,L5=[j5,{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 F5(e,t){var n=z5(e.primaryColor),r=e.useHighlightColorOnWhiteBackground?e.secondaryColor:e.primaryColor,i=e.useHighlightColorOnWhiteBackground?B5(r):B5(n),o={primaryColor:e.primaryColor,secondaryColor:e.secondaryColor,textColorOnPrimary:B5(n),textColorOnSecondary:B5(e.secondaryColor),accentColor:r,textColorOnAccent:i},a=wG({},W4),s=function(e){var t={palette:{},semanticColors:{},textColors:{}},n=new P5(e.accentColor).toHex(),r=new P5(e.accentColor).lighten(-.3).toHex(),i=new P5(e.accentColor).lighten(.5).toHex(),o=z5(e.primaryColor),a=B5(r);return t.palette.themeDarker=new P5(e.primaryColor).lighten(-.4).toHex(),t.palette.themeDark=new P5(e.primaryColor).lighten(-.3).toHex(),t.palette.themeDarkAlt=o,t.palette.themePrimary=new P5(e.primaryColor).toHex(),t.palette.themeLight=new P5(e.primaryColor).lighten(.2).toHex(),t.palette.themeLighter=new P5(e.primaryColor).lighten(.65).toHex(),t.palette.themeLighterAlt=new P5(e.primaryColor).lighten(.8).toHex(),t.palette.red=new P5("#B90000").toHex(),t.palette.redDark=new P5("#a80000").toHex(),t.palette.accent=n,t.semanticColors.warningText=new P5(e.secondaryColor).lighten(.8).toHex(),t.semanticColors.inputPlaceholderText=new P5("#666666").toHex(),t.semanticColors.primaryButtonBackground=n,t.semanticColors.primaryButtonText=e.textColorOnAccent,t.semanticColors.primaryButtonBackgroundHovered=r,t.semanticColors.primaryButtonTextHovered=a,t.semanticColors.primaryButtonBackgroundPressed=r,t.semanticColors.primaryButtonTextPressed=a,t.semanticColors.inputIcon=n,t.semanticColors.inputIconHovered=r,t.semanticColors.inputBackgroundChecked=n,t.semanticColors.inputBackgroundCheckedHovered=r,t.semanticColors.inputFocusBorderAlt=n,t.semanticColors.inputPlaceholderBackgroundChecked=i,t.palette.themeSecondary=new P5(e.secondaryColor).toHex(),t.palette.themeTertiary=new P5(e.secondaryColor).lighten(-.2).toHex(),t.textColors.onPrimary=new P5(e.textColorOnPrimary).toHex(),t.textColors.onSecondary=new P5(e.textColorOnSecondary).toHex(),t.textColors.default=new P5("#333333").toHex(),t.textColors.onAccent=new P5(e.textColorOnAccent).toHex(),t}(o);for(var u in s)s.hasOwnProperty(u)&&Object.assign(a[u],s[u]);return t||I(a),function(e){var t=[],n=".lt-reach";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];"textColors"!==r&&(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+";}")}}M5||((M5=document.createElement("style")).type="text/css",M5.id="condense-ui-fabric-overrides",document.head.appendChild(M5));M5.innerHTML=t.join(" ")}(a),a}function z5(e){return new P5(e).lighten(-.2).toHex()}function B5(e){return function(e){var t=MH(e,"#333333"),n=MH(e,"#ffffff");return t>n}(e)?"#333333":"#ffffff"}var U5,q5,V5,K5,H5,W5,G5,Y5,Q5,$5,Z5,J5,X5,e6,t6=s(null),n6=function(t){var n=t.disableUiFabricThemeOverwrite,r=t.children,i=d((function(){return F5(L5.find((function(e){return"Default"===e.name})),n)})),o=i[0],a=i[1];return e(t6.Provider,wG({value:{theme:o,setTheme:function(e){return a(F5(e,n))}}},{children:e(Ie,wG({theme:o},{children:r}),void 0)}),void 0)};function r6(e){switch(e){case X5.YouTube:return J5.YouTube;case X5.Vimeo:return J5.Vimeo;case X5.MicrosoftStream:return J5.MicrosoftStream;case X5.GenericUrl:return J5.GenericUrl;case X5.Kaltura:return J5.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"}(U5||(U5={})),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"}(q5||(q5={})),function(e){e[e.NotSet=0]="NotSet",e[e.Registered=1]="Registered",e[e.Declined=2]="Declined"}(V5||(V5={})),function(e){e[e.None=0]="None",e[e.FullSeries=1]="FullSeries",e[e.PerInstance=2]="PerInstance"}(K5||(K5={})),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"}(H5||(H5={})),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"}(W5||(W5={})),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"}(G5||(G5={})),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"}(Y5||(Y5={})),function(e){e[e.Page=0]="Page",e[e.Document=1]="Document"}(Q5||(Q5={})),function(e){e[e.None=0]="None",e[e.Unconfirmed=1]="Unconfirmed",e[e.Alert=2]="Alert"}($5||($5={})),function(e){e.draft="draft",e.ready="ready",e.rejected="rejected",e.approved="approved",e.deleted="deleted"}(Z5||(Z5={})),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"}(J5||(J5={})),function(e){e.YouTube="YOUTUBE",e.Vimeo="VIMEO",e.MicrosoftStream="MICROSOFTSTREAM",e.GenericUrl="GENERICURL",e.Kaltura="KALTURA"}(X5||(X5={})),function(e){e[e.unknown=0]="unknown",e[e.pending=1]="pending",e[e.complete=2]="complete",e[e.error=3]="error"}(e6||(e6={}));var i6=function(e){function t(t,n){var r=e.call(this)||this;return r.actualSizeInMb=t,r.maxSizeInMb=n,r}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}bG(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function o6(e){if(e.size>1e6*undefined.maxFileSizeInMb){var t=new i6(e.size/1e6,undefined.maxFileSizeInMb);throw n=t,r=window.location.href,function(){if(null==(void 0).appInsightsKey)return!1}()&&(r||(r=window.location.href),$g.error(n,r),(void 0).trackException({exception:n})),t}var n,r,i=new FormData;return i.append("file",e),i}function a6(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 s6(e){var t={};return(e||[]).forEach((function(e){t[e.groupId]||(t[e.groupId]=[]),t[e.groupId].push(e)})),t}function u6(e,t,n,r,i,o){var a=r||i;if(null==e)return a;var s=e.find((function(e){return e.name===i}))||e.find((function(e){return e.id===n}));if(!s)return a;if(!r)return c6(t,s.translations,a,o);var u=s&&s.keywords.find((function(e){return e.name===r}));return u?c6(t,u.translations,a,o):a}function c6(e,t,n,r){return null==t&&(t={}),r||(r=W2(e)),r&&t[r]||t[e.subscription.defaultLanguage]||n}var l6={small:550,medium:768,large:1024,xLarge:1350,xxLarge:1640,xxxLarge:1919},d6=549,f6=767,p6=1023,h6=1349,m6=s(null),g6=s(null);function v6(){return a(m6)}var y6,b6,w6,x6,_6,S6,k6=function(t){var r=t.children,i=d(!1),o=i[0],a=i[1],s=d({}),c=s[0],l=s[1],f=u((function(){return{showErrorText:m,showInfo:h,showError:g,showWarning:v,showSuccess:y,hideNotification:b,showToast:w,showToastWarning:x,dismissToast:_}}),[l,a]),p=u((function(){return wG(wG({},c),{isNotificationBarVisible:o})}),[c,o]);return e(m6.Provider,wG({value:f},{children:e(g6.Provider,wG({value:p},{children:r}),void 0)}),void 0);function h(e,t){l({messageId:e,messageValues:t,messageBarType:E.info,actions:null,className:"ms-messageBar--info"}),a(!0)}function m(e){l({text:e,messageBarType:E.error,actions:null}),a(!0)}function g(e,t){l({messageId:e,messageValues:t,messageBarType:E.error,actions:null}),a(!0)}function v(e,t){l({messageId:e,messageValues:t,messageBarType:E.warning,actions:null}),a(!0)}function y(e,t,n,r){l({messageId:e,messageValues:t,messageBarType:E.success,className:n,actions:r}),a(!0)}function b(){a(!1)}function w(t,r,i,o){var a=e(GC,{id:t,values:r},void 0);return null==i?nG(a,o):nG(n(C6,{children:[e(E6,{children:a},void 0),e(I6,{children:i},void 0)]},void 0),wG({},o))}function x(e,t,n){var r={autoClose:!1,type:"warning"};return n&&(r.onClose=n),w(e,t,null,r)}function _(e){nG.dismiss(e)}},C6=ke.div.withConfig({displayName:"NotificationContext__Wrapper",componentId:"sc-ant4hw-0"})(y6||(y6=CG(["\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"])),l6.small),E6=ke.p.withConfig({displayName:"NotificationContext__Message",componentId:"sc-ant4hw-1"})(b6||(b6=CG(["\n flex: 1 1 auto;\n"],["\n flex: 1 1 auto;\n"]))),I6=ke.div.withConfig({displayName:"NotificationContext__Actions",componentId:"sc-ant4hw-2"})(w6||(w6=CG(["\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"])),l6.small),O6=function(){var r=me(),i=a(NT).hideChrome;return l((function(){var e=r.listen((function(){return nG.dismiss()}));return function(){return e()}}),[r]),n(t,{children:[e(T6,{chromeless:i},void 0),e(VW,{toastClassName:"ms-fontColor-default",bodyClassName:"ms-fontColor-default",autoClose:5e3,hideProgressBar:!0,transition:qW,closeButton:!1},void 0)]},void 0)},T6=Ce(S6||(S6=CG(["\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&&Ee(x6||(x6=CG(["\n top: 4em;\n "],["\n top: 4em;\n "])))}),(function(e){return e.chromeless&&Ee(_6||(_6=CG(["\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 "])),d6)}));function N6(){var e=IV();return u((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(SK(n))return SH(n,null);if(kK(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return SH(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return SH(e=1===e.length&&SK(e[0])?e[0]:e,null).pipe(aH((function(e){return i.apply(void 0,e)})))}return SH(e,null)}(n(),t()).pipe(aH((function(e){var t=e[0],n=e[1],r={};return t.forEach((function(e){r[e.id]=n.filter((function(t){return t.groupId===e.id}))})),r}))).toPromise()},getSelectedGroups:n,getKeywordGroupsByItemId:function(t,n){void 0===n&&(n="");return _G(this,void 0,void 0,(function(){return SG(this,(function(r){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 _G(this,void 0,void 0,(function(){return SG(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 D6,A6=s(null),P6=function(t){var n=t.children,r=function(){var e=IV();return u((function(){return{getChannels:function(){return _G(this,void 0,void 0,(function(){return SG(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=""),_G(this,void 0,void 0,(function(){return SG(this,(function(r){return[2,e.all(n+"news/"+t+"/channels").getAll().then((function(e){return e.body().map((function(e){return e.data()}))}))]}))}))}}}),[e])}().getChannels,i=N6(),o=i.getAllKeywords,a=i.getSelectedGroups;return e(M6,wG({getChannels:r,getAllKeywords:o,getSelectedGroups:a},{children:n}),void 0)},M6=function(t){var n=t.getChannels,r=t.getAllKeywords,i=t.getSelectedGroups,o=t.children,s=b0(),c=a(tE).identifier,l=a(ZC),d=l.handleFatalError,p=l.handleAccessDeniedError,h=f((function(){var e,t;return _G(this,void 0,void 0,(function(){var r,i,o,a,s,u,c;return SG(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),D6=new Promise((function(e){return r=e})),[4,Promise.all([n(),S(),k()])];case 1:return i=l.sent(),o=i[0],a=i[1],s=i[2],u=s.reduce((function(e,t){var n;return wG(wG({},e),((n={})[t.id]=a.filter((function(e){return e.groupId===t.id})),n))}),{}),r(o),[2,{channels:o,allKeywords:a,keywordsByGroupId:u,selectedKeywordGroups:s}];case 2:return c=l.sent(),$g.error(JSON.stringify(c)),403===(null===(e=null==c?void 0:c.response)||void 0===e?void 0:e.statusCode)?p({error:null===(t=null==c?void 0:c.response)||void 0===t?void 0:t.data}):d({error:c}),[2,{}];case 3:return[2]}}))}))}),[n,r,i]),m=vS(h,{},[c.id,n,r]),g=m[0],v=g.channels,y=g.allKeywords,b=g.keywordsByGroupId,w=g.selectedKeywordGroups,x=m[3],_=u((function(){return{channels:v,getChannels:function(){return D6},allKeywords:y,keywordsByGroupId:b,selectedKeywordGroups:w,refreshSubscription:function(){return _G(void 0,void 0,void 0,(function(){var e;return SG(this,(function(t){switch(t.label){case 0:return[4,h()];case 1:return e=t.sent(),x(e),[2]}}))}))}}}),[v,y,b,w,x,h]);return e(A6.Provider,wG({value:_},{children:o}),void 0);function S(){return _G(this,void 0,void 0,(function(){var e;return SG(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(),$g.error(e),[2,[]];case 4:return[2]}}))}))}function k(){return _G(this,void 0,void 0,(function(){var e;return SG(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,i()];case 2:return[2,t.sent()];case 3:return e=t.sent(),$g.error(e),[2,[]];case 4:return[2]}}))}))}};var j6={};function R6(e){var t;(null==e?void 0:e.type)&&(null===(t=j6[e.type])||void 0===t||t.some((function(t){return t(e)})))}function L6(e,t,n){l((function(){if(e)return j6[e]||(j6[e]=[]),j6[e].push(t),function(){j6[e]=j6[e].filter((function(e){return e!==t}))}}),kG([e],n||[]))}var F6=x$,z6=_$,B6=k$,U6=BG,q6=A$,V6=[],K6=V6.sort,H6=U6((function(){V6.sort(void 0)})),W6=U6((function(){V6.sort(null)})),G6=q6("sort");F6({target:"Array",proto:!0,forced:H6||!W6||!G6},{sort:function(e){return void 0===e?K6.call(B6(this)):K6.call(B6(this),z6(e))}});var Y6=J3,Q6=[].reverse,$6=[1,2];x$({target:"Array",proto:!0,forced:String($6)===String($6.reverse())},{reverse:function(){return Y6(this)&&(this.length=this.length),Q6.call(this)}});var Z6,J6,X6,e7=[],t7=function(e,t){e7.some((function(t){return t.handler===e}))||e7.push({handler:e,priority:t||0})},n7=function(e){e7=e7.filter((function(t){return t.handler!==e}))};!function(e){e.NotDeleted="NOT_DELETED",e.RecycleBin="RECYCLE_BIN",e.Deleted="DELETED"}(Z6||(Z6={})),function(e){e.Default="DEFAULT",e.GroupNameChange="GROUP_NAME_CHANGE",e.UserLeftGroup="USER_LEFT_GROUP"}(J6||(J6={})),function(e){e.Normal="NORMAL",e.LeftGroupChat="LEFT_GROUP_CHAT",e.LeftOneToOneChat="LEFT_ONE_TO_ONE_CHAT"}(X6||(X6={})),(new BK).pipe(uG(100),(function(e){return qK()((t=pG,function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new fG(r,n));var i=Object.create(e,WK);return i.source=e,i.subjectFactory=r,i})(e));var t,n}));oG("/*! 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");oG('/*! 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 r7,i7={exports:{}},o7=i7.exports=function(){var e=function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[i](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){i.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){i.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(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var r=e.length;r--;)if(e[r][n]===t)return r;return-1},extend:function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){if(n&&e.hasOwnProperty(r))continue;e[r]=t[r]}},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(i.features)return i.features;var e=i.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 r=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=r.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(r)}for(var u,c,l=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],f=0;f<4;f++){t=d[f];for(var p=0;p<3;p++)u=l[p],c=t+(t?u.charAt(0).toUpperCase()+u.slice(1):u),!n[u]&&c in e&&(n[u]=c);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 h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),r=window.setTimeout((function(){e(t+n)}),n);return h=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"==typeof n&&n.handleEvent){if(r){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=a;e[o]("on"+i,n["oldIE"+i])}else e[o]("on"+i,n)});var o=this,a=25,s=3,u={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"};i.extend(u,r);var c,l,d,f,p,h,m,g,v,y,b,w,x,_,S,k,C,E,I,O,T,N,D,A,P,M,j,R,L,F,z,B,U,q,V,K,H,W,G,Y,Q,$,Z,J,X,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de=function(){return{x:0,y:0}},fe=de(),pe=de(),he=de(),me={},ge=0,ve={},ye=de(),be=0,we=!0,xe=[],_e={},Se=!1,ke=function(e,t){i.extend(o,t.publicMethods),xe.push(e)},Ce=function(e){var t=Xt();return e>t-1?e-t:e<0?t+e:e},Ee={},Ie=function(e,t){return Ee[e]||(Ee[e]=[]),Ee[e].push(t)},Oe=function(e){var t=Ee[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;r<t.length;r++)t[r].apply(o,n)}},Te=function(){return(new Date).getTime()},Ne=function(e){ue=e,o.bg.style.opacity=e*u.bgOpacity},De=function(e,t,n,r,i){(!Se||i&&i!==o.currItem)&&(r/=i?i.fitRatio:o.currItem.fitRatio),e[N]=w+t+"px, "+n+"px"+x+" scale("+r+")"},Ae=function(e){re&&(e&&(y>o.currItem.fitRatio?Se||(dn(o.currItem,!1,!0),Se=!0):Se&&(dn(o.currItem),Se=!1)),De(re,he.x,he.y,y))},Pe=function(e){e.container&&De(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Me=function(e,t){t[N]=w+e+"px, 0px"+x},je=function(e,t){if(!u.loop&&t){var n=f+(ye.x*ge-e)/ye.x,r=Math.round(e-yt.x);(n<0&&r>0||n>=Xt()-1&&r<0)&&(e=yt.x+r*u.mainScrollEndFriction)}yt.x=e,Me(e,p)},Re=function(e,t){var n=bt[e]-ve[e];return pe[e]+fe[e]+n-n*(t/b)},Le=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Fe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},ze=null,Be=function(){ze&&(i.unbind(document,"mousemove",Be),i.addClass(e,"pswp--has_mouse"),u.mouseUsed=!0,Oe("mouseUsed")),ze=setTimeout((function(){ze=null}),100)},Ue=function(){i.bind(document,"keydown",o),z.transform&&i.bind(o.scrollWrap,"click",o),u.mouseUsed||i.bind(document,"mousemove",Be),i.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")},qe=function(){i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",v.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Be),z.transform&&i.unbind(o.scrollWrap,"click",o),G&&i.unbind(window,m,o),clearTimeout(B),Oe("unbindEvents")},Ve=function(e,t){var n=sn(o.currItem,me,e);return t&&(ne=n),n},Ke=function(e){return e||(e=o.currItem),e.initialZoomLevel},He=function(e){return e||(e=o.currItem),e.w>0?u.maxSpreadZoom:1},We=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=Re(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(N){var t=z.perspective&&!A;return w="translate"+(t?"3d(":"("),void(x=z.perspective?", 0px)":")")}N="left",i.addClass(e,"pswp--ie"),Me=function(e,t){t.left=e+"px"},Pe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(re){var e=re,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=he.x+"px",e.top=he.y+"px"}}},Ye=function(e){var t="";u.escKey&&27===e.keyCode?t="close":u.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]()))},Qe=function(e){e&&($||Q||ie||H)&&(e.preventDefault(),e.stopPropagation())},$e=function(){o.setScrollOffset(0,i.getScrollY())},Ze={},Je=0,Xe=function(e){Ze[e]&&(Ze[e].raf&&M(Ze[e].raf),Je--,delete Ze[e])},et=function(e){Ze[e]&&Xe(e),Ze[e]||(Je++,Ze[e]={})},tt=function(){for(var e in Ze)Ze.hasOwnProperty(e)&&Xe(e)},nt=function(e,t,n,r,i,o,a){var s,u=Te();et(e);var c=function(){if(Ze[e]){if((s=Te()-u)>=r)return Xe(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),Ze[e].raf=P(c)}};c()},rt={shout:Oe,listen:Ie,viewportSize:me,options:u,isMainScrollAnimating:function(){return ie},getZoomLevel:function(){return y},getCurrentIndex:function(){return f},isDragging:function(){return G},isZooming:function(){return ee},setScrollOffset:function(e,t){ve.x=e,F=ve.y=t,Oe("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,r){he.x=t,he.y=n,y=e,Ae(r)},init:function(){if(!c&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pswp__bg"),j=e.className,c=!0,z=i.detectFeatures(),P=z.raf,M=z.caf,N=z.transform,L=z.oldIE,o.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pswp__container"),p=o.container.style,o.itemHolders=k=[{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}],k[0].el.style.display=k[2].el.style.display="none",Ge(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(B),B=setTimeout((function(){me.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:$e,keydown:Ye,click:Qe};var r=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!r||(u.showAnimationDuration=u.hideAnimationDuration=0),n=0;n<xe.length;n++)o["init"+xe[n]]();t&&(o.ui=new t(o,i)).init(),Oe("firstUpdate"),f=f||u.index||0,(isNaN(f)||f<0||f>=Xt())&&(f=0),o.currItem=Jt(f),(z.isOldIOSPhone||z.isOldAndroid)&&(we=!1),e.setAttribute("aria-hidden","false"),u.modal&&(we?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===F&&(Oe("initialLayout"),F=R=i.getScrollY());var a="pswp--open ";for(u.mainClass&&(a+=u.mainClass+" "),u.showHideOpacity&&(a+="pswp--animate_opacity "),a+=A?"pswp--touch":"pswp--notouch",a+=z.animationName?" pswp--css_animation":"",a+=z.svg?" pswp--svg":"",i.addClass(e,a),o.updateSize(),h=-1,be=null,n=0;n<s;n++)Me((n+h)*ye.x,k[n].el.style);L||i.bind(o.scrollWrap,g,o),Ie("initialZoomInEnd",(function(){o.setContent(k[0],f-1),o.setContent(k[2],f+1),k[0].el.style.display=k[2].el.style.display="block",u.focus&&e.focus(),Ue()})),o.setContent(k[1],f),o.updateCurrItem(),Oe("afterInit"),we||(_=setInterval((function(){Je||G||ee||y!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pswp--visible")}},close:function(){c&&(c=!1,l=!0,Oe("close"),qe(),en(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Yt&&clearTimeout(Yt),e.setAttribute("aria-hidden","true"),e.className=j,_&&clearInterval(_),i.unbind(o.scrollWrap,g,o),i.unbind(window,"scroll",o),kt(),tt(),Ee=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)),he.x=e,he.y=t,Ae()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=Ce(e))-f;be=t,f=e,o.currItem=Jt(f),ge-=t,je(ye.x*ge),tt(),ie=!1,o.updateCurrItem()},next:function(){o.goTo(f+1)},prev:function(){o.goTo(f-1)},updateCurrZoomItem:function(e){if(e&&Oe("beforeChange",0),k[1].el.children.length){var t=k[1].el.children[0];re=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else re=null;ne=o.currItem.bounds,b=y=o.currItem.initialZoomLevel,he.x=ne.center.x,he.y=ne.center.y,e&&Oe("afterChange")},invalidateCurrItems:function(){S=!0;for(var e=0;e<s;e++)k[e].item&&(k[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Jt(f),Se=!1,Oe("beforeChange",be),n>=s&&(h+=be+(be>0?-s:s),n=s);for(var r=0;r<n;r++)be>0?(t=k.shift(),k[s-1]=t,h++,Me((h+2)*ye.x,t.el.style),o.setContent(t,f-n+r+1+1)):(t=k.pop(),k.unshift(t),h--,Me(h*ye.x,t.el.style),o.setContent(t,f+n-r-1-1));if(re&&1===Math.abs(be)){var i=Jt(C);i.initialZoomLevel!==y&&(sn(i,me),dn(i),Pe(i))}be=0,o.updateCurrZoomItem(),C=f,Oe("afterChange")}}},updateSize:function(t){if(!we&&u.modal){var n=i.getScrollY();if(F!==n&&(e.style.top=n+"px",F=n),!t&&_e.x===window.innerWidth&&_e.y===window.innerHeight)return;_e.x=window.innerWidth,_e.y=window.innerHeight,e.style.height=_e.y+"px"}if(me.x=o.scrollWrap.clientWidth,me.y=o.scrollWrap.clientHeight,$e(),ye.x=me.x+Math.round(me.x*u.spacing),ye.y=me.y,je(ye.x*ge),Oe("beforeResize"),void 0!==h){for(var r,a,c,l=0;l<s;l++)r=k[l],Me((l+h)*ye.x,r.el.style),c=f+l-1,u.loop&&Xt()>2&&(c=Ce(c)),(a=Jt(c))&&(S||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(r,c),1===l&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===r.index&&c>=0&&o.setContent(r,c),a&&a.container&&(sn(a,me),dn(a),Pe(a));S=!1}b=y=o.currItem.initialZoomLevel,(ne=o.currItem.bounds)&&(he.x=ne.center.x,he.y=ne.center.y,Ae(!0)),Oe("resize")},zoomTo:function(e,t,n,r,o){t&&(b=y,bt.x=Math.abs(t.x)-he.x,bt.y=Math.abs(t.y)-he.y,Le(pe,he));var a=Ve(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var u=y,c={x:he.x,y:he.y};Fe(s);var l=function(t){1===t?(y=e,he.x=s.x,he.y=s.y):(y=(e-u)*t+u,he.x=(s.x-c.x)*t+c.x,he.y=(s.y-c.y)*t+c.y),o&&o(t),Ae(1===t)};n?nt("customZoomTo",0,1,n,r||i.easing.sine.inOut,l):l(1)}},it=30,ot=10,at={},st={},ut={},ct={},lt={},dt=[],ft={},pt=[],ht={},mt=0,gt=de(),vt=0,yt=de(),bt=de(),wt=de(),xt=function(e,t){return e.x===t.x&&e.y===t.y},_t=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},St=function(e,t){return ht.x=Math.abs(e.x-t.x),ht.y=Math.abs(e.y-t.y),Math.sqrt(ht.x*ht.x+ht.y*ht.y)},kt=function(){Z&&(M(Z),Z=null)},Ct=function(){G&&(Z=P(Ct),Ut())},Et=function(){return!("fit"===u.scaleMode&&y===o.currItem.initialZoomLevel)},It=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:It(e.parentNode,t))},Ot={},Tt=function(e,t){return Ot.prevent=!It(e.target,u.isClickableElement),Oe("preventDragEvent",e,t,Ot),Ot.prevent},Nt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Dt=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-q>50){var r=pt.length>2?pt.shift():{};r.x=t,r.y=n,pt.push(r),q=e}},Pt=function(){var e=he.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Mt={},jt={},Rt=[],Lt=function(e){for(;Rt.length>0;)Rt.pop();return D?(le=0,dt.forEach((function(e){0===le?Rt[0]=e:1===le&&(Rt[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Rt[0]=Nt(e.touches[0],Mt),e.touches.length>1&&(Rt[1]=Nt(e.touches[1],jt))):(Mt.x=e.pageX,Mt.y=e.pageY,Mt.id="",Rt[0]=Mt),Rt},Ft=function(e,t){var n,r,i,a,s=he[e]+t[e],c=t[e]>0,l=yt.x+t.x,d=yt.x-ft.x;if(n=s>ne.min[e]||s<ne.max[e]?u.panEndFriction:1,s=he[e]+t[e]*n,(u.allowPanToNext||y===o.currItem.initialZoomLevel)&&(re?"h"!==oe||"x"!==e||Q||(c?(s>ne.min[e]&&(n=u.panEndFriction,ne.min[e],r=ne.min[e]-pe[e]),(r<=0||d<0)&&Xt()>1?(a=l,d<0&&l>ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s)):(s<ne.max[e]&&(n=u.panEndFriction,ne.max[e],r=pe[e]-ne.max[e]),(r<=0||d>0)&&Xt()>1?(a=l,d>0&&l<ft.x&&(a=ft.x)):ne.min.x!==ne.max.x&&(i=s))):a=l,"x"===e))return void 0!==a&&(je(a,!0),J=a!==ft.x),ne.min.x!==ne.max.x&&(void 0!==i?he.x=i:J||(he.x+=t.x*n)),void 0!==a;ie||J||y>o.currItem.fitRatio&&(he[e]+=t[e]*n)},zt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Zt)e.preventDefault();else if(!W||"mousedown"!==e.type){if(Tt(e,!0)&&e.preventDefault(),Oe("pointerDown"),D){var t=i.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Lt(e),r=n.length;X=null,tt(),G&&1!==r||(G=ae=!0,i.bind(window,m,o),K=ce=se=H=J=$=Y=Q=!1,oe=null,Oe("firstTouchStart",n),Le(pe,he),fe.x=fe.y=0,Le(ct,n[0]),Le(lt,ct),ft.x=ye.x*ge,pt=[{x:ct.x,y:ct.y}],q=U=Te(),Ve(y,!0),kt(),Ct()),!ee&&r>1&&!ie&&!J&&(b=y,Q=!1,ee=Y=!0,fe.y=fe.x=0,Le(pe,he),Le(at,n[0]),Le(st,n[1]),Dt(at,st,wt),bt.x=Math.abs(wt.x)-he.x,bt.y=Math.abs(wt.y)-he.y,te=St(at,st))}},Bt=function(e){if(e.preventDefault(),D){var t=i.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var r=Lt(e);if(oe||$||ee)X=r;else if(yt.x!==ye.x*ge)oe="h";else{var o=Math.abs(r[0].x-ct.x)-Math.abs(r[0].y-ct.y);Math.abs(o)>=ot&&(oe=o>0?"h":"v",X=r)}}},Ut=function(){if(X){var e=X.length;if(0!==e)if(Le(at,X[0]),ut.x=at.x-ct.x,ut.y=at.y-ct.y,ee&&e>1){if(ct.x=at.x,ct.y=at.y,!ut.x&&!ut.y&&xt(X[1],st))return;Le(st,X[1]),Q||(Q=!0,Oe("zoomGestureStarted"));var t=St(at,st),n=Wt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ce=!0);var r=1,i=Ke(),a=He();if(n<i)if(u.pinchToClose&&!ce&&b<=o.currItem.initialZoomLevel){var s=1-(i-n)/(i/1.2);Ne(s),Oe("onPinchClose",s),se=!0}else(r=(i-n)/i)>1&&(r=1),n=i-r*(i/3);else n>a&&((r=(n-a)/(6*i))>1&&(r=1),n=a+r*i);r<0&&(r=0),Dt(at,st,gt),fe.x+=gt.x-wt.x,fe.y+=gt.y-wt.y,Le(wt,gt),he.x=Re("x",n),he.y=Re("y",n),K=n>y,y=n,Ae()}else{if(!oe)return;if(ae&&(ae=!1,Math.abs(ut.x)>=ot&&(ut.x-=X[0].x-lt.x),Math.abs(ut.y)>=ot&&(ut.y-=X[0].y-lt.y)),ct.x=at.x,ct.y=at.y,0===ut.x&&0===ut.y)return;if("v"===oe&&u.closeOnVerticalDrag&&!Et()){fe.y+=ut.y,he.y+=ut.y;var c=Pt();return H=!0,Oe("onVerticalDrag",c),Ne(c),void Ae()}At(Te(),at.x,at.y),$=!0,ne=o.currItem.bounds,Ft("x",ut)||(Ft("y",ut),Fe(he),Ae())}}},qt=function(e){if(z.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Oe("pointerUp"),Tt(e,!1)&&e.preventDefault(),D){var n=i.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.msPointerEnabled){var r={4:"mouse",2:"touch",3:"pen"};t.type=r[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Lt(e),c=s.length;if("mouseup"===e.type&&(c=0),2===c)return X=null,!0;1===c&&Le(lt,s[0]),0!==c||oe||ie||(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 l=-1;if(0===c&&(G=!1,i.unbind(window,m,o),kt(),ee?l=0:-1!==vt&&(l=Te()-vt)),vt=1===c?Te():-1,a=-1!==l&&l<150?"zoom":"swipe",ee&&c<2&&(ee=!1,1===c&&(a="zoomPointerUp"),Oe("zoomGestureEnded")),X=null,$||Q||ie||H)if(tt(),V||(V=Vt()),V.calculateSwipeSpeed("x"),H)if(Pt()<u.verticalDragRange)o.close();else{var d=he.y,f=ue;nt("verticalDrag",0,1,300,i.easing.cubic.out,(function(e){he.y=(o.currItem.initialPosition.y-d)*e+d,Ne((1-f)*e+f),Ae()})),Oe("onVerticalDrag",1)}else{if((J||ie)&&0===c){if(Ht(a,V))return;a="zoomPointerUp"}ie||("swipe"===a?!J&&y>o.currItem.fitRatio&&Kt(V):Gt())}},Vt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){pt.length>1?(e=Te()-q+50,t=pt[pt.length-2][r]):(e=Te()-U,t=lt[r]),n.lastFlickOffset[r]=ct[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(he[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:he[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,he[e],n.backAnimDestination[e],t||300,i.easing.sine.out,(function(t){he[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,he[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Ze.zoomPan&&(Ze.zoomPan.raf=P(n.panAnimLoop),n.now=Te(),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 he.x=Math.round(he.x),he.y=Math.round(he.y),Ae(),void Xe("zoomPan")}};return n},Kt=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=Te(),e.panAnimLoop()},Ht=function(e,t){var n,r,a;if(ie||(mt=f),"swipe"===e){var s=ct.x-lt.x,c=t.lastFlickDist.x<10;s>it&&(c||t.lastFlickOffset.x>20)?r=-1:s<-it&&(c||t.lastFlickOffset.x<-20)&&(r=1)}r&&((f+=r)<0?(f=u.loop?Xt()-1:0,a=!0):f>=Xt()&&(f=u.loop?0:Xt()-1,a=!0),a&&!u.loop||(be+=r,ge-=r,n=!0));var l,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(l=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,l=Math.min(l,400),l=Math.max(l,250)):l=333,mt===f&&(n=!1),ie=!0,Oe("mainScrollAnimStart"),nt("mainScroll",yt.x,d,l,i.easing.cubic.out,je,(function(){tt(),ie=!1,mt=-1,(n||mt!==f)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Wt=function(e){return 1/te*e*b},Gt=function(){var e=y,t=Ke(),n=He();y<t?e=t:y>n&&(e=n);var r,a=1,s=ue;return se&&!K&&!ce&&y<t?(o.close(),!0):(se&&(r=function(e){Ne((a-s)*e+s)}),o.zoomTo(e,0,200,i.easing.cubic.out,r),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,r,i){E=e+t,I=e+n,O=e+r,T=i?e+i:""};(D=z.pointerEvent)&&z.touch&&(z.touch=!1),D?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"),m=I+" "+O+" "+T,g=E,D&&!A&&(A=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=A,v[E]=zt,v[I]=Bt,v[O]=qt,T&&(v[T]=v[O]),z.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[E],v.mousemove=v[I],v.mouseup=v[O]),A||(u.allowPanToNext=!1)}}});var Yt,Qt,$t,Zt,Jt,Xt,en=function(t,n,r,a){var s;Yt&&clearTimeout(Yt),Zt=!0,$t=!0,t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=u.getThumbBoundsFn&&u.getThumbBoundsFn(f);var c=r?u.hideAnimationDuration:u.showAnimationDuration,l=function(){Xe("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ne(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(r?"OutEnd":"InEnd"))),a&&a(),Zt=!1};if(!c||!s||void 0===s.x)return Oe("initialZoom"+(r?"Out":"In")),y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),e.style.opacity=r?0:1,Ne(1),void(c?setTimeout((function(){l()}),c):l());var p=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||u.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(y=s.w/t.w,he.x=s.x,he.y=s.y-R,o[a?"template":"bg"].style.opacity=.001,Ae()),et("initialZoom"),r&&!n&&i.removeClass(e,"pswp--animated-in"),a&&(r?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){i.addClass(e,"pswp--animate_opacity")}),30)),Yt=setTimeout((function(){if(Oe("initialZoom"+(r?"Out":"In")),r){var o=s.w/t.w,u={x:he.x,y:he.y},d=y,f=ue,p=function(t){1===t?(y=o,he.x=s.x,he.y=s.y-F):(y=(o-d)*t+d,he.x=(s.x-u.x)*t+u.x,he.y=(s.y-F-u.y)*t+u.y),Ae(),a?e.style.opacity=1-t:Ne(f-t*f)};n?nt("initialZoom",0,1,c,i.easing.cubic.out,p,l):(p(1),Yt=setTimeout(l,c+20))}else y=t.initialZoomLevel,Le(he,t.initialPosition),Ae(),Ne(1),a?e.style.opacity=1:Ne(1),Yt=setTimeout(l,c+20)}),r?25:90)};p()},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 Qt.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 r=e.bounds;r.center.x=Math.round((tn.x-t)/2),r.center.y=Math.round((tn.y-n)/2)+e.vGap.top,r.max.x=t>tn.x?Math.round(tn.x-t):r.center.x,r.max.y=n>tn.y?Math.round(tn.y-n)+e.vGap.top:r.center.y,r.min.x=t>tn.x?0:r.center.x,r.min.y=n>tn.y?e.vGap.top:r.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(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,r){var i=tn.x/e.w,o=tn.y/e.h;e.fitRatio=i<o?i:o;var a=u.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),r&&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},un=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,dn(t,r,t===o.currItem&&Se),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.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},ln=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=u.errorMsg.replace("%url%",e.src),!0},dn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},fn=function(){if(nn.length){for(var e,t=0;t<nn.length;t++)(e=nn[t]).holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);nn=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ce(e);var t=Jt(e);t&&(!t.loaded&&!t.loading||S)&&(Oe("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(u,rn,!0),o.items=Qt=n,Jt=o.getItemAt,(Xt=u.getNumItemsFn)()<3&&(u.loop=!1),Ie("beforeChange",(function(e){var t,n=u.preload,r=null===e||e>=0,i=Math.min(n[0],Xt()),a=Math.min(n[1],Xt());for(t=1;t<=(r?a:i);t++)o.lazyLoadItem(f+t);for(t=1;t<=(r?i:a);t++)o.lazyLoadItem(f-t)})),Ie("initialLayout",(function(){o.currItem.initialLayout=u.getThumbBoundsFn&&u.getThumbBoundsFn(f)})),Ie("mainScrollAnimComplete",fn),Ie("initialZoomInEnd",fn),Ie("destroy",(function(){for(var e,t=0;t<Qt.length;t++)(e=Qt[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!==Qt[e]&&Qt[e]},allowProgressiveImg:function(){return u.forceProgressiveLoading||!A||u.mouseUsed||screen.width>1200},setContent:function(e,t){u.loop&&(t=Ce(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,a=o.getItemAt(t);if(a){Oe("gettingData",t,a),e.index=t,e.item=a;var s=a.container=i.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),ln(a),sn(a,me),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&((r=i.createEl("pswp__img","img")).style.opacity=1,r.src=a.src,dn(a,r),un(t,a,s,r));else{if(a.loadComplete=function(n){if(c){if(e&&e.index===t){if(ln(n,!0))return n.loadComplete=n.img=null,sn(n,me),Pe(n),void(e.index===f&&o.updateCurrZoomItem());n.imageAppended?!Zt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):z.transform&&(ie||Zt)?nn.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,s,n.img,ie||Zt,!0)}n.loadComplete=null,n.img=null,Oe("imageLoadComplete",t,n)}},i.features.transform){var l="pswp__img pswp__img--placeholder";l+=a.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(l,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),dn(a,d),s.appendChild(d),a.placeholder=d}a.loading||cn(a),o.allowProgressiveImg()&&(!$t&&z.transform?nn.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):un(t,a,s,a.img,!0,!0))}$t||t!==f?Pe(a):(re=s.style,en(a,r||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 pn,hn,mn={},gn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(r)};ke("Tap",{publicMethods:{initTap:function(){Ie("firstTouchStart",o.onTapStart),Ie("touchRelease",o.onTapRelease),Ie("destroy",(function(){mn={},pn=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(pn),pn=null)},onTapRelease:function(e,t){if(t&&!$&&!Y&&!Je){var n=t;if(pn&&(clearTimeout(pn),pn=null,_t(n,mn)))return void Oe("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);Le(mn,n),pn=setTimeout((function(){gn(e,t),pn=null}),300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(A?Ie("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){hn={};var n="wheel mousewheel DOMMouseScroll";Ie("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Ie("unbindEvents",(function(){hn&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pswp--dragging"),r=!1)};Ie("resize",a),Ie("afterChange",a),Ie("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pswp--dragging"))})),Ie("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return u.modal&&(!u.closeOnScroll||Je||G?e.preventDefault():N&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),hn.x=0,"deltaX"in e)1===e.deltaMode?(hn.x=18*e.deltaX,hn.y=18*e.deltaY):(hn.x=e.deltaX,hn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(hn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?hn.y=-.16*e.wheelDeltaY:hn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;hn.y=e.detail}Ve(y,!0);var t=he.x-hn.x,n=he.y-hn.y;(u.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:me.x/2+ve.x,y:me.y/2+ve.y};var n=u.getDoubleTapZoom(!0,o.currItem),r=y===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var vn,yn,bn,wn,xn,_n,Sn,kn,Cn,En,In,On,Tn={history:!0,galleryUID:1},Nn=function(){return In.hash.substring(1)},Dn=function(){vn&&clearTimeout(vn),bn&&clearTimeout(bn)},An=function(){var e=Nn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n<r.length;n++)if(r[n]){var i=r[n].split("=");i.length<2||(t[i[0]]=i[1])}if(u.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Qt.length;n++)if(Qt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Pn=function(){if(bn&&clearTimeout(bn),Je||G)bn=setTimeout(Pn,500);else{wn?clearTimeout(yn):wn=!0;var e=f+1,t=Jt(f);t.hasOwnProperty("pid")&&(e=t.pid);var n=Sn+"&gid="+u.galleryUID+"&pid="+e;kn||-1===In.hash.indexOf(n)&&(En=!0);var r=In.href.split("#")[0]+"#"+n;On?"#"+n!==window.location.hash&&history[kn?"replaceState":"pushState"]("",document.title,r):kn?In.replace(r):In.hash=n,kn=!0,yn=setTimeout((function(){wn=!1}),60)}};ke("History",{publicMethods:{initHistory:function(){if(i.extend(u,Tn,!0),u.history){In=window.location,En=!1,Cn=!1,kn=!1,Sn=Nn(),On="pushState"in history,Sn.indexOf("gid=")>-1&&(Sn=(Sn=Sn.split("&gid=")[0]).split("?gid=")[0]),Ie("afterChange",o.updateURL),Ie("unbindEvents",(function(){i.unbind(window,"hashchange",o.onHashChange)}));var e=function(){_n=!0,Cn||(En?history.back():Sn?In.hash=Sn:On?history.pushState("",document.title,In.pathname+In.search):In.hash=""),Dn()};Ie("unbindEvents",(function(){d&&e()})),Ie("destroy",(function(){_n||e()})),Ie("firstUpdate",(function(){f=An().pid}));var t=Sn.indexOf("pid=");t>-1&&"&"===(Sn=Sn.substring(0,t)).slice(-1)&&(Sn=Sn.slice(0,-1)),setTimeout((function(){c&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(Nn()===Sn)return Cn=!0,void o.close();wn||(xn=!0,o.goTo(An().pid),xn=!1)},updateURL:function(){Dn(),xn||(kn?vn=setTimeout(Pn,800):Pn())}}}),i.extend(o,rt)};return e}(),a7={exports:{}},s7=a7.exports=(r7=function(e,t){var n,r,i,o,a,s,u,c,l,d,f,p,h,m,g,v,y,b,w=this,x=!1,_=!0,S=!0,k={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!l&&j();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o<V.length;o++)(n=V[o]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),v=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),a)}},E=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},I=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pswp__"+n)},O=function(){var e=1===g.getNumItemsFn();e!==m&&(I(r,"ui--one-slide",e),m=e)},T=function(){I(u,"share-modal--hidden",S)},N=function(){return(S=!S)?(t.removeClass(u,"pswp__share-modal--fade-in"),setTimeout((function(){S&&T()}),300)):(T(),setTimeout((function(){S||t.addClass(u,"pswp__share-modal--fade-in")}),30)),S||A(),!1},D=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||N(),1))},A=function(){for(var e,t,n,r,i="",o=0;o<g.shareButtons.length;o++)e=g.shareButtons[o],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),r=g.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(r))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(i=g.parseShareButtonOut(e,i));u.children[0].innerHTML=i,u.children[0].onclick=D},P=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},M=0,j=function(){clearTimeout(b),M=0,l&&w.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){w.setIdle(!0)}),g.timeToIdleOutside))},L=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},F=function(){g.preloaderEl&&(z(!0),d("beforeChange",(function(){clearTimeout(h),h=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&z(!1):z(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&z(!0)})))},z=function(e){p!==e&&(I(f,"preloader--active",!e),p=e)},B=function(e){var n=e.vGap;if(E()){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(o||((o=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),r.insertBefore(o,i),t.addClass(r,"pswp__ui--fit")),g.addCaptionHTMLFn(e,o,!0)){var s=o.clientHeight;n.bottom=parseInt(s,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},U=function(){g.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",j),t.bind(document,"mouseout",R),y=setInterval((function(){2==++M&&w.setIdle(!0)}),g.timeToIdle/2)}))},q=function(){var e;d("onVerticalDrag",(function(e){_&&e<.95?w.hideControls():!_&&e>=.95&&w.showControls()})),d("onPinchClose",(function(t){_&&t<.9?(w.hideControls(),e=!0):e&&!_&&t>.9&&w.showControls()})),d("zoomGestureEnded",(function(){(e=!1)&&!_&&w.showControls()}))},V=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){u=e},onTap:function(){N()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){N()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}],K=function(){var e,n,i,o=function(r){if(r)for(var o=r.length,a=0;a<o;a++){e=r[a],n=e.className;for(var s=0;s<V.length;s++)i=V[s],n.indexOf("pswp__"+i.name)>-1&&(g[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(r.children);var a=t.getChildByClass(r,"pswp__top-bar");a&&o(a.children)};w.init=function(){t.extend(e.options,k,!0),g=e.options,r=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,q(),d("beforeChange",w.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var r=e.target||e.srcElement;r&&r.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(r.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(r.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(r,"pswpTap click",C),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)})),d("unbindEvents",(function(){S||N(),y&&clearInterval(y),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",j),t.unbind(r,"pswpTap click",C),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(o&&r.removeChild(o),t.removeClass(i,"pswp__caption--empty")),u&&(u.children[0].onclick=null),t.removeClass(r,"pswp__ui--over-close"),t.addClass(r,"pswp__ui--hidden"),w.setIdle(!1)})),g.showAnimationDuration||t.removeClass(r,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&t.removeClass(r,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(r,"pswp__ui--hidden")})),d("parseVerticalMargin",B),K(),g.shareEl&&s&&u&&(S=!0),O(),U(),L(),F()},w.setIdle=function(e){l=e,I(r,"ui--idle",e)},w.update=function(){_&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,i),I(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,S||N(),O()},w.updateFullscreen=function(r){r&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){var r=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(P(r))return void e.close();t.hasClass(r,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(_?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(r,"pswp__img")||P(r)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;I(r,"ui--over-close",P(t))},w.hideControls=function(){t.addClass(r,"pswp__ui--hidden"),_=!1},w.showControls=function(){_=!0,x||w.update(),t.removeClass(r,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,r="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:r}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+r}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+r}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}},r7),u7={exports:{}},c7={exports:{}},l7=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(e){return null!=e})),0!==t.length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))},d7=function(){};
117
117
  /*! PhotoSwipe - v4.1.3 - 2019-01-08
118
118
  * http://photoswipe.com
119
119
  * Copyright (c) 2019 Dmitry Semenov; */"production"!==Es.env.NODE_ENV&&(d7=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var o=0,a="Warning: "+t.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}});var f7=d7,p7={__esModule:!0,getChildMapping:function(e){if(!e)return e;var t={};return h7.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var u in t){if(r.hasOwnProperty(u))for(a=0;a<r[u].length;a++){var c=r[u][a];s[r[u][a]]=n(c)}s[u]=n(u)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}},h7=o;!function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=c(l7),i=c(o),a=c(zH.exports),s=c(f7),u=p7;function c(e){return e&&e.__esModule?e:{default:e}}var l={component:a.default.any,childFactory:a.default.func,children:a.default.node},d=function(e){function t(r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,r,i));return o.performAppear=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e,t)):o._handleDoneAppearing(e,t)},o._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performEnter=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e,t)):o._handleDoneEntering(e,t)},o._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performLeave=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e,t)):o._handleDoneLeaving(e,t)},o._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var r=(0,u.getChildMapping)(o.props.children);r&&r.hasOwnProperty(e)?o.keysToEnter.push(e):o.setState((function(t){var r=n({},t.children);return delete r[e],{children:r}}))},o.childRefs=Object.create(null),o.state={children:(0,u.getChildMapping)(r.children)},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var i=n&&n.hasOwnProperty(r);!t[r]||i||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var o in n){var a=t&&t.hasOwnProperty(o);!n[o]||a||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],o=function(n){var o=e.state.children[n];if(o){var a="string"!=typeof o.ref,u=e.props.childFactory(o),c=function(t){e.childRefs[n]=t};"production"!==Es.env.NODE_ENV&&(0,s.default)(a,"string refs are not supported on children of TransitionGroup and will be ignored. Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute"),u===o&&a&&(c=(0,r.default)(o.ref,c)),t.push(i.default.cloneElement(u,{key:n,ref:c}))}};for(var a in this.state.children)o(a);var u=n({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);d.displayName="TransitionGroup",d.propTypes="production"!==Es.env.NODE_ENV?l:{},d.defaultProps={component:"span",childFactory:function(e){return e}},t.default=d,e.exports=t.default}(c7,c7.exports);var m7={exports:{}},g7={exports:{}},v7={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0}(v7);var y7={exports:{}};function b7(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}!function(e,t){t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default}(y7,y7.exports),function(e,t){var n=v7.exports;t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r=n(y7.exports);e.exports=t.default}(g7,g7.exports);var w7=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=b7(e.className,t):e.setAttribute("class",b7(e.className&&e.className.baseVal||"",t))},x7={exports:{}},_7={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default}(_7,_7.exports),function(e,t){var n=v7.exports;t.__esModule=!0,t.default=void 0;var r,i=n(_7.exports),o="clearTimeout",a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-u)),r=setTimeout(e,n);return u=t,r},s=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};i.default&&["","webkit","moz","o","ms"].some((function(e){var t=s(e,"request");if(t in window)return o=s(e,"cancel"),a=function(e){return window[t](e)}}));var u=(new Date).getTime();(r=function(e){return a(e)}).cancel=function(e){window[o]&&"function"==typeof window[o]&&window[o](e)};var c=r;t.default=c,e.exports=t.default}(x7,x7.exports);var S7={},k7=v7.exports;S7.__esModule=!0,S7.default=S7.animationEnd=S7.animationDelay=S7.animationTiming=S7.animationDuration=S7.animationName=S7.transitionEnd=S7.transitionDuration=S7.transitionDelay=S7.transitionTiming=S7.transitionProperty=S7.transform=void 0;var C7,E7,I7,O7,T7,N7,D7,A7,P7,M7,j7,R7=k7(_7.exports),L7="transform";if(S7.transform=L7,S7.animationEnd=I7,S7.transitionEnd=E7,S7.transitionDelay=D7,S7.transitionTiming=N7,S7.transitionDuration=T7,S7.transitionProperty=O7,S7.animationDelay=j7,S7.animationTiming=M7,S7.animationDuration=P7,S7.animationName=A7,R7.default){var F7=function(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},i=Object.keys(r),o="",a=0;a<i.length;a++){var s=i[a];if(s+"TransitionProperty"in n){o="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}!e&&"transitionProperty"in n&&(e="transitionend");!t&&"animationName"in n&&(t="animationend");return n=null,{animationEnd:t,transitionEnd:e,prefix:o}}();C7=F7.prefix,S7.transitionEnd=E7=F7.transitionEnd,S7.animationEnd=I7=F7.animationEnd,S7.transform=L7=C7+"-"+L7,S7.transitionProperty=O7=C7+"-transition-property",S7.transitionDuration=T7=C7+"-transition-duration",S7.transitionDelay=D7=C7+"-transition-delay",S7.transitionTiming=N7=C7+"-transition-timing-function",S7.animationName=A7=C7+"-animation-name",S7.animationDuration=P7=C7+"-animation-duration",S7.animationTiming=M7=C7+"-animation-delay",S7.animationDelay=j7=C7+"-animation-timing-function"}var z7={transform:L7,end:E7,property:O7,timing:N7,delay:D7,duration:T7};S7.default=z7;var B7={__esModule:!0,nameShape:void 0,transitionTimeout:function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}};q7(o);var U7=q7(zH.exports);function q7(e){return e&&e.__esModule?e:{default:e}}B7.nameShape=U7.default.oneOfType([U7.default.string,U7.default.shape({enter:U7.default.string,leave:U7.default.string,active:U7.default.string}),U7.default.shape({enter:U7.default.string,enterActive:U7.default.string,leave:U7.default.string,leaveActive:U7.default.string,appear:U7.default.string,appearActive:U7.default.string})]),function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=f(g7.exports),i=f(w7),a=f(x7.exports),s=S7,u=f(o),c=f(zH.exports),l=je,d=B7;function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=[];s.transitionEnd&&m.push(s.transitionEnd),s.animationEnd&&m.push(s.animationEnd);var g={children:c.default.node,name:d.nameShape.isRequired,appear:c.default.bool,enter:c.default.bool,leave:c.default.bool,appearTimeout:c.default.number,enterTimeout:c.default.number,leaveTimeout:c.default.number},v=function(e){function t(){var n,r;p(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(o))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},h(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var o=(0,l.findDOMNode)(this);if(o){var a=this.props.name[e]||this.props.name+"-"+e,u=this.props.name[e+"Active"]||a+"-active",c=null,d=void 0;(0,r.default)(o,a),this.queueClassAndNode(u,o);var f=function(e){e&&e.target!==o||(clearTimeout(c),d&&d(),(0,i.default)(o,a),(0,i.default)(o,u),d&&d(),t&&t())};n?(c=setTimeout(f,n),this.transitionTimeouts.push(c)):s.transitionEnd&&(d=function(e,t){return m.length?m.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){m.length&&m.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(o,f))}else t&&t()},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,a.default)((function(){return n.flushClassNameAndNodeQueue()})))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,(0,r.default)(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=n({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,u.default.cloneElement(u.default.Children.only(this.props.children),e)},t}(u.default.Component);v.displayName="CSSTransitionGroupChild",v.propTypes="production"!==Es.env.NODE_ENV?g:{},t.default=v,e.exports=t.default}(m7,m7.exports),function(e,t){t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=c(o),i=c(zH.exports),a=c(c7.exports),s=c(m7.exports),u=B7;function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f={transitionName:u.nameShape.isRequired,transitionAppear:i.default.bool,transitionEnter:i.default.bool,transitionLeave:i.default.bool,transitionAppearTimeout:(0,u.transitionTimeout)("Appear"),transitionEnterTimeout:(0,u.transitionTimeout)("Enter"),transitionLeaveTimeout:(0,u.transitionTimeout)("Leave")},p=function(e){function t(){var n,i;l(this,t);for(var o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return n=i=d(this,e.call.apply(e,[this].concat(a))),i._wrapChild=function(e){return r.default.createElement(s.default,{name:i.props.transitionName,appear:i.props.transitionAppear,enter:i.props.transitionEnter,leave:i.props.transitionLeave,appearTimeout:i.props.transitionAppearTimeout,enterTimeout:i.props.transitionEnterTimeout,leaveTimeout:i.props.transitionLeaveTimeout},e)},d(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return r.default.createElement(a.default,n({},this.props,{childFactory:this._wrapChild}))},t}(r.default.Component);p.displayName="CSSTransitionGroup",p.propTypes="production"!==Es.env.NODE_ENV?f:{},p.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.default=p,e.exports=t.default}(u7,u7.exports);var V7=u7.exports;oG('.emoji-mart,\n.emoji-mart * {\n box-sizing: border-box;\n line-height: 1.15;\n}\n\n.emoji-mart {\n font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n font-size: 16px;\n display: inline-block;\n color: #222427;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n background: #fff;\n}\n\n.emoji-mart .emoji-mart-emoji {\n padding: 6px;\n}\n\n.emoji-mart-bar {\n border: 0 solid #d9d9d9;\n}\n.emoji-mart-bar:first-child {\n border-bottom-width: 1px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n}\n.emoji-mart-bar:last-child {\n border-top-width: 1px;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n}\n\n.emoji-mart-anchors {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 6px;\n line-height: 0;\n}\n\n.emoji-mart-anchor {\n position: relative;\n display: block;\n flex: 1 1 auto;\n color: #858585;\n text-align: center;\n padding: 12px 4px;\n overflow: hidden;\n transition: color .1s ease-out;\n margin: 0;\n box-shadow: none;\n background: none;\n border: none;\n}\n.emoji-mart-anchor:focus { outline: 0 }\n.emoji-mart-anchor:hover,\n.emoji-mart-anchor:focus,\n.emoji-mart-anchor-selected {\n color: #464646;\n}\n\n.emoji-mart-anchor-selected .emoji-mart-anchor-bar {\n bottom: 0;\n}\n\n.emoji-mart-anchor-bar {\n position: absolute;\n bottom: -3px; left: 0;\n width: 100%; height: 3px;\n background-color: #464646;\n}\n\n.emoji-mart-anchors i {\n display: inline-block;\n width: 100%;\n max-width: 22px;\n}\n\n.emoji-mart-anchors svg,\n.emoji-mart-anchors img {\n fill: currentColor;\n height: 18px;\n width: 18px;\n}\n\n.emoji-mart-scroll {\n overflow-y: scroll;\n overflow-x: hidden;\n height: 270px;\n padding: 0 6px 6px 6px;\n will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */\n}\n\n.emoji-mart-search {\n margin-top: 6px;\n padding: 0 6px;\n position: relative;\n}\n\n.emoji-mart-search input {\n font-size: 16px;\n display: block;\n width: 100%;\n padding: 5px 25px 6px 10px;\n border-radius: 5px;\n border: 1px solid #d9d9d9;\n outline: 0;\n}\n\n.emoji-mart-search input,\n.emoji-mart-search input::-webkit-search-decoration,\n.emoji-mart-search input::-webkit-search-cancel-button,\n.emoji-mart-search input::-webkit-search-results-button,\n.emoji-mart-search input::-webkit-search-results-decoration {\n /* remove webkit/blink styles for <input type="search">\n * via https://stackoverflow.com/a/9422689 */\n -webkit-appearance: none;\n}\n\n.emoji-mart-search-icon {\n position: absolute;\n top: 7px;\n right: 11px;\n z-index: 2;\n padding: 2px 5px 1px;\n border: none;\n background: none;\n}\n\n.emoji-mart-category .emoji-mart-emoji span {\n z-index: 1;\n position: relative;\n text-align: center;\n cursor: default;\n}\n\n.emoji-mart-category .emoji-mart-emoji:hover:before {\n z-index: 0;\n content: "";\n position: absolute;\n top: 0; left: 0;\n width: 100%; height: 100%;\n background-color: #f4f4f4;\n border-radius: 100%;\n}\n\n.emoji-mart-category-label {\n z-index: 2;\n position: relative;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n}\n\n.emoji-mart-category-label span {\n display: block;\n width: 100%;\n font-weight: 500;\n padding: 5px 6px;\n background-color: #fff;\n background-color: rgba(255, 255, 255, .95);\n}\n\n.emoji-mart-category-list {\n margin: 0;\n padding: 0;\n}\n\n.emoji-mart-category-list li {\n list-style: none;\n margin: 0;\n padding: 0;\n display: inline-block;\n}\n\n.emoji-mart-emoji {\n position: relative;\n display: inline-block;\n font-size: 0;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n box-shadow: none;\n}\n\n.emoji-mart-emoji-native {\n font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";\n}\n\n.emoji-mart-no-results {\n font-size: 14px;\n text-align: center;\n padding-top: 70px;\n color: #858585;\n}\n.emoji-mart-no-results-img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n width: 50%;\n}\n.emoji-mart-no-results .emoji-mart-category-label {\n display: none;\n}\n.emoji-mart-no-results .emoji-mart-no-results-label {\n margin-top: .2em;\n}\n.emoji-mart-no-results .emoji-mart-emoji:hover:before {\n content: none;\n}\n\n.emoji-mart-preview {\n position: relative;\n height: 70px;\n}\n\n.emoji-mart-preview-emoji,\n.emoji-mart-preview-data,\n.emoji-mart-preview-skins {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.emoji-mart-preview-emoji {\n left: 12px;\n}\n\n.emoji-mart-preview-data {\n left: 68px; right: 12px;\n word-break: break-all;\n}\n\n.emoji-mart-preview-skins {\n right: 30px;\n text-align: right;\n}\n\n.emoji-mart-preview-skins.custom {\n right: 10px;\n text-align: right;\n}\n\n.emoji-mart-preview-name {\n font-size: 14px;\n}\n\n.emoji-mart-preview-shortname {\n font-size: 12px;\n color: #888;\n}\n.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,\n.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,\n.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {\n margin-left: .5em;\n}\n\n.emoji-mart-preview-emoticon {\n font-size: 11px;\n color: #bbb;\n}\n\n.emoji-mart-title span {\n display: inline-block;\n vertical-align: middle;\n}\n\n.emoji-mart-title .emoji-mart-emoji {\n padding: 0;\n}\n\n.emoji-mart-title-label {\n color: #999A9C;\n font-size: 26px;\n font-weight: 300;\n}\n\n.emoji-mart-skin-swatches {\n font-size: 0;\n padding: 2px 0;\n border: 1px solid #d9d9d9;\n border-radius: 12px;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.custom {\n font-size: 0;\n border: none;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-swatch {\n display: inline-block;\n width: 0;\n vertical-align: middle;\n transition-property: width, padding;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n}\n\n.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }\n.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }\n.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }\n.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }\n.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }\n.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }\n\n.emoji-mart-skin-swatch.selected {\n position: relative;\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatch.selected:after {\n content: "";\n position: absolute;\n top: 50%; left: 50%;\n width: 4px; height: 4px;\n margin: -2px 0 0 -2px;\n background-color: #fff;\n border-radius: 100%;\n pointer-events: none;\n opacity: 0;\n transition: opacity .2s ease-out;\n}\n\n.emoji-mart-skin-swatch.custom {\n display: inline-block;\n width: 0;\n height: 38px;\n overflow: hidden;\n vertical-align: middle;\n transition-property: width, height;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n cursor: default;\n}\n\n.emoji-mart-skin-swatch.custom.selected {\n position: relative;\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatch.custom.selected:after {\n content: "";\n width: 0;\n height: 0;\n}\n\n.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {\n background-color: #f4f4f4;\n border-radius: 10%;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-text.opened {\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n color: #888;\n font-size: 11px;\n padding: 5px 2px;\n width: 95px;\n height: 40px;\n border-radius: 10%;\n background-color: #fff;\n}\n\n.emoji-mart-skin {\n display: inline-block;\n width: 100%;\n padding-top: 100%;\n max-width: 12px;\n border-radius: 100%;\n}\n\n.emoji-mart-skin-tone-1 { background-color: #ffc93a }\n.emoji-mart-skin-tone-2 { background-color: #fadcbc }\n.emoji-mart-skin-tone-3 { background-color: #e0bb95 }\n.emoji-mart-skin-tone-4 { background-color: #bf8f68 }\n.emoji-mart-skin-tone-5 { background-color: #9b643d }\n.emoji-mart-skin-tone-6 { background-color: #594539 }\n\n/* For screenreaders only, via https://stackoverflow.com/a/19758620 */\n.emoji-mart-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n/*\n * Dark mode styles\n */\n\n.emoji-mart-dark {\n color: #fff;\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-bar {\n border-color: #555453;\n}\n\n.emoji-mart-dark .emoji-mart-search input {\n color: #fff;\n border-color: #555453;\n background-color: #2f2f2f;\n}\n\n.emoji-mart-dark .emoji-mart-search-icon svg {\n fill: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before {\n background-color: #444;\n}\n\n.emoji-mart-dark .emoji-mart-category-label span {\n background-color: #222;\n color: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-skin-swatches {\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-anchor:hover,\n.emoji-mart-dark .emoji-mart-anchor:focus,\n.emoji-mart-dark .emoji-mart-anchor-selected {\n color: #bfbfbf;\n}\n');var K7={},H7={},W7={},G7={};!function(e){var t,n=ze&&ze.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=e.LogLevel=void 0,function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(t=e.LogLevel||(e.LogLevel={})),e.Logger={ENABLED:"undefined"!=typeof window&&"undefined"!=typeof location&&-1!==location.search.indexOf("giphy-debug"),LEVEL:0,PREFIX:"GiphyJS",debug:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.DEBUG&&console.debug.apply(console,n([e.Logger.PREFIX],r))},info:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.INFO&&console.info.apply(console,n([e.Logger.PREFIX],r))},warn:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.WARN&&console.warn.apply(console,n([e.Logger.PREFIX],r))},error:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];e.Logger.ENABLED&&e.Logger.LEVEL<=t.ERROR&&console.error.apply(console,n([e.Logger.PREFIX],r))}}}(G7),Object.defineProperty(W7,"__esModule",{value:!0}),W7.setRenditionScaleUpMaxPixels=void 0;var Y7=G7,Q7=50;W7.setRenditionScaleUpMaxPixels=function(e){Y7.Logger.debug("@giphy/js-util set rendition selection scale up max pixels to "+e),Q7=e},W7.default=function(e,t,n,r){void 0===r&&(r=Q7);var i=e[0],o=e.filter((function(e){return e.width*e.height>i.width*i.height&&(i=e),t-e.width<=r&&n-e.height<=r}));return 0===o.length?i:function(e,t,n){var r,i=1/0;return n.forEach((function(n){var o=n.width/e*(n.height/t),a=Math.abs(1-o);a<i&&(i=a,r=n)})),r}(t,n,o)};var $7={};Object.defineProperty($7,"__esModule",{value:!0}),$7.pick=$7.without=$7.take=$7.forEach=$7.mapValues=void 0,$7.mapValues=function(e,t){if(Array.isArray(e))throw"This map is just for objects, just use array.map for arrays";return Object.keys(e).reduce((function(n,r){return n[r]=t(e[r],r),n}),{})},$7.forEach=function(e,t){if(Array.isArray(e))throw"This map is just for objects, just use array.forEach for arrays";return Object.keys(e).forEach((function(n){t(e[n],n)}))},$7.take=function(e,t){return void 0===t&&(t=0),e.slice(0,t)},$7.without=function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},$7.pick=function(e,t){var n={};return t.forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n};var Z7={};Object.defineProperty(Z7,"__esModule",{value:!0});Z7.default=function(e){var t=0,n=0,r=e.offsetWidth,i=e.offsetHeight;do{t+=e.offsetLeft,n+=e.offsetTop,e=e.offsetParent}while(e);return{left:t,top:n,width:r,height:i,right:t+r,bottom:n+i}};var J7,X7={},e8=new Uint8Array(16);function t8(){if(!J7&&!(J7="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return J7(e8)}var n8=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r8(e){return"string"==typeof e&&n8.test(e)}for(var i8,o8,a8=[],s8=0;s8<256;++s8)a8.push((s8+256).toString(16).substr(1));function u8(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(a8[e[t+0]]+a8[e[t+1]]+a8[e[t+2]]+a8[e[t+3]]+"-"+a8[e[t+4]]+a8[e[t+5]]+"-"+a8[e[t+6]]+a8[e[t+7]]+"-"+a8[e[t+8]]+a8[e[t+9]]+"-"+a8[e[t+10]]+a8[e[t+11]]+a8[e[t+12]]+a8[e[t+13]]+a8[e[t+14]]+a8[e[t+15]]).toLowerCase();if(!r8(n))throw TypeError("Stringified UUID is invalid");return n}var c8=0,l8=0;function d8(e){if(!r8(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function f8(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=d8(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return u8(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function p8(e){return 14+(e+64>>>9<<4)+1}function h8(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function m8(e,t,n,r,i,o){return h8((a=h8(h8(t,e),h8(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function g8(e,t,n,r,i,o,a){return m8(t&n|~t&r,e,t,i,o,a)}function v8(e,t,n,r,i,o,a){return m8(t&r|n&~r,e,t,i,o,a)}function y8(e,t,n,r,i,o,a){return m8(t^n^r,e,t,i,o,a)}function b8(e,t,n,r,i,o,a){return m8(n^(t|~r),e,t,i,o,a)}var w8=f8("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",i=0;i<n;i+=8){var o=e[i>>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[p8(t)-1]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,u=r,c=i,l=o;n=g8(n,r,i,o,e[a],7,-680876936),o=g8(o,n,r,i,e[a+1],12,-389564586),i=g8(i,o,n,r,e[a+2],17,606105819),r=g8(r,i,o,n,e[a+3],22,-1044525330),n=g8(n,r,i,o,e[a+4],7,-176418897),o=g8(o,n,r,i,e[a+5],12,1200080426),i=g8(i,o,n,r,e[a+6],17,-1473231341),r=g8(r,i,o,n,e[a+7],22,-45705983),n=g8(n,r,i,o,e[a+8],7,1770035416),o=g8(o,n,r,i,e[a+9],12,-1958414417),i=g8(i,o,n,r,e[a+10],17,-42063),r=g8(r,i,o,n,e[a+11],22,-1990404162),n=g8(n,r,i,o,e[a+12],7,1804603682),o=g8(o,n,r,i,e[a+13],12,-40341101),i=g8(i,o,n,r,e[a+14],17,-1502002290),n=v8(n,r=g8(r,i,o,n,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=v8(o,n,r,i,e[a+6],9,-1069501632),i=v8(i,o,n,r,e[a+11],14,643717713),r=v8(r,i,o,n,e[a],20,-373897302),n=v8(n,r,i,o,e[a+5],5,-701558691),o=v8(o,n,r,i,e[a+10],9,38016083),i=v8(i,o,n,r,e[a+15],14,-660478335),r=v8(r,i,o,n,e[a+4],20,-405537848),n=v8(n,r,i,o,e[a+9],5,568446438),o=v8(o,n,r,i,e[a+14],9,-1019803690),i=v8(i,o,n,r,e[a+3],14,-187363961),r=v8(r,i,o,n,e[a+8],20,1163531501),n=v8(n,r,i,o,e[a+13],5,-1444681467),o=v8(o,n,r,i,e[a+2],9,-51403784),i=v8(i,o,n,r,e[a+7],14,1735328473),n=y8(n,r=v8(r,i,o,n,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=y8(o,n,r,i,e[a+8],11,-2022574463),i=y8(i,o,n,r,e[a+11],16,1839030562),r=y8(r,i,o,n,e[a+14],23,-35309556),n=y8(n,r,i,o,e[a+1],4,-1530992060),o=y8(o,n,r,i,e[a+4],11,1272893353),i=y8(i,o,n,r,e[a+7],16,-155497632),r=y8(r,i,o,n,e[a+10],23,-1094730640),n=y8(n,r,i,o,e[a+13],4,681279174),o=y8(o,n,r,i,e[a],11,-358537222),i=y8(i,o,n,r,e[a+3],16,-722521979),r=y8(r,i,o,n,e[a+6],23,76029189),n=y8(n,r,i,o,e[a+9],4,-640364487),o=y8(o,n,r,i,e[a+12],11,-421815835),i=y8(i,o,n,r,e[a+15],16,530742520),n=b8(n,r=y8(r,i,o,n,e[a+2],23,-995338651),i,o,e[a],6,-198630844),o=b8(o,n,r,i,e[a+7],10,1126891415),i=b8(i,o,n,r,e[a+14],15,-1416354905),r=b8(r,i,o,n,e[a+5],21,-57434055),n=b8(n,r,i,o,e[a+12],6,1700485571),o=b8(o,n,r,i,e[a+3],10,-1894986606),i=b8(i,o,n,r,e[a+10],15,-1051523),r=b8(r,i,o,n,e[a+1],21,-2054922799),n=b8(n,r,i,o,e[a+8],6,1873313359),o=b8(o,n,r,i,e[a+15],10,-30611744),i=b8(i,o,n,r,e[a+6],15,-1560198380),r=b8(r,i,o,n,e[a+13],21,1309151649),n=b8(n,r,i,o,e[a+4],6,-145523070),o=b8(o,n,r,i,e[a+11],10,-1120210379),i=b8(i,o,n,r,e[a+2],15,718787259),r=b8(r,i,o,n,e[a+9],21,-343485551),n=h8(n,s),r=h8(r,u),i=h8(i,c),o=h8(o,l)}return[n,r,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(p8(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),x8=w8;function _8(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function S8(e,t){return e<<t|e>>>32-t}var k8=f8("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),u=0;u<a;++u){for(var c=new Uint32Array(16),l=0;l<16;++l)c[l]=e[64*u+4*l]<<24|e[64*u+4*l+1]<<16|e[64*u+4*l+2]<<8|e[64*u+4*l+3];s[u]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var f=new Uint32Array(80),p=0;p<16;++p)f[p]=s[d][p];for(var h=16;h<80;++h)f[h]=S8(f[h-3]^f[h-8]^f[h-14]^f[h-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var x=Math.floor(w/20),_=S8(m,5)+_8(x,g,v,y)+b+t[x]+f[w]>>>0;b=y,y=v,v=S8(g,30)>>>0,g=m,m=_}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),C8=k8;var E8=Object.freeze({__proto__:null,v1:function(e,t,n){var r=t&&n||0,i=t||new Array(16),o=(e=e||{}).node||i8,a=void 0!==e.clockseq?e.clockseq:o8;if(null==o||null==a){var s=e.random||(e.rng||t8)();null==o&&(o=i8=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=o8=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:l8+1,l=u-c8+(c-l8)/1e4;if(l<0&&void 0===e.clockseq&&(a=a+1&16383),(l<0||u>c8)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c8=u,l8=c,o8=a;var d=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;i[r++]=d>>>24&255,i[r++]=d>>>16&255,i[r++]=d>>>8&255,i[r++]=255&d;var f=u/4294967296*1e4&268435455;i[r++]=f>>>8&255,i[r++]=255&f,i[r++]=f>>>24&15|16,i[r++]=f>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var p=0;p<6;++p)i[r+p]=o[p];return t||u8(i)},v3:x8,v4:function(e,t,n){var r=(e=e||{}).random||(e.rng||t8)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return u8(r)},v5:C8,NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!r8(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:r8,stringify:u8,parse:d8}),I8=Ue(E8);Object.defineProperty(X7,"__esModule",{value:!0});var O8=I8,T8="";X7.default=function(){if(!T8){try{T8=sessionStorage.getItem("giphyPingbackId")}catch(e){}if(!T8){var e=(new Date).getTime().toString(16);try{T8=(""+e+O8.v4().replace(/-/g,"")).substring(0,16)}catch(e){T8=function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length,r=0;r<16;r++)e+=t.charAt(Math.floor(Math.random()*n));return e}()}try{sessionStorage.setItem("giphyPingbackId",T8)}catch(e){}}}return T8};var N8,D8={},A8={};N8=A8,Object.defineProperty(N8,"__esModule",{value:!0}),N8.checkIfWebP=N8.SUPPORTS_WEBP=void 0,N8.SUPPORTS_WEBP=null,N8.checkIfWebP=new Promise((function(e){"undefined"==typeof Image&&e(!1);var t=new Image;t.onload=function(){N8.SUPPORTS_WEBP=!0,e(N8.SUPPORTS_WEBP)},t.onerror=function(){N8.SUPPORTS_WEBP=!1,e(N8.SUPPORTS_WEBP)},t.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"})),function(e){var t=ze&&ze.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getAltText=e.getGifWidth=e.getGifHeight=e.getBestRenditionUrl=e.getBestRendition=e.getBestVideo=e.getSpecificRendition=void 0;var r=n(W7),i=$7,o=A8;e.getSpecificRendition=function(e,t,n,r){var i=e.images,a=e.is_sticker;if(void 0===n&&(n=!1),void 0===r&&(r=!1),!i||!t)return"";var s=i[t+((n=n&&!r)?"_still":"")];if(s){if(a||n)return s.url;var u=o.SUPPORTS_WEBP&&s.webp;return r?s.mp4:u||s.url}return""};e.getBestVideo=function(e,n,i){var o=null==e?void 0:e.assets;if(o){delete(o=t({},o)).source;var a=Object.values(o).sort((function(e,t){return e.width-t.width}));return r.default(a,n,i)}};e.getBestRendition=function(e,n,o,a){var s=i.pick(e,["original","fixed_width","fixed_height","fixed_width_small","fixed_height_small"]),u=Object.entries(s).map((function(e){var n=e[0],r=e[1];return t({renditionName:n},r)}));return r.default(u,n,o,a)};e.getBestRenditionUrl=function(t,n,r,i){var a=t.images,s=t.video,u=t.type;if(void 0===i&&(i={isStill:!1,useVideo:!1}),!n||!r||!a)return"";var c=i.useVideo,l=i.isStill,d=i.scaleUpMaxPixels,f=function(e,t,n){return"video"===e&&n&&n.previews&&!Object.keys(t).length?n.previews:t}(u,a,s),p=f[e.getBestRendition(f,n,r,d).renditionName+(l&&!c?"_still":"")];return(c?p.mp4:o.SUPPORTS_WEBP&&p.webp?p.webp:p.url)||""};e.getGifHeight=function(e,t){var n=e.images.fixed_width;if(n){var r=n.width/n.height;return Math.round(t/r)}return 0};e.getGifWidth=function(e,t){var n=e.images.fixed_width;if(n){var r=n.width/n.height;return Math.round(t*r)}return 0};e.getAltText=function(e){var t=e.user,n=e.tags,r=void 0===n?[]:n,o=e.is_sticker,a=void 0!==o&&o,s=e.title,u=void 0===s?"":s;if(u)return u;var c=t&&t.username||"";return(c?c+" ":"")+i.take(i.without(r,["transparent"]),c?4:5).join(" ")+" "+(a?"Sticker":"GIF")}}(D8);var P8={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.appendGiphySDKRequestParam=e.appendGiphySDKRequestHeader=e.getGiphySDKRequestHeaders=void 0;var t=("undefined"!=typeof window?window:ze)||{};t._GIPHY_SDK_HEADERS_=t._GIPHY_SDK_HEADERS_||(t.Headers?new t.Headers({"X-GIPHY-SDK-PLATFORM":"web"}):void 0);e.getGiphySDKRequestHeaders=function(){return t._GIPHY_SDK_HEADERS_};e.appendGiphySDKRequestHeader=function(t,n){var r;return null===(r=e.getGiphySDKRequestHeaders())||void 0===r?void 0:r.set(t,n)};e.appendGiphySDKRequestParam=function(t,n){var r;return null===(r=e.getGiphySDKRequestHeaders())||void 0===r?void 0:r.set(t,n)}}(P8),function(e){var t=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=ze&&ze.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.checkIfWebP=e.getSpecificRendition=e.getGifWidth=e.getGifHeight=e.getBestVideo=e.getBestRenditionUrl=e.getBestRendition=e.getAltText=e.getPingbackId=e.getClientRect=e.setRenditionScaleUpMaxPixels=e.bestfit=void 0;var i=W7;Object.defineProperty(e,"bestfit",{enumerable:!0,get:function(){return r(i).default}}),Object.defineProperty(e,"setRenditionScaleUpMaxPixels",{enumerable:!0,get:function(){return i.setRenditionScaleUpMaxPixels}}),n($7,e);var o=Z7;Object.defineProperty(e,"getClientRect",{enumerable:!0,get:function(){return r(o).default}});var a=X7;Object.defineProperty(e,"getPingbackId",{enumerable:!0,get:function(){return r(a).default}});var s=D8;Object.defineProperty(e,"getAltText",{enumerable:!0,get:function(){return s.getAltText}}),Object.defineProperty(e,"getBestRendition",{enumerable:!0,get:function(){return s.getBestRendition}}),Object.defineProperty(e,"getBestRenditionUrl",{enumerable:!0,get:function(){return s.getBestRenditionUrl}}),Object.defineProperty(e,"getBestVideo",{enumerable:!0,get:function(){return s.getBestVideo}}),Object.defineProperty(e,"getGifHeight",{enumerable:!0,get:function(){return s.getGifHeight}}),Object.defineProperty(e,"getGifWidth",{enumerable:!0,get:function(){return s.getGifWidth}}),Object.defineProperty(e,"getSpecificRendition",{enumerable:!0,get:function(){return s.getSpecificRendition}}),n(G7,e),n(P8,e);var u=A8;Object.defineProperty(e,"checkIfWebP",{enumerable:!0,get:function(){return u.checkIfWebP}})}(H7),function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;if(this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()})),t!=(this.root&&this.root.ownerDocument||e)){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var i=r.element,a=c(i),s=this._rootContainsTarget(i),u=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:n&&!this.root?null:t,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a,s,u,l,f,h,m,g,v=i,y=p(t),b=!1;!b&&y;){var w=null,x=1==y.nodeType?window.getComputedStyle(y):{};if("none"==x.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)n&&!this.root?!r||0==r.width&&0==r.height?(y=null,w=null,v=null):w=r:w=o;else{var _=p(y),S=_&&c(_),k=_&&this._computeTargetAndRootIntersection(_,S,o);S&&k?(y=_,w=d(S,k)):(y=null,v=null)}else{var C=y.ownerDocument;y!=C.body&&y!=C.documentElement&&"visible"!=x.overflow&&(w=c(y))}if(w&&(a=w,s=v,u=void 0,l=void 0,f=void 0,h=void 0,m=void 0,g=void 0,u=Math.max(a.top,s.top),l=Math.min(a.bottom,s.bottom),f=Math.max(a.left,s.left),h=Math.min(a.right,s.right),g=l-u,v=(m=h-f)>=0&&g>=0&&{top:u,bottom:l,left:f,right:h,width:m,height:g}||null),!v)break;y=y&&p(y)}return v}},a.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},a.prototype._rootContainsTarget=function(t){return f(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=o}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}}();var M8={};function j8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R8(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var L8=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,F8=R8((function(e){return L8.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var z8=function(){function e(e){this.isSpeedy=void 0===e.speedy?"production"===Es.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(t){"production"!==Es.env.NODE_ENV&&console.warn('There was a problem inserting the following rule: "'+e+'"',t)}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();function B8(e){function t(e,r,u,c,f){for(var p,h,m,g,w,_=0,S=0,k=0,C=0,E=0,A=0,M=m=p=0,R=0,L=0,F=0,z=0,B=u.length,U=B-1,q="",V="",K="",H="";R<B;){if(h=u.charCodeAt(R),R===U&&0!==S+C+k+_&&(0!==S&&(h=47===S?10:47),C=k=_=0,B++,U++),0===S+C+k+_){if(R===U&&(0<L&&(q=q.replace(d,"")),0<q.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:q+=u.charAt(R)}h=59}switch(h){case 123:for(p=(q=q.trim()).charCodeAt(0),m=1,z=++R;R<B;){switch(h=u.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(R+1)){case 42:case 47:e:{for(M=R+1;M<U;++M)switch(u.charCodeAt(M)){case 47:if(42===h&&42===u.charCodeAt(M-1)&&R+2!==M){R=M+1;break e}break;case 10:if(47===h){R=M+1;break e}}R=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<U&&u.charCodeAt(R)!==h;);}if(0===m)break;R++}if(m=u.substring(z,R),0===p&&(p=(q=q.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(q=q.replace(d,"")),h=q.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=D}if(z=(m=t(r,L,m,h,f+1)).length,0<P&&(w=s(3,m,L=n(D,q,F),r,O,I,z,h,f,c),q=L.join(""),void 0!==w&&0===(z=(m=w.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:q=q.replace(x,a);case 100:case 109:case 45:m=q+"{"+m+"}";break;case 107:m=(q=q.replace(v,"$1 $2"))+"{"+m+"}",m=1===N||2===N&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=q+m,112===c&&(V+=m,m="")}else m=""}else m=t(r,n(r,q,F),m,c,f+1);K+=m,m=F=L=M=p=0,q="",h=u.charCodeAt(++R);break;case 125:case 59:if(1<(z=(q=(0<L?q.replace(d,""):q).trim()).length))switch(0===M&&(p=q.charCodeAt(0),45===p||96<p&&123>p)&&(z=(q=q.replace(" ",":")).length),0<P&&void 0!==(w=s(1,q,r,e,O,I,V.length,c,f,c))&&0===(z=(q=w.trim()).length)&&(q="\0\0"),p=q.charCodeAt(0),h=q.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=q+u.charAt(R);break}default:58!==q.charCodeAt(z-1)&&(V+=i(q,p,h,q.charCodeAt(2)))}F=L=M=p=0,q="",h=u.charCodeAt(++R)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<q.length&&(L=1,q+="\0"),0<P*j&&s(0,q,r,e,O,I,V.length,c,f,c),I=1,O++;break;case 59:case 125:if(0===S+C+k+_){I++;break}default:switch(I++,g=u.charAt(R),h){case 9:case 32:if(0===C+_+S)switch(E){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+S+_&&(L=F=1,g="\f"+g);break;case 108:if(0===C+S+_+T&&0<M)switch(R-M){case 2:112===E&&58===u.charCodeAt(R-3)&&(T=E);case 8:111===A&&(T=A)}break;case 58:0===C+S+_&&(M=R);break;case 44:0===S+k+C+_&&(L=1,g+="\r");break;case 34:case 39:0===S&&(C=C===h?0:0===C?h:C);break;case 91:0===C+S+k&&_++;break;case 93:0===C+S+k&&_--;break;case 41:0===C+S+_&&k--;break;case 40:if(0===C+S+_){if(0===p)if(2*E+3*A==533);else p=1;k++}break;case 64:0===S+k+C+_+M+m&&(m=1);break;case 42:case 47:if(!(0<C+_+k))switch(S){case 0:switch(2*h+3*u.charCodeAt(R+1)){case 235:S=47;break;case 220:z=R,S=42}break;case 42:47===h&&42===E&&z+2!==R&&(33===u.charCodeAt(z+2)&&(V+=u.substring(z,R+1)),g="",S=0)}}0===S&&(q+=g)}A=E,E=h,R++}if(0<(z=V.length)){if(L=r,0<P&&(void 0!==(w=s(2,V,L,e,O,I,z,c,f,c))&&0===(V=w).length))return H+V+K;if(V=L.join(",")+"{"+V+"}",0!=N*T){switch(2!==N||o(V,2)||(T=0),T){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}T=0}}return H+V+K}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===N||2===N&&o(u,1)?"-webkit-"+u+u:u}if(0===N||2===N&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(w,"tb");break;case 232:u=a.replace(w,"tb-rl");break;case 220:u=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(_," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,u,l){for(var d,f=0,p=t;f<P;++f)switch(d=A[f].call(c,e,p,n,r,i,o,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?N=1:(N=2,M=e):N=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var i=s(-1,n,r,r,O,I,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(D,r,n,0,0);return 0<P&&(void 0!==(i=s(-2,o,r,r,O,I,o.length,0,0,0))&&(o=i)),"",T=0,I=O=1,o}var l=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,I=1,O=1,T=0,N=1,D=[],A=[],P=0,M=null,j=0;return c.use=function e(t){switch(t){case void 0:case null:P=A.length=0;break;default:if("function"==typeof t)A[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},c.set=u,void 0!==e&&u(e),c}var U8=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function q8(e){e&&V8.current.insert(e+"}")}var V8={current:null},K8=function(e,t,n,r,i,o,a,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return V8.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return V8.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(q8)}},H8=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new B8(t);if("production"!==Es.env.NODE_ENV&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var i,o={};i=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+n+"]");if(Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),r.use(e.stylisPlugins)(K8),a=function(e,t,n,i){var o=t.name;if(V8.current=n,"production"!==Es.env.NODE_ENV&&void 0!==t.map){var a=t.map;V8.current={insert:function(e){n.insert(e+a)}}}r(e,t.styles),i&&(l.inserted[o]=!0)},"production"!==Es.env.NODE_ENV){var u=/\/\*/g,c=/\*\//g;r.use((function(e,t){if(-1===e){for(;u.test(t);){if(c.lastIndex=u.lastIndex,!c.test(t))throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');u.lastIndex=c.lastIndex}u.lastIndex=0}})),r.use((function(e,t,n){if(-1===e){var r=t.match(/(:first|:nth|:nth-last)-child/g);r&&!0!==l.compat&&r.forEach((function(e){var n=new RegExp(e+".*\\/\\* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason \\*\\/").test(t);e&&!n&&console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}))}var l={key:n,sheet:new z8({key:n,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:a};return l};function W8(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var G8=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+r,i,e.sheet,!0),i=i.next}while(void 0!==i)}};var Y8={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Q8="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",$8="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Z8=/[A-Z]|^ms/g,J8=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X8=function(e){return 45===e.charCodeAt(1)},e9=function(e){return null!=e&&"boolean"!=typeof e},t9=R8((function(e){return X8(e)?e:e.replace(Z8,"-$&").toLowerCase()})),n9=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(J8,(function(e,t,n){return f9={name:t,styles:n,next:f9},t}))}return 1===Y8[e]||X8(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==Es.env.NODE_ENV){var r9=/(attr|calc|counters?|url)\(/,i9=["normal","none","counter","open-quote","close-quote","no-open-quote","no-close-quote","initial","inherit","unset"],o9=n9,a9=/^-ms-/,s9=/-(.)/g,u9={};n9=function(e,t){"content"===e&&("string"!=typeof t||-1===i9.indexOf(t)&&!r9.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=o9(e,t);return""===n||X8(e)||-1===e.indexOf("-")||void 0!==u9[e]||(u9[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(a9,"ms-").replace(s9,(function(e,t){return t.toUpperCase()}))+"?")),n}}var c9=!0;function l9(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==Es.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f9={name:n.name,styles:n.styles,next:f9},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)f9={name:i.name,styles:i.styles,next:f9},i=i.next;var o=n.styles+";";return"production"!==Es.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=l9(e,t,n[i],!1);else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":e9(a)&&(r+=t9(o)+":"+n9(o,a)+";");else{if("NO_COMPONENT_SELECTOR"===o&&"production"!==Es.env.NODE_ENV)throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=l9(e,t,a,!1);switch(o){case"animation":case"animationName":r+=t9(o)+":"+s+";";break;default:"production"!==Es.env.NODE_ENV&&"undefined"===o&&console.error($8),r+=o+"{"+s+"}"}}else for(var u=0;u<a.length;u++)e9(a[u])&&(r+=t9(o)+":"+n9(o,a[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=f9,s=n(e);return f9=a,l9(e,t,s,r)}"production"!==Es.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==Es.env.NODE_ENV){var u=[],c=n.replace(J8,(function(e,t,n){var r="animation"+u.length;return u.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));u.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(u,["`"+c+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+c+"`")}}if(null==t)return n;var l=t[n];return"production"!==Es.env.NODE_ENV&&r&&c9&&void 0!==l&&(console.error("Interpolating a className from css`` is not recommended and will cause problems with composition.\nInterpolating a className from css`` will be completely unsupported in a future major version of Emotion"),c9=!1),void 0===l||r?n:l}var d9,f9,p9=/label:\s*([^\s;\n{]+)\s*;/g;"production"!==Es.env.NODE_ENV&&(d9=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//);var h9=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";f9=void 0;var o,a=e[0];null==a||void 0===a.raw?(r=!1,i+=l9(n,t,a,!1)):("production"!==Es.env.NODE_ENV&&void 0===a[0]&&console.error(Q8),i+=a[0]);for(var s=1;s<e.length;s++)i+=l9(n,t,e[s],46===i.charCodeAt(i.length-1)),r&&("production"!==Es.env.NODE_ENV&&void 0===a[s]&&console.error(Q8),i+=a[s]);"production"!==Es.env.NODE_ENV&&(i=i.replace(d9,(function(e){return o=e,""}))),p9.lastIndex=0;for(var u,c="";null!==(u=p9.exec(i));)c+="-"+u[1];var l=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+c;return"production"!==Es.env.NODE_ENV?{name:l,styles:i,map:o,next:f9,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:l,styles:i,next:f9}},m9=Object.prototype.hasOwnProperty,g9=s("undefined"!=typeof HTMLElement?H8():null),v9=s({}),y9=g9.Provider,b9=function(e){var t=function(t,n){return x(g9.Consumer,null,(function(r){return e(t,r,n)}))};return w(t)},w9="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x9="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",_9=function(e,t){if("production"!==Es.env.NODE_ENV&&"string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`"+t.css+"`");var n={};for(var r in t)m9.call(t,r)&&(n[r]=t[r]);if(n[w9]=e,"production"!==Es.env.NODE_ENV){var i=new Error;if(i.stack){var o=i.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z$]+) /);o||(o=i.stack.match(/.*\n([A-Z][A-Za-z$]+)@/)),o&&(n[x9]=o[1].replace(/\$/g,"-"))}}return n},S9=function(e,t,n,r){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var o=t[w9],a=[i],s="";"string"==typeof t.className?s=W8(e.registered,a,t.className):null!=t.className&&(s=t.className+" ");var u=h9(a);if("production"!==Es.env.NODE_ENV&&-1===u.name.indexOf("-")){var c=t[x9];c&&(u=h9([u,"label:"+c+";"]))}G8(e,u,"string"==typeof o),s+=e.key+"-"+u.name;var l={};for(var d in t)!m9.call(t,d)||"css"===d||d===w9||"production"!==Es.env.NODE_ENV&&d===x9||(l[d]=t[d]);return l.ref=r,l.className=s,x(o,l)},k9=b9((function(e,t,n){return"function"==typeof e.css?x(v9.Consumer,null,(function(r){return S9(t,e,r,n)})):S9(t,e,null,n)}));function C9(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h9(t)}"production"!==Es.env.NODE_ENV&&(k9.displayName="EmotionCssPropInternal");var E9=function(e,t){var n=arguments;if(null==t||!m9.call(t,"css"))return x.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=k9,i[1]=_9(e,t);for(var o=2;o<r;o++)i[o]=n[o];return x.apply(null,i)},I9=!1,O9=b9((function(e,t){"production"===Es.env.NODE_ENV||I9||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),I9=!0);var n=e.styles;if("function"==typeof n)return x(v9.Consumer,null,(function(e){var r=h9([n(e)]);return x(T9,{serialized:r,cache:t})}));var r=h9([n]);return x(T9,{serialized:r,cache:t})})),T9=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}FH(t,e);var n=t.prototype;return n.componentDidMount=function(){this.sheet=new z8({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},n.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},n.insertStyles=function(){if(void 0!==this.props.serialized.next&&G8(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},n.componentWillUnmount=function(){this.sheet.flush()},n.render=function(){return null},t}(v),N9=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function D9(e,t,n){var r=[],i=W8(e,r,n);return r.length<2?n:i+t(r)}var A9=b9((function(e,t){return x(v9.Consumer,null,(function(n){var r=!1,i=function(){if(r&&"production"!==Es.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o=h9(n,t.registered);return G8(t,o,!1),t.key+"-"+o.name},o={css:i,cx:function(){if(r&&"production"!==Es.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return D9(t.registered,i,N9(n))},theme:n},a=e.children(o);return r=!0,a}))})),P9=Object.freeze({__proto__:null,ClassNames:A9,Global:O9,createElement:E9,jsx:E9,keyframes:function(){var e=C9.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},CacheProvider:y9,ThemeContext:v9,withEmotionCache:b9,css:C9}),M9=F8,j9=function(e){return"theme"!==e&&"innerRef"!==e},R9=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?M9:j9};function L9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L9(n,!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L9(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z9="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",B9=function e(t,n){if("production"!==Es.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,i,o;void 0!==n&&(r=n.label,o=n.target,i=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var a=t.__emotion_real===t,s=a&&t.__emotion_base||t;"function"!=typeof i&&a&&(i=t.__emotion_forwardProp);var u=i||R9(s),c=!u("as");return function(){var l=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==l[0]||void 0===l[0].raw)d.push.apply(d,l);else{"production"!==Es.env.NODE_ENV&&void 0===l[0][0]&&console.error(z9),d.push(l[0][0]);for(var f=l.length,p=1;p<f;p++)"production"!==Es.env.NODE_ENV&&void 0===l[0][p]&&console.error(z9),d.push(l[p],l[0][p])}var h=b9((function(e,t,n){return x(v9.Consumer,null,(function(a){var l=c&&e.as||s,f="",p=[],h=e;if(null==e.theme){for(var m in h={},e)h[m]=e[m];h.theme=a}"string"==typeof e.className?f=W8(t.registered,p,e.className):null!=e.className&&(f=e.className+" ");var g=h9(d.concat(p),t.registered,h);G8(t,g,"string"==typeof l),f+=t.key+"-"+g.name,void 0!==o&&(f+=" "+o);var v=c&&void 0===i?R9(l):u,y={};for(var b in e)c&&"as"===b||v(b)&&(y[b]=e[b]);return y.className=f,y.ref=n||e.innerRef,"production"!==Es.env.NODE_ENV&&e.innerRef&&console.error("`innerRef` is deprecated and will be removed in a future major version of Emotion, please use the `ref` prop instead"+(void 0===r?"":" in the usage of `"+r+"`")),x(l,y)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=d,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return void 0===o&&"production"!==Es.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+o}}),h.withComponent=function(t,r){return e(t,void 0!==r?F9({},n||{},{},r):n).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){B9[e]=B9(e)}));var U9=Ue(Object.freeze({__proto__:null,default:B9})),q9={},V9=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},K9=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),H9=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),W9=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&K9(t,e,n);return H9(t,e),t},G9=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(q9,"__esModule",{value:!0});var Y9,Q9=G9(U9),$9=W9(o),Z9=Q9.default.img(Y9||(Y9=V9(["\n object-fit: cover;\n width: 32px;\n height: 32px;\n margin-right: 8px;\n"],["\n object-fit: cover;\n width: 32px;\n height: 32px;\n margin-right: 8px;\n"])));q9.default=function(e){var t=e.user,n=e.className,r=void 0===n?"":n,i=$9.useRef(Math.floor(5*Math.random())+1),o=t.avatar_url?function(e){var t,n;if(!e)return"";var r=null===(n=null===(t=null==e?void 0:e.split("."))||void 0===t?void 0:t.pop())||void 0===n?void 0:n.toLowerCase();return e.replace("."+r,"/80h."+r)}(t.avatar_url):"https://media.giphy.com/avatars/default"+i.current+".gif";return $9.default.createElement(Z9,{src:o,className:r})};var J9={},X9={},eee={},tee={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.gifOverlayColor=e.dimColor=e.secondaryCTA=e.primaryCTADisabled=e.primaryCTA=e.deleteColor=e.errorColor=e.smsColor=e.redditColor=e.instagramColor=e.tumblrColor=e.pinterestColor=e.twitterColor=e.facebookColor=e.giphyPink=e.giphyIndigo=e.giphyLightBlue=e.giphyAqua=e.giphyYellow=e.giphyRed=e.giphyPurple=e.giphyGreen=e.giphyBlue=e.giphyWhite=e.giphyWhiteSmoke=e.giphyLightestGrey=e.giphyLightGrey=e.giphyLightCharcoal=e.giphyCharcoal=e.giphyDarkCharcoal=e.giphyDarkGrey=e.giphyDarkestGrey=e.giphyBlack=void 0,e.giphyBlack="#121212",e.giphyDarkestGrey="#212121",e.giphyDarkGrey="#2e2e2e",e.giphyDarkCharcoal="#3e3e3e",e.giphyCharcoal="#4a4a4a",e.giphyLightCharcoal="#5c5c5c",e.giphyLightGrey="#a6a6a6",e.giphyLightestGrey="#d8d8d8",e.giphyWhiteSmoke="#ececec",e.giphyWhite="#ffffff",e.giphyBlue="#00ccff",e.giphyGreen="#00ff99",e.giphyPurple="#9933ff",e.giphyRed="#ff6666",e.giphyYellow="#fff35c",e.giphyAqua="#00e6cc",e.giphyLightBlue="#3191ff",e.giphyIndigo="#6157ff",e.giphyPink="#e646b6",e.facebookColor="#3894fc",e.twitterColor="#00ccff",e.pinterestColor="#e54cb5",e.tumblrColor="#529ecc",e.instagramColor="#c23c8d",e.redditColor="#fc6669",e.smsColor="#00ff99",e.errorColor=e.giphyRed,e.deleteColor=e.giphyRed,e.primaryCTA=e.giphyIndigo,e.primaryCTADisabled="#241F74",e.secondaryCTA=e.giphyCharcoal,e.dimColor="rgba(0, 0, 0, 0.8)",e.gifOverlayColor="rgba(0, 0, 0, 0.4)"}(tee);var nee={};function ree(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function iee(e,t,n){var r=[],i=W8(e,r,n);return r.length<2?n:i+t(r)}var oee=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},aee=function(e){var t=H8(e);t.sheet.speedy=function(e){if("production"!==Es.env.NODE_ENV&&0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=h9(n,t.registered,void 0);return G8(t,i,!1),t.key+"-"+i.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return iee(t.registered,n,oee(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=h9(n,t.registered);ree(t,i)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=h9(n,t.registered),o="animation-"+i.name;return ree(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:W8.bind(null,t.registered),merge:iee.bind(null,t.registered,n)}}(),see=aee.flush,uee=aee.hydrate,cee=aee.cx,lee=aee.merge,dee=aee.getRegisteredStyles,fee=aee.injectGlobal,pee=aee.keyframes,hee=aee.css,mee=aee.sheet,gee=aee.cache,vee=Ue(Object.freeze({__proto__:null,cache:gee,css:hee,cx:cee,flush:see,getRegisteredStyles:dee,hydrate:uee,injectGlobal:fee,keyframes:pee,merge:lee,sheet:mee})),yee=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(nee,"__esModule",{value:!0});var bee,wee,xee=vee,_ee=tee,See=xee.keyframes(bee||(bee=yee(["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"],["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"]))),kee=xee.css(wee||(wee=yee(["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n div {\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n &:nth-child(5n + 1) {\n background: ",";\n animation-delay: 0;\n }\n &:nth-child(5n + 2) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 1));\n }\n &:nth-child(5n + 3) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 2));\n }\n &:nth-child(5n + 4) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 3));\n }\n &:nth-child(5n + 5) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 4));\n }\n }\n"],["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n div {\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n &:nth-child(5n + 1) {\n background: ",";\n animation-delay: 0;\n }\n &:nth-child(5n + 2) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 1));\n }\n &:nth-child(5n + 3) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 2));\n }\n &:nth-child(5n + 4) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 3));\n }\n &:nth-child(5n + 5) {\n background: ",";\n animation-delay: calc(0s + (0.1s * 4));\n }\n }\n"])),37,37,See,_ee.giphyGreen,_ee.giphyBlue,_ee.giphyPurple,_ee.giphyRed,_ee.giphyYellow);nee.default=kee;var Cee={};!function(e){var t=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(e,"__esModule",{value:!0}),e.css=e.fontSize=e.fontFamily=void 0;var n=vee;n.injectGlobal(r||(r=t(["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"],["\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');\n}\n\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: bold;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');\n}\n@font-face {\n font-family: 'interface';\n font-style: normal;\n font-weight: 900;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');\n}\n@font-face {\n font-family: 'nexablack'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),\n url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');\n}\n@font-face {\n font-family: 'SSStandard'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');\n}\n@font-face {\n font-family: 'SSSocial'; \n font-style: normal;\n font-weight: normal;\n src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');\n}\n"]))),e.fontFamily={title:"'nexablack', sans-serif",body:"interface, Helvetica Neue, helvetica, sans-serif;"},e.fontSize={titleSmall:"20px",title:"26px",titleLarge:"36px",subheader:"16px",subheaderSmall:"12px"};var r,i,o,a,s,u,c,l,d,f=n.css(i||(i=t(["\n font-family: ",";\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.title),p=n.cx(n.css(o||(o=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.title),f),h=n.cx(n.css(a||(a=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.titleLarge),f),m=n.cx(n.css(s||(s=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.titleSmall),f),g=n.css(u||(u=t(["\n font-family: ",";\n font-weight: bold;\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n font-weight: bold;\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.body),v=n.cx(n.css(c||(c=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.subheader),g),y=n.cx(n.css(l||(l=t(["\n font-size: ",";\n "],["\n font-size: ",";\n "])),e.fontSize.subheaderSmall),g),b={sectionHeader:n.css(d||(d=t(["\n font-family: ",";\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n -webkit-font-smoothing: antialiased;\n"],["\n font-family: ",";\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n -webkit-font-smoothing: antialiased;\n"])),e.fontFamily.body),subheaderSmall:y,subheader:v,titleLarge:h,titleSmall:m,title:p};e.css=b}(Cee),function(e){var t=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=ze&&ze.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.loader=void 0,n(tee,e);var i=nee;Object.defineProperty(e,"loader",{enumerable:!0,get:function(){return r(i).default}}),n(Cee,e)}(eee);var Eee=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(X9,"__esModule",{value:!0});var Iee=eee,Oee=Eee(o),Tee=function(e){var t=e.className,n=void 0===t?"":t,r=e.size,i=void 0===r?17:r,o=e.fill,a=void 0===o?"#15CDFF":o;return Oee.default.createElement("svg",{className:[Tee.className,n].join(" "),height:i,width:"19px",viewBox:"0 0 19 17"},Oee.default.createElement("path",{className:Tee.checkMarkClassName,d:"M9.32727273,9.44126709 L9.32727273,3.03016561 L6.55027155,3.03016561 L6.55027155,10.8150746 L6.55027155,12.188882 L12.1042739,12.188882 L12.1042739,9.44126709 L9.32727273,9.44126709 Z",fill:Iee.giphyBlack,transform:"translate(9.327273, 7.609524) scale(-1, 1) rotate(-45.000000) translate(-9.327273, -7.609524) "}),Oee.default.createElement("g",{transform:"translate(-532.000000, -466.000000)",fill:a},Oee.default.createElement("g",{transform:"translate(141.000000, 235.000000)"},Oee.default.createElement("g",{transform:"translate(264.000000, 0.000000)"},Oee.default.createElement("g",{transform:"translate(10.000000, 224.000000)"},Oee.default.createElement("g",{transform:"translate(114.000000, 2.500000)"},Oee.default.createElement("path",{d:"M15.112432,4.80769231 L16.8814194,6.87556817 L19.4157673,7.90116318 L19.6184416,10.6028916 L21.0594951,12.9065042 L19.6184416,15.2101168 L19.4157673,17.9118452 L16.8814194,18.9374402 L15.112432,21.0053161 L12.4528245,20.3611511 L9.79321699,21.0053161 L8.02422954,18.9374402 L5.48988167,17.9118452 L5.28720734,15.2101168 L3.84615385,12.9065042 L5.28720734,10.6028916 L5.48988167,7.90116318 L8.02422954,6.87556817 L9.79321699,4.80769231 L12.4528245,5.4518573 L15.112432,4.80769231 Z M17.8163503,10.8991009 L15.9282384,9.01098901 L11.5681538,13.3696923 L9.68115218,11.4818515 L7.81302031,13.3499833 L9.7011322,15.2380952 L11.5892441,17.1262071 L17.8163503,10.8991009 Z"})))))))};Tee.className="giphy-verified-badge",Tee.checkMarkClassName="giphy-verified-checkmark",X9.default=Tee,function(e){var t=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},n=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.Username=void 0;var r=n(U9),i=n(o),a=n(X9);e.Username=r.default.div(s||(s=t(["\n color: white;\n font-size: 16px;\n font-weight: 700;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-font-smoothing: antialiased;\n"],["\n color: white;\n font-size: 16px;\n font-weight: 700;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n -webkit-font-smoothing: antialiased;\n"])));var s,u,c,l=r.default(a.default)(u||(u=t(["\n margin-left: 4px;\n flex-shrink: 0;\n"],["\n margin-left: 4px;\n flex-shrink: 0;\n"]))),d=r.default.div(c||(c=t(["\n display: flex;\n align-items: center;\n min-width: 0;\n"],["\n display: flex;\n align-items: center;\n min-width: 0;\n"])));e.default=function(t){var n=t.user,r=n.display_name,o=n.username;return i.default.createElement(d,null,i.default.createElement(e.Username,null,r||"@"+o),n.is_verified?i.default.createElement(l,{size:14}):null)}}(J9);var Nee=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Dee=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(M8,"__esModule",{value:!0});var Aee,Pee,Mee=Dee(U9),jee=Dee(o),Ree=Dee(q9),Lee=Dee(J9),Fee=Mee.default.div(Aee||(Aee=Nee(["\n display: flex;\n align-items: center;\n font-family: interface, helvetica, arial;\n"],["\n display: flex;\n align-items: center;\n font-family: interface, helvetica, arial;\n"]))),zee=Mee.default(Ree.default)(Pee||(Pee=Nee(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),Bee=function(e){var t=e.gif,n=e.className,r=e.onClick,i=t.user;return(null==i?void 0:i.username)||(null==i?void 0:i.display_name)?jee.default.createElement(Fee,{className:[Bee.className,n].join(" "),onClick:function(e){if(e.preventDefault(),e.stopPropagation(),r)r(t);else{var n=i.profile_url;n&&window.open(n,"_blank")}}},jee.default.createElement(zee,{user:i}),jee.default.createElement(Lee.default,{user:t.user})):null};Bee.className="giphy-attribution",M8.default=Bee;var Uee={},qee=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Vee=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Kee=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Hee=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Vee(t,e,n);return Kee(t,e),t},Wee=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Uee,"__esModule",{value:!0});var Gee,Yee,Qee,$ee=Wee(U9),Zee=Hee(o),Jee=Wee(M8),Xee=$ee.default.div(Gee||(Gee=qee(["\n background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 18, 18, 0.6));\n cursor: default;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 75px;\n pointer-events: none;\n"],["\n background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 18, 18, 0.6));\n cursor: default;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 75px;\n pointer-events: none;\n"]))),ete=$ee.default(Jee.default)(Yee||(Yee=qee(["\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n"],["\n position: absolute;\n bottom: 10px;\n left: 10px;\n right: 10px;\n"]))),tte=$ee.default.div(Qee||(Qee=qee(["\n transition: opacity 150ms ease-in;\n"],["\n transition: opacity 150ms ease-in;\n"])));Uee.default=function(e){var t=e.gif,n=e.isHovered,r=e.onClick,i=Zee.useRef(n);return n&&(i.current=!0),t.user&&i.current?Zee.default.createElement(tte,{style:{opacity:n?1:0}},Zee.default.createElement(Xee,null),Zee.default.createElement(ete,{gif:t,onClick:r})):null};var nte={},rte={},ite={};Object.defineProperty(ite,"__esModule",{value:!0}),ite.serverUrl=void 0;var ote=("undefined"!=typeof window?window:ze)||{};ite.serverUrl=ote.GIPHY_API_URL||"https://api.giphy.com/v1/";var ate={},ste="undefined"!=typeof Symbol&&Symbol,ute=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0},cte="Function.prototype.bind called on incompatible ",lte=Array.prototype.slice,dte=Object.prototype.toString,fte=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==dte.call(t))throw new TypeError(cte+t);for(var n,r=lte.call(arguments,1),i=function(){if(this instanceof n){var i=t.apply(this,r.concat(lte.call(arguments)));return Object(i)===i?i:this}return t.apply(e,r.concat(lte.call(arguments)))},o=Math.max(0,t.length-r.length),a=[],s=0;s<o;s++)a.push("$"+s);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var u=function(){};u.prototype=t.prototype,n.prototype=new u,u.prototype=null}return n},pte=Function.prototype.bind||fte,hte=pte.call(Function.call,Object.prototype.hasOwnProperty),mte=SyntaxError,gte=Function,vte=TypeError,yte=function(e){try{return gte('"use strict"; return ('+e+").constructor;")()}catch(e){}},bte=Object.getOwnPropertyDescriptor;if(bte)try{bte({},"")}catch(Yde){bte=null}var wte=function(){throw new vte},xte=bte?function(){try{return wte}catch(e){try{return bte(arguments,"callee").get}catch(e){return wte}}}():wte,_te="function"==typeof ste&&"function"==typeof Symbol&&"symbol"==typeof ste("foo")&&"symbol"==typeof Symbol("bar")&&ute(),Ste=Object.getPrototypeOf||function(e){return e.__proto__},kte={},Cte="undefined"==typeof Uint8Array?undefined:Ste(Uint8Array),Ete={"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":_te?Ste([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":kte,"%AsyncGenerator%":kte,"%AsyncGeneratorFunction%":kte,"%AsyncIteratorPrototype%":kte,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":gte,"%GeneratorFunction%":kte,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_te?Ste(Ste([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_te?Ste((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_te?Ste((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_te?Ste(""[Symbol.iterator]()):undefined,"%Symbol%":_te?Symbol:undefined,"%SyntaxError%":mte,"%ThrowTypeError%":xte,"%TypedArray%":Cte,"%TypeError%":vte,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet},Ite=function e(t){var n;if("%AsyncFunction%"===t)n=yte("async function () {}");else if("%GeneratorFunction%"===t)n=yte("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=yte("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=Ste(i.prototype))}return Ete[t]=n,n},Ote={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Tte=pte,Nte=hte,Dte=Tte.call(Function.call,Array.prototype.concat),Ate=Tte.call(Function.apply,Array.prototype.splice),Pte=Tte.call(Function.call,String.prototype.replace),Mte=Tte.call(Function.call,String.prototype.slice),jte=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rte=/\\(\\)?/g,Lte=function(e){var t=Mte(e,0,1),n=Mte(e,-1);if("%"===t&&"%"!==n)throw new mte("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new mte("invalid intrinsic syntax, expected opening `%`");var r=[];return Pte(e,jte,(function(e,t,n,i){r[r.length]=n?Pte(i,Rte,"$1"):t||e})),r},Fte=function(e,t){var n,r=e;if(Nte(Ote,r)&&(r="%"+(n=Ote[r])[0]+"%"),Nte(Ete,r)){var i=Ete[r];if(i===kte&&(i=Ite(r)),void 0===i&&!t)throw new vte("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new mte("intrinsic "+e+" does not exist!")},zte=function(e,t){if("string"!=typeof e||0===e.length)throw new vte("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new vte('"allowMissing" argument must be a boolean');var n=Lte(e),r=n.length>0?n[0]:"",i=Fte("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],Ate(n,Dte([0,1],u)));for(var c=1,l=!0;c<n.length;c+=1){var d=n[c],f=Mte(d,0,1),p=Mte(d,-1);if(('"'===f||"'"===f||"`"===f||'"'===p||"'"===p||"`"===p)&&f!==p)throw new mte("property names with quotes must have matching quotes");if("constructor"!==d&&l||(s=!0),Nte(Ete,o="%"+(r+="."+d)+"%"))a=Ete[o];else if(null!=a){if(!(d in a)){if(!t)throw new vte("base intrinsic for "+e+" exists, but the property is not available.");return}if(bte&&c+1>=n.length){var h=bte(a,d);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[d]}else l=Nte(a,d),a=a[d];l&&!s&&(Ete[o]=a)}}return a},Bte={exports:{}};!function(e){var t=pte,n=zte,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||t.call(i,r),a=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(e){var n=o(t,i,arguments);if(a&&s){var r=a(n,"length");r.configurable&&s(n,"length",{value:1+u(0,e.length-(arguments.length-1))})}return n};var c=function(){return o(t,r,arguments)};s?s(e.exports,"apply",{value:c}):e.exports.apply=c}(Bte);var Ute=zte,qte=Bte.exports,Vte=qte(Ute("String.prototype.indexOf")),Kte=Ue(Object.freeze({__proto__:null,default:{}})),Hte="function"==typeof Map&&Map.prototype,Wte=Object.getOwnPropertyDescriptor&&Hte?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Gte=Hte&&Wte&&"function"==typeof Wte.get?Wte.get:null,Yte=Hte&&Map.prototype.forEach,Qte="function"==typeof Set&&Set.prototype,$te=Object.getOwnPropertyDescriptor&&Qte?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zte=Qte&&$te&&"function"==typeof $te.get?$te.get:null,Jte=Qte&&Set.prototype.forEach,Xte="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,ene="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,tne="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,nne=Boolean.prototype.valueOf,rne=Object.prototype.toString,ine=Function.prototype.toString,one=String.prototype.match,ane="function"==typeof BigInt?BigInt.prototype.valueOf:null,sne=Object.getOwnPropertySymbols,une="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,cne="function"==typeof Symbol&&"object"==typeof Symbol.iterator,lne=Object.prototype.propertyIsEnumerable,dne=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),fne=Kte.custom,pne=fne&&yne(fne)?fne:null,hne="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function mne(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function gne(e){return String(e).replace(/"/g,"&quot;")}function vne(e){return!("[object Array]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}function yne(e){if(cne)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!une)return!1;try{return une.call(e),!0}catch(e){}return!1}var bne=Object.prototype.hasOwnProperty||function(e){return e in this};function wne(e,t){return bne.call(e,t)}function xne(e){return rne.call(e)}function _ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Sne(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Sne(e.slice(0,t.maxStringLength),t)+r}return mne(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,kne),"single",t)}function kne(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function Cne(e){return"Object("+e+")"}function Ene(e){return e+" { ? }"}function Ine(e,t,n,r){return e+" ("+t+") {"+(r?One(n,r):n.join(", "))+"}"}function One(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function Tne(e,t){var n=vne(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=wne(e,i)?t(e[i],e):""}var o,a="function"==typeof sne?sne(e):[];if(cne){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in e)wne(e,u)&&(n&&String(Number(u))===u&&u<e.length||cne&&o["$"+u]instanceof Symbol||(/[^\w$]/.test(u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof sne)for(var c=0;c<a.length;c++)lne.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var Nne=zte,Dne=function(e,t){var n=Ute(e,!!t);return"function"==typeof n&&Vte(e,".prototype.")>-1?qte(n):n},Ane=function e(t,n,r,i){var o=n||{};if(wne(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(wne(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!wne(o,"customInspect")||o.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(wne(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Sne(t,o);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===o.depth?5:o.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return vne(t)?"[Array]":"[Object]";var u=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(o,r);if(void 0===i)i=[];else if(_ne(i,t)>=0)return"[Circular]";function c(t,n,a){if(n&&(i=i.slice()).push(n),a){var s={depth:o.depth};return wne(o,"quoteStyle")&&(s.quoteStyle=o.quoteStyle),e(t,s,r+1,i)}return e(t,o,r+1,i)}if("function"==typeof t){var l=function(e){if(e.name)return e.name;var t=one.call(ine.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),d=Tne(t,c);return"[Function"+(l?": "+l:" (anonymous)")+"]"+(d.length>0?" { "+d.join(", ")+" }":"")}if(yne(t)){var f=cne?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):une.call(t);return"object"!=typeof t||cne?f:Cne(f)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var p="<"+String(t.nodeName).toLowerCase(),h=t.attributes||[],m=0;m<h.length;m++)p+=" "+h[m].name+"="+mne(gne(h[m].value),"double",o);return p+=">",t.childNodes&&t.childNodes.length&&(p+="..."),p+="</"+String(t.nodeName).toLowerCase()+">"}if(vne(t)){if(0===t.length)return"[]";var g=Tne(t,c);return u&&!function(e){for(var t=0;t<e.length;t++)if(_ne(e[t],"\n")>=0)return!1;return!0}(g)?"["+One(g,u)+"]":"[ "+g.join(", ")+" ]"}if(function(e){return!("[object Error]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t)){var v=Tne(t,c);return 0===v.length?"["+String(t)+"]":"{ ["+String(t)+"] "+v.join(", ")+" }"}if("object"==typeof t&&a){if(pne&&"function"==typeof t[pne])return t[pne]();if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Gte||!e||"object"!=typeof e)return!1;try{Gte.call(e);try{Zte.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var y=[];return Yte.call(t,(function(e,n){y.push(c(n,t,!0)+" => "+c(e,t))})),Ine("Map",Gte.call(t),y,u)}if(function(e){if(!Zte||!e||"object"!=typeof e)return!1;try{Zte.call(e);try{Gte.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var b=[];return Jte.call(t,(function(e){b.push(c(e,t))})),Ine("Set",Zte.call(t),b,u)}if(function(e){if(!Xte||!e||"object"!=typeof e)return!1;try{Xte.call(e,Xte);try{ene.call(e,ene)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Ene("WeakMap");if(function(e){if(!ene||!e||"object"!=typeof e)return!1;try{ene.call(e,ene);try{Xte.call(e,Xte)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Ene("WeakSet");if(function(e){if(!tne||!e||"object"!=typeof e)return!1;try{return tne.call(e),!0}catch(e){}return!1}(t))return Ene("WeakRef");if(function(e){return!("[object Number]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t))return Cne(c(Number(t)));if(function(e){if(!e||"object"!=typeof e||!ane)return!1;try{return ane.call(e),!0}catch(e){}return!1}(t))return Cne(c(ane.call(t)));if(function(e){return!("[object Boolean]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t))return Cne(nne.call(t));if(function(e){return!("[object String]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t))return Cne(c(String(t)));if(!function(e){return!("[object Date]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t)&&!function(e){return!("[object RegExp]"!==xne(e)||hne&&"object"==typeof e&&hne in e)}(t)){var w=Tne(t,c),x=dne?dne(t)===Object.prototype:t instanceof Object||t.constructor===Object,_=t instanceof Object?"":"null prototype",S=!x&&hne&&Object(t)===t&&hne in t?xne(t).slice(8,-1):_?"Object":"",k=(x||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(S||_?"["+[].concat(S||[],_||[]).join(": ")+"] ":"");return 0===w.length?k+"{}":u?k+"{"+One(w,u)+"}":k+"{ "+w.join(", ")+" }"}return String(t)},Pne=Nne("%TypeError%"),Mne=Nne("%WeakMap%",!0),jne=Nne("%Map%",!0),Rne=Dne("WeakMap.prototype.get",!0),Lne=Dne("WeakMap.prototype.set",!0),Fne=Dne("WeakMap.prototype.has",!0),zne=Dne("Map.prototype.get",!0),Bne=Dne("Map.prototype.set",!0),Une=Dne("Map.prototype.has",!0),qne=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},Vne=String.prototype.replace,Kne=/%20/g,Hne="RFC3986",Wne={default:Hne,formatters:{RFC1738:function(e){return Vne.call(e,Kne,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:Hne},Gne=Wne,Yne=Object.prototype.hasOwnProperty,Qne=Array.isArray,$ne=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Zne=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},Jne={arrayToObject:Zne,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],o=i.obj[i.prop],a=Object.keys(o),s=0;s<a.length;++s){var u=a[s],c=o[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Qne(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,r,i){if(0===e.length)return e;var o=e;if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===n)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var a="",s=0;s<o.length;++s){var u=o.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===Gne.RFC1738&&(40===u||41===u)?a+=o.charAt(s):u<128?a+=$ne[u]:u<2048?a+=$ne[192|u>>6]+$ne[128|63&u]:u<55296||u>=57344?a+=$ne[224|u>>12]+$ne[128|u>>6&63]+$ne[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&o.charCodeAt(s)),a+=$ne[240|u>>18]+$ne[128|u>>12&63]+$ne[128|u>>6&63]+$ne[128|63&u])}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Qne(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(Qne(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!Yne.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return Qne(t)&&!Qne(n)&&(i=Zne(t,r)),Qne(t)&&Qne(n)?(n.forEach((function(n,i){if(Yne.call(t,i)){var o=t[i];o&&"object"==typeof o&&n&&"object"==typeof n?t[i]=e(o,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var o=n[i];return Yne.call(t,i)?t[i]=e(t[i],o,r):t[i]=o,t}),i)}},Xne=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new Pne("Side channel does not contain "+Ane(e))},get:function(r){if(Mne&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Rne(e,r)}else if(jne){if(t)return zne(t,r)}else if(n)return function(e,t){var n=qne(e,t);return n&&n.value}(n,r)},has:function(r){if(Mne&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Fne(e,r)}else if(jne){if(t)return Une(t,r)}else if(n)return function(e,t){return!!qne(e,t)}(n,r);return!1},set:function(r,i){Mne&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new Mne),Lne(e,r,i)):jne?(t||(t=new jne),Bne(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=qne(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r},ere=Jne,tre=Wne,nre=Object.prototype.hasOwnProperty,rre={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},ire=Array.isArray,ore=Array.prototype.push,are=function(e,t){ore.apply(e,ire(t)?t:[t])},sre=Date.prototype.toISOString,ure=tre.default,cre={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ere.encode,encodeValuesOnly:!1,format:ure,formatter:tre.formatters[ure],indices:!1,serializeDate:function(e){return sre.call(e)},skipNulls:!1,strictNullHandling:!1},lre=function e(t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g,v=t;if(m.has(t))throw new RangeError("Cyclic object value");if("function"==typeof s?v=s(n,v):v instanceof Date?v=l(v):"comma"===r&&ire(v)&&(v=ere.maybeMap(v,(function(e){return e instanceof Date?l(e):e}))),null===v){if(i)return a&&!p?a(n,cre.encoder,h,"key",d):n;v=""}if("string"==typeof(g=v)||"number"==typeof g||"boolean"==typeof g||"symbol"==typeof g||"bigint"==typeof g||ere.isBuffer(v))return a?[f(p?n:a(n,cre.encoder,h,"key",d))+"="+f(a(v,cre.encoder,h,"value",d))]:[f(n)+"="+f(String(v))];var y,b=[];if(void 0===v)return b;if("comma"===r&&ire(v))y=[{value:v.length>0?v.join(",")||null:void 0}];else if(ire(s))y=s;else{var w=Object.keys(v);y=u?w.sort(u):w}for(var x=0;x<y.length;++x){var _=y[x],S="object"==typeof _&&void 0!==_.value?_.value:v[_];if(!o||null!==S){var k=ire(v)?"function"==typeof r?r(n,_):n:n+(c?"."+_:"["+_+"]");m.set(t,!0);var C=Xne();are(b,e(S,k,r,i,o,a,s,u,c,l,d,f,p,h,C))}}return b},dre=Jne,fre=Object.prototype.hasOwnProperty,pre=Array.isArray,hre={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:dre.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},mre=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},gre=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},vre=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),s=a?i.slice(0,a.index):i,u=[];if(s){if(!n.plainObjects&&fre.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var c=0;n.depth>0&&null!==(a=o.exec(i))&&c<n.depth;){if(c+=1,!n.plainObjects&&fre.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+i.slice(a.index)+"]"),function(e,t,n,r){for(var i=r?t:gre(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);n.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:a[u]=i:a={0:i}}i=a}return i}(u,t,n,r)}},yre=function(e,t){var n,r=e,i=function(e){if(!e)return cre;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||cre.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=tre.default;if(void 0!==e.format){if(!nre.call(tre.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=tre.formatters[n],i=cre.filter;return("function"==typeof e.filter||ire(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:cre.addQueryPrefix,allowDots:void 0===e.allowDots?cre.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:cre.charsetSentinel,delimiter:void 0===e.delimiter?cre.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:cre.encode,encoder:"function"==typeof e.encoder?e.encoder:cre.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:cre.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:cre.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:cre.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:cre.strictNullHandling}}(t);"function"==typeof i.filter?r=(0,i.filter)("",r):ire(i.filter)&&(n=i.filter);var o,a=[];if("object"!=typeof r||null===r)return"";o=t&&t.arrayFormat in rre?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var s=rre[o];n||(n=Object.keys(r)),i.sort&&n.sort(i.sort);for(var u=Xne(),c=0;c<n.length;++c){var l=n[c];i.skipNulls&&null===r[l]||are(a,lre(r[l],l,s,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,u))}var d=a.join(i.delimiter),f=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),d.length>0?f+d:""},bre=function(e,t){var n=function(e){if(!e)return hre;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?hre.charset:e.charset;return{allowDots:void 0===e.allowDots?hre.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:hre.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:hre.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:hre.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:hre.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:hre.comma,decoder:"function"==typeof e.decoder?e.decoder:hre.decoder,delimiter:"string"==typeof e.delimiter||dre.isRegExp(e.delimiter)?e.delimiter:hre.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:hre.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:hre.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:hre.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:hre.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:hre.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?function(e,t){var n,r={},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,a=i.split(t.delimiter,o),s=-1,u=t.charset;if(t.charsetSentinel)for(n=0;n<a.length;++n)0===a[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[n]?u="utf-8":"utf8=%26%2310003%3B"===a[n]&&(u="iso-8859-1"),s=n,n=a.length);for(n=0;n<a.length;++n)if(n!==s){var c,l,d=a[n],f=d.indexOf("]="),p=-1===f?d.indexOf("="):f+1;-1===p?(c=t.decoder(d,hre.decoder,u,"key"),l=t.strictNullHandling?null:""):(c=t.decoder(d.slice(0,p),hre.decoder,u,"key"),l=dre.maybeMap(gre(d.slice(p+1),t),(function(e){return t.decoder(e,hre.decoder,u,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===u&&(l=mre(l)),d.indexOf("[]=")>-1&&(l=pre(l)?[l]:l),fre.call(r,c)?r[c]=dre.combine(r[c],l):r[c]=l}return r}(e,n):e,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),a=0;a<o.length;++a){var s=o[a],u=vre(s,r[s],n,"string"==typeof e);i=dre.merge(i,u,n)}return!0===n.allowSparse?i:dre.compact(i)},wre={formats:Wne,parse:bre,stringify:yre},xre={};!function(e){var t=ze&&ze.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeGifs=e.normalizeGif=e.USER_BOOL_PROPS=e.BOOL_PROPS=void 0,e.BOOL_PROPS=["is_anonymous","is_community","is_featured","is_hidden","is_indexable","is_preserve_size","is_realtime","is_removed","is_sticker","is_dynamic"],e.USER_BOOL_PROPS=["suppress_chrome","is_public","is_verified"];var n=function(e){return function(t){return e[t]=!!e[t]}},r=function(e){return"string"==typeof e?e:e.text},i=function(i){var o=t({},i);o.id=String(o.id),o.tags=(o.tags||[]).map(r),e.BOOL_PROPS.forEach(n(o)),Object.keys(o.images||{}).forEach((function(e){var t=o.images[e];t.width=parseInt(t.width),t.height=parseInt(t.height)}));var a=o.user;if(a){var s=t({},a);e.USER_BOOL_PROPS.forEach(n(s)),o.user=s}return o};e.normalizeGif=function(e){return e.data=i(e.data),e};e.normalizeGifs=function(e){return e.data=e.data.map((function(e){return i(e)})),e}}(xre);var _re={},Sre={},kre=ze&&ze.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(Sre,"__esModule",{value:!0});var Cre=function(e){function t(t,n,r){void 0===n&&(n=0),void 0===r&&(r="");var i=e.call(this,t)||this;return i.status=n,i.statusText=r,i}return kre(t,e),t}(Error);Sre.default=Cre,function(e){var t=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},n=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},r=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_ERROR=e.ERROR_PREFIX=void 0;var i=ite,o=r(Sre);e.ERROR_PREFIX="@giphy/js-fetch-api: ",e.DEFAULT_ERROR="Error fetching";var a=function(e){return e},s={};e.default=function(r,u,c){var l=this;if(void 0===u&&(u=a),void 0===c&&(c=!1),function(){var e=Date.now();Object.keys(s).forEach((function(t){var n=s[t].isError?6e3:6e4;e-s[t].ts>=n&&delete s[t]}))}(),!s[r]||c){s[r]={request:t(l,void 0,void 0,(function(){var t,a,c,l,d,f;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,9,,10]),[4,fetch(""+i.serverUrl+r,{method:"get"})];case 1:return(a=n.sent()).ok?[4,a.json()]:[3,3];case 2:if(l=n.sent(),null===(f=l.meta)||void 0===f?void 0:f.response_id)return[2,u(l)];throw{message:"synthetic response"};case 3:c=e.DEFAULT_ERROR,n.label=4;case 4:return n.trys.push([4,6,,7]),[4,a.json()];case 5:return(l=n.sent()).message&&(c=l.message),[3,7];case 6:return n.sent(),[3,7];case 7:s[r]&&(s[r].isError=!0),t=new o.default(""+e.ERROR_PREFIX+c,a.status,a.statusText),n.label=8;case 8:return[3,10];case 9:return d=n.sent(),t=new o.default(d.message),s[r]&&(s[r].isError=!0),[3,10];case 10:throw t}}))})),ts:Date.now()}}return s[r].request}}(_re);var Ere=ze&&ze.__assign||function(){return Ere=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ere.apply(this,arguments)},Ire=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ate,"__esModule",{value:!0}),ate.GiphyFetch=void 0;var Ore=H7,Tre=Ire(wre),Nre=xre,Dre=Ire(_re),Are=function(e){return e&&e.type?e.type:"gifs"},Pre=function(){function e(e){var t=this;this.getQS=function(e){return void 0===e&&(e={}),Tre.default.stringify(Ere(Ere({},e),{api_key:t.apiKey,pingback_id:Ore.getPingbackId()}))},this.apiKey=e}return e.prototype.categories=function(e){return Dre.default("gifs/categories?"+this.getQS(e))},e.prototype.gif=function(e){return Dre.default("gifs/"+e+"?"+this.getQS(),Nre.normalizeGif)},e.prototype.gifs=function(e,t){return Array.isArray(e)?Dre.default("gifs?"+this.getQS({ids:e.join(",")}),Nre.normalizeGifs):Dre.default("gifs/categories/"+e+"/"+t+"?"+this.getQS(),Nre.normalizeGifs)},e.prototype.emoji=function(e){return Dre.default("emoji?"+this.getQS(e),Nre.normalizeGifs)},e.prototype.animate=function(e,t){void 0===t&&(t={});var n=this.getQS(Ere(Ere({},t),{m:e}));return Dre.default("text/animate?"+n,Nre.normalizeGifs)},e.prototype.search=function(e,t){void 0===t&&(t={});var n,r=t.channel?"@"+t.channel+" "+e:e;"text"===t.type&&(n=!0);var i=this.getQS(Ere(Ere({},t),{q:r,excludeDynamicResults:n}));return Dre.default(Are(t)+"/search?"+i,Nre.normalizeGifs)},e.prototype.subcategories=function(e,t){return Dre.default("gifs/categories/"+e+"?"+this.getQS(t))},e.prototype.trending=function(e){return void 0===e&&(e={}),Dre.default(Are(e)+"/trending?"+this.getQS(e),Nre.normalizeGifs)},e.prototype.random=function(e){return Dre.default(Are(e)+"/random?"+this.getQS(e),Nre.normalizeGif,!0)},e.prototype.related=function(e,t){return Dre.default(("stickers"===(null==t?void 0:t.type)?"stickers":"gifs")+"/related?"+this.getQS(Ere({gif_id:e},t)),Nre.normalizeGifs)},e}();ate.GiphyFetch=Pre,ate.default=Pre;var Mre={};Object.defineProperty(Mre,"__esModule",{value:!0});var jre={},Rre=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Lre=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Fre=ze&&ze.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(jre,"__esModule",{value:!0}),jre.gifPaginator=void 0;jre.gifPaginator=function(e,t){void 0===t&&(t=[]);var n=Fre([],t),r=t.map((function(e){return e.id})),i=t.length,o=!1;return function(){return Rre(void 0,void 0,void 0,(function(){var t,a,s;return Lre(this,(function(u){switch(u.label){case 0:return o?[2,n]:[4,e(i)];case 1:return t=u.sent(),a=t.pagination,s=t.data,i=a.count+a.offset,o=i===a.total_count,s.forEach((function(e){var t=e.id;r.includes(t)||(n.push(e),r.push(t))})),[2,Fre([],n)]}}))}))}};var zre={};Object.defineProperty(zre,"__esModule",{value:!0});var Bre="4.1.2";!function(e){var t,n=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=ze&&ze.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.gifPaginator=e.GiphyFetch=e.serverUrl=void 0;var o=H7,a=ite;Object.defineProperty(e,"serverUrl",{enumerable:!0,get:function(){return a.serverUrl}});var s=ate;Object.defineProperty(e,"GiphyFetch",{enumerable:!0,get:function(){return i(s).default}}),r(Mre,e);var u=jre;Object.defineProperty(e,"gifPaginator",{enumerable:!0,get:function(){return u.gifPaginator}}),r(zre,e);var c=Bre;(null===(t=o.getGiphySDKRequestHeaders())||void 0===t?void 0:t.get("X-GIPHY-SDK-NAME"))||(o.appendGiphySDKRequestHeader("X-GIPHY-SDK-NAME","FetchAPI"),o.appendGiphySDKRequestHeader("X-GIPHY-SDK-VERSION",c))}(rte);var Ure={};function qre(e,t,n,r){var i,o=!1,a=0;function s(){i&&clearTimeout(i)}function u(){for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l];var d=this,f=Date.now()-a;function p(){a=Date.now(),n.apply(d,c)}function h(){i=void 0}o||(r&&!i&&p(),s(),void 0===r&&f>e?p():!0!==t&&(i=setTimeout(r?h:p,void 0===r?e-f:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),u.cancel=function(){s(),o=!0},u}Object.defineProperty(Ure,"__esModule",{value:!0}),Ure.debounce=function(e,t,n){return void 0===n?qre(e,t,!1):qre(e,n,!1!==t)},Ure.throttle=qre;var Vre={},Kre=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Hre=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Wre=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Kre(t,e,n);return Hre(t,e),t};Object.defineProperty(Vre,"__esModule",{value:!0});var Gre=Wre(o);Vre.default=function(e){var t=e.children,n=e.className,r=e.onVisibleChange,i=e.config,o=Gre.useRef(null);return Gre.useEffect((function(){var e;return o.current&&(e=new IntersectionObserver((function(e){var t=e[0];r&&r(t.isIntersecting)}),i),e.observe(o.current)),function(){return null==e?void 0:e.disconnect()}}),[r,o,i]),Gre.default.createElement("div",{ref:o,className:n},t)};var Yre={},Qre=Ue(P9),$re={},Zre={},Jre={},Xre=ze&&ze.__assign||function(){return Xre=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xre.apply(this,arguments)};Object.defineProperty(Jre,"__esModule",{value:!0});var eie=H7;Jre.default=function(e,t,n){var r,i=eie.pick(e,[n]),o=eie.pick(t,[n]);return i[n]&&o[n]?Xre(Xre(Xre({},e),t),((r={})[n]=i[n]+", "+o[n],r)):Xre(Xre({},e),t)};var tie={},nie={};Object.defineProperty(nie,"__esModule",{value:!0}),nie.default=("undefined"!=typeof window?window:ze)||{};var rie={},iie=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rie,"__esModule",{value:!0}),rie.sendPingback=void 0;var oie=H7,aie=iie(nie),sie=((null===aie.default||void 0===aie.default?void 0:aie.default.GIPHY_PINGBACK_URL)||"https://pingback.giphy.com")+"/v2/pingback?apikey=l0HlIwPWyBBUDAUgM";rie.sendPingback=function(e){var t=oie.getGiphySDKRequestHeaders();return null==t||t.set("Content-Type","application/json"),oie.Logger.debug("Pingback session",e),fetch(sie,{method:"POST",body:JSON.stringify({events:e}),headers:t}).catch((function(e){oie.Logger.warn("pingbacks failing to post "+e)}))};var uie,cie=ze&&ze.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},lie=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(tie,"__esModule",{value:!0});var die=H7,fie=Ure,pie=lie(nie),hie=rie,mie=[];pie.default.giphyRandomId=die.getPingbackId();var gie="";function vie(){var e=cie([],mie);mie=[],hie.sendPingback(e)}var yie=fie.debounce(1e3,vie);null===(uie=pie.default.addEventListener)||void 0===uie||uie.call(pie.default,"beforeunload",vie);tie.default=function(e){var t=e.userId,n=e.eventType,r=e.actionType,i=e.attributes,o=e.queueEvents,a=void 0===o||o,s=e.analyticsResponsePayload;gie=t?String(t):gie;var u={ts:Date.now(),attributes:i,action_type:r,user_id:die.getPingbackId(),analytics_response_payload:s};gie&&(u.logged_in_user_id=gie),u.analytics_response_payload&&(u.analytics_response_payload=u.analytics_response_payload+(die.Logger.ENABLED?"&mode=verification":"")),n&&(u.event_type=n),mie.push(u),a?yie():vie()};var bie={};Object.defineProperty(bie,"__esModule",{value:!0}),function(e){var t=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=ze&&ze.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)},r=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.pingback=e.mergeAttributes=void 0;var i=Jre;Object.defineProperty(e,"mergeAttributes",{enumerable:!0,get:function(){return r(i).default}});var o=tie;Object.defineProperty(e,"pingback",{enumerable:!0,get:function(){return r(o).default}}),n(bie,e)}(Zre);var wie=ze&&ze.__assign||function(){return wie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},wie.apply(this,arguments)};Object.defineProperty($re,"__esModule",{value:!0}),$re.onGifHover=$re.onGifClick=$re.onGifSeen=void 0;var xie=Zre,_ie=H7,Sie=function(e){return function(t,n,r,i){void 0===i&&(i={}),t.analytics_response_payload&&xie.pingback({analyticsResponsePayload:t.analytics_response_payload,userId:n,actionType:e,attributes:wie({position:JSON.stringify(_ie.getClientRect(r))},i)})}};$re.onGifSeen=function(e,t,n,r){void 0===r&&(r={}),e.analytics_response_payload&&xie.pingback({analyticsResponsePayload:e.analytics_response_payload,userId:t,actionType:"SEEN",attributes:wie({position:JSON.stringify(n)},r)})},$re.onGifClick=Sie("CLICK"),$re.onGifHover=Sie("HOVER");var kie={};!function(e){var t=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.PingbackContext=void 0;var i=Zre,a=r(o);e.PingbackContext=a.createContext({});e.default=function(t){var n=t.attributes,r=t.children,o=a.useContext(e.PingbackContext).attributes,s=void 0===o?{}:o;return a.default.createElement(e.PingbackContext.Provider,{value:{attributes:i.mergeAttributes(s,n,"layout_type")}},r)}}(kie),function(e){var t=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},n=ze&&ze.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},r=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getColor=e.GRID_COLORS=void 0;var u=Qre,c=s(U9),l=eee,d=H7,f=a(o),p=a($re),h=s(Uee),m=s(X9),g=kie,v=c.default.div(b||(b=t(["\n display: block;\n &:focus {\n outline: unset;\n }\n ","\n img {\n display: block;\n }\n ."," {\n g {\n fill: white;\n }\n }\n ."," {\n opacity: 0;\n }\n"],["\n display: block;\n &:focus {\n outline: unset;\n }\n ","\n img {\n display: block;\n }\n ."," {\n g {\n fill: white;\n }\n }\n ."," {\n opacity: 0;\n }\n"])),(function(e){return e.borderRadius&&u.css(y||(y=t(["\n border-radius: ","px;\n overflow: hidden;\n "],["\n border-radius: ","px;\n overflow: hidden;\n "])),e.borderRadius)}),m.default.className,m.default.checkMarkClassName);e.GRID_COLORS=[l.giphyBlue,l.giphyGreen,l.giphyPurple,l.giphyRed,l.giphyYellow];e.getColor=function(){return e.GRID_COLORS[Math.round(Math.random()*(e.GRID_COLORS.length-1))]};var y,b,w=function(e){return f.default.createElement(v,n({as:e.href?"a":"div"},e))},x=!("undefined"==typeof window||!window.document||!window.document.createElement),_=function(){},S=function(t){var r=t.gif,i=t.width,o=t.height,a=t.onGifRightClick,s=void 0===a?_:a,u=t.className,c=void 0===u?"":u,l=t.onGifClick,m=void 0===l?_:l,v=t.onGifSeen,y=void 0===v?_:v,b=t.onGifVisible,k=void 0===b?_:b,C=t.user,E=void 0===C?{}:C,I=t.backgroundColor,O=t.overlay,T=t.hideAttribution,N=void 0!==T&&T,D=t.noLink,A=void 0!==D&&D,P=t.borderRadius,M=void 0===P?4:P,j=t.style,R=t.tabIndex,L=f.useState(!1),F=L[0],z=L[1],B=f.useState(!1),U=B[0],q=B[1],V=f.useState(!x),K=V[0],H=V[1],W=f.useState(""),G=W[0],Y=W[1],Q=f.useRef(e.getColor()),$=f.useRef(null),Z=f.useRef(null),J=f.useRef(),X=f.useRef(),ee=f.useRef(),te=f.useRef(_),ne=f.useContext(g.PingbackContext).attributes,re=O;re||N||(re=h.default);te.current=function(e){z(!0),d.Logger.debug("GIF "+r.id+" seen. "+r.title),p.onGifSeen(r,null==E?void 0:E.id,e.boundingClientRect,ne),null==y||y(r,e.boundingClientRect),X.current&&X.current.disconnect()};var ie=function(){X.current||(X.current=new IntersectionObserver((function(e){var t=e[0];t.isIntersecting&&te.current(t)}),{threshold:[.99]})),!F&&$.current&&X.current&&X.current.observe($.current)};f.useEffect((function(){var e,t;(null===(e=Z.current)||void 0===e?void 0:e.complete)&&(ie(),k(r)),null===(t=X.current)||void 0===t||t.disconnect(),z(!1)}),[r.id]),f.useEffect((function(){return J.current=new IntersectionObserver((function(e){var t=e[0].isIntersecting;H(t),!t&&X.current&&X.current.disconnect()})),J.current.observe($.current),function(){J.current&&J.current.disconnect(),X.current&&X.current.disconnect(),ee.current&&clearTimeout(ee.current)}}),[]);var oe=o||d.getGifHeight(r,i),ae=d.getBestRendition(r.images,i,oe),se=r.images[ae.renditionName],ue=I||(r.is_sticker?"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4AQMAAACSSKldAAAABlBMVEUhIiIWFhYoSqvJAAAAGElEQVQY02MAAv7///8PWxqIPwDZw5UGABtgwz2xhFKxAAAAAElFTkSuQmCC') 0 0":Q.current);return f.default.createElement(w,{href:A?void 0:r.url,style:n({width:i,height:oe},j),borderRadius:M,className:[S.className,c].join(" "),onMouseOver:function(e){clearTimeout(ee.current),e.persist(),q(!0),ee.current=window.setTimeout((function(){p.onGifHover(r,null==E?void 0:E.id,e.target,ne)}),200)},onMouseLeave:function(){clearTimeout(ee.current),q(!1)},onClick:function(e){p.onGifClick(r,null==E?void 0:E.id,e.target,ne),m(r,e)},onContextMenu:function(e){return s(r,e)},tabIndex:R},f.default.createElement("div",{style:{width:i,height:oe,position:"relative"},ref:$},f.default.createElement("picture",null,f.default.createElement("source",{type:"image/webp",srcSet:se.webp}),f.default.createElement("img",{ref:Z,suppressHydrationWarning:!0,className:[S.imgClassName,G].join(" "),src:K?se.url:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",style:{background:ue},width:i,height:oe,alt:d.getAltText(r),onLoad:K?function(e){ie(),k(r,e),Y(S.imgLoadedClassName)}:function(){}})),K?re&&f.default.createElement(re,{gif:r,isHovered:U,width:i,height:oe}):null))};S.className="giphy-gif",S.imgClassName="giphy-gif-img",S.imgLoadedClassName="giphy-img-loaded",e.default=S}(Yre);var Cie=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Eie=ze&&ze.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Iie=ze&&ze.__assign||function(){return Iie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Iie.apply(this,arguments)},Oie=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Tie=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Nie=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Oie(t,e,n);return Tie(t,e),t},Die=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Aie=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Pie=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nte,"__esModule",{value:!0});var Mie,jie,Rie,Lie,Fie=Pie(U9),zie=rte,Bie=H7,Uie=Nie(o),qie=Ure,Vie=Pie(Vre),Kie=Pie(Yre),Hie=Pie(kie),Wie=Fie.default.div(Mie||(Mie=Cie(["\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n position: relative;\n"],["\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n position: relative;\n"]))),Gie=Fie.default(Kie.default)(jie||(jie=Cie(["\n position: relative;\n display: inline-block;\n list-style: none;\n margin-left: ","px;\n /* make sure gifs are fully visible with a scrollbar */\n margin-bottom: 1px;\n\n &:first-of-type {\n margin-left: 0;\n }\n ."," {\n position: absolute;\n top: 0;\n left: 0;\n }\n"],["\n position: relative;\n display: inline-block;\n list-style: none;\n margin-left: ","px;\n /* make sure gifs are fully visible with a scrollbar */\n margin-bottom: 1px;\n\n &:first-of-type {\n margin-left: 0;\n }\n ."," {\n position: absolute;\n top: 0;\n left: 0;\n }\n"])),(function(e){return e.ml}),Kie.default.imgClassName),Yie=Fie.default(Vie.default)(Rie||(Rie=Cie(["\n display: inline-block;\n"],["\n display: inline-block;\n"]))),Qie=Fie.default.div(Lie||(Lie=Cie(["\n width: 30px;\n display: inline-block;\n opacity: ",";\n height: ","px;\n"],["\n width: 30px;\n display: inline-block;\n opacity: ",";\n height: ","px;\n"])),(function(e){return e.isFirstLoad?0:1}),(function(e){return e.height})),$ie=Object.freeze({gutter:6,user:{},initialGifs:[]}),Zie=Object.freeze({isFetching:!1,gifs:[],isLoaderVisible:!1,isDoneFetching:!1}),Jie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=Iie(Iie({},Zie),{gifs:t.props.initialGifs||[]}),t.unmounted=!1,t.paginator=zie.gifPaginator(t.props.fetchGifs,t.state.gifs),t.onLoaderVisible=function(e){t.unmounted||t.setState({isLoaderVisible:e},t.onFetch)},t.onFetch=qie.debounce(100,(function(){return Die(t,void 0,void 0,(function(){var e,t,n,r,i,o;return Aie(this,(function(a){switch(a.label){case 0:if(this.unmounted)return[2];if(e=this.state,t=e.isFetching,n=e.isLoaderVisible,r=e.gifs,t||!n)return[3,5];this.setState({isFetching:!0}),i=void 0,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.paginator()];case 2:return i=a.sent(),[3,4];case 3:return a.sent(),this.setState({isFetching:!1}),[3,4];case 4:i&&(r.length===i.length?this.setState({isDoneFetching:!0}):(this.setState({gifs:i,isFetching:!1}),(o=this.props.onGifsFetched)&&o(i),this.onFetch())),a.label=5;case 5:return[2]}}))}))})),t}return Eie(t,e),t.prototype.componentDidMount=function(){this.onFetch()},t.prototype.componentWillUnmount=function(){this.unmounted=!0},t.prototype.render=function(){var e=this.props,n=e.onGifVisible,r=e.onGifRightClick,i=e.gifHeight,o=e.gutter,a=e.className,s=void 0===a?t.className:a,u=e.onGifSeen,c=e.onGifClick,l=e.user,d=e.overlay,f=e.hideAttribution,p=e.noLink,h=e.noResultsMessage,m=e.backgroundColor,g=e.borderRadius,v=e.tabIndex,y=void 0===v?0:v,b=e.loaderConfig,w=this.state,x=w.gifs,_=!w.isDoneFetching,S=0===x.length;return Uie.default.createElement(Hie.default,{attributes:{layout_type:"CAROUSEL"}},Uie.default.createElement(Wie,{className:s},x.map((function(e){var t=Bie.getGifWidth(e,i);return Uie.default.createElement(Gie,{gif:e,key:e.id,tabIndex:y,width:t,onGifClick:c,onGifSeen:u,onGifVisible:n,onGifRightClick:r,user:l,ml:o,overlay:d,hideAttribution:f,noLink:p,borderRadius:g,backgroundColor:m})})),!_&&0===x.length&&h,_&&Uie.default.createElement(Yie,{onVisibleChange:this.onLoaderVisible,config:b},Uie.default.createElement(Qie,{isFirstLoad:S,height:i}))))},t.className="giphy-carousel",t.defaultProps=$ie,t}(Uie.PureComponent);nte.default=Jie;var Xie={},eoe={},toe=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},noe=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(eoe,"__esModule",{value:!0});var roe,ioe=noe(U9),ooe=eee,aoe=noe(o),soe=ioe.default.div(roe||(roe=toe(["\n color: ",";\n display: flex;\n justify-content: center;\n margin: 30px 0;\n font-family: ",";\n font-size: 16px;\n font-weight: 600;\n a {\n color: ",";\n cursor: pointer;\n &:hover {\n color: white;\n }\n }\n"],["\n color: ",";\n display: flex;\n justify-content: center;\n margin: 30px 0;\n font-family: ",";\n font-size: 16px;\n font-weight: 600;\n a {\n color: ",";\n cursor: pointer;\n &:hover {\n color: white;\n }\n }\n"])),ooe.giphyLightGrey,ooe.fontFamily.body,ooe.giphyBlue);eoe.default=function(e){var t=e.onClick;return aoe.default.createElement(soe,null,"Error loading GIFs. ",aoe.default.createElement("a",{onClick:t},"Try again?"))};var uoe={},coe=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},loe=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uoe,"__esModule",{value:!0});var doe,foe,poe,hoe=Qre,moe=loe(U9),goe=eee,voe=loe(o),yoe=hoe.keyframes(doe||(doe=coe(["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"],["\n to {\n transform: scale(1.75) translateY(-20px);\n }\n"]))),boe=moe.default.div(foe||(foe=coe(["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n"],["\n display: flex;\n align-items: center;\n height: ","px;\n padding-top: 15px;\n margin: 0 auto;\n text-align: center;\n justify-content: center;\n animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;\n"])),37),woe=moe.default.div(poe||(poe=coe(["\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n background: ",";\n animation-delay: ",";\n"],["\n display: inline-block;\n height: 10px;\n width: 10px;\n margin: ","px 10px 10px 10px;\n position: relative;\n box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);\n animation: "," cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;\n background: ",";\n animation-delay: ",";\n"])),37,yoe,(function(e){return e.color}),(function(e){return e.delay}));uoe.default=function(e){var t=e.className,n=void 0===t?"":t;return voe.default.createElement(boe,{className:n},voe.default.createElement(woe,{color:goe.giphyGreen,delay:"0"}),voe.default.createElement(woe,{color:goe.giphyBlue,delay:".1s"}),voe.default.createElement(woe,{color:goe.giphyPurple,delay:".2s"}),voe.default.createElement(woe,{color:goe.giphyRed,delay:".3s"}),voe.default.createElement(woe,{color:goe.giphyYellow,delay:".4s"}))};var xoe={},_oe=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Soe=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),koe=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&_oe(t,e,n);return Soe(t,e),t};Object.defineProperty(xoe,"__esModule",{value:!0});var Coe=koe(o);xoe.default=Coe.memo((function(e){var t=e.columns,n=e.gutter,r=e.useTransform,i=void 0===r||r,o=e.itemWidth,a=e.itemHeights,s=e.children,u=e.columnOffsets,c=void 0===u?[]:u,l={};return Coe.default.createElement("div",{style:l},function(){var e,r=function(e,t){return void 0===t&&(t=[]),Array.apply(null,Array(e)).map((function(e,n){return t[n]||0}))}(t,c),u=Coe.default.Children.map(s,(function(t,s){var u={position:"absolute"};e=r.indexOf(Math.min.apply(Math,r));var c=r[e]+"px",l=e*o+e*n+"px";i?u.transform="translate3d("+l+", "+c+", 0)":(u.top=c,u.left=l);var d=a[s];return d&&(r[e]+=d+n),Coe.default.cloneElement(t,{style:u})}));return l.position="relative",l.width=t*o+(t-1)*n+"px",l.height=Math.max.apply(Math,r)-n+"px",u}())}));var Eoe=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Ioe=ze&&ze.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ooe=ze&&ze.__assign||function(){return Ooe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ooe.apply(this,arguments)},Toe=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Noe=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Doe=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Toe(t,e,n);return Noe(t,e),t},Aoe=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Poe=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},Moe=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xie,"__esModule",{value:!0});var joe,Roe=Moe(U9),Loe=rte,Foe=H7,zoe=Doe(o),Boe=Ure,Uoe=Moe(Vre),qoe=Moe(eoe),Voe=Moe(Yre),Koe=Moe(uoe),Hoe=Moe(xoe),Woe=Moe(kie),Goe=Roe.default.div(joe||(joe=Eoe(["\n opacity: ",";\n"],["\n opacity: ",";\n"])),(function(e){return e.isFirstLoad?0:1})),Yoe=Object.freeze({gutter:6,user:{},initialGifs:[]}),Qoe=Object.freeze({isFetching:!1,isError:!1,gifWidth:0,gifs:[],isLoaderVisible:!1,isDoneFetching:!1}),$oe=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state=Ooe(Ooe({},Qoe),{gifs:n.props.initialGifs||[]}),n.unmounted=!1,n.paginator=Loe.gifPaginator(n.props.fetchGifs,n.state.gifs),n.onLoaderVisible=function(e){n.unmounted||n.setState({isLoaderVisible:e},n.onFetch)},n.onFetch=Boe.debounce(t.fetchDebounce,(function(){return Aoe(n,void 0,void 0,(function(){var e,t,n,r,i,o,a,s,u;return Poe(this,(function(c){switch(c.label){case 0:if(this.unmounted)return[2];if(e=this.state,t=e.isFetching,n=e.isLoaderVisible,r=e.gifs,i=r.length,t||!n)return[3,5];this.setState({isFetching:!0,isError:!1}),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.paginator()];case 2:return o=c.sent(),[3,4];case 3:return a=c.sent(),this.setState({isFetching:!1,isError:!0}),(s=this.props.onGifsFetchError)&&s(a),[3,4];case 4:o&&(i===o.length?this.setState({isDoneFetching:!0}):(this.setState({gifs:o,isFetching:!1}),(u=this.props.onGifsFetched)&&u(o),this.onFetch())),c.label=5;case 5:return[2]}}))}))})),n}return Ioe(t,e),t.prototype.componentDidMount=function(){this.onFetch()},t.prototype.componentWillUnmount=function(){this.unmounted=!0},t.prototype.render=function(){var e=this.props,n=e.onGifVisible,r=e.onGifRightClick,i=e.className,o=void 0===i?t.className:i,a=e.onGifSeen,s=e.onGifClick,u=e.user,c=e.overlay,l=e.hideAttribution,d=e.noLink,f=e.borderRadius,p=e.noResultsMessage,h=e.columns,m=e.width,g=e.gutter,v=e.useTransform,y=e.columnOffsets,b=e.backgroundColor,w=e.loaderConfig,x=e.tabIndex,_=void 0===x?0:x,S=e.layoutType,k=void 0===S?"GRID":S,C=e.loader,E=void 0===C?Koe.default:C,I=this.state,O=I.gifWidth,T=I.gifs,N=I.isError,D=!I.isDoneFetching,A=0===T.length,P=T.map((function(e){return Foe.getGifHeight(e,O)}));return zoe.default.createElement(Woe.default,{attributes:{layout_type:k}},zoe.default.createElement("div",{className:o,style:{width:m}},zoe.default.createElement(Hoe.default,{itemHeights:P,useTransform:v,itemWidth:O,columns:h,gutter:g,columnOffsets:y},T.map((function(e){return zoe.default.createElement(Voe.default,{gif:e,tabIndex:_,key:e.id,width:O,onGifClick:s,onGifSeen:a,onGifVisible:n,onGifRightClick:r,user:u,overlay:c,backgroundColor:b,hideAttribution:l,noLink:d,borderRadius:f})}))),!D&&0===T.length&&p,N?zoe.default.createElement(qoe.default,{onClick:this.onFetch}):D&&zoe.default.createElement(Uoe.default,{onVisibleChange:this.onLoaderVisible,config:w},zoe.default.createElement(Goe,{isFirstLoad:A},zoe.default.createElement(E,{className:t.loaderClassName})))))},t.className="giphy-grid",t.loaderClassName="loader",t.fetchDebounce=250,t.defaultProps=Yoe,t.getDerivedStateFromProps=function(e,t){var n=e.columns,r=e.gutter,i=e.width,o=r*(n-1),a=Math.floor((i-o)/n);return t.gifWidth!==a?{gifWidth:a}:null},t}(zoe.PureComponent);Xie.default=$oe;var Zoe={},Joe={},Xoe=Ue(Ga),eae={};Object.defineProperty(eae,"__esModule",{value:!0});var tae=o;eae.default=function(e,t){void 0===t&&(t=0);var n=tae.useRef(!1),r=tae.useRef(),i=tae.useRef(e),o=tae.useCallback((function(){return n.current}),[]),a=tae.useCallback((function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout((function(){n.current=!0,i.current()}),t)}),[t]),s=tae.useCallback((function(){n.current=null,r.current&&clearTimeout(r.current)}),[]);return tae.useEffect((function(){i.current=e}),[e]),tae.useEffect((function(){return a(),s}),[t]),[o,s,a]},Object.defineProperty(Joe,"__esModule",{value:!0});var nae=o,rae=Xoe.__importDefault(eae);Joe.default=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var r=rae.default(e,t),i=r[0],o=r[1],a=r[2];return nae.useEffect(a,n),[i,o]};var iae={};function oae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var aae=function(e,t){if("function"==typeof t){var n=t(e);if("production"!==Es.env.NODE_ENV&&(null==n||"object"!=typeof n||Array.isArray(n)))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return n}if("production"!==Es.env.NODE_ENV&&(null==t||"object"!=typeof t||Array.isArray(t)))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oae(n,!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oae(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{},t)},sae=U8((function(e){return U8((function(t){return aae(e,t)}))}));var uae=Object.freeze({__proto__:null,ThemeProvider:function(e){return x(v9.Consumer,null,(function(t){return e.theme!==t&&(t=sae(t)(e.theme)),x(v9.Provider,{value:t},e.children)}))},useTheme:function(){return o.useContext(v9)},withTheme:function(e){var t=e.displayName||e.name||"Component",n=w((function(t,n){return x(v9.Consumer,null,(function(r){return x(e,jH({theme:r,ref:n},t))}))}));return n.displayName="WithTheme("+t+")",xC(n,e)}}),cae=Ue(uae),lae={},dae=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},fae=ze&&ze.__assign||function(){return fae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},fae.apply(this,arguments)},pae=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(lae,"__esModule",{value:!0}),lae.getSize=lae.initTheme=void 0;var hae=Qre,mae=pae(U9);lae.initTheme=function(e){return fae({mode:"light",searchbarHeight:42,smallSearchbarHeight:35,condensedMediaQuery:(null==e?void 0:e.condensedMode)?"max-width: 99999px":"max-width: 480px"},e)};var gae,vae,yae;lae.getSize=function(e,t){return void 0===t&&(t=!1),hae.css(yae||(yae=dae(["\n height: ","px;\n ",";\n @media (",") {\n height: ","px;\n ",";\n }\n"],["\n height: ","px;\n ",";\n @media (",") {\n height: ","px;\n ",";\n }\n"])),e.searchbarHeight,t&&hae.css(gae||(gae=dae(["\n width: ","px;\n "],["\n width: ","px;\n "])),e.searchbarHeight),e.condensedMediaQuery,e.smallSearchbarHeight,t&&hae.css(vae||(vae=dae(["\n width: ","px;\n "],["\n width: ","px;\n "])),e.smallSearchbarHeight))},lae.default=mae.default,function(e){var t=ze&&ze.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),r=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},a=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.SearchContext=void 0;var c=rte,l=cae,d=i(o),f=u(kie),p=lae;e.SearchContext=d.createContext({});var h={data:[],pagination:{total_count:0,count:0,offset:0},meta:{status:200,msg:"OK",response_id:""}};e.default=function(n){var r,i,o=n.children,u=n.options,m=void 0===u?{}:u,g=n.apiKey,v=n.theme,y=n.initialTerm,b=void 0===y?"":y,w=n.initialChannel,x=n.shouldDefaultToTrending,_=void 0===x||x,S=d.useMemo((function(){return new c.GiphyFetch(g)}),[g]),k=d.useState(b),C=k[0],E=k[1],I=d.useState(!1),O=I[0],T=I[1],N="";C&&0===C.indexOf("@")&&(N=C.slice(1).split(" ")[0]);var D=d.useState(w),A=D[0],P=D[1],M=d.useCallback((function(e){P(e),E("")}),[]),j=d.useState([]),R=j[0],L=j[1],F=d.useCallback((function(e){return E(e)}),[]),z=[C,m.type,N,(null===(r=null==A?void 0:A.user)||void 0===r?void 0:r.username)||""].filter((function(e){return!!e})).join(" / "),B=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){var n,r;return s(this,(function(i){switch(i.label){case 0:return T(!0),n=h,C?[4,S.search(C,t(t({},m),{offset:e,channel:null===(r=null==A?void 0:A.user)||void 0===r?void 0:r.username}))]:[3,2];case 1:return n=i.sent(),[3,4];case 2:return _?[4,S.trending(t(t({},m),{offset:e}))]:[3,4];case 3:n=i.sent(),i.label=4;case 4:return T(!1),[2,n]}}))}))}),[null===(i=null==A?void 0:A.user)||void 0===i?void 0:i.username,S,m,C,_]),U=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return t=m.limit||50,[4,S.animate(C,{offset:e,limit:t})];case 1:return(n=r.sent()).pagination||(n.pagination={count:t,total_count:t,offset:e}),[2,n]}}))}))}),[S,m.limit,C]),q=d.useCallback((function(e){return a(void 0,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,fetch(c.serverUrl+"channels/search?q="+encodeURIComponent(N)+"&offset="+e+"&api_key="+g)];case 1:return[4,t.sent().json()];case 2:return[2,t.sent().data]}}))}))}),[g,N]);return d.useEffect((function(){a(void 0,void 0,void 0,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return[4,fetch(c.serverUrl+"trending/searches?api_key="+g)];case 1:return[4,t.sent().json()];case 2:return e=t.sent().data,L(e||[]),[2]}}))}))}),[g]),d.default.createElement(e.SearchContext.Provider,{value:{activeChannel:A,setActiveChannel:M,fetchChannelSearch:q,term:C,channelSearch:N,trendingSearches:R,setSearch:F,fetchGifs:B,fetchAnimatedText:U,searchKey:z,isFetching:O}},d.default.createElement(l.ThemeProvider,{theme:p.initTheme(v)},d.default.createElement(f.default,{attributes:{layout_type:"SEARCH"}},o)))}}(iae);var bae={},wae=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},xae=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),_ae=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Sae=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&xae(t,e,n);return _ae(t,e),t},kae=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bae,"__esModule",{value:!0});var Cae,Eae,Iae,Oae,Tae=Qre,Nae=eee,Dae=Sae(o),Aae=kae(q9),Pae=kae(X9),Mae=iae,jae=kae(lae),Rae=function(e){return e.searchbarHeight-12},Lae=function(e){return e.smallSearchbarHeight-6},Fae=function(e){return Tae.keyframes(Cae||(Cae=wae(["\nto {\n width: ","px;\n}\n"],["\nto {\n width: ","px;\n}\n"])),e)},zae=jae.default(Aae.default)(Eae||(Eae=wae(["\n height: ","px;\n margin: 0;\n width: 0;\n animation: "," 100ms ease-in-out forwards;\n @media (",") {\n height: ","px;\n animation: "," 100ms ease-in-out forwards;\n }\n"],["\n height: ","px;\n margin: 0;\n width: 0;\n animation: "," 100ms ease-in-out forwards;\n @media (",") {\n height: ","px;\n animation: "," 100ms ease-in-out forwards;\n }\n"])),(function(e){return Rae(e.theme)}),(function(e){return Fae(Rae(e.theme))}),(function(e){return e.theme.condensedMediaQuery}),(function(e){return Lae(e.theme)}),(function(e){return Fae(Lae(e.theme))})),Bae=jae.default.div(Iae||(Iae=wae(["\n background: ",";\n display: flex;\n align-items: center;\n padding-left: ","px;\n"],["\n background: ",";\n display: flex;\n align-items: center;\n padding-left: ","px;\n"])),(function(e){return"dark"===e.theme.mode?Nae.giphyCharcoal:Nae.giphyWhite}),6),Uae=jae.default.div(Oae||(Oae=wae(["\n background: ",";\n display: flex;\n padding: 0 4px;\n color: ",";\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n font-weight: 600;\n font-size: 12px;\n align-items: center;\n height: ","px;\n @media (",") {\n display: none;\n }\n"],["\n background: ",";\n display: flex;\n padding: 0 4px;\n color: ",";\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n font-weight: 600;\n font-size: 12px;\n align-items: center;\n height: ","px;\n @media (",") {\n display: none;\n }\n"])),Nae.giphyWhiteSmoke,Nae.giphyDarkCharcoal,(function(e){return Rae(e.theme)}),(function(e){return e.theme.condensedMediaQuery}));bae.default=function(e){var t=e.className,n=void 0===t?"":t,r=Dae.useContext(Mae.SearchContext).activeChannel;return r?Dae.default.createElement(Bae,{className:n},Dae.default.createElement(zae,{user:r.user}),Dae.default.createElement(Uae,{key:r.id},Dae.default.createElement("div",null,"@",r.user.username),r.user.is_verified&&Dae.default.createElement(Pae.default,{size:14}))):null};var qae={},Vae={},Kae={},Hae={};Object.defineProperty(Hae,"__esModule",{value:!0});var Wae=o;Hae.default=function(e){Wae.useEffect(e,[])},Object.defineProperty(Kae,"__esModule",{value:!0});var Gae=o,Yae=Xoe.__importDefault(Hae);Kae.default=function(e){var t=Gae.useRef(e);t.current=e,Yae.default((function(){return function(){return t.current()}}))},Object.defineProperty(Vae,"__esModule",{value:!0});var Qae=o,$ae=Xoe.__importDefault(Kae);Vae.default=function(e,t){void 0===t&&(t=200);var n=Qae.useState(e),r=n[0],i=n[1],o=Qae.useRef(),a=Qae.useRef(null),s=Qae.useRef(0);return Qae.useEffect((function(){if(o.current)a.current=e,s.current=!0;else{i(e);var n=function(){s.current?(s.current=!1,i(a.current),o.current=setTimeout(n,t)):o.current=void 0};o.current=setTimeout(n,t)}}),[e]),$ae.default((function(){o.current&&clearTimeout(o.current)})),r};var Zae={},Jae=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zae,"__esModule",{value:!0});var Xae=Jae(o);Zae.default=function(e){var t=e.className,n=void 0===t?"":t;return Xae.default.createElement("svg",{viewBox:"0 0 30 30",version:"1.1",className:n},Xae.default.createElement("defs",null,Xae.default.createElement("path",{d:"M11.5482521,20.4090671 L4.24727698,28.2009189 C3.68084207,28.8054377 2.73159653,28.8363108 2.12707771,28.2698759 C1.5225589,27.703441 1.4916858,26.7541954 2.0581207,26.1496766 L9.40599838,18.3077689 C7.95982241,16.4371424 7.0978836,14.0789715 7.0978836,11.5181818 C7.0978836,5.44914339 11.9392549,0.518181818 17.9252787,0.518181818 C23.9113026,0.518181818 28.7526738,5.44914339 28.7526738,11.5181818 C28.7526738,17.5872202 23.9113026,22.5181818 17.9252787,22.5181818 C15.539851,22.5181818 13.3361963,21.7351359 11.5482521,20.4090671 Z M17.9252787,19.5181818 C22.242011,19.5181818 25.7526738,15.9425536 25.7526738,11.5181818 C25.7526738,7.09381 22.242011,3.51818182 17.9252787,3.51818182 C13.6085464,3.51818182 10.0978836,7.09381 10.0978836,11.5181818 C10.0978836,15.9425536 13.6085464,19.5181818 17.9252787,19.5181818 Z",id:"giphy-search-icon-path-1"})),Xae.default.createElement("g",{id:"search",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Xae.default.createElement("g",{id:"icons/search"},Xae.default.createElement("mask",{id:"giphy-search-icon-mask-2",fill:"white"},Xae.default.createElement("use",{xlinkHref:"#giphy-search-icon-path-1"})),Xae.default.createElement("use",{id:"Mask",fill:"#FFFFFF",fillRule:"nonzero",xlinkHref:"#giphy-search-icon-path-1"}),Xae.default.createElement("g",{mask:"url(#giphy-search-icon-mask-2)"},Xae.default.createElement("g",{transform:"translate(0.250000, 0.250000)"},Xae.default.createElement("g",null))))))};var ese=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},tse=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),nse=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rse=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&tse(t,e,n);return nse(t,e),t},ise=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qae,"__esModule",{value:!0});var ose,ase,sse,use,cse,lse,dse,fse,pse=Qre,hse=rse(o),mse=ise(Vae),gse=iae,vse=ise(Zae),yse=rse(lae),bse="cubic-bezier(0.920, 0.240, 0.185, 0.730)",wse=pse.keyframes(ose||(ose=ese(["\n 0% {\n transform: rotate(34deg) translate(-10px, 80px);\n };\n \n 100% {\n transform: rotate(34deg) translate(-10px, -20px);\n }\n"],["\n 0% {\n transform: rotate(34deg) translate(-10px, 80px);\n };\n \n 100% {\n transform: rotate(34deg) translate(-10px, -20px);\n }\n"]))),xse=pse.keyframes(ase||(ase=ese(["\n 0% { \n transform: translate(0px, 0px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: translate(10px, -17px);\n opacity: 0;\n }\n"],["\n 0% { \n transform: translate(0px, 0px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: translate(10px, -17px);\n opacity: 0;\n }\n"]))),_se=pse.keyframes(sse||(sse=ese(["\n 0% {\n opacity: 0;\n transform: translateX(-400%);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(0);\n }\n"],["\n 0% {\n opacity: 0;\n transform: translateX(-400%);\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(0);\n }\n"]))),Sse=yse.default.div(use||(use=ese(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: pointer;\n @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n display: none;\n }\n ","\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n cursor: pointer;\n @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n display: none;\n }\n ","\n"])),(function(e){return yse.getSize(e.theme,!0)})),kse=yse.default.div(cse||(cse=ese(["\n position: absolute;\n height: 100%;\n width: 100%;\n background: linear-gradient(45deg, "," 0%, "," 100%);\n overflow: hidden;\n &:before {\n animation: "," "," linear 0s infinite;\n background-image: linear-gradient(45deg, "," 0%, "," 50%, "," 100%);\n background-size: 400%;\n background-position: 0% 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 400%;\n }\n"],["\n position: absolute;\n height: 100%;\n width: 100%;\n background: linear-gradient(45deg, "," 0%, "," 100%);\n overflow: hidden;\n &:before {\n animation: "," "," linear 0s infinite;\n background-image: linear-gradient(45deg, "," 0%, "," 50%, "," 100%);\n background-size: 400%;\n background-position: 0% 100%;\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 400%;\n }\n"])),"#9933FF","#FF6666",_se,"2s","#9933FF","#FF6666","#9933FF"),Cse=yse.default.div(lse||(lse=ese(["\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: hidden;\n &::after {\n content: '+';\n color: white;\n font-family: 'SS Standard';\n font-size: 8px;\n position: absolute;\n top: 65%;\n left: 66%;\n animation: "," 1s "," 0s 1 forwards;\n }\n"],["\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: hidden;\n &::after {\n content: '+';\n color: white;\n font-family: 'SS Standard';\n font-size: 8px;\n position: absolute;\n top: 65%;\n left: 66%;\n animation: "," 1s "," 0s 1 forwards;\n }\n"])),xse,bse),Ese=yse.default.div(dse||(dse=ese(["\n position: absolute;\n width: 200%;\n height: 20px;\n background: rgba(255, 255, 255, 0.5);\n transform: rotate(34deg) translate(-10px, -20px);\n animation: "," 1s "," 0s 1;\n filter: blur(1px);\n"],["\n position: absolute;\n width: 200%;\n height: 20px;\n background: rgba(255, 255, 255, 0.5);\n transform: rotate(34deg) translate(-10px, -20px);\n animation: "," 1s "," 0s 1;\n filter: blur(1px);\n"])),wse,bse),Ise=yse.default(vse.default)(fse||(fse=ese(["\n z-index: 1;\n display: flex;\n width: 60%;\n height: 60%;\n"],["\n z-index: 1;\n display: flex;\n width: 60%;\n height: 60%;\n"])));qae.default=function(){var e=hse.useContext(gse.SearchContext).isFetching,t=mse.default(e,1e3);return hse.default.createElement(Sse,null,hse.default.createElement(kse,null),hse.default.createElement(Ise,null),t&&hse.default.createElement(Cse,null,hse.default.createElement(Ese,null)))};var Ose=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Tse=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),Nse=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Dse=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&Tse(t,e,n);return Nse(t,e),t},Ase=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zoe,"__esModule",{value:!0});var Pse=Qre,Mse=eee,jse=Dse(o),Rse=Ase(Joe),Lse=iae,Fse=Ase(bae),zse=Ase(qae),Bse=Dse(lae);function Use(e){var t=jse.useRef(e);return jse.useEffect((function(){t.current=e})),t.current}var qse,Vse,Kse,Hse=Bse.default.div(qse||(qse=Ose(["\n display: flex;\n background: white;\n ","\n"],["\n display: flex;\n background: white;\n ","\n"])),(function(e){return Bse.getSize(e.theme)})),Wse=Bse.default.input(Kse||(Kse=Ose(["\n background: ",";\n box-sizing: border-box;\n border: 0;\n appearance: none;\n font-weight: normal;\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n outline: 0;\n font-size: 15px;\n padding: 0 10px;\n border-radius: 0;\n text-overflow: ellipsis;\n color: ",";\n &::placeholder {\n color: ",";\n }\n min-width: 150px;\n flex: 1;\n ","\n"],["\n background: ",";\n box-sizing: border-box;\n border: 0;\n appearance: none;\n font-weight: normal;\n font-family: interface, Helvetica Neue, helvetica, sans-serif;\n outline: 0;\n font-size: 15px;\n padding: 0 10px;\n border-radius: 0;\n text-overflow: ellipsis;\n color: ",";\n &::placeholder {\n color: ",";\n }\n min-width: 150px;\n flex: 1;\n ","\n"])),(function(e){return"dark"===e.theme.mode?Mse.giphyCharcoal:Mse.giphyWhite}),(function(e){return"dark"===e.theme.mode?Mse.giphyWhite:Mse.giphyBlack}),(function(e){return e.theme.mode,Mse.giphyLightGrey}),(function(e){return e.isUsernameSearch&&Pse.css(Vse||(Vse=Ose(["\n color: ",";\n "],["\n color: ",";\n "])),Mse.giphyIndigo)})),Gse=function(e){var t=e.className,n=e.placeholder,r=void 0===n?"Search GIPHY":n,i=e.clear,o=void 0!==i&&i,a=e.autoFocus,s=jse.useContext(Lse.SearchContext),u=s.setSearch,c=s.activeChannel,l=s.setActiveChannel,d=s.term,f=s.channelSearch,p=jse.useState(d),h=p[0],m=p[1],g=Use(h);Rse.default((function(){return u(h)}),500,[h]);var v=jse.useRef(null),y=Use(c);jse.useEffect((function(){var e;a&&(null===(e=v.current)||void 0===e||e.focus())}),[a]),jse.useEffect((function(){var e;c&&!y&&(null===(e=v.current)||void 0===e||e.focus(),m(""))}),[h,c,y]),jse.useEffect((function(){m(d)}),[d]);var b=jse.useState(o),w=b[0],x=b[1];jse.useEffect((function(){x(o)}),[o]);return jse.default.createElement(Hse,{className:[Gse.className,t].join(" ")},jse.default.createElement(Fse.default,null),jse.default.createElement(Wse,{isUsernameSearch:!!f,onChange:function(e){var t=e.target.value;w&&""===t||(x(!1),m(t))},value:w?"":h,placeholder:c?"Search "+c.display_name:r,autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",ref:v,onKeyUp:function(e){switch(e.keyCode||e.key){case 8:case"Backspace":""===g&&l(void 0);break;case 27:case"Escape":l(void 0)}}}),jse.default.createElement(zse.default,null))};Gse.className="giphy-search-bar",Zoe.default=Gse;var Yse={},Qse={},$se={},Zse=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($se,"__esModule",{value:!0});var Jse=Zse(o);$se.default=function(e){var t=e.size,n=void 0===t?18:t,r=e.className;return Jse.default.createElement("svg",{width:n,height:n,viewBox:"0 0 18 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:r},Jse.default.createElement("g",{id:"trending",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},Jse.default.createElement("g",null,Jse.default.createElement("rect",{id:"Rectangle",stroke:"#979797",fill:"#D8D8D8",opacity:"0",x:"0.5",y:"0.5",width:"17",height:"17"}),Jse.default.createElement("path",{d:"M12.6093329,3.12057664 L15.156896,3.12057664 L9.64199318,9.04253019 L6.88133868,6.8175119 C6.7544587,6.67603813 6.56616874,6.60087259 6.38404017,6.61897279 C6.2490402,6.63288422 6.11891631,6.69661171 6.02063992,6.79697337 C2.21226835,10.5943119 0.308082561,12.4929812 0.308082561,12.4929812 C0.308082561,12.4929812 0.527106106,12.8074292 0.710953088,13.0215425 C0.833517743,13.1642848 0.975497751,13.3098497 1.13689311,13.4582373 L6.47329888,8.13191205 L9.16381134,10.2953038 C9.40800276,10.5710787 9.68933701,10.7021044 10.019278,10.4570223 L16.0239805,4.04474473 C16.0239805,5.87956383 16.0239805,6.79697337 16.0239805,6.79697337 C16.0239805,6.79697337 16.4320205,6.79697337 17.2481004,6.79697337 L17.2481004,1.80604505 C14.1555887,1.80604505 12.6093329,1.80604505 12.6093329,1.80604505 C12.6093329,1.80604505 12.6093329,2.24422225 12.6093329,3.12057664 Z",id:"Shape",stroke:"#00CCFF",strokeWidth:"0.4",fill:"#00CCFF",fillRule:"nonzero",transform:"translate(8.778091, 7.632141) rotate(-2.000000) translate(-8.778091, -7.632141) "}))))};var Xse=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},eue=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),tue=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nue=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&eue(t,e,n);return tue(t,e),t},rue=ze&&ze.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qse,"__esModule",{value:!0}),Qse.TrendingSearchPill=Qse.ChannelPill=void 0;var iue=eee,oue=nue(o),aue=rue(q9),sue=rue(X9),uue=iae,cue=nue(lae),lue=rue($se),due=cue.default.div(mue||(mue=Xse(["\n background: ",";\n display: flex;\n padding-right: 4px;\n align-items: center;\n margin-right: ","px;\n cursor: pointer;\n"],["\n background: ",";\n display: flex;\n padding-right: 4px;\n align-items: center;\n margin-right: ","px;\n cursor: pointer;\n"])),iue.giphyDarkestGrey,9),fue=cue.default.div(gue||(gue=Xse(["\n background: ",";\n display: flex;\n padding: 14px;\n align-items: center;\n margin-right: ","px;\n white-space: nowrap;\n cursor: pointer;\n font-style: italic;\n border-radius: 20px;\n"],["\n background: ",";\n display: flex;\n padding: 14px;\n align-items: center;\n margin-right: ","px;\n white-space: nowrap;\n cursor: pointer;\n font-style: italic;\n border-radius: 20px;\n"])),iue.giphyDarkestGrey,9),pue=cue.default(aue.default)(vue||(vue=Xse(["\n ","\n"],["\n ","\n"])),(function(e){return cue.getSize(e.theme,!0)})),hue=cue.default(lue.default)(yue||(yue=Xse(["\n margin-right: 2px;\n"],["\n margin-right: 2px;\n"])));Qse.ChannelPill=function(e){var t=e.channel,n=oue.useContext(uue.SearchContext).setActiveChannel;return oue.default.createElement(due,{key:t.id,onClick:function(){return n(t)}},oue.default.createElement(pue,{user:t.user}),oue.default.createElement("div",null,"@",t.user.username),t.user.is_verified&&oue.default.createElement(sue.default,{size:14}))};var mue,gue,vue,yue;Qse.TrendingSearchPill=function(e){var t=e.trendingSearch,n=oue.useContext(uue.SearchContext).setSearch;return oue.default.createElement(fue,{key:t,onClick:function(){return n(t)}},oue.default.createElement(hue,{size:16}),t)};var bue=ze&&ze.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},wue=ze&&ze.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),xue=ze&&ze.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),_ue=ze&&ze.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&wue(t,e,n);return xue(t,e),t},Sue=ze&&ze.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},kue=ze&&ze.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(Yse,"__esModule",{value:!0});var Cue,Eue=_ue(o),Iue=iae,Oue=_ue(lae),Tue=Qse,Nue=Oue.default.div(Cue||(Cue=bue(["\n display: flex;\n color: white;\n flex-direction: row;\n font-family: 'interface';\n font-weight: 600;\n font-size: 14px;\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n padding-bottom: 10px;\n ","\n"],["\n display: flex;\n color: white;\n flex-direction: row;\n font-family: 'interface';\n font-weight: 600;\n font-size: 14px;\n -webkit-overflow-scrolling: touch;\n overflow-x: auto;\n overflow-y: hidden;\n padding-bottom: 10px;\n ","\n"])),(function(e){return Oue.getSize(e.theme)}));Yse.default=function(){var e=Eue.useContext(Iue.SearchContext),t=e.channelSearch,n=e.fetchChannelSearch,r=e.trendingSearches,i=e.activeChannel,o=Eue.useState([]),a=o[0],s=o[1];return Eue.useEffect((function(){!i&&t&&Sue(void 0,void 0,void 0,(function(){var e;return kue(this,(function(t){switch(t.label){case 0:return[4,n(0)];case 1:return e=t.sent(),s(e||[]),[2]}}))})),t||i||s([])}),[t,i,n]),Eue.default.createElement(Nue,null,a.length>0?a.map((function(e){return Eue.default.createElement(Tue.ChannelPill,{key:e.id,channel:e})})):r.map((function(e){return Eue.default.createElement(Tue.TrendingSearchPill,{key:e,trendingSearch:e})})))};var Due={},Aue=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u((function(){return e.apply(void 0,t)}),t)}},Pue=function(e,t){var n=s(void 0);return[function(){var e=a(n);if(null==e)throw new Error("useReducerContext must be used inside a ReducerProvider.");return e},function(r){var i=r.children,o=r.initialState;return function(e,t){return x(n.Provider,e,t)}({value:p(e,void 0!==o?o:t)},i)},n]};function Mue(){var e=c(!0);return e.current?(e.current=!1,!0):e.current}var jue=function(e,t){var n=Mue();l((function(){if(!n)return e()}),t)};function Rue(e){return function(t,n){return e.reduceRight((function(e,n){return n(t)(e)}),n)}}var Lue=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Rue(e);return function(e,t,r){void 0===r&&(r=function(e){return e});var i=c(r(t)),o=d(i.current)[1],a=f((function(t){return i.current=e(i.current,t),o(i.current),t}),[e]),s=c(n({getState:function(){return i.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.current.apply(s,e)}},a));return jue((function(){s.current=n({getState:function(){return i.current},dispatch:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.current.apply(s,e)}},a)}),[a]),[i.current,s.current]}},Fue=function(e){var t=s(void 0);return[function(){var e=a(t);if(null==e)throw new Error("useStateContext must be used inside a StateProvider.");return e},function(n){var r=n.children,i=n.initialValue;return function(e,n){return x(t.Provider,e,n)}({value:d(void 0!==i?i:e)},r)},t]};function zue(){var e=c(!1),t=f((function(){return e.current}),[]);return l((function(){return e.current=!0,function(){e.current=!1}}),[]),t}function Bue(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var r=c(0),i=zue(),o=d(n),a=o[0],s=o[1],u=f((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=++r.current;return s((function(e){return Ma(Ma({},e),{loading:!0})})),e.apply(void 0,t).then((function(e){return i()&&o===r.current&&s({value:e,loading:!1}),e}),(function(e){return i()&&o===r.current&&s({error:e,loading:!1}),e}))}),t);return[a,u]}function Uue(e,t){void 0===t&&(t=[]);var n=Bue(e,t,{loading:!0}),r=n[0],i=n[1];return l((function(){i()}),[i]),r}var que=function(e,t){void 0===t&&(t=[]);var n=d(0),r=n[0],i=n[1],o=Uue(e,qa(t,[r])),a=o.loading,s=f((function(){a?"development"===Es.env.NODE_ENV&&console.log("You are calling useAsyncRetry hook retry() method while loading in progress, this is a no-op."):i((function(e){return e+1}))}),qa(t,[a]));return Ma(Ma({},o),{retry:s})},Vue=function(e){void 0===e&&(e={});var t=d(e),n=t[0],r=t[1];return[n,f((function(e){r((function(t){return Object.assign({},t,e instanceof Function?e(t):e)}))}),[])]};function Kue(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}function Hue(e){return function(t){var n,r;r=i.isValidElement(t)?(n=t).props:t;var o=Vue({buffered:[],time:0,duration:0,paused:!0,muted:!1,volume:1}),a=o[0],s=o[1],u=c(null),d=function(e,t){return function(n){try{t&&t(n)}finally{e&&e(n)}}},f=function(){return s({paused:!1})},p=function(){return s({paused:!0})},h=function(){var e=u.current;e&&s({muted:e.muted,volume:e.volume})},m=function(){var e=u.current;if(e){var t=e.duration,n=e.buffered;s({duration:t,buffered:Kue(n)})}},g=function(){var e=u.current;e&&s({time:e.currentTime})},v=function(){var e=u.current;e&&s({buffered:Kue(e.buffered)})};n=n?i.cloneElement(n,Ma(Ma({controls:!1},r),{ref:u,onPlay:d(r.onPlay,f),onPause:d(r.onPause,p),onVolumeChange:d(r.onVolumeChange,h),onDurationChange:d(r.onDurationChange,m),onTimeUpdate:d(r.onTimeUpdate,g),onProgress:d(r.onProgress,v)})):i.createElement(e,Ma(Ma({controls:!1},r),{ref:u,onPlay:d(r.onPlay,f),onPause:d(r.onPause,p),onVolumeChange:d(r.onVolumeChange,h),onDurationChange:d(r.onDurationChange,m),onTimeUpdate:d(r.onTimeUpdate,g),onProgress:d(r.onProgress,v)}));var y=!1,b={play:function(){var e=u.current;if(e&&!y){var t=e.play();if("object"==typeof t){y=!0;var n=function(){y=!1};t.then(n,n)}return t}},pause:function(){var e=u.current;if(e&&!y)return e.pause()},seek:function(e){var t=u.current;t&&void 0!==a.duration&&(e=Math.min(a.duration,Math.max(0,e)),t.currentTime=e)},volume:function(e){var t=u.current;t&&(e=Math.min(1,Math.max(0,e)),t.volume=e,s({volume:e}))},mute:function(){var e=u.current;e&&(e.muted=!0)},unmute:function(){var e=u.current;e&&(e.muted=!1)}};return l((function(){var t=u.current;t?(s({volume:t.volume,muted:t.muted,paused:t.paused}),r.autoPlay&&t.paused&&b.play()):"production"!==Es.env.NODE_ENV&&("audio"===e?console.error("useAudio() ref to <audio> element is empty at mount. It seem you have not rendered the audio element, which it returns as the first argument const [audio] = useAudio(...)."):"video"===e&&console.error("useVideo() ref to <video> element is empty at mount. It seem you have not rendered the video element, which it returns as the first argument const [video] = useVideo(...)."))}),[r.src]),[n,a,b,u]}}var Wue=Hue("audio"),Gue=function(){};function Yue(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function Que(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var $ue="undefined"!=typeof window,Zue="undefined"!=typeof navigator,Jue=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},Xue=Zue?navigator:void 0;var ece,tce=Xue&&"function"==typeof Xue.getBattery?function(){var e=d({isSupported:!0,fetched:!1}),t=e[0],n=e[1];return l((function(){var e=!0,r=null,i=function(){if(e&&r){var i={isSupported:!0,fetched:!0,level:r.level,charging:r.charging,dischargingTime:r.dischargingTime,chargingTime:r.chargingTime};!Jue(t,i)&&n(i)}};return Xue.getBattery().then((function(t){e&&(Yue(r=t,"chargingchange",i),Yue(r,"chargingtimechange",i),Yue(r,"dischargingtimechange",i),Yue(r,"levelchange",i),i())})),function(){e=!1,r&&(Que(r,"chargingchange",i),Que(r,"chargingtimechange",i),Que(r,"dischargingtimechange",i),Que(r,"levelchange",i))}}),[]),t}:function(){return{isSupported:!1}},nce=function(e,t){void 0===e&&(e=!0);var n=f((function(n){if("function"!=typeof e||e())return n.preventDefault(),t&&(n.returnValue=t),t}),[e,t]);l((function(){if(e)return Yue(window,"beforeunload",n),function(){return Que(window,"beforeunload",n)}}),[e,n])},rce=function(e,t){return"boolean"==typeof t?t:!e},ice=function(e){return p(rce,e)},oce=["mousedown","touchstart"],ace=function(e,t,n){void 0===n&&(n=oce);var r=c(t);l((function(){r.current=t}),[t]),l((function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&r.current(t)},i=0,o=n;i<o.length;i++){var a=o[i];Yue(document,a,t)}return function(){for(var e=0,r=n;e<r.length;e++){var i=r[e];Que(document,i,t)}}}),[n,e])},sce={exports:{}};ece=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var u in o)o[u]&&(s+="; "+u,!0!==o[u]&&(s+="="+o[u].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=t(s[0]);if(u=(r.read||r)(u,c)||t(u),n)try{u=JSON.parse(u)}catch(e){}if(i[c]=u,e===c)break}catch(e){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}((function(){}))};var uce=sce.exports=ece(),cce=function(e){var t=d((function(){return uce.get(e)||null})),n=t[0],r=t[1];return[n,f((function(t,n){uce.set(e,t,n),r(t)}),[e]),f((function(){uce.remove(e),r(null)}),[e])]},lce=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}},dce={"text/plain":"Text","text/html":"Url",default:"Text"};var fce=function(e,t){var n,r,i,o,a,s,u=!1;t||(t={}),n=t.debug||!1;try{if(i=lce(),o=document.createRange(),a=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=dce[t.format]||dce.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),o.selectNodeContents(s),a.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(i){n&&console.error("unable to copy using execCommand: ",i),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(i){n&&console.error("unable to copy using clipboardData: ",i),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(o):a.removeAllRanges()),s&&document.body.removeChild(s),i()}return u},pce=function(){var e=zue(),t=Vue({value:void 0,error:void 0,noUserInteraction:!0}),n=t[0],r=t[1];return[n,f((function(t){var n,i;if(e())try{if("string"!=typeof t&&"number"!=typeof t){var o=new Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");return"development"===Es.env.NODE_ENV&&console.error(o),void r({value:t,error:o,noUserInteraction:!0})}if(""===t){o=new Error("Cannot copy empty string to clipboard.");return"development"===Es.env.NODE_ENV&&console.error(o),void r({value:t,error:o,noUserInteraction:!0})}i=t.toString(),n=fce(i),r({value:i,error:void 0,noUserInteraction:n})}catch(o){r({value:i,error:o,noUserInteraction:n})}}),[])]},hce=function(e){return(e+1)%1e6};function mce(){return p(hce,0)[1]}function gce(e,t){return"function"==typeof e?e.length?e(t):e():e}function vce(e){var t=c(gce(e)),n=mce();return u((function(){return[function(){return t.current},function(e){t.current=gce(e,t.current),n()}]}),[])}function yce(e,t,n){void 0===e&&(e=0),void 0===t&&(t=null),void 0===n&&(n=null);var r=gce(e);"number"!=typeof r&&console.error("initialValue has to be a number, got "+typeof e),"number"==typeof n?r=Math.max(r,n):null!==n&&console.error("min has to be a number, got "+typeof n),"number"==typeof t?r=Math.min(r,t):null!==t&&console.error("max has to be a number, got "+typeof t);var i=vce(r),o=i[0],a=i[1];return[o(),u((function(){var e=function(e){var r=o(),i=gce(e,r);r!==i&&("number"==typeof n&&(i=Math.max(i,n)),"number"==typeof t&&(i=Math.min(i,t)),r!==i&&a(i))};return{get:o,set:e,inc:function(t){void 0===t&&(t=1);var n=gce(t,o());"number"!=typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e+n}))},dec:function(t){void 0===t&&(t=1);var n=gce(t,o());"number"!=typeof n&&console.error("delta has to be a number or function returning a number, got "+typeof n),e((function(e){return e-n}))},reset:function(t){void 0===t&&(t=r);var n=gce(t,o());"number"!=typeof n&&console.error("value has to be a number or function returning a number, got "+typeof n),r=n,e(n)}}}),[r,n,t])]}var bce=/[A-Z]/g,wce=function(e,t,n){for(var r=[],i=0;i<n.length;i++){var o=n[i];t[o]||r.push(o)}if(r.length){for(var a='Addon "'+e+'" is missing the following dependencies:',s=0;s<r.length;s++)a+='\n require("nano-css/addon/'+r[s]+'").addon(nano);';throw new Error(a)}},xce={};xce.removeRule=function(e){var t=e.index,n=e.parentStyleSheet,r=n.cssRules||n.rules;for(t=Math.max(t,r.length-1);t>=0;){if(r[t]===e){n.deleteRule(t);break}t--}};var _ce=xce.removeRule;var Sce,kce=function e(t,n,r,i){var o,a,s={},u=!1;for(o in n)"object"!=typeof(a=n[o])&&(u=!0,s[o]=a);for(o in u&&(t[i]||(t[i]={}),t[i][r]=s),n)if("object"==typeof(a=n[o]))if("@"===o[0])e(t,a,r,o);else{var c=o.indexOf("&")>-1,l=r.split(",");if(c)for(var d=0;d<l.length;d++)l[d]=o.replace(/&/g,l[d]);else for(d=0;d<l.length;d++)l[d]=l[d]+" "+o;e(t,a,l.join(","),i)}},Cce=$ue?_:l,Ece=function(e){var t=(e=e||{}).assign||Object.assign,n="object"==typeof window;"production"!==Es.env.NODE_ENV&&n&&("object"==typeof document&&document.getElementsByTagName("HTML")||console.error('nano-css detected browser environment because of "window" global, but "document" global seems to be defective.'));var r=t({raw:"",pfx:"_",client:n,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(bce,"-$&").toLowerCase()},decl:function(e,t){return(e=r.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(r.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){r.raw+=e}},e);return r.client&&(r.sh||document.head.appendChild(r.sh=document.createElement("style")),"production"!==Es.env.NODE_ENV&&(r.sh.setAttribute("data-nano-css-dev",""),r.shTest=document.createElement("style"),r.shTest.setAttribute("data-nano-css-dev-tests",""),document.head.appendChild(r.shTest)),r.putRaw=function(t){if("production"===Es.env.NODE_ENV){var n=r.sh.sheet;try{n.insertRule(t,n.cssRules.length)}catch(e){}}else{try{r.shTest.sheet.insertRule(t,r.shTest.sheet.cssRules.length)}catch(t){e.verbose&&console.error(t)}r.sh.appendChild(document.createTextNode(t))}}),r.put=function(e,t,n){var i,o,a="",s=[];for(i in t)(o=t[i])instanceof Object&&!(o instanceof Array)?s.push(i):"production"===Es.env.NODE_ENV||r.sourcemaps?a+=r.decl(i,o,e,n):a+=" "+r.decl(i,o,e,n)+"\n";a&&(a="production"===Es.env.NODE_ENV||r.sourcemaps?e+"{"+a+"}":"\n"+e+" {\n"+a+"}\n",r.putRaw(n?n+"{"+a+"}":a));for(var u=0;u<s.length;u++)"@"===(i=s[u])[0]&&"@font-face"!==i?r.putAt(e,t[i],i):r.put(r.selector(e,i),t[i],n)},r.putAt=r.put,r}();(Sce=Ece).client&&("production"!==Es.env.NODE_ENV&&wce("cssom",Sce,["sh"]),document.head.appendChild(Sce.msh=document.createElement("style")),Sce.createRule=function(e,t){var n=e+"{}";t&&(n=t+"{"+n+"}");var r=t?Sce.msh.sheet:Sce.sh.sheet,i=r.insertRule(n,r.cssRules.length),o=(r.cssRules||r.rules)[i];if(o.index=i,t){var a=(o.cssRules||o.rules)[0];o.style=a.style,o.styleMap=a.styleMap}return o}),function(e){if(e.client){"production"!==Es.env.NODE_ENV&&wce("cssom",e,["createRule"]);var t=e.kebab;n.prototype.diff=function(e){var n,r=this.decl,i=this.rule.style;for(n in r)void 0===e[n]&&i.removeProperty(n);for(n in e)e[n]!==r[n]&&i.setProperty(t(n),e[n]);this.decl=e},n.prototype.del=function(){_ce(this.rule)},r.prototype.diff=function(e){var t=this.tree;for(var r in t)if(void 0===e[r]){var i=t[r];for(var o in i)i[o].del()}for(var r in e)if(void 0===t[r])for(var o in e[r]){(u=new n(o,r)).diff(e[r][o]),e[r][o]=u}else{var a=t[r],s=e[r];for(var o in a)s[o]||a[o].del();for(var o in s){var u;(u=a[o])?(u.diff(s[o]),s[o]=u):((u=new n(o,r)).diff(s[o]),s[o]=u)}}this.tree=e},e.VRule=n,e.VSheet=r}function n(t,n){this.rule=e.createRule(t,n),this.decl={}}function r(){this.tree={}}}(Ece);var Ice=0,Oce=function(e){var t=u((function(){return"react-use-css-"+(Ice++).toString(36)}),[]),n=u((function(){return new Ece.VSheet}),[]);return Cce((function(){var r={};return kce(r,e,"."+t,""),n.diff(r),function(){n.diff({})}})),t},Tce=function(e){return e!==Object(e)},Nce=function(e,t,n){"production"!==Es.env.NODE_ENV&&(t instanceof Array&&t.length||console.warn("`useCustomCompareEffect` should not be used with no dependencies. Use React.useEffect instead."),t.every(Tce)&&console.warn("`useCustomCompareEffect` should not be used with dependencies that are all primitive values. Use React.useEffect instead."),"function"!=typeof n&&console.warn("`useCustomCompareEffect` should be used with depsEqual callback for comparing deps list"));var r=c(void 0);r.current&&n(t,r.current)||(r.current=t),l(e,r.current)};function Dce(e,t){void 0===t&&(t=0);var n=c(!1),r=c(),i=c(e),o=f((function(){return n.current}),[]),a=f((function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout((function(){n.current=!0,i.current()}),t)}),[t]),s=f((function(){n.current=null,r.current&&clearTimeout(r.current)}),[]);return l((function(){i.current=e}),[e]),l((function(){return a(),s}),[t]),[o,s,a]}var Ace=function(e){return e!==Object(e)},Pce=function(e,t){"production"!==Es.env.NODE_ENV&&(t instanceof Array&&t.length||console.warn("`useDeepCompareEffect` should not be used with no dependencies. Use React.useEffect instead."),t.every(Ace)&&console.warn("`useDeepCompareEffect` should not be used with dependencies that are all primitive values. Use React.useEffect instead.")),Nce(e,t,Jue)},Mce=function(e,t){var n=d(t),r=n[0],i=n[1];return null==r?[e,i]:[r,i]},jce=function(e,t){void 0===e&&(e={}),void 0===t&&(t=[]);var n=e.onFiles,r=e.onText,i=e.onUri,o=d(!1),a=o[0],s=o[1],c=f(s,[]),p=u((function(){return function(e){return function(t,n){var r=t.getData("text/uri-list");if(r)(e.onUri||Gue)(r,n);else if(t.files&&t.files.length)(e.onFiles||Gue)(Array.from(t.files),n);else if(n.clipboardData){var i=n.clipboardData.getData("text");(e.onText||Gue)(i,n)}}}(e)}),[n,r,i]);return l((function(){var e=function(e){e.preventDefault(),c(!0)},t=function(e){e.preventDefault(),c(!0)},n=function(){c(!1)},i=function(){c(!1)},o=function(e){e.preventDefault(),c(!1),p(e.dataTransfer,e)},a=function(e){p(e.clipboardData,e)};return Yue(document,"dragover",e),Yue(document,"dragenter",t),Yue(document,"dragleave",n),Yue(document,"dragexit",i),Yue(document,"drop",o),r&&Yue(document,"paste",a),function(){Que(document,"dragover",e),Que(document,"dragenter",t),Que(document,"dragleave",n),Que(document,"dragexit",i),Que(document,"drop",o),Que(document,"paste",a)}}),qa([p],t)),{over:a}},Rce=function(e){void 0===e&&(e={});var t=e.onFiles,n=e.onText,r=e.onUri,i=zue(),o=d(!1),a=o[0],s=o[1],c=u((function(){return function(e,t){return function(n,r){var i=n.getData("text/uri-list");i?(e.onUri||Gue)(i,r):n.files&&n.files.length?(e.onFiles||Gue)(Array.from(n.files),r):n.items&&n.items.length&&n.items[0].getAsString((function(n){t&&(e.onText||Gue)(n,r)}))}}(e,i())}),[t,n,r]),l=u((function(){return function(e,t){return{onDragOver:function(e){e.preventDefault()},onDragEnter:function(e){e.preventDefault(),t(!0)},onDragLeave:function(){t(!1)},onDrop:function(n){n.preventDefault(),n.persist(),t(!1),e(n.dataTransfer,n)},onPaste:function(t){t.persist(),e(t.clipboardData,t)}}}(c,s)}),[c,s]);return[l,{over:a}]},Lce=function(e){l(e,[])};function Fce(e){var t=c(e&&e.current);return l((function(){e&&(e.current=t.current)}),[e]),t}var zce=$ue?window:null,Bce=function(e){return!!e.addEventListener},Uce=function(e){return!!e.on},qce=function(e,t,n,r){void 0===n&&(n=zce),l((function(){if(t&&n)return Bce(n)?Yue(n,e,t,r):Uce(n)&&n.on(e,t,r),function(){Bce(n)?Que(n,e,t,r):Uce(n)&&n.off(e,t,r)}}),[e,t,n,JSON.stringify(r)])},Vce=function(){var e=d(null),t=e[0],n=e[1];return l((function(){if(t)throw t}),[t]),f((function(e){n(e)}),[])},Kce=function(e){l((function(){var t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)}),[e])},Hce={exports:{}};
@@ -142,7 +142,7 @@ var yhe=function(){return yhe=Object.assign||function(e){for(var t,n=1,r=argumen
142
142
  object-assign
143
143
  (c) Sindre Sorhus
144
144
  @license MIT
145
- */function yje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var bje=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=yje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))gje.call(n,a)&&(i[a]=n[a]);if(mje){r=mje(n);for(var s=0;s<r.length;s++)vje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},wje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",xje=function(){};if("production"!==process.env.NODE_ENV){var _je=wje,Sje={},kje=Function.call.bind(Object.prototype.hasOwnProperty);xje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Cje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(kje(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,_je)}catch(e){a=e}if(!a||a instanceof Error||xje((r||"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 Sje)){Sje[a.message]=!0;var u=i?i():"";xje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}Cje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Sje={})};var Eje=Se,Ije=bje,Oje=wje,Tje=Cje,Nje=Function.call.bind(Object.prototype.hasOwnProperty),Dje=function(){};function Aje(){return null}"production"!==process.env.NODE_ENV&&(Dje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function Pje(){}function Mje(){}Mje.resetWarningCache=Pje;if("production"!==process.env.NODE_ENV){var jje=Se;hje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(Aje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",Oje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return Eje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(Nje(s,c)){var d=e(s,c,r,i,o+"."+c,Oje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Dje(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."),Aje;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Dje("Invalid argument supplied to oneOfType, expected an instance of array."),Aje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return Dje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),Aje}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,Oje))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,Oje);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=Ije({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,Oje);if(p)return p}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={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==Oje){if(t){var p=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 p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(Dje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(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=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(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,i.checkPropTypes=Tje,i.resetWarningCache=Tje.resetWarningCache,i.PropTypes=i,i}(jje.isElement,!0)}else hje.exports=function(){function e(e,t,n,r,i,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:Mje,resetWarningCache:Pje};return n.PropTypes=n,n}();var Rje=hje.exports,Lje=Object.freeze({__proto__:null,useCurrentUser:y0,useAccountApi:Y0,useAuthenticationContext:kS,useEnvironmentConfig:Ig,useNotificationContext:v6,usePromise:vS,LinkContext:JC,TextLink:fTe,logger:$g,createId:Jg,ResourceContext:aE,usePluginSettings:function(){var e=a(Y2).settings;return null!=e?e:{}},usePluginStorage:H3,usePluginDeviceStore:H3,usePluginSubscriptionStore:function(){return a(Y2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(Y2).subscriptionStore,i=vS((function(){return r.get(e).catch(G3)}),void 0,kG(kG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return _G(n,void 0,void 0,(function(){var n;return SG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),G3(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return _G(n,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),G3(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(Y2).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(Y2).userStore,i=vS((function(){return r.get(e).catch(G3)}),void 0,kG(kG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return _G(n,void 0,void 0,(function(){var n;return SG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),G3(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return _G(n,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),G3(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Eg().apiEndpoint}},AccountType:t0,PeoplePicker:Twe,GutterToggle:function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,u=t.tooltipResourceKey,c=t.ariaLabelResourceKey,l=OC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(wwe,yhe({className:o},{children:r?e(_we,{},void 0):e(rwe,yhe({resourceKey:u},{children:e(xwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:ywe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=bhe(t,["tooltipResourceKey","className"]);return e(rwe,yhe({resourceKey:n,className:r},{children:e(owe,yhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a(t6).theme},useSubscriptionHandlePathBuilder:B2,useSubscriptionWebAppUrl:U2});var Fje=[{name:"@reach/core",packageDefinition:yhe({default:{}},Lje)}],zje=[{name:"react",packageDefinition:yhe(yhe({},o),{default:o})},{name:"react-dom",packageDefinition:yhe(yhe({},Me),{default:Me})},{name:"react-is",packageDefinition:yhe(yhe({},Se),{default:Se})},{name:"prop-types",packageDefinition:yhe({default:Rje},Rje)},{name:"react-router-dom",packageDefinition:yhe({},he)},{name:"styled-components",packageDefinition:{default:ke,createGlobalStyle:Ce,css:Ee,useTheme:Oe,isStyledComponent:Te,keyframes:Ne,withTheme:De,ThemeProvider:Ie,ThemeContext:Ae,ThemeConsumer:Pe}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:q,Label:V,PrimaryButton:P,Icon:j,Link:T,TextField:A,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:K,ProgressIndicator:H,Shimmer:W,ShimmerElementsGroup:G,ShimmerElementType:Y,DirectionalHint:Q,PersonaSize:$,TooltipHost:B,DialogType:Z,Dialog:Che}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:GC,useIntl:OC,FormattedDate:YC,FormattedTime:QC,IntlProvider:LC}},{name:"@apollo/client",packageDefinition:{default:{},gql:wj,useQuery:function(e,t){return zj(e,t,!1)},ApolloClient:fj,ApolloProvider:Nj,from:qA,ApolloLink:UA,fromPromise:jA,split:VA,HttpLink:ZA,InMemoryCache:WM,useLazyQuery:function(e,t){return zj(e,t,!0)},useMutation:function(e,t){var n=a(Oj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?Ma(Ma({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new Rj({options:s,context:n,result:i,setResult:o})),u.current);return f.setOptions(s),f.context=n,l((function(){return f.afterExecute()})),f.execute(i)},ApolloError:YM,useApolloClient:Dj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Oj()),i=t?Ma(Ma({},t),{subscription:e}):{subscription:e},o=d({loading:!i.skip,error:void 0,data:void 0}),s=o[0],u=o[1],f=c(),h=(f.current||(f.current=new jj({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&Fj(n),l((function(){return h.afterExecute()})),l((function(){return function(){h.cleanup(),f.current=void 0}}),[]),h.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:qR}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:nL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ND}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:Bj}}],Bje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=u((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(n){return $g.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(SS.Provider,Ma({value:c},{children:r}),void 0)},Uje="0.4.0-preview.515",qje="103145",Vje="4327796e87dd6423bf5a1a6569e4029d4ab537bb",Kje=st,Hje=et,Wje=zr("match"),Gje=function(e){var t;return Kje(e)&&(void 0!==(t=e[Wje])?!!t:"RegExp"==Hje(e))},Yje=zr("match"),Qje=function(e){if(Gje(e))throw TypeError("The method doesn't accept regular expressions");return e},$je=rt,Zje=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Yje]=!1,"/./"[e](t)}catch(e){}}return!1};kr({target:"String",proto:!0,forced:!Zje("includes")},{includes:function(e){return!!~String($je(this)).indexOf(Qje(e),arguments.length>1?arguments[1]:void 0)}});var Jje,Xje,eRe={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"}},tRe={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"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},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"}},nRe=["//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"],rRe=function(t){var n=t.children,r=Eg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!nRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return $g.info("Will use non prod client config..."),Ma({},eRe);return Ma(Ma({},eRe),tRe)}())}),[r]);return e(Lg.Provider,Ma({value:i},{children:n}),void 0)},iRe=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 Ra(this,void 0,void 0,(function(){return La(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 Ra(this,void 0,void 0,(function(){return La(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}(),oRe=new iRe,aRe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(sRe,Ma({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},sRe=function(n){var r=n.subscriptionId,i=n.children,o=a(SS).setToken,s=eE(),c=function(){var e=EV().fetchFromApi,t=IV();return u((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=EV().fetchFromApi,d=a(ZC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=vS((function(){return Ra(this,void 0,void 0,(function(){var e,t,n;return La(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),m=h[0],g=h[1],v=h[2];if(v)return $g.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+r+"!"};return $g.error(y.message),p({error:y}),null}return e(t,{children:i},void 0);function b(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},uRe=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],l=d(),f=l[0],p=l[1],h=u((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(ZC.Provider,Ma({value:h},{children:e(cRe,Ma({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},cRe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(lRe,{messageId:r.messageId,error:r.error},void 0):i?e(lRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(lRe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},lRe=function(t){var r=t.messageId,i=t.error,o=OC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(nje,Ma({errorType:eje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(dRe,{children:[e(GC,{id:"Generic.error.details"},void 0),e(fRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},dRe=ke.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Jje||(Jje=Ha(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),fRe=ke.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(Xje||(Xje=Ha(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),pRe=function(t){var n=t.children,r=U2(),i=u((function(){return{onShare:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(JC.Provider,Ma({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},hRe=function(){return null},mRe=Object.freeze({__proto__:null,Page:hRe,NavLinkSidebarItem:hRe,PageMenuActionItem:hRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Uje+" ("+qje+") ["+Vje+"]"),window.__did_initialize_reach_context)return;ce()}();var gRe=function(r){var i,o,s,c,d=null!=a(Cg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||($2.apply(void 0,_he(["ReachCorePackages"],_he(_he([],zje),Fje))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Ma({default:{}},e)},{name:"@reach/chrome",packageDefinition:Ma({default:{}},mRe)}],$2.apply(void 0,Va(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:Uje,commitId:Vje,buildId:qje},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(u=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==u?u:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?($g.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Ma({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",Ma({className:MG},{children:e(Cg.Provider,Ma({value:f},{children:e(we,{children:e(XC.Provider,Ma({value:oRe},{children:e(rRe,{children:e(XX,Ma({language:r.language},{children:e(n6,Ma({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(uRe,{children:e(Bje,Ma({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(rE,Ma({subscriptionId:r.subscriptionId},{children:e(aRe,Ma({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(pRe,{children:e(NT.Provider,Ma({value:{hideChrome:!1}},{children:e(vRe,{children:e(hK,Ma({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(O2,{children:e(P6,{children:n(k6,{children:[e(O6,{},void 0),e(Ewe,{},void 0),e(yRe,{},void 0),n(xe,{children:[e(_e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(_e,{render:function(){return r.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},vRe=function(t){var n,r=t.children,i=a(t6).setTheme,o=a(aE).changeSettings,s=Q0().getCurrentUser,c=vS((function(){var e,t;return Ra(this,void 0,void 0,(function(){var n,r,a,u;return La(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,s()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=Z_(n.preferredUiLanguage,$_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=jAe(n),o(r,a).then((function(){return null}),$g.error),[2,n];case 2:throw u=c.sent(),$g.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(ZC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=u((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[l]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==l?(g({}),null):e(g0.Provider,Ma({value:y},{children:r}),void 0)},yRe=function(){return l((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(NG,{},void 0),e(PG,{},void 0)]},void 0)};var bRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,wRe=/[\0-\x1F\x7F-\x9F]/,xRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,_Re=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 SRe(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 kRe(e){return Object.prototype.toString.call(e)}function CRe(e){return"[object Function]"===kRe(e)}function ERe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var IRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ORe={"http:":{validate:function(e,t,n){var r=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(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=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(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=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(r)?r.match(n.re.mailto)[0].length:0}}},TRe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function NRe(e){var t=e.re=function(e){var t={};return t.src_Any=bRe.source,t.src_Cc=wRe.source,t.src_Z=xRe.source,t.src_P=_Re.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 r(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(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];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 r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===kRe(e)}(n))return!function(e){return"[object RegExp]"===kRe(e)}(n.validate)?CRe(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(CRe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===kRe(e)}(n)?o(t,n):i.push(t)}})),i.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(ERe).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 DRe(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function ARe(e,t){var n=new DRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function PRe(e,t){if(!(this instanceof PRe))return new PRe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||IRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=SRe({},IRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=SRe({},ORe,e),this.__compiled__={},this.__tlds__=TRe,this.__tlds_replaced__=!1,this.re={},NRe(this)}PRe.prototype.add=function(e,t){return this.__schemas__[e]=t,NRe(this),this},PRe.prototype.set=function(e){return this.__opts__=SRe(this.__opts__,e),this},PRe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=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+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<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!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[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},PRe.prototype.pretest=function(e){return this.re.pretest.test(e)},PRe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},PRe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(ARe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(ARe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},PRe.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(),NRe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,NRe(this),this)},PRe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},PRe.prototype.onCompile=function(){};var MRe=PRe;function jRe(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 RRe(){return RRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RRe.apply(this,arguments)}function LRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FRe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zRe(e,t,n){return t&&FRe(e.prototype,t),n&&FRe(e,n),e}function BRe(e){return BRe="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},BRe(e)}function URe(e){return URe="function"==typeof Symbol&&"symbol"===BRe(Symbol.iterator)?function(e){return BRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":BRe(e)},URe(e)}function qRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VRe(e,t){return!t||"object"!==URe(t)&&"function"!=typeof t?qRe(e):t}function KRe(e){return KRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},KRe(e)}function HRe(e,t){return HRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},HRe(e,t)}function WRe(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&&HRe(e,t)}function GRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function QRe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ZRe(e){return function(e){if(Array.isArray(e))return $Re(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 $Re(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)?$Re(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 JRe=function(e){return e===Object(e)?Object.keys(e):[]},XRe=function(e){return e===Object(e)?Object.values(e):[]};function eLe(e,t){var n=Object.assign({},e);return rLe(e)&&rLe(t)&&JRe(t).forEach((function(r){rLe(t[r])&&r in e?n[r]=eLe(e[r],t[r]):Object.assign(n,j8({},r,t[r]))})),n}var tLe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return eLe(e,t)}),e)},nLe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},rLe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},iLe=function(e){return(e||[]).filter(Boolean)},oLe=function(e){return"&"===e[0]},aLe=function(e){return!oLe(e)},sLe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},uLe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=JRe(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},cLe=function(e,t){for(var n=t.map(sLe),r=JRe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(sLe(s))>=0)&&(i[s]=e[s])}return i},lLe=function e(t,n){for(var r=tLe.apply(void 0,[{},nLe(t,n)].concat(ZRe(XRe(cLe(t,n))))),i=JRe(r).filter(oLe),o=0,a=i.length;o<a;o+=1){var s=i[o],u=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=tLe({},r,u)):r[s]=u}return r};function dLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pLe=["animationName"],hLe=function(e){var t=e.style,n=e.className;return fLe(fLe({},t?{style:uLe(t,pLe)}:{}),n?{className:n}:{})},mLe=s(hLe);mLe.Provider;var gLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return JRe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},vLe={},yLe=function(e){return function(t,n){var r,i=n||vLe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=gLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function bLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xLe=function(e){var t=e&&JRe(e)[0];return t&&t.split("__")[0].split("--")[0]},_Le=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(ZRe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),ZRe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(ZRe(i)):i}};function SLe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hLe,o=n||xLe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:yLe((function(e,n){var a=gLe(e);ghe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),ghe(!n||rLe(n),"Optional second parameter must be a plain object.");var s=a.filter(oLe),u=a.filter(aLe),c=u.length>0?function(e){return XRe(cLe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(lLe(e,s))},d=_Le(o,u,s);return SLe(wLe(wLe(wLe({},(t||n)&&{style:tLe.apply(void 0,[{}].concat(ZRe(l(n)),ZRe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=wLe({},"function"==typeof t?t:{style:t}),u=ZRe(new Set([].concat(ZRe(s.className?s.className.split(" "):[]),ZRe(o?o.split(" "):[])))),c=r?iLe(u.map((function(e){return r[e]}))):u,l=i(wLe(wLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function kLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ELe=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 CLe(CLe(CLe({},e),"function"==typeof t?t:{}),{},{style:CLe(CLe({},e.style),"function"==typeof t?t.style:t)})}),{})},ILe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(mLe);return u((function(){return SLe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},OLe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},TLe="__id__",NLe="__display__",DLe=function(e,t){ghe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(NLe),r=e.indexOf(TLe);return n<0&&(n=null),r<0&&(r=null),ghe(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},ALe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=YRe(t.exec(e.toString()),3),r=n[1],i=n[2];return ghe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},PLe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},MLe=function(){},jLe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:MLe,o=ALe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=PLe(t)+1,n})),u=0,c=0;null!==(r=o.exec(e));){var l=s.find((function(e){return!!r[e]})),d=s.indexOf(l),f=t[d],p=f.markup,h=f.displayTransform,m=l+DLe(p,"id"),g=l+DLe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(u,r.index);i(b,u,c),c+=b.length,n(r[0],r.index,c,v,y,d,u),c+=y.length,u=o.lastIndex}u<e.length&&i(e.substring(u),u,c)},RLe=function(e,t){var n="";return jLe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},LLe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,u,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return jLe(e,t,a,o),void 0===r?e.length:r},FLe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},zLe=function(e,t){var n=[];return jLe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},BLe=function(e,t){return"".concat(e,"-").concat(t)},ULe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},qLe=function(e){var t=OLe(e),n=e[e.indexOf(NLe)+NLe.length],r=e[e.indexOf(TLe)+TLe.length];return new RegExp(t.replace(NLe,"([^".concat(OLe(n||""),"]+?)")).replace(TLe,"([^".concat(OLe(r||""),"]+?)")))},VLe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?KLe(r,n):qLe(n),displayTransform:i||function(e,t){return t||e}}}))},KLe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=PLe(t);return ghe(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},HLe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],WLe=function(e){return function(e){var t=e;return HLe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},GLe=function(e,t,n){return n?WLe(e).indexOf(WLe(t)):e.toLowerCase().indexOf(t.toLowerCase())},YLe=function(e){return"number"==typeof e},QLe=function(e){return e===Object(e)?Object.keys(e):[]},$Le=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);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 ZLe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=QRe(r,["style","className","classNames"]),c=t?t(u):void 0,l=ILe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,RRe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var JLe=function(e){function t(){var e;return LRe(this,t),GRe(qRe(e=VRe(this,KRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return WRe(t,v),zRe(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 r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,u=n.children,c=n.containerRef,l=VLe(u);r===i&&(e=LLe(a,l,r,"START"));var d=[],f={},p=d,h=0;return jLe(a,l,(function(e,n,r,i,o,a,s){var u=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,u))}),(function(n,r,i){if(YLe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",RRe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",RRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",RRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();GRe(JLe,"propTypes",{selectionStart:aW.number,selectionEnd:aW.number,value:aW.string.isRequired,onCaretPositionChange:aW.func.isRequired,containerRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired}),GRe(JLe,"defaultProps",{value:""});var XLe=ZLe({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}}))(JLe),eFe=function(e){function t(){return LRe(this,t),VRe(this,KRe(t).apply(this,arguments))}return WRe(t,v),zRe(t,[{key:"render",value:function(){var e=$Le(this.props,["style","classNames","className"],QLe(t.propTypes));return o.createElement("li",RRe({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,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,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,r=t.query,i=t.style,a=GLe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();GRe(eFe,"propTypes",{id:aW.string.isRequired,query:aW.string.isRequired,index:aW.number.isRequired,ignoreAccents:aW.bool,suggestion:aW.oneOfType([aW.string,aW.shape({id:aW.oneOfType([aW.string,aW.number]).isRequired,display:aW.string})]).isRequired,renderSuggestion:aW.func,focused:aW.bool});var tFe=ZLe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(eFe);function nFe(){var e=ILe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var rFe=function(e){function t(){var e,n;LRe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return GRe(qRe(n=VRe(this,(e=KRe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),GRe(qRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),GRe(qRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return WRe(t,v),zRe(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,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,u=e.position,c=e.left,l=e.top;return r?o.createElement("div",RRe({},ELe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",RRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(jRe(t),jRe(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,u=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(tFe,{style:this.props.style("item"),key:"".concat(a,"-").concat(iFe(e)),id:BLe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:u,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(nFe,{style:this.props.style("loadingIndicator")})}}]),t}();GRe(rFe,"propTypes",{id:aW.string.isRequired,suggestions:aW.object.isRequired,a11ySuggestionsListLabel:aW.string,focusIndex:aW.number,position:aW.string,left:aW.number,top:aW.number,scrollFocusedIntoView:aW.bool,isLoading:aW.bool,isOpened:aW.bool.isRequired,onSelect:aW.func,ignoreAccents:aW.bool,containerRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired}),GRe(rFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var iFe=function(e){return"string"==typeof e?e:e.id},oFe=ZLe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(rFe);function aFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aFe(n,!0).forEach((function(t){GRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var uFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},cFe=!1,lFe={singleLine:aW.bool,allowSpaceInQuery:aW.bool,allowSuggestionsAboveCursor:aW.bool,forceSuggestionsAboveCursor:aW.bool,ignoreAccents:aW.bool,a11ySuggestionsListLabel:aW.string,value:aW.string,onKeyDown:aW.func,onSelect:aW.func,onBlur:aW.func,onChange:aW.func,suggestionsPortalHost:"undefined"==typeof Element?aW.any:aW.PropTypes.instanceOf(Element),inputRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired},dFe=function(e){function t(e){var n;return LRe(this,t),GRe(qRe(n=VRe(this,KRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),GRe(qRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return sFe({},$Le(n.props,["style","classNames","className"],QLe(lFe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{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":BLe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),GRe(qRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),GRe(qRe(n),"renderInput",(function(e){return o.createElement("input",RRe({type:"text",ref:n.setInputRef},e))})),GRe(qRe(n),"renderTextarea",(function(e){return o.createElement("textarea",RRe({ref:n.setInputRef},e))})),GRe(qRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),GRe(qRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),GRe(qRe(n),"renderSuggestionsOverlay",(function(){if(!YLe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(oFe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,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?je.createPortal(a,n.props.suggestionsPortalHost):a})),GRe(qRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,u=i.value,c=i.style;return o.createElement(XLe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),GRe(qRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),GRe(qRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),GRe(qRe(n),"getPlainText",(function(){return RLe(n.props.value||"",VLe(n.props.children))})),GRe(qRe(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),GRe(qRe(n),"handleChange",(function(e){if(cFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=VLe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=RLe(e,r),u=s.length-t.length;"undefined"===i&&(i=a+u),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),l=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+u));var f=LLe(e,r,l,"START"),p=LLe(e,r,d,"END"),h=LLe(e,r,l,"NULL"),m=LLe(e,r,d,"NULL"),g=null===h||null===m,v=FLe(e,f,p,c);if(!g){var y=RLe(v,r);if(y!==t){for(l=0;t[l]===y[l];)l++;c=t.slice(l,a),d=s.lastIndexOf(t.substring(a)),f=LLe(e,r,l,"START"),p=LLe(e,r,d,"END"),v=FLe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=RLe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(jLe(e,t,(function(e,t,o,a,s,u,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,u=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:u});var l=zLe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),GRe(qRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!cFe){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)}})),GRe(qRe(n),"handleKeyDown",(function(e){if(0!==ULe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(uFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case uFe.ESC:return void n.clearSuggestions();case uFe.DOWN:return void n.shiftFocus(1);case uFe.UP:return void n.shiftFocus(-1);case uFe.RETURN:case uFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),GRe(qRe(n),"shiftFocus",(function(e){var t=ULe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),GRe(qRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(jRe(e),jRe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),GRe(qRe(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)})),GRe(qRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),GRe(qRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),GRe(qRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,u=s.getBoundingClientRect(),c=fFe(s,"font-size"),l={left:u.left+e.left,top:u.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=l.left,h=l.top;p-=fFe(a,"margin-left"),h-=fFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&l.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<u.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),GRe(qRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),GRe(qRe(n),"handleCompositionStart",(function(){cFe=!0})),GRe(qRe(n),"handleCompositionEnd",(function(){cFe=!1})),GRe(qRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),GRe(qRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=VLe(i),s=LLe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=zLe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(u,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=OLe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=u+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),GRe(qRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),GRe(qRe(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,u=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;GLe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,u),l=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));l instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,l)})),GRe(qRe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=sFe({},n.suggestions,GRe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=ULe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),GRe(qRe(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",l=VLe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=LLe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(TLe,t).replace(NLe,n)}(f,r,i);m&&(b+=" ");var w=FLe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var S={target:{value:w}},k=zLe(w,l),C=FLe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),GRe(qRe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),GRe(qRe(n),"isOpened",(function(){return YLe(n.state.selectionStart)&&(0!==ULe(n.state.suggestions)||n.isLoading())})),GRe(qRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(qRe(n)),n.handleCut=n.handleCut.bind(qRe(n)),n.handlePaste=n.handlePaste.bind(qRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return WRe(t,o.Component),zRe(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 o.createElement("div",RRe({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,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=VLe(a),u=LLe(o,s,n,"START"),c=LLe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=FLe(o,u,c,l||d).replace(/\r/g,""),p=RLe(f,s),h={target:sFe({},e.target,{value:f})};this.executeOnChange(h,f,p,zLe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=VLe(o),u=LLe(a,s,n,"START"),c=LLe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(u,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=VLe(o),u=LLe(a,s,n,"START"),c=LLe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=RLe(l,s),f={target:sFe({},e.target,{value:d})};this.executeOnChange(f,l,d,zLe(a,s))}}}]),t}();GRe(dFe,"propTypes",lFe),GRe(dFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var fFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},pFe=ZLe({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:sFe({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}}))(dFe),hFe={fontWeight:"inherit"},mFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=ILe(hFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};mFe.propTypes={onAdd:aW.func,onRemove:aW.func,renderSuggestion:aW.func,trigger:aW.oneOfType([aW.string,aW.instanceOf(RegExp)]),markup:aW.string,displayTransform:aW.func,allowSpaceInQuery:aW.bool,isLoading:aW.bool},mFe.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 gFe=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 vFe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=gFe.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var yFe=[".DS_Store","Thumbs.db"];function bFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?xFe(e.dataTransfer,e.type):wFe(e))];var n}))}))}function wFe(e){return(null!==e.target&&e.target.files?SFe(e.target.files):[]).map((function(e){return vFe(e)}))}function xFe(e,t){return Ra(this,void 0,void 0,(function(){var n;return La(this,(function(r){switch(r.label){case 0:return e.items?(n=SFe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(kFe))]):[3,2];case 1:return[2,_Fe(CFe(r.sent()))];case 2:return[2,_Fe(SFe(e.files).map((function(e){return vFe(e)})))]}}))}))}function _Fe(e){return e.filter((function(e){return-1===yFe.indexOf(e.name)}))}function SFe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function kFe(e){if("function"!=typeof e.webkitGetAsEntry)return EFe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?OFe(t):EFe(e)}function CFe(e){return e.reduce((function(e,t){return Ua(e,Array.isArray(t)?CFe(t):[t])}),[])}function EFe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=vFe(t);return Promise.resolve(n)}function IFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,e.isDirectory?OFe(e):TFe(e)]}))}))}function OFe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return Ra(o,void 0,void 0,(function(){var o,a,s;return La(this,(function(u){switch(u.label){case 0:if(t.length)return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=u.sent(),e(o),[3,4];case 3:return a=u.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(IFe)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function TFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=vFe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function NFe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function DFe(e,t,n){if(AFe(e.size)){if(AFe(t)&&AFe(n))return e.size>=t&&e.size<=n;if(AFe(t))return e.size>=t;if(AFe(n))return e.size<=n}return!0}function AFe(e){return null!=e}function PFe(e,t,n,r){return e.every((function(e){return NFe(e,t)&&DFe(e,n,r)}))}function MFe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function jFe(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 RFe(e){e.preventDefault()}function LFe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function FFe(e){return-1!==e.indexOf("Edge/")}function zFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return LFe(e)||FFe(e)}function BFe(){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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!MFe(e)&&t&&t.apply(void 0,[e].concat(r)),MFe(e)}))}}function UFe(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 qFe(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=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function VFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VFe(n,!0).forEach((function(t){HFe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WFe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var GFe=w((function(e,t){var n=e.children,r=QFe(WFe(e,["children"])),i=r.open,a=WFe(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(KFe({},a,{open:i})))}));GFe.displayName="Dropzone",GFe.propTypes={children:aW.func,accept:aW.oneOfType([aW.string,aW.arrayOf(aW.string)]),multiple:aW.bool,preventDropOnDocument:aW.bool,noClick:aW.bool,noKeyboard:aW.bool,noDrag:aW.bool,noDragEventsBubbling:aW.bool,minSize:aW.number,maxSize:aW.number,disabled:aW.bool,getFilesFromEvent:aW.func,onFileDialogCancel:aW.func,onDragEnter:aW.func,onDragLeave:aW.func,onDragOver:aW.func,onDrop:aW.func,onDropAccepted:aW.func,onDropRejected:aW.func};var YFe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function QFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?bFe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,S=e.onFileDialogCancel,k=e.preventDropOnDocument,C=void 0===k||k,E=e.noClick,I=void 0!==E&&E,O=e.noKeyboard,T=void 0!==O&&O,N=e.noDrag,D=void 0!==N&&N,A=e.noDragEventsBubbling,P=void 0!==A&&A,M=c(null),j=c(null),R=p($Fe,YFe),L=qFe(R,2),F=L[0],z=L[1],B=F.isFocused,U=F.isFileDialogActive,q=F.draggedFiles,V=f((function(){j.current&&(z({type:"openDialog"}),j.current.value=null,j.current.click())}),[z]),K=function(){U&&setTimeout((function(){j.current&&(j.current.files.length||(z({type:"closeDialog"}),"function"==typeof S&&S()))}),300)};l((function(){return window.addEventListener("focus",K,!1),function(){window.removeEventListener("focus",K,!1)}}),[j,U,S]);var H=f((function(e){M.current&&M.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),V()))}),[M,j]),W=f((function(){z({type:"focus"})}),[]),G=f((function(){z({type:"blur"})}),[]),Y=f((function(){I||(zFe()?setTimeout(V,0):V())}),[j,I]),Q=c([]),$=function(e){M.current&&M.current.contains(e.target)||(e.preventDefault(),Q.current=[])};l((function(){return C&&(document.addEventListener("dragover",RFe,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",RFe),document.removeEventListener("drop",$))}}),[M,C]);var Z=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(UFe(Q.current),[e.target])),jFe(e)&&Promise.resolve(o(e)).then((function(t){MFe(e)&&!P||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,P]),J=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return jFe(e)&&b&&b(e),!1}),[b,P]),X=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Q.current.filter((function(t){return t!==e.target&&M.current&&M.current.contains(t)}));Q.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),jFe(e)&&y&&y(e))}),[M,y,P]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),jFe(e)&&Promise.resolve(o(e)).then((function(n){if(!MFe(e)||P){var r=[],i=[];n.forEach((function(e){NFe(e,t)&&DFe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,UFe(r.splice(0))),z({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,P]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){P&&e.stopPropagation()},oe=u((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,u=e.onDragEnter,c=e.onDragOver,l=e.onDragLeave,d=e.onDrop,f=WFe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return KFe(HFe({onKeyDown:ne(BFe(i,H)),onFocus:ne(BFe(o,W)),onBlur:ne(BFe(a,G)),onClick:te(BFe(s,Y)),onDragEnter:re(BFe(u,Z)),onDragOver:re(BFe(c,J)),onDragLeave:re(BFe(l,X)),onDrop:re(BFe(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,Z,J,X,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=WFe(e,["refKey","onChange","onClick"]),s=HFe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(BFe(i,ee)),onClick:te(BFe(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return KFe({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&PFe(q,t,h,s),de=ue>0&&(!le||!ce);return KFe({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function $Fe(e,t){switch(t.type){case"focus":return KFe({},e,{isFocused:!0});case"blur":return KFe({},e,{isFocused:!1});case"openDialog":return KFe({},e,{isFileDialogActive:!0});case"closeDialog":return KFe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return KFe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return KFe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return KFe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var ZFe={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(0,0,(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,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.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}))}(ZFe);var JFe,XFe=ZFe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(JFe||(JFe={}));var eze={exports:{}},tze=Be(eze.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}t.default=c;var o=n(3),a=i(n(4)),s=n(14),u=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,l=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,S=e.textToHighlight,k=e.unhighlightClassName,C=void 0===k?"":k,E=e.unhighlightStyle,I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),O=(0,o.findAll)({autoEscape:l,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:S}),T=w,N=-1,D="",A=void 0,P=(0,u.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:p},I,{children:O.map((function(e,t){var r=S.substr(e.start,e.end-e.start);if(e.highlight){N++;var i=void 0;i="object"==typeof g?f?g[r]:(g=P(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),A=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:A};return"string"!=typeof T&&(u.highlightIndex=N),(0,s.createElement)(T,u)}return(0,s.createElement)("span",{children:r,className:C,key:t,style:E})}))}))}c.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(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.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,u=void 0===s?r:s,c=e.sanitize,l=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:u({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:l,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 r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var u=a.index,c=o.lastIndex;c>u&&e.push({start:u,end:c}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=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{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.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];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),u=n(12);e.exports=function(e,n){var c="function"==typeof Symbol&&Symbol.iterator,l="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<a.length;u++){var c=e(a,u,r,i,o+"["+u+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||l;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:l)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,i,o+"."+c,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},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."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var u=t[n],c=v(u);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var d in l){var f=e[d];if(!f)return new p("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(u,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function u(u,c,d,f,h,m,g){if(f=f||l,m=m||d,g!==s)if(n)i(!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=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?u?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=u,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},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,r,i,o,a,s,u){if(n(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,i,o,a,s,u],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=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,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(u[s[d]]=a[s[d]])}}return u}},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 r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,u,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var d;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",u||"React class",s,l,typeof e[l]),d=e[l](n,l,u,s,null,o)}catch(e){d=e}if(i(!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).",u||"React class",s,l,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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=r,n.PropTypes=n,n}},function(e,t){e.exports=o},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,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},u=function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return u}}])),nze={exports:{}},rze=(nze.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:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var Z,J,X,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 re(e){this._iterable=e,this.size=e.length||e.size}function ie(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():V(e)?new ie(e).fromEntrySeq():q(e)?new re(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 ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(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 le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}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(J)return J;J=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),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 T(e,t,n)?this:new be(this._value,D(t,n)-N(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,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(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 Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(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 rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){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[r]=i,new Ze(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(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 r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}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,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},Je.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Je(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.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,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(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 r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(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=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.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===M?P:M,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(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,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?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?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,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){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.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},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.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:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(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){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(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 jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.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)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(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)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.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)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){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}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(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 Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(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 mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(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,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},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(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,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(r,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Jn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(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=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!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,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,ize={createFromArray:function(e){return rze(e.map((function(e){return[e.getKey(),e]})))}},oze=ize;var aze=nze.exports,sze=aze.Map,uze=aze.OrderedSet,cze=aze.Record,lze=uze(),dze={style:lze,entity:null},fze=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return pze;var t=sze({style:lze,entity:null}).merge(e),n=hze.get(t);if(n)return n;var i=new r(t);return hze=hze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?uze(t):t,entity:Array.isArray(n)?uze(n):n})},r}(cze(dze)),pze=new fze,hze=sze([[sze(dze),pze]]);fze.EMPTY=pze;var mze=fze;var gze=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var vze=mze,yze=gze,bze=nze.exports,wze=bze.List,xze=bze.Map,_ze=bze.OrderedSet,Sze=bze.Record,kze=bze.Repeat,Cze=_ze(),Eze=Sze({key:"",type:"unstyled",text:"",characterList:wze(),depth:0,data:xze()}),Ize=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=wze(kze(vze.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Cze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){yze(this.getCharacterList(),Oze,e,t)},i.findEntityRanges=function(e,t){yze(this.getCharacterList(),Tze,e,t)},r}(Eze);function Oze(e,t){return e.getStyle()===t.getStyle()}function Tze(e,t){return e.getEntity()===t.getEntity()}var Nze=Ize;var Dze=mze,Aze=gze,Pze=nze.exports,Mze=Pze.List,jze=Pze.Map,Rze=Pze.OrderedSet,Lze=Pze.Record,Fze=Pze.Repeat,zze=Rze(),Bze={parent:null,characterList:Mze(),data:jze(),depth:0,key:"",text:"",type:"unstyled",children:Mze(),prevSibling:null,nextSibling:null},Uze=function(e,t){return e.getStyle()===t.getStyle()},qze=function(e,t){return e.getEntity()===t.getEntity()},Vze=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Mze(Fze(Dze.EMPTY,n.length))),e},Kze=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bze;return e.call(this,Vze(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():zze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){Aze(this.getCharacterList(),Uze,e,t)},i.findEntityRanges=function(e,t){Aze(this.getCharacterList(),qze,e,t)},r}(Lze(Bze)),Hze=Kze,Wze=mze,Gze=nze.exports.Map;function Yze(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),u=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Gze([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=u):(i=t===o?a:0,c=t===s?u:e.getLength());for(var l,d=e.getCharacterList();i<c;)l=d.get(i),d=d.set(i,r?Wze.applyStyle(l,n):Wze.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Qze={add:function(e,t,n){return Yze(e,t,n,!0)},remove:function(e,t,n){return Yze(e,t,n,!1)}},$ze=mze;var Zze=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,$ze.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Jze=nze.exports;var Xze=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(Jze.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return Zze(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},eBe={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<o.length;l++){if(e<(a=s+o[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var d=r+n.length,f=u===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:u!==r&&u--),{start:u,end:c}}},tBe="production"!==Es.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var nBe=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(tBe(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(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},rBe=nBe;var iBe=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"!==Es.env.NODE_ENV?rBe(!1,"Entity key not found in this range."):rBe(!1)),n},oBe=eBe,aBe=iBe,sBe=nBe;function uBe(e,t,n,r,i,o,a){var s=n.getStartOffset(),u=n.getEndOffset(),c=e.__get(i).getMutability(),l=a?s:u;if("MUTABLE"===c)return n;var d=aBe(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Es.env.NODE_ENV?sBe(!1,"There should only be one entity range within this removal range."):sBe(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?u=f.end:s=f.start);var p=oBe.getRemovalRange(s,u,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var cBe=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),u=n.getEntityAt(a-1);if(!s&&!u)return r;var c=r;if(s&&s===u)c=uBe(e,t,c,i,s,!0,!0);else if(s&&u){var l=uBe(e,t,c,i,s,!1,!0),d=uBe(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=uBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=uBe(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},lBe={},dBe=Math.pow(2,24);var fBe=function(){for(var e;void 0===e||lBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*dBe).toString(32);return lBe[e]=!0,e},pBe=Hze,hBe=fBe,mBe=nze.exports.OrderedMap,gBe=function(e){return e.first()instanceof pBe?function(e){var t,n={};return mBe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),u=r.getChildKeys(),c=r.getParentKey(),l=hBe();if(n[o]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),l))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);u.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([o,"children"],r.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 mBe(e.toArray().map((function(e){var t=hBe();return[t,e.set("key",t)]})))}(e)},vBe=mze,yBe=gze,bBe=nBe;function wBe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var u,c=function(e,t,n){var r;return yBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Es.env.NODE_ENV?bBe(!1,"Removal range must exist within character list."):bBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,vBe.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var xBe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=wBe(r,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),l=t.getEndOffset(),d=n.get(c);o===c&&(d=u);var f=wBe(r,d,l);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},_Be=gBe,SBe=xBe,kBe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=SBe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return _Be(a.slice(u,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var CBe=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},EBe=oze,IBe=Hze,OBe=CBe,TBe=nBe,NBe=gBe,DBe=nze.exports.List,ABe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),u=s.getText(),c=s.getCharacterList(),l=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();u&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:u.slice(0,o)+r.getText()+u.slice(o),characterList:OBe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:d,focusKey:l,focusOffset:d,isBackward:!1})})},PBe=function(e,t,n,r,i,o){var a=n.first()instanceof IBe,s=[],u=r.size,c=n.get(i),l=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.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,r)),r.slice(h?0:1,u-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,o,r))):s.push(e)}));var m=EBe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=u[u.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),d=l.indexOf(i)+1,f=l.toArray();f.splice.apply(f,[d,0].concat(u)),t.setIn([s,"children"],DBe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},MBe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Es.env.NODE_ENV?TBe(!1,"`insertFragment` should only be called with a collapsed selection state."):TBe(!1));var i=e.getBlockMap(),o=NBe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof IBe&&(u.getChildKeys().isEmpty()||("production"!==Es.env.NODE_ENV?TBe(!1,"`insertFragment` should not be called when a container node is selected."):TBe(!1))),1===o.size?ABe(e,t,i,o.first(),a,s,r):PBe(e,t,i,o,a,s)},jBe=CBe,RBe=nBe,LBe=nze.exports.Repeat;var FBe=function(e,t,n,r){t.isCollapsed()||("production"!==Es.env.NODE_ENV?RBe(!1,"`insertText` should only be called with a collapsed range."):RBe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=o.get(a),c=u.getText(),l=u.merge({text:c.slice(0,s)+n+c.slice(s,u.getLength()),characterList:jBe(u.getCharacterList(),LBe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},zBe=nze.exports.Map;var BBe=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(zBe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},UBe=Hze,qBe=function(e,t){if(!(e instanceof UBe))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},VBe=Hze,KBe=qBe,HBe=nze.exports;HBe.List;var WBe=HBe.Map,GBe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},YBe=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},QBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},$Be=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},ZBe=function(e,t,n,r){return e.withMutations((function(i){if(GBe(t.getKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})})),GBe(n.getKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})})),YBe(t.getKey(),r).forEach((function(e){return GBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),GBe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),GBe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r)})})),GBe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:$Be(e,i,r)})})),GBe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),YBe(n.getKey(),r).forEach((function(e){GBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=KBe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?KBe(i,t):null}return n}(n,r).forEach((function(e){return GBe(e,i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();GBe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),GBe(o,i,(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){GBe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);GBe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}GBe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},JBe=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 r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},XBe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.get(i),c=r.get(a),l=u instanceof VBe,d=[];if(l){var f=c.getChildKeys(),p=YBe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(YBe(KBe(c,r),r))}n=u===c?JBe(u.getCharacterList(),o,s):u.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=u.merge({text:u.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=l&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?WBe([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(WBe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return l&&u!==c&&(g=ZBe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},eUe=Hze,tUe=fBe,nUe=nze.exports,rUe=nBe,iUe=BBe,oUe=nUe.List,aUe=nUe.Map,sUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},uUe=function(e,t){t.isCollapsed()||("production"!==Es.env.NODE_ENV?rUe(!1,"Selection range must be collapsed."):rUe(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return iUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=tUe(),l=i instanceof eUe,d=i.merge({text:o.slice(0,s),characterList:u.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:u.slice(s),data:aUe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return l&&(i.getChildKeys().isEmpty()||("production"!==Es.env.NODE_ENV?rUe(!1,"ContentBlockNode must not have children"):rUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();sUe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:oUe(o)})})),sUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),sUe(r,e,(function(e){return e.merge({nextSibling:i})})),sUe(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},cUe=mze,lUe=Qze,dUe=Xze,fUe=cBe,pUe=kBe,hUe=MBe,mUe=FBe,gUe=nBe,vUe=BBe,yUe=xBe,bUe=XBe,wUe=uUe,xUe=nze.exports.OrderedSet,_Ue={replaceText:function(e,t,n,r,i){var o=yUe(e,t),a=bUe(o,t),s=cUe.create({style:r||xUe(),entity:i||null});return mUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Es.env.NODE_ENV?gUe(!1,"Target range must be collapsed for `insertText`."):gUe(!1)),_Ue.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=pUe(e,t),i=_Ue.removeRange(e,t,"backward");return _Ue.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=yUe(e,t),o=bUe(i,t);return hUe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),u=t.getEndOffset(),c=o.getEntityAt(s),l=a.getEntityAt(u-1);if(r===i&&c&&c===l){var d=fUe(e.getEntityMap(),o,a,t,n);return bUe(e,d)}var f=yUe(e,t);return bUe(f,t)},splitBlock:function(e,t){var n=yUe(e,t),r=bUe(n,t);return wUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return lUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return lUe.remove(e,t,n)},setBlockType:function(e,t,n){return vUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return vUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return vUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=yUe(e,t);return dUe(r,t,n)}},SUe=_Ue;var kUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function CUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EUe=gze,IUe=kUe,OUe=nze.exports,TUe=OUe.List,NUe=OUe.Repeat,DUe=OUe.Record,AUe=function(){return!0},PUe=DUe({start:null,end:null}),MUe=DUe({start:null,end:null,decoratorKey:null,leaves:null}),jUe={generate:function(e,t,n){var r=t.getLength();if(!r)return TUe.of(new MUe({start:0,end:0,decoratorKey:null,leaves:TUe.of(new PUe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):TUe(NUe(null,r)),a=t.getCharacterList();return EUe(o,LUe,AUe,(function(e,t){i.push(new MUe({start:e,end:t,decoratorKey:o.get(e),leaves:RUe(a.slice(e,t).toList(),e)}))})),TUe(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new MUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){CUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?TUe(Array.isArray(t)?t:IUe(t)).map((function(e){return PUe(e)})):null}))}};function RUe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return EUe(r,LUe,AUe,(function(e,r){n.push(new PUe({start:e+t,end:r+t}))})),TUe(n)}function LUe(e,t){return e===t}var FUe=jUe;var zUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,nze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),BUe=zUe;var UUe=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 qUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VUe=BUe,KUe=nBe,HUe=UUe,WUe=(0,nze.exports.Map)(),GUe=HUe();function YUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var QUe={getLastCreatedEntityKey:function(){return YUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),QUe.__getLastCreatedEntityKey()},create:function(e,t,n){return YUe("DraftEntity.create","contentState.createEntity"),QUe.__create(e,t,n)},add:function(e){return YUe("DraftEntity.add","contentState.addEntity"),QUe.__add(e)},get:function(e){return YUe("DraftEntity.get","contentState.getEntity"),QUe.__get(e)},__getAll:function(){return WUe},__loadWithEntities:function(e){WUe=e,GUe=HUe()},mergeData:function(e,t){return YUe("DraftEntity.mergeData","contentState.mergeEntityData"),QUe.__mergeData(e,t)},replaceData:function(e,t){return YUe("DraftEntity.replaceData","contentState.replaceEntityData"),QUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return GUe},__create:function(e,t,n){return QUe.__add(new VUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return GUe=HUe(),WUe=WUe.set(GUe,e),GUe},__get:function(e){var t=WUe.get(e);return t||("production"!==Es.env.NODE_ENV?KUe(!1,"Unknown DraftEntity key: %s.",e):KUe(!1)),t},__mergeData:function(e,t){var n=QUe.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qUe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return WUe=WUe.set(e,i),i},__replaceData:function(e,t){var n=QUe.__get(e).set("data",t);return WUe=WUe.set(e,n),n}},$Ue=QUe;var ZUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,nze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),JUe=ZUe,XUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},eqe=new RegExp("\r","g");var tqe=function(e){return e.replace(eqe,"")};function nqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rqe(e,t,n[t])}))}return e}function rqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iqe=oze,oqe=mze,aqe=Nze,sqe=Hze,uqe=$Ue,cqe=JUe,lqe=fBe,dqe=kUe,fqe=XUe,pqe=nze.exports,hqe=tqe,mqe=pqe.List,gqe=pqe.Record,vqe=pqe.Repeat,yqe=pqe.Map,bqe=pqe.OrderedMap,wqe=gqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),xqe=fqe("draft_tree_data_support")?sqe:aqe,_qe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return uqe},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return uqe.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return uqe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return uqe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return uqe.__replaceData(e,t),this},i.addEntity=function(e){return uqe.__add(e),this},i.getEntity=function(e){return uqe.__get(e)},i.getAllEntities=function(){return uqe.__getAll()},i.loadWithEntities=function(e){return uqe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=iqe.createFromArray(n),o=i.isEmpty()?new cqe:cqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||uqe,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=hqe(e),new xqe({key:lqe(),text:e,type:"unstyled",characterList:mqe(vqe(oqe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(nqe({},e,{blockMap:bqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new cqe(e.selectionBefore),selectionAfter:new cqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new xqe(nqe({},e,{data:yqe(e.data),characterList:null!=t?mqe((Array.isArray(t)?t:dqe(t)).map((function(e){return oqe.fromJS(e)}))):void 0}))},r}(wqe),Sqe=_qe,kqe=nBe,Cqe=null;function Eqe(e){return"LTR"===e||"RTL"===e}function Iqe(e){return Eqe(e)||("production"!==Es.env.NODE_ENV?kqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),"LTR"===e?"ltr":"rtl"}function Oqe(e){Cqe=e}var Tqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:Eqe,getHTMLDir:Iqe,getHTMLDirIfDifferent:function(e,t){return Eqe(e)||("production"!==Es.env.NODE_ENV?kqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),Eqe(t)||("production"!==Es.env.NODE_ENV?kqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),e===t?null:Iqe(e)},setGlobalDir:Oqe,initGlobalDir:function(){Oqe("LTR")},getGlobalDir:function(){return Cqe||this.initGlobalDir(),Cqe||("production"!==Es.env.NODE_ENV?kqe(!1,"Global direction not set."):kqe(!1)),Cqe}},Nqe=Tqe,Dqe=nBe,Aqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",Pqe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Mqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Aqe+Pqe+"]"),jqe=new RegExp("["+Aqe+Pqe+"]");function Rqe(e){var t=Mqe.exec(e);return null==t?null:t[0]}function Lqe(e){var t=Rqe(e);return null==t?Nqe.NEUTRAL:jqe.exec(t)?Nqe.RTL:Nqe.LTR}function Fqe(e,t){if(t=t||Nqe.NEUTRAL,!e.length)return t;var n=Lqe(e);return n===Nqe.NEUTRAL?t:n}function zqe(e,t){return t||(t=Nqe.getGlobalDir()),Nqe.isStrong(t)||("production"!==Es.env.NODE_ENV?Dqe(!1,"Fallback direction must be a strong direction"):Dqe(!1)),Fqe(e,t)}var Bqe={firstStrongChar:Rqe,firstStrongCharDir:Lqe,resolveBlockDir:Fqe,getDirection:zqe,isDirectionLTR:function(e,t){return zqe(e,t)===Nqe.LTR},isDirectionRTL:function(e,t){return zqe(e,t)===Nqe.RTL}};function Uqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qqe,Vqe=Bqe,Kqe=Tqe,Hqe=nBe,Wqe=function(){function e(e){Uqe(this,"_defaultDir",void 0),Uqe(this,"_lastDir",void 0),e?Kqe.isStrong(e)||("production"!==Es.env.NODE_ENV?Hqe(!1,"Default direction must be a strong direction (LTR or RTL)"):Hqe(!1)):e=Kqe.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=Vqe.getDirection(e,this._lastDir),this._lastDir},e}(),Gqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Yqe=Wqe,Qqe=nze.exports,$qe=Gqe,Zqe=Qqe.OrderedMap,Jqe={getDirectionMap:function(e,t){qqe?qqe.reset():qqe=new Yqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return $qe(qqe).getDirection(e.getText())})),i=Zqe(n.keySeq().zip(r));return null!=t&&Qqe.is(t,i)?t:i}};function Xqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eVe(e,t,n[t])}))}return e}function eVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tVe=FUe,nVe=Sqe,rVe=Jqe,iVe=JUe,oVe=nze.exports,aVe=oVe.OrderedSet,sVe=oVe.Record,uVe=oVe.Stack,cVe=oVe.OrderedMap,lVe=oVe.List,dVe=sVe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:uVe(),selection:null,treeMap:null,undoStack:uVe()}),fVe=function(){t.createEmpty=function(e){return t.createWithContent(nVe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:uVe(),redoStack:uVe(),decorator:n||null,selection:iVe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=Xqe({},e,{treeMap:hVe(n,e.decorator),directionMap:rVe.getDirectionMap(n)});return new t(new dVe(r))},t.fromJS=function(e){return new t(new dVe(Xqe({},e,{directionMap:null!=e.directionMap?cVe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?aVe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?nVe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?uVe(e.redoStack.map((function(e){return nVe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new iVe(e.selection):e.selection,treeMap:null!=e.treeMap?cVe(e.treeMap).map((function(e){return lVe(e).map((function(e){return tVe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?uVe(e.undoStack.map((function(e){return nVe.fromJS(e)}))):e.undoStack,currentContent:nVe.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return tVe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):hVe(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return tVe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){eVe(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(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return gVe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return gVe(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 pVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),pVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new iVe({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=rVe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),u=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||mVe(e,r)?(u=u.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(l=null);var f={currentContent:c,directionMap:o,undoStack:u,redoStack:uVe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:l};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=rVe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=rVe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function pVe(e,t,n){return fVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function hVe(e,t){return e.getBlockMap().map((function(n){return tVe.generate(e,n,t)})).toOrderedMap()}function mVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function gVe(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):aVe()}var vVe=fVe,yVe=Hze,bVe=qBe,wVe=nze.exports,xVe=nBe,_Ve=wVe.OrderedMap,SVe=wVe.List,kVe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},CVe=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),u=t.getParentKey(),c=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){kVe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),kVe(l,e,(function(e){return e.merge({nextSibling:c})})),kVe(c,e,(function(e){return e.merge({prevSibling:l})})),kVe(f,e,(function(e){return e.merge({prevSibling:a})})),kVe(p,e,(function(e){return e.merge({nextSibling:a})})),kVe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:SVe(i)})})),kVe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},EVe=function(e,t,n,r){"replace"===r&&("production"!==Es.env.NODE_ENV?xVe(!1,"Replacing blocks is not supported."):xVe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1));var a=e.getBlockMap(),s=t instanceof yVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=bVe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){u.push(t),e.delete(t.getKey())}))})));var l=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=u.map((function(e){return[e.getKey(),e]})),p=_Ve();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:CVe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function IVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){OVe(e,t,n[t])}))}return e}function OVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TVe=oze,NVe=mze,DVe=Nze,AVe=Hze,PVe=SUe,MVe=vVe,jVe=fBe,RVe=nze.exports,LVe=EVe,FVe=XUe("draft_tree_data_support"),zVe=FVe?AVe:DVe,BVe=RVe.List,UVe=RVe.Repeat,qVe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=PVe.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=PVe.splitBlock(o,a),u=s.getSelectionAfter(),c=PVe.setBlockType(s,u,"atomic"),l=NVe.create({entity:t}),d={key:jVe(),type:"atomic",text:n,characterList:BVe(UVe(l,n.length))},f={key:jVe(),type:"unstyled"};FVe&&(d=IVe({},d,{nextSibling:f.key}),f=IVe({},f,{prevSibling:d.key}));var p=[new zVe(d),new zVe(f)],h=TVe.createFromArray(p),m=PVe.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return MVe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=LVe(o,t,s,r)}else{var u=PVe.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=LVe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=LVe(u,t,l,"after");else{var d=PVe.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=LVe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return MVe.push(e,h,"move-block")}};var VVe=nze.exports.List,KVe=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(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),VVe(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 HVe=KVe;function WVe(e){return e.replace(/\//g,"-")}var GVe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(WVe).join(" "):Array.prototype.map.call(arguments,WVe).join(" ")},YVe=o,QVe=GVe,$Ve=(0,nze.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:YVe.createElement("ul",{className:QVe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:YVe.createElement("ol",{className:QVe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:YVe.createElement("pre",{className:QVe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),ZVe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},JVe={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",u="model",c="name",l="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",S="BlackBerry",k="Firefox",C="Google",E="Huawei",I="LG",O="Microsoft",T="Motorola",N="Opera",D="Samsung",A="Sony",P="Xiaomi",M="Zebra",j="Facebook",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=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,u,c,l,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)l=c[++o],typeof(u=p[s])===a&&u.length>0?2===u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3===u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):r:this[u[0]]=l?u[1].call(this,l,u[2]):r:4===u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):r):this[u]=l||r;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},q={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,U,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,F]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,F]]],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],[u,[d,D],[l,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[d,D],[l,m]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[d,x],[l,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[d,x],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[d,E],[l,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[u,[d,E],[l,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[d,"OPPO"],[l,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[d,"Vivo"],[l,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[d,"Realme"],[l,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[d,T],[l,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[d,T],[l,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[d,I],[l,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[d,I],[l,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[d,"Lenovo"],[l,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[d,"Nokia"],[l,m]],[/(pixel c)\b/i],[u,[d,C],[l,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[d,C],[l,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[d,A],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,A],[l,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[d,"OnePlus"],[l,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[d,w],[l,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[d,w],[l,m]],[/(playbook);[-\w\),; ]+(rim)/i],[u,d,[l,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[d,S],[l,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[d,_],[l,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[d,_],[l,m]],[/(nexus 9)/i],[u,[d,"HTC"],[l,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[u,/_/g," "],[l,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[d,"Acer"],[l,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[d,"Meizu"],[l,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[d,"Sharp"],[l,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,u,[l,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,u,[l,g]],[/(surface duo)/i],[u,[d,O],[l,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[d,"Fairphone"],[l,m]],[/(u304aa)/i],[u,[d,"AT&T"],[l,m]],[/\bsie-(\w*)/i],[u,[d,"Siemens"],[l,m]],[/\b(rct\w+) b/i],[u,[d,"RCA"],[l,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[d,"Dell"],[l,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[d,"Verizon"],[l,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[d,"Barnes & Noble"],[l,g]],[/\b(tm\d{3}\w+) b/i],[u,[d,"NuVision"],[l,g]],[/\b(k88) b/i],[u,[d,"ZTE"],[l,g]],[/\b(nx\d{3}j) b/i],[u,[d,"ZTE"],[l,m]],[/\b(gen\d{3}) b.+49h/i],[u,[d,"Swiss"],[l,m]],[/\b(zur\d{3}) b/i],[u,[d,"Swiss"],[l,g]],[/\b((zeki)?tb.*\b) b/i],[u,[d,"Zeki"],[l,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],u,[l,g]],[/\b(ns-?\w{0,9}) b/i],[u,[d,"Insignia"],[l,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[d,"NextBook"],[l,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],u,[l,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],u,[l,m]],[/\b(ph-1) /i],[u,[d,"Essential"],[l,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[d,"Envizen"],[l,g]],[/\b(trio[-\w\. ]+) b/i],[u,[d,"MachSpeed"],[l,g]],[/\btu_(1491) b/i],[u,[d,"Rotor"],[l,g]],[/(shield[\w ]+) b/i],[u,[d,"Nvidia"],[l,g]],[/(sprint) (\w+)/i],[d,u,[l,m]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[d,O],[l,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[d,M],[l,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[d,M],[l,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,u,[l,h]],[/droid.+; (shield) bui/i],[u,[d,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[u,[d,A],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[d,O],[l,h]],[/smart-tv.+(samsung)/i],[d,[l,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[d,D],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,I],[l,v]],[/(apple) ?tv/i],[d,[u,"Apple TV"],[l,v]],[/crkey/i],[[u,"Chromecast"],[d,C],[l,v]],[/droid.+aft(\w)( bui|\))/i],[u,[d,w],[l,v]],[/\(dtv[\);].+(aquos)/i],[u,[d,"Sharp"],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[u,z],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[d,u,[l,y]],[/droid.+; (glass) \d/i],[u,[d,C],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[u,[d,M],[l,y]],[/(quest( 2)?)/i],[u,[d,j],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[l,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[l,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[l,m]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,U,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,U,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},K=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof K))return new K(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),u=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(V,t):V;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,B.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,B.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(i),this};K.VERSION="0.7.31",K.BROWSER=R([c,f,"major"]),K.CPU=R([p]),K.DEVICE=R([u,d,l,h,m,v,g,y,b]),K.ENGINE=K.OS=R([c,f]),e.exports&&(t=e.exports=K),t.UAParser=K;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var W=new K;H.ua=W.getResult(),H.ua.get=function(){return W.getUA()},H.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:ze)}(JVe,JVe.exports);var XVe="Unknown",eKe={"Mac OS":"Mac OS X"};var tKe=(new(0,JVe.exports)).getResult(),nKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(tKe.browser.version),rKe={browserArchitecture:tKe.cpu.architecture||XVe,browserFullVersion:tKe.browser.version||XVe,browserMinorVersion:nKe.minor||XVe,browserName:tKe.browser.name||XVe,browserVersion:tKe.browser.major||XVe,deviceName:tKe.device.model||XVe,engineName:tKe.engine.name||XVe,engineVersion:tKe.engine.version||XVe,platformArchitecture:tKe.cpu.architecture||XVe,platformName:function(e){return eKe[e]||e}(tKe.os.name)||XVe,platformVersion:tKe.os.version||XVe,platformFullVersion:tKe.os.version||XVe},iKe=rKe,oKe=nBe,aKe=/\./,sKe=/\|\|/,uKe=/\s+\-\s+/,cKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lKe=/^(\d*)(.*)/;function dKe(e,t){var n=e.split(sKe);return n.length>1?n.some((function(e){return _Ke.contains(e,t)})):function(e,t){var n=e.split(uKe);if(n.length>0&&n.length<=2||("production"!==Es.env.NODE_ENV?oKe(!1,'the "-" operator expects exactly 2 operands'):oKe(!1)),1===n.length)return fKe(n[0],t);var r=n[0],i=n[1];return vKe(r)&&vKe(i)||("production"!==Es.env.NODE_ENV?oKe(!1,'operands to the "-" operator must be simple (no modifiers)'):oKe(!1)),fKe(">="+r,t)&&fKe("<="+i,t)}(e=n[0].trim(),t)}function fKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(aKe),r=mKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return pKe(n,o);case"<=":return function(e,t){var n=xKe(e,t);return-1===n||0===n}(n,o);case">=":return hKe(n,o);case">":return function(e,t){return 1===xKe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);gKe(o)&&(r[i]=o+1+"");return hKe(e,n)&&pKe(e,r)}(n,o);default:return function(e,t){return 0===xKe(e,t)}(n,o)}}function pKe(e,t){return-1===xKe(e,t)}function hKe(e,t){var n=xKe(e,t);return 1===n||0===n}function mKe(e){var t=e.split(aKe),n=t[0].match(cKe);return n||("production"!==Es.env.NODE_ENV?oKe(!1,"expected regex to match but it did not"):oKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function gKe(e){return!isNaN(e)&&isFinite(e)}function vKe(e){return!mKe(e).modifier}function yKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function bKe(e,t){var n=e.match(lKe)[1],r=t.match(lKe)[1],i=parseInt(n,10),o=parseInt(r,10);return gKe(i)&&gKe(o)&&i!==o?wKe(i,o):wKe(e,t)}function wKe(e,t){return typeof e!=typeof t&&("production"!==Es.env.NODE_ENV?oKe(!1,'"a" and "b" must be of the same type'):oKe(!1)),e>t?1:e<t?-1:0}function xKe(e,t){for(var n=function(e,t){yKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return yKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=bKe(r[o],i[o]);if(a)return a}return 0}var _Ke={contains:function(e,t){return dKe(e.trim(),t.trim())}},SKe=_Ke,kKe=Object.prototype.hasOwnProperty;var CKe=function(e,t,n){if(!e)return null;var r={};for(var i in e)kKe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var EKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},IKe=iKe,OKe=SKe;function TKe(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,OKe.contains(i,t))}function NKe(e){return"Windows"===IKe.platformName?e.replace(/^\s*NT/,""):e}var DKe=CKe({isBrowser:function(e){return TKe(IKe.browserName,IKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return TKe(IKe.browserArchitecture,null,e)},isDevice:function(e){return TKe(IKe.deviceName,null,e)},isEngine:function(e){return TKe(IKe.engineName,IKe.engineVersion,e)},isPlatform:function(e){return TKe(IKe.platformName,IKe.platformFullVersion,e,NKe)},isPlatformArchitecture:function(e){return TKe(IKe.platformArchitecture,null,e)}},EKe);var AKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var PKe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},MKe=PKe;var jKe=function e(t){if(MKe(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},RKe=AKe,LKe=jKe;var FKe=function(e){for(var t=e;t&&t!==RKe(e).documentElement;){var n=LKe(t);if(null!=n)return n;t=t.parentNode}return null};var zKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function BKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UKe=DKe,qKe=FKe,VKe=zKe,KKe=nBe,HKe=Gqe,WKe=nze.exports.Map,GKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},YKe=UKe.isBrowser("IE <= 11"),QKe=function(){function e(e){var t=this;BKe(this,"observer",void 0),BKe(this,"container",void 0),BKe(this,"mutations",void 0),BKe(this,"onCharData",void 0),this.container=e,this.mutations=WKe();var n=VKe(e);n.MutationObserver&&!YKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Es.env.NODE_ENV?KKe(!1,"Expected target to be an instance of Node"):KKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,GKe):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=WKe(),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,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return YKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=HKe(qKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),$Ke={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},ZKe={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},JKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var XKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},eHe=nBe,tHe=XKe;var nHe=function(e){var t=e.editorContainer;return t||("production"!==Es.env.NODE_ENV?eHe(!1,"Missing editorNode"):eHe(!1)),tHe(t.firstChild)||("production"!==Es.env.NODE_ENV?eHe(!1,"editorNode.firstChild is not an HTMLElement"):eHe(!1)),t.firstChild},rHe=$Ke,iHe=Gqe;var oHe=function(e,t,n,r,i){var o=iHe(e.getSelection());if(!t||!r)return"production"!==Es.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=rHe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=rHe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Es.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},aHe=FKe,sHe=jKe,uHe=oHe,cHe=nBe,lHe=PKe,dHe=Gqe;function fHe(e,t,n){var r=t,i=aHe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Es.env.NODE_ENV?cHe(!1,"Unknown node in selection range."):cHe(!1)),e===r)&&(r=r.firstChild,lHe(r)||("production"!==Es.env.NODE_ENV?cHe(!1,"Invalid DraftEditorContents node."):cHe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Es.env.NODE_ENV?cHe(!1,"Invalid DraftEditorContents structure."):cHe(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(lHe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||sHe(e.firstChild));)e=e.firstChild;return e}(r);o=dHe(sHe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if(sHe(s)){var l=function(e){for(;e.lastChild&&(lHe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||sHe(e.lastChild));)e=e.lastChild;return e}(s);u=dHe(sHe(l)),c=pHe(l)}else u=dHe(i),c=pHe(s);return{key:u,offset:c}}function pHe(e){var t=e.textContent;return"\n"===t?0:t.length}var hHe=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:uHe(e,dHe(aHe(n)),r,dHe(aHe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:dHe(aHe(n)),offset:r},c=fHe(t,i,o)):s?(c={key:dHe(aHe(i)),offset:o},u=fHe(t,n,r)):(u=fHe(t,n,r),c=fHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:uHe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},mHe=hHe;var gHe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:mHe(e,t,r,i,o,a)},vHe=JKe,yHe=vVe,bHe=nHe,wHe=gHe;var xHe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();vHe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=wHe(n,bHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?yHe.forceSelection(n,i):yHe.acceptSelection(n,i),e.update(n))}};var _He={notEmptyKey:function(e){return null!=e&&""!=e}},SHe=_He.notEmptyKey;function kHe(e,t){return SHe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var CHe=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:kHe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),kHe(e.getEntityMap(),n)},EHe=QKe,IHe=SUe,OHe=$Ke,THe=vVe,NHe=ZKe,DHe=nHe,AHe=gHe,PHe=CHe,MHe=Gqe,jHe=!1,RHe=!1,LHe=null;var FHe={onCompositionStart:function(e){RHe=!0,function(e){LHe||(LHe=new EHe(DHe(e))).start()}(e)},onCompositionEnd:function(e){jHe=!1,RHe=!1,setTimeout((function(){jHe||FHe.resolveComposition(e)}),20)},onSelect:xHe,onKeyDown:function(e,t){if(!RHe)return FHe.resolveComposition(e),void e._onKeyDown(t);t.which!==NHe.RIGHT&&t.which!==NHe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===NHe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!RHe){var t=MHe(LHe).stopAndFlushMutations();LHe=null,jHe=!0;var n=THe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=OHe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,u=n.getBlockTree(o).getIn([a,"leaves",s]),c=u.start,l=u.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:l,isBackward:!1}),f=PHe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=IHe.replaceText(r,d,e,p,f),n=THe.set(n,{currentContent:r})}));var i=AHe(n,DHe(e)).selectionState;e.restoreEditorDOM();var o=THe.acceptSelection(n,i);e.update(THe.push(o,r,"insert-characters"))}else e.update(n)}}},zHe=FHe,BHe=KH;function UHe(){return UHe=BHe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UHe.apply(this,arguments)}var qHe=$Ke,VHe=o,KHe=Bqe,HHe=Tqe,WHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,u=e.text,c=t.getKey(),l=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=qHe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=HHe.getHTMLDirIfDifferent(KHe.getDirection(h),a);return VHe.createElement(d,UHe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(VHe.Component),GHe=WHe;function YHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $He=o,ZHe=nBe,JHe=PKe,XHe=DKe.isBrowser("IE <= 11");var eWe=function(e){var t,n;function r(t){var n;return QHe(YHe(n=e.call(this,t)||this),"_forceFlag",void 0),QHe(YHe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;JHe(t)||("production"!==Es.env.NODE_ENV?ZHe(!1,"node is not an Element"):ZHe(!1));var r=t;return n?!function(e){return XHe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},XHe?$He.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):$He.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return XHe?$He.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):$He.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):$He.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}($He.Component),tWe=eWe,nWe=PKe;var rWe=function(e){return!(!e||!e.ownerDocument)&&(nWe(e)&&"BR"===e.nodeName)};var iWe=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 oWe=function(e){return iWe(e)&&3==e.nodeType};var aWe=function e(t,n){return!(!t||!n)&&(t===n||!oWe(t)&&(oWe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var sWe=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}},uWe=JKe,cWe=aWe,lWe=sWe,dWe=AKe,fWe=nBe,pWe=PKe,hWe=DKe.isBrowser("IE");function mWe(e,t){if(!e)return"[empty]";var n=gWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(pWe(n)||("production"!==Es.env.NODE_ENV?fWe(!1,"Node must be an Element if it is not a text node."):fWe(!1)),n.outerHTML)}function gWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return dWe(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(gWe(o[a],t));return i}function vWe(e,t){for(var n=e,r=n;n;){if(pWe(n)&&r.hasAttribute("contenteditable"))return mWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function yWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function bWe(e,t,n,r){var i=lWe();if(e.extend&&null!=t&&cWe(i,t)){n>yWe(t)&&uWe.logSelectionStateFailure({anonymizedDom:vWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw uWe.logSelectionStateFailure({anonymizedDom:vWe(t,(function(t){var n=[];return t===i&&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:i?i.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(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function wWe(e,t,n,r){var i=dWe(t).createRange();if(n>yWe(t)&&uWe.logSelectionStateFailure({anonymizedDom:vWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),hWe)try{e.addRange(i)}catch(e){"production"!==Es.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var xWe=function(e,t,n,r,i){var o=dWe(t);if(cWe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),u=e.getAnchorOffset(),c=e.getFocusKey(),l=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=u;s=c,u=l,c=f,l=p,d=!1}var h=s===n&&r<=u&&i>=u,m=c===n&&r<=l&&i>=l;if(h&&m)return a.removeAllRanges(),wWe(a,t,u-r,e),void bWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),wWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),wWe(a,t,u-r,e),bWe(a,g,v,e)}}else h&&(a.removeAllRanges(),wWe(a,t,u-r,e)),m&&bWe(a,t,l-r,e)}},_We=KH;function SWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var CWe=tWe,EWe=o,IWe=nBe,OWe=rWe,TWe=xWe,NWe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return kWe(SWe(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing node"):IWe(!1));var u,c=s.firstChild;c||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing child"):IWe(!1)),c.nodeType===Node.TEXT_NODE?u=c:OWe(c)?u=s:(u=c.firstChild)||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing targetNode"):IWe(!1)),TWe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing leafNode"):IWe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,u=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),_We(e,r,n)}),{});if(o){var c=o(s,t);u=_We(u,c)}return EWe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},EWe.createElement(CWe,null,n))},r}(EWe.Component),DWe=NWe;var AWe=GHe,PWe=DWe,MWe=$Ke,jWe=o,RWe=GVe;nze.exports.List;var LWe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,u=e.hasSelection,c=e.selection,l=e.tree,d=t.getKey(),f=t.getText(),p=l.size-1,h=this.props.children||l.map((function(e,l){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=MWe.encode(d,l,n),a=e.get("start"),m=e.get("end");return jWe.createElement(PWe,{key:o,offsetKey:o,block:t,start:a,selection:u?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?jWe.createElement(AWe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return jWe.createElement("div",{"data-offset-key":MWe.encode(d,0,0),className:RWe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(jWe.Component),FWe=LWe;function zWe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var BWe={getTop:function(e){var t=e.ownerDocument;return zWe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;zWe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return zWe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;zWe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},UWe=BWe,qWe=/-(.)/g;var VWe=/([A-Z])/g;var KWe=function(e){return e.replace(qWe,(function(e,t){return t.toUpperCase()}))},HWe=function(e){return e.replace(VWe,"-$1").toLowerCase()};function WWe(e){return null==e?e:String(e)}var GWe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return WWe(n.getPropertyValue(HWe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return WWe(n.getPropertyValue(HWe(t)));if("display"===t)return"none"}return e.currentStyle?WWe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[KWe(t)]):WWe(e.style&&e.style[KWe(t)])};function YWe(e,t){var n=QWe.get(e,t);return"auto"===n||"scroll"===n}var QWe={get:GWe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(YWe(e,"overflow")||YWe(e,"overflowY")||YWe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},$We=QWe,ZWe=aWe;var JWe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ZWe(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 XWe=function(e){var t=JWe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},eGe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var tGe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:eGe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var nGe=tGe,rGe=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 iGe=function(e){var t=nGe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=rGe(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function oGe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function aGe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function sGe(){return{width:window.innerWidth||oGe(),height:window.innerHeight||aGe()}}sGe.withoutScrollbars=function(){return{width:oGe(),height:aGe()}};var uGe=sGe,cGe=KH;function lGe(){return lGe=cGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lGe.apply(this,arguments)}function dGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pGe(e,t,n[t])}))}return e}function pGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hGe=FWe,mGe=$Ke,gGe=o,vGe=UWe,yGe=$We,bGe=XWe,wGe=iGe,xGe=uGe,_Ge=nBe,SGe=XKe;nze.exports.List;var kGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},CGe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},EGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},IGe=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=fGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},OGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return pGe(dGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",gGe.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||kGe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.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 r,i=yGe.getScrollParent(n),o=wGe(i);if(i===window){var a=bGe(n);(r=a.y+a.height-xGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{SGe(n)||("production"!==Es.env.NODE_ENV?_Ge(!1,"blockNode is not an HTMLElement"):_Ge(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&vGe.setTop(i,vGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,u=t.decorator,c=t.editorKey,l=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var u=mGe.encode(n,0,0),d=s.getBlockForKey(n),f=EGe(d,o),p=f.CustomComponent||r,h=CGe(d,i),m=h.Element,g=h.wrapperTemplate,v=IGe(d,c,u,a,f,null),y=fGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(gGe.createElement(m,v,gGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var l=r.reverse(),d=l[0].key;n.push(gGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":mGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=mGe.encode(y,0,0),w=EGe(n,o),x=w.CustomComponent,_=null!=x?gGe.createElement(x,lGe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):gGe.createElement(hGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:kGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=CGe(n,i).Element,k=IGe(n,c,b,a,w,this.wrapperRef);return gGe.createElement(S,k,_)},r}(gGe.Component),TGe=KH;function NGe(){return NGe=TGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NGe.apply(this,arguments)}var DGe=OGe,AGe=$Ke,PGe=o,MGe=Gqe,jGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.textDirectionality,c=a.getCurrentContent(),l=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=MGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:l,block:m,direction:u||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:PGe.createElement(DGe,NGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:AGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var S=[];do{S.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=PGe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return PGe.createElement("div",{"data-contents":"true"},w)},r}(PGe.Component),RGe=jGe,LGe=KH;function FGe(){return FGe=LGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FGe.apply(this,arguments)}function zGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UGe=DWe,qGe=$Ke,VGe=o,KGe=UWe,HGe=$We,WGe=Bqe,GGe=Tqe,YGe=GVe,QGe=XWe,$Ge=iGe,ZGe=uGe,JGe=nBe,XGe=XKe,eYe=Gqe,tYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nYe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return BGe(zGe(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||tYe(e.selection,e.block.getKey())&&e.forceSelection},i.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 r,i=HGe.getScrollParent(n),o=$Ge(i);if(i===window){var a=QGe(n);(r=a.y+a.height-ZGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{XGe(n)||("production"!==Es.env.NODE_ENV?JGe(!1,"blockNode is not an HTMLElement"):JGe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&KGe.setTop(i,KGe.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=tYe(this.props.selection,n);return this.props.tree.map((function(a,s){var u=a.get("leaves");if(0===u.size)return null;var c=u.size-1,l=u.map((function(a,u){var l=qGe.encode(n,s,u),d=a.get("start"),f=a.get("end");return VGe.createElement(UGe,{key:l,offsetKey:l,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&u===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return l;if(!e.props.decorator)return l;var f=eYe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=qGe.encode(n,s,0),g=u.first().get("start"),v=u.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=GGe.getHTMLDirIfDifferent(WGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return VGe.createElement(p,FGe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=YGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return VGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(VGe.Component),rYe=nYe;var iYe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},oYe=KH;function aYe(){return aYe=oYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aYe.apply(this,arguments)}function sYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){uYe(e,t,n[t])}))}return e}function uYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cYe=rYe,lYe=$Ke,dYe=o,fYe=GVe,pYe=iYe,hYe=Gqe,mYe=function(e,t,n,r){return fYe({"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"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},gYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.preventScroll,c=e.textDirectionality,l=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=hYe(a.getDirectionMap()),m=l.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),S=n(w),k=void 0,C=void 0,E=void 0;S&&(k=S.component,C=S.props,E=S.editable);var I=c||h.get(x),O=lYe.encode(x,0,0),T={contentState:l,block:w,blockProps:C,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:I,forceSelection:f,offsetKey:O,preventScroll:u,selection:d,tree:a.getBlockTree(x)},N=t.get(_)||t.get("unstyled"),D=N.wrapper,A=N.element||t.get("unstyled").element,P=w.getDepth(),M="";if(r&&(M=r(w)),"li"===A)M=pYe(M,mYe(_,P,y!==D||null===v||P>v,I));var j=k||cYe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=sYe({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=dYe.createElement(A,R,dYe.createElement(j,aYe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:O}),v=D?w.getDepth():null,y=D}for(var F=[],z=0;z<g.length;){var B=g[z];if(B.wrapperTemplate){var U=[];do{U.push(g[z].block),z++}while(z<g.length&&g[z].wrapperTemplate===B.wrapperTemplate);var q=dYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return dYe.createElement("div",{"data-contents":"true"},F)},r}(dYe.Component),vYe=gYe,yYe=XUe("draft_tree_data_support")?RGe:vYe,bYe={isImage:function(e){return"image"===wYe(e)[0]},isJpeg:function(e){var t=wYe(e);return bYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function wYe(e){return e.split("/")}var xYe=bYe,_Ye=nBe;var SYe=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"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Array-like object expected"):_Ye(!1)),"number"!=typeof t&&("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object needs a length property"):_Ye(!1)),0===t||t-1 in e||("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object should have keys for indices"):_Ye(!1)),"function"==typeof e.callee&&("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):_Ye(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function kYe(e){return function(){return e}}var CYe=function(){};CYe.thatReturns=kYe,CYe.thatReturnsFalse=kYe(!1),CYe.thatReturnsTrue=kYe(!0),CYe.thatReturnsNull=kYe(null),CYe.thatReturnsThis=function(){return this},CYe.thatReturnsArgument=function(e){return e};var EYe=CYe,IYe=xYe,OYe=SYe,TYe=EYe,NYe=new RegExp("\r\n","g"),DYe={"text/rtf":1,"text/html":1};function AYe(e){if("file"==e.kind)return e.getAsFile()}var PYe=function(){function e(e){this.data=e,this.types=e.types?OYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return DYe[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(NYe,"\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 r=t[n].type;if(!IYe.isImage(r))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(AYe).filter(TYe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),MYe=PYe,jYe=nBe,RYe=/\.textClipping$/,LYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var FYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!ze.FileReader||e.type&&!(e.type in LYe))return void t("");if(""===e.type){var n="";return RYe.test(e.name)&&(n=e.name.replace(RYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Es.env.NODE_ENV?jYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):jYe(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var zYe=function(e){return"handled"===e||!0===e},BYe=MYe,UYe=SUe,qYe=vVe,VYe=FKe,KYe=AKe,HYe=FYe,WYe=oHe,GYe=zKe,YYe=zYe,QYe=Gqe;var $Ye={onDragEnd:function(e){e.exitCurrentMode(),ZYe(e)},onDrop:function(e,t){var n=new BYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=KYe(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=QYe(n),r=QYe(r);var a=QYe(VYe(n));return WYe(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&YYe(e.props.handleDroppedFiles(i,o)))return;HYe(o,(function(t){t&&e.update(JYe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&YYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=UYe.moveText(e.getCurrentContent(),e.getSelection(),t);return qYe.push(e,n,"insert-fragment")}(r,i)):e.update(JYe(r,i,n.getText()))),ZYe(e)}}}};function ZYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:GYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function JYe(e,t,n){var r=UYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return qYe.push(e,r,"insert-fragment")}var XYe=$Ye;var eQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Es.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}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var e=u.documentElement;n=function(t){var n=u.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=l}function l(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{l(e),s=!1}}}}}("undefined"==typeof self?ze:self);var tQe=ze.setImmediate,nQe=SUe,rQe=vVe,iQe=CHe,oQe=zYe,aQe=eQe,sQe=Gqe,uQe=tQe,cQe=DKe.isBrowser("Firefox");function lQe(e,t,n,r,i){var o=nQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return rQe.push(e,o,"insert-characters",i)}var dQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&oQe(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(lQe(n,r,n.getCurrentInlineStyle(),iQe(n.getCurrentContent(),n.getSelection()),!0));var s,u=lQe(n,r,n.getCurrentInlineStyle(),iQe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=aQe(e._latestCommittedEditorState)),!c){var l=n.getBlockTree(a),d=u.getBlockTree(a);c=l.size!==d.size||l.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),u=s+(s>=o?r.length:0),c=n.get("start"),l=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||u!==l||null!=d&&l-c!=s-i}))}if(c||(s=r,c=cQe&&("'"==s||"/"==s)),c||(c=sQe(u.getDirectionMap()).get(a)!==sQe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=rQe.set(u,{forceSelection:!0}),void e.update(u);u=rQe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,uQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},fQe=vVe,pQe=aWe,hQe=sWe;var mQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&hQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&pQe(i,r.anchorNode)&&pQe(i,r.focusNode)&&r.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(fQe.acceptSelection(o,s))}},gQe=vVe;var vQe=function(e,t){e.setMode("composite"),e.update(gQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},yQe=kBe;var bQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:yQe(e.getCurrentContent(),t)},wQe=bQe;var xQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(wQe(e._latestEditorState))};var _Qe=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},SQe=SUe,kQe=vVe,CQe=$We,EQe=bQe,IQe=iGe,OQe=_Qe;var TQe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(OQe(o)){var a=o;n=IQe(CQe.getScrollParent(a))}var s=EQe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=SQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return kQe.push(e,t,"remove-range")}(r))}),0)}};var NQe=function(e,t){e.setMode("drag"),t.preventDefault()};var DQe=function(e){e._internalDrag=!0,e.setMode("drag")},AQe=vVe,PQe=DKe;var MQe=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),PQe.isBrowser("Chrome < 60.0.3081.0")?e.update(AQe.forceSelection(n,i)):e.update(AQe.acceptSelection(n,i))}},jQe=nBe,RQe=/[\uD800-\uDFFF]/;function LQe(e){return 55296<=e&&e<=57343}function FQe(e){return RQe.test(e)}function zQe(e,t){return 1+LQe(e.charCodeAt(t))}function BQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!FQe(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=zQe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=zQe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=zQe(e,o);return e.substring(i,o)}var UQe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=zQe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:zQe,hasSurrogateUnit:FQe,isCodeUnitInSurrogateRange:LQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Es.env.NODE_ENV?jQe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):jQe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!FQe(e))return e.length;for(var t=0,n=0;n<e.length;n+=zQe(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 r=Math.abs(n-t);return BQe(e,t=t<n?t:n,r)},substr:BQe},qQe=UQe,VQe=EYe;function KQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var HQe="production"!==Es.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,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];KQe.apply(void 0,[t].concat(r))}}:VQe,WQe=HQe,GQe=WQe;var YQe=function(e,t){var n=e.getSelection();"production"!==Es.env.NODE_ENV&&GQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var u=r.getKeyBefore(i);if(null==u)a=i;else a=u,s=r.getBlockForKey(u).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},QQe=SUe,$Qe=XUe("draft_tree_data_support");var ZQe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if($Qe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if($Qe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(u.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return QQe.removeRange(i,o,n)},JQe=vVe,XQe=qQe,e$e=YQe,t$e=ZQe;var n$e=function(e){var t=t$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return e$e(e,o?XQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return JQe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},r$e=SUe,i$e=$Ke,o$e=vVe,a$e=_He.notEmptyKey,s$e=FKe,u$e=n$e,c$e=Gqe,l$e=DKe.isEngine("Gecko");var d$e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var u=r.textContent,c=e._latestEditorState,l=c$e(s$e(r)),d=i$e.decode(l),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(u.endsWith("\n\n")&&(u=u.slice(0,-1)),u!==w){var x,_,S,k,C=c.getSelection(),E=C.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),I=b.getEntityAt(g),O=a$e(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=r$e.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(l$e)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var A=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+A:S,_=k+A}var P=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(o$e.push(c,P,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?u$e(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},f$e=ZKe;var p$e=function(e){return e.which===f$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},h$e=p$e,m$e=DKe.isPlatform("Mac OS X"),g$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return m$e&&e.altKey},usesMacOSHeuristics:function(){return m$e},hasCommandModifier:function(e){return m$e?!!e.metaKey&&!e.altKey:g$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:h$e},v$e=g$e,y$e=SUe,b$e=vVe,w$e=kBe,x$e=Gqe,_$e=null,S$e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=x$e(r),_$e=w$e(t,r);var s=y$e.removeRange(t,r,"forward");return s===t?e:b$e.push(e,s,"remove-range")},paste:function(e){if(!_$e)return e;var t=y$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),_$e);return b$e.push(e,t,"insert-fragment")}},k$e=nBe;var C$e=DKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Es.env.NODE_ENV?k$e(!1,"Found an unexpected detached subtree when getting range client rects."):k$e(!1)}:function(e){return Array.from(e.getClientRects())},E$e=qQe,I$e=AKe,O$e=C$e,T$e=nBe;function N$e(e,t){for(var n=1/0,r=1/0,i=-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),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function D$e(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 A$e=vVe,P$e=function(e){e.collapsed||("production"!==Es.env.NODE_ENV?T$e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):T$e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=I$e(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Es.env.NODE_ENV?T$e(!1,"Missing document.body"):T$e(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);N$e(O$e(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Es.env.NODE_ENV?T$e(!1,"Found unexpected detached subtree when traversing."):T$e(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,u=a;u>=0;u--)if(!(null!=s&&u>0&&E$e.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!N$e(O$e(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=D$e(o=o.childNodes[u])}return e.setStart(r,i),e},M$e=hHe,j$e=YQe,R$e=ZQe;var L$e=function(e,t){var n=R$e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return j$e(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=P$e(r),M$e(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:A$e.push(e,n,"remove-range")},F$e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),z$e=new RegExp("^(?:"+F$e+")*(?:['‘’]|(?!"+F$e+").)*(?:(?!"+F$e+").)"),B$e=new RegExp("(?:(?!"+F$e+").)(?:['‘’]|(?!"+F$e+").)*(?:"+F$e+")*$");function U$e(e,t){var n=t?B$e.exec(e):z$e.exec(e);return n?n[0]:e}var q$e={getBackward:function(e){return U$e(e,!0)},getForward:function(e){return U$e(e,!1)}},V$e=q$e,K$e=vVe,H$e=YQe,W$e=ZQe;var G$e=WQe;var Y$e=function(e,t){var n=e.getSelection();"production"!==Es.env.NODE_ENV&&G$e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},Q$e=q$e,$$e=vVe,Z$e=Y$e,J$e=ZQe;var X$e=SUe,eZe=vVe;var tZe=vVe;var nZe=vVe;var rZe=vVe,iZe=qQe,oZe=Y$e,aZe=ZQe;var sZe=SUe,uZe=vVe,cZe=kBe;var lZe=vVe;var dZe=function(e,t,n){var r=lZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(lZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(lZe.set(r,{nativelyRenderedContent:i}))}},fZe=SUe,pZe=vVe,hZe=ZKe,mZe=S$e,gZe=DKe,vZe=zYe,yZe=L$e,bZe=function(e){var t=W$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return H$e(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=V$e.getBackward(i);return H$e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:K$e.push(e,t,"remove-range")},wZe=function(e){var t=J$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=Q$e.getForward(i);return Z$e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:$$e.push(e,t,"remove-range")},xZe=function(e){var t=X$e.splitBlock(e.getCurrentContent(),e.getSelection());return eZe.push(e,t,"split-block")},_Ze=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return tZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},SZe=function(e){var t=e.getSelection(),n=t.getStartKey();return nZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},kZe=n$e,CZe=function(e){var t=aZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return oZe(e,o?iZe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return rZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},EZe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var u=cZe(a,r),c=sZe.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=sZe.replaceWithFragment(c,f,u),h=uZe.push(e,p,"insert-fragment");return uZe.acceptSelection(h,i)},IZe=dZe,OZe=v$e.isOptionKeyCommand,TZe=gZe.isBrowser("Chrome");var NZe=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case hZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&vZe(e.props.handleReturn(t,r)))return;break;case hZe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case hZe.TAB:if(i("onTab"))return;break;case hZe.UP:if(i("onUpArrow"))return;break;case hZe.RIGHT:if(i("onRightArrow"))return;break;case hZe.DOWN:if(i("onDownArrow"))return;break;case hZe.LEFT:if(i("onLeftArrow"))return;break;case hZe.SPACE:TZe&&OZe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!vZe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return pZe.redo(t);case"delete":return CZe(t);case"delete-word":return wZe(t);case"backspace":return kZe(t);case"backspace-word":return bZe(t);case"backspace-to-start-of-line":return yZe(t,n);case"split-block":return xZe(t);case"transpose-characters":return EZe(t);case"move-selection-to-start-of-block":return SZe(t);case"move-selection-to-end-of-block":return _Ze(t);case"secondary-cut":return mZe.cut(t);case"secondary-paste":return mZe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else IZe(t,r,e.update);else if(n===hZe.SPACE&&TZe&&OZe(t)){var s=fZe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(pZe.push(r,s,"insert-characters"))}};var DZe=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}(),AZe=DZe,PZe=nBe,MZe=DKe.isBrowser("IE <= 9");var jZe=function(e){var t,n=null;return!MZe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Es.env.NODE_ENV?PZe(!1,"Missing doc.documentElement"):PZe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},RZe=PKe;var LZe=function(e){return!(!e||!e.ownerDocument)&&(RZe(e)&&"A"===e.nodeName)},FZe=PKe;var zZe,BZe=function(e){return!(!e||!e.ownerDocument)&&(FZe(e)&&"IMG"===e.nodeName)};function UZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qZe(e,t,n[t])}))}return e}function qZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VZe=mze,KZe=Nze,HZe=Hze,WZe=$Ve,GZe=$Ue,YZe=AZe,QZe=GVe,$Ze=fBe,ZZe=jZe,JZe=XUe,XZe=nze.exports,eJe=XZe.List,tJe=XZe.Map,nJe=XZe.OrderedSet,rJe=LZe,iJe=rWe,oJe=XKe,aJe=BZe,sJe=JZe("draft_tree_data_support"),uJe=new RegExp("\r","g"),cJe=new RegExp("\n","g"),lJe=new RegExp("^\n","g"),dJe=new RegExp("&nbsp;","g"),fJe=new RegExp("&#13;?","g"),pJe=new RegExp("&#8203;?","g"),hJe=["bold","bolder","500","600","700","800","900"],mJe=["light","lighter","normal","100","200","300","400"],gJe=["className","href","rel","target","title"],vJe=["alt","className","height","src","width"],yJe=(qZe(zZe={},QZe("public/DraftStyleDefault/depth0"),0),qZe(zZe,QZe("public/DraftStyleDefault/depth1"),1),qZe(zZe,QZe("public/DraftStyleDefault/depth2"),2),qZe(zZe,QZe("public/DraftStyleDefault/depth3"),3),qZe(zZe,QZe("public/DraftStyleDefault/depth4"),4),zZe),bJe=tJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),wJe=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),tJe(t)},xJe=function(e){if(oJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},_Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(yJe).some((function(n){e.classList.contains(n)&&(t=yJe[n])})),t},SJe=function(e){if(!rJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},kJe=function(e){if(!aJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},CJe=function(e,t){if(!oJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){hJe.indexOf(r)>=0?e.add("BOLD"):mJe.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},EJe=function(e){return"ul"===e||"ol"===e},IJe=function(){function e(e,t){qZe(this,"characterList",eJe()),qZe(this,"currentBlockType","unstyled"),qZe(this,"currentDepth",0),qZe(this,"currentEntity",null),qZe(this,"currentText",""),qZe(this,"wrapper",null),qZe(this,"blockConfigs",[]),qZe(this,"contentBlocks",[]),qZe(this,"entityMap",GZe),qZe(this,"blockTypeMap",void 0),qZe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=eJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=GZe,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],nJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(sJe?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||$Ze(),n=UZe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:eJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=eJe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||EJe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;EJe(o)&&(this.wrapper=o,EJe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(kJe(i))this._addImgNode(i,t);else if(SJe(i))this._addAnchorNode(i,n,t);else{var c=t;bJe.has(o)&&(c=c.add(bJe.get(o))),c=CJe(i,c);var l=xJe(i);null!=l&&(c=c.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!sJe&&oJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=_Je(p,this.currentDepth)}var h=$Ze(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:u})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=VZe.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=eJe()):(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(lJe,"")).replace(cJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){iJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(aJe(e)){var n=e,r={};vJe.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),JZe("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(rJe(e)){var r=e,i={};gJe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new YZe(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),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,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=eJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new HZe(UZe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return eJe(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),r=n.text,i=n.characterList;t.contentBlocks.push(new KZe(UZe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=eJe(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),OJe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ZZe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:WZe,r=t(e=e.trim().replace(uJe,"").replace(dJe," ").replace(fJe,"").replace(pJe,""));if(!r)return null;var i=wJe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new IJe(i,o).addDOMNode(r).getContentBlocks()};function TJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NJe=Nze,DJe=Hze,AJe=OJe,PJe=fBe,MJe=jZe,jJe=XUe,RJe=nze.exports,LJe=tqe,FJe=RJe.List,zJe=RJe.Repeat,BJe=jJe("draft_tree_data_support"),UJe=BJe?DJe:NJe,qJe={processHTML:function(e,t){return AJe(e,MJe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=LJe(r);var o=PJe(),a={key:o,type:n,text:r,characterList:FJe(zJe(t,r.length))};if(BJe&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){TJe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new UJe(a)),e}),[])}};var VJe=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).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,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},KJe=SUe,HJe=vVe,WJe=VJe,GJe=Gqe,YJe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__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 YJe.toggleInlineStyle(e,"BOLD");case"italic":return YJe.toggleInlineStyle(e,"ITALIC");case"underline":return YJe.toggleInlineStyle(e,"UNDERLINE");case"code":return YJe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return YJe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return YJe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=KJe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=HJe.push(e,t,"insert-characters");return HJe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return HJe.push(e,a,"remove-range")}var s=YJe.tryToRemoveBlockStyle(e);return s?HJe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=KJe.removeRange(n,a,"forward");return s!==n?HJe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var u=a.getDepth();if(!e.shiftKey&&u===n)return t;var c=WJe(o,r,e.shiftKey?-1:1,n);return HJe.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=GJe(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var u=o.getBlockForKey(r).getType()===t?"unstyled":t;return HJe.push(e,KJe.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?YJe.toggleBlockType(e,"code-block"):YJe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return HJe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?KJe.removeInlineStyle(o,n,t):KJe.applyInlineStyle(o,n,t),HJe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=KJe.applyEntity(e.getCurrentContent(),t,n);return HJe.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return KJe.setBlockType(i,t,"unstyled")}return null}},QJe=YJe,$Je=/\r\n?|\n/g;var ZJe=oze,JJe=mze,XJe=MYe,eXe=SUe,tXe=qJe,nXe=vVe,rXe=QJe,iXe=CHe,oXe=FYe,aXe=zYe,sXe=function(e){return e.split($Je)};function uXe(e,t,n){var r=eXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return nXe.push(e,r.set("entityMap",n),"insert-fragment")}var cXe=function(e,t){t.preventDefault();var n=new XJe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&aXe(e.props.handlePastedFiles(r)))return;return void oXe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=sXe(t),o=JJe.create({style:n.getCurrentInlineStyle(),entity:iXe(n.getCurrentContent(),n.getSelection())}),a=rXe.getCurrentBlockType(n),s=tXe.processText(r,o,a),u=ZJe.createFromArray(s),c=eXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(nXe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!aXe(e.props.handlePastedText(a,s,u))){if(a&&(o=sXe(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(uXe(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(uXe(e._latestEditorState,c));if(s){var l=tXe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=ZJe.createFromArray(d);return void e.update(uXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=JJe.create({style:u.getCurrentInlineStyle(),entity:iXe(u.getCurrentContent(),u.getSelection())}),m=rXe.getCurrentBlockType(u),g=tXe.processText(o,h,m),v=ZJe.createFromArray(g);e.update(uXe(e._latestEditorState,v))}}},lXe=DKe,dXe=dQe,fXe=mQe,pXe=vQe,hXe=xQe,mXe=TQe,gXe=NQe,vXe=DQe,yXe=MQe,bXe=d$e,wXe=NZe,xXe=cXe,_Xe=xHe,SXe=lXe.isBrowser("Chrome"),kXe=lXe.isBrowser("Firefox"),CXe=SXe||kXe?_Xe:function(e){},EXe={onBeforeInput:dXe,onBlur:fXe,onCompositionStart:pXe,onCopy:hXe,onCut:mXe,onDragOver:gXe,onDragStart:vXe,onFocus:yXe,onInput:bXe,onKeyDown:wXe,onPaste:xXe,onSelect:_Xe,onMouseUp:CXe,onKeyUp:CXe},IXe=je.unstable_flushControlled;var OXe=o,TXe=GVe,NXe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=TXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return OXe.createElement("div",{className:t},OXe.createElement("div",{className:TXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(OXe.Component),DXe=NXe,AXe=v$e,PXe=ZKe,MXe=DKe,jXe=MXe.isPlatform("Mac OS X"),RXe=jXe&&MXe.isBrowser("Firefox < 29"),LXe=AXe.hasCommandModifier,FXe=AXe.isCtrlKeyCommand;function zXe(e){return jXe&&e.altKey||FXe(e)}var BXe=function(e){switch(e.keyCode){case 66:return LXe(e)?"bold":null;case 68:return FXe(e)?"delete":null;case 72:return FXe(e)?"backspace":null;case 73:return LXe(e)?"italic":null;case 74:return LXe(e)?"code":null;case 75:return jXe&&FXe(e)?"secondary-cut":null;case 77:case 79:return FXe(e)?"split-block":null;case 84:return jXe&&FXe(e)?"transpose-characters":null;case 85:return LXe(e)?"underline":null;case 87:return jXe&&FXe(e)?"backspace-word":null;case 89:return FXe(e)?jXe?"secondary-paste":"redo":null;case 90:return function(e){return LXe(e)?e.shiftKey?"redo":"undo":null}(e)||null;case PXe.RETURN:return"split-block";case PXe.DELETE:return function(e){return!jXe&&e.shiftKey?null:zXe(e)?"delete-word":"delete"}(e);case PXe.BACKSPACE:return function(e){return LXe(e)&&jXe?"backspace-to-start-of-line":zXe(e)?"backspace-word":"backspace"}(e);case PXe.LEFT:return RXe&&LXe(e)?"move-selection-to-start-of-block":null;case PXe.RIGHT:return RXe&&LXe(e)?"move-selection-to-end-of-block":null;default:return null}},UXe=KH;function qXe(){return qXe=UXe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qXe.apply(this,arguments)}function VXe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){HXe(e,t,n[t])}))}return e}function KXe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WXe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var GXe=$Ve,YXe=ZVe,QXe=zHe,$Xe=yYe,ZXe=XYe,JXe=EXe,XXe=IXe,e0e=DXe,t0e=vVe,n0e=o,r0e=UWe,i0e=$We,o0e=GVe,a0e=fBe,s0e=BXe,u0e=iGe,c0e=XUe,l0e=nBe,d0e=XKe,f0e=Gqe,p0e=DKe.isBrowser("IE"),h0e=!p0e,m0e={edit:JXe,composite:QXe,drag:ZXe,cut:null,render:null},g0e=!1,v0e=function(e){function t(){return e.apply(this,arguments)||this}WXe(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}(n0e.Component),y0e=function(e){function t(t){var n;return HXe(KXe(n=e.call(this,t)||this),"_blockSelectEvents",void 0),HXe(KXe(n),"_clipboard",void 0),HXe(KXe(n),"_handler",void 0),HXe(KXe(n),"_dragCount",void 0),HXe(KXe(n),"_internalDrag",void 0),HXe(KXe(n),"_editorKey",void 0),HXe(KXe(n),"_placeholderAccessibilityID",void 0),HXe(KXe(n),"_latestEditorState",void 0),HXe(KXe(n),"_latestCommittedEditorState",void 0),HXe(KXe(n),"_pendingStateFromBeforeInput",void 0),HXe(KXe(n),"_onBeforeInput",void 0),HXe(KXe(n),"_onBlur",void 0),HXe(KXe(n),"_onCharacterData",void 0),HXe(KXe(n),"_onCompositionEnd",void 0),HXe(KXe(n),"_onCompositionStart",void 0),HXe(KXe(n),"_onCopy",void 0),HXe(KXe(n),"_onCut",void 0),HXe(KXe(n),"_onDragEnd",void 0),HXe(KXe(n),"_onDragOver",void 0),HXe(KXe(n),"_onDragStart",void 0),HXe(KXe(n),"_onDrop",void 0),HXe(KXe(n),"_onInput",void 0),HXe(KXe(n),"_onFocus",void 0),HXe(KXe(n),"_onKeyDown",void 0),HXe(KXe(n),"_onKeyPress",void 0),HXe(KXe(n),"_onKeyUp",void 0),HXe(KXe(n),"_onMouseDown",void 0),HXe(KXe(n),"_onMouseUp",void 0),HXe(KXe(n),"_onPaste",void 0),HXe(KXe(n),"_onSelect",void 0),HXe(KXe(n),"editor",void 0),HXe(KXe(n),"editorContainer",void 0),HXe(KXe(n),"focus",void 0),HXe(KXe(n),"blur",void 0),HXe(KXe(n),"setMode",void 0),HXe(KXe(n),"exitCurrentMode",void 0),HXe(KXe(n),"restoreEditorDOM",void 0),HXe(KXe(n),"setClipboard",void 0),HXe(KXe(n),"getClipboard",void 0),HXe(KXe(n),"getEditorKey",void 0),HXe(KXe(n),"update",void 0),HXe(KXe(n),"onDragEnter",void 0),HXe(KXe(n),"onDragLeave",void 0),HXe(KXe(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),HXe(KXe(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=i0e.getScrollParent(i),a=e||u0e(o),s=a.x,u=a.y;d0e(i)||("production"!==Es.env.NODE_ENV?l0e(!1,"editorNode is not an HTMLElement"):l0e(!1)),i.focus(),o===window?window.scrollTo(s,u):r0e.setTop(o,u),r||n.update(t0e.forceSelection(t,t.getSelection()))}})),HXe(KXe(n),"blur",(function(){var e=n.editor;e&&(d0e(e)||("production"!==Es.env.NODE_ENV?l0e(!1,"editorNode is not an HTMLElement"):l0e(!1)),e.blur())})),HXe(KXe(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=VXe({},m0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=VXe({},m0e,{edit:a});n._handler=s[e]})),HXe(KXe(n),"exitCurrentMode",(function(){n.setMode("edit")})),HXe(KXe(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),HXe(KXe(n),"setClipboard",(function(e){n._clipboard=e})),HXe(KXe(n),"getClipboard",(function(){return n._clipboard})),HXe(KXe(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),HXe(KXe(n),"onDragEnter",(function(){n._dragCount++})),HXe(KXe(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||a0e(),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"!==Es.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}WXe(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(XXe?XXe((function(){return r(t,n)})):r(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:f0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n0e.createElement(e0e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,u=e.readOnly,c=e.textAlignment,l=e.textDirectionality,d=o0e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:VXe({},YXe,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return n0e.createElement("div",{className:d},this._renderPlaceholder(),n0e.createElement("div",{className:o0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n0e.createElement("div",{"aria-activedescendant":u?null:this.props.ariaActiveDescendantID,"aria-autocomplete":u?null:this.props.ariaAutoComplete,"aria-controls":u?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":u?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":u?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o0e({notranslate:!u,"public/DraftEditor/content":!0}),contentEditable:!u,"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:u?null:f,spellCheck:h0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n0e.createElement(v0e,{editor:this,editorState:a}),n0e.createElement($Xe,qXe({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!g0e&&c0e("draft_ods_enabled")&&(g0e=!0),this.setMode("edit"),p0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):ze.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n0e.Component);HXe(y0e,"defaultProps",{blockRenderMap:GXe,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b0e=y0e,w0e=Ue(Object.freeze({__proto__:null})),x0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},_0e=x0e,S0e=qQe.strlen;var k0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:S0e(o.slice(0,r)),length:S0e(o.slice(r,i)),key:Number(t[_0e.stringify(a)])})})),n},C0e=qQe,E0e=gze,I0e=function(e,t){return e===t},O0e=function(e){return!!e},T0e=[];var N0e=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 r=[],i=t.map((function(e){return e.has(n)})).toList();return E0e(i,I0e,O0e,(function(t,i){var o=e.getText();r.push({offset:C0e.strlen(o.slice(0,t)),length:C0e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(T0e,n.toJS())};function D0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A0e=Nze,P0e=Hze,M0e=x0e,j0e=k0e,R0e=N0e,L0e=nBe,F0e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:R0e(e),entityRanges:j0e(e,t),data:e.getData().toObject()}},z0e=function(e,t,n,r){if(e instanceof A0e)n.push(F0e(e,t));else{e instanceof P0e||("production"!==Es.env.NODE_ENV?L0e(!1,"block is not a BlockNode"):L0e(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){D0e(e,t,n[t])}))}return e}({},F0e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},B0e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=M0e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),z0e(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(M0e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function U0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){q0e(e,t,n[t])}))}return e}function q0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V0e=fBe,K0e=nBe,H0e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},W0e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Es.env.NODE_ENV?K0e(!1,"Invalid raw state"):K0e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Es.env.NODE_ENV?K0e(!1,"Invalid tree raw block"):K0e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=U0e({},e);H0e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?U0e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,U0e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=H0e(e),i=e.depth||0,o=U0e({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:V0e(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),U0e({},e,{blocks:t})}},G0e=W0e,Y0e=WQe,Q0e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Es.env.NODE_ENV&&Y0e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==Es.env.NODE_ENV&&Y0e(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Es.env.NODE_ENV&&Y0e(!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)}},$0e=Q0e,Z0e=mze,J0e=nze.exports.List;var X0e=function(e,t){var n=e.map((function(e,n){var r=t[n];return Z0e.create({style:e,entity:r})}));return J0e(n)},e1e=qQe.substr;var t1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=e1e(e,0,t.offset).length,i=r+e1e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},n1e=qQe,r1e=nze.exports.OrderedSet,i1e=n1e.substr,o1e=r1e();var a1e=function(e,t){var n=Array(e.length).fill(o1e);return t&&t.forEach((function(t){for(var r=i1e(e,0,t.offset).length,i=r+i1e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function s1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u1e(e,t,n[t])}))}return e}function u1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c1e=Nze,l1e=Hze,d1e=Sqe,f1e=$Ue,p1e=G0e,h1e=$0e,m1e=JUe,g1e=X0e,v1e=t1e,y1e=a1e,b1e=fBe,w1e=nze.exports,x1e=nBe,_1e=XUe("draft_tree_data_support"),S1e=w1e.List,k1e=w1e.Map,C1e=w1e.OrderedMap,E1e=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||b1e(),data:k1e(i),characterList:I1e(e,t)}},I1e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return g1e(y1e(n,i||[]),v1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s1e({},e,{key:t[e.key]})}))))},O1e=function(e){return s1e({},e,{key:e.key||b1e()})},T1e=function(e,t,n){var r=t.map((function(e){return s1e({},e,{parentRef:n})}));return e.concat(r.reverse())},N1e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=_1e&&!n?p1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!_1e)return function(e,t){return C1e(e.map((function(e){var n=new c1e(E1e(e,t));return[n.getKey(),n]})))}(n?p1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(O1e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x1e(!1));var o=r.children.map(O1e),a=new l1e(s1e({},E1e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:S1e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=T1e([],o,a);s.length>0;){var u=s.pop(),c=u.parentRef,l=c.getChildKeys(),d=l.indexOf(u.key),f=Array.isArray(u.children);if(!f){f||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x1e(!1));break}var p=u.children.map(O1e),h=new l1e(s1e({},E1e(u,t),{parent:c.getKey(),children:S1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:l.get(d-1),nextSibling:d===l.size-1?null:l.get(d+1)}));n=n.set(h.getKey(),h),s=T1e(s,p,h)}return n}),C1e())}(r,t);return"production"!==Es.env.NODE_ENV&&(h1e.isValidTree(i)||("production"!==Es.env.NODE_ENV?x1e(!1,"Should be a valid tree"):x1e(!1))),i},D1e=function(e){Array.isArray(e.blocks)||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentState"):x1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=f1e.__create(i,o,a||{})})),n}(e),n=N1e(e,t),r=n.isEmpty()?new m1e:m1e.createEmpty(n.first().getKey());return new d1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},A1e=C$e;var P1e=function(e){var t=A1e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var u=1;u<t.length;u++){var c=t[u];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}};var M1e={Editor:b0e,EditorBlock:rYe,EditorState:vVe,CompositeDecorator:HVe,Entity:$Ue,EntityInstance:BUe,BlockMapBuilder:oze,CharacterMetadata:mze,ContentBlock:Nze,ContentState:Sqe,RawDraftContentState:w0e,SelectionState:JUe,AtomicBlockUtils:qVe,KeyBindingUtil:v$e,Modifier:SUe,RichUtils:QJe,DefaultDraftBlockRenderMap:$Ve,DefaultDraftInlineStyle:ZVe,convertFromHTML:OJe,convertFromRaw:D1e,convertToRaw:B0e,genKey:fBe,getDefaultKeyBinding:BXe,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=P1e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},j1e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};o.createElement("p",null),o.createElement("p",null),o.createElement("h1",null),o.createElement("h2",null),o.createElement("h3",null),o.createElement("h4",null),o.createElement("h5",null),o.createElement("h6",null),o.createElement("blockquote",null),o.createElement("li",null),o.createElement("ul",null),o.createElement("li",null),o.createElement("figure",null),o.createElement("figure",null);var R1e={exports:{}};R1e.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:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var Z,J,X,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 re(e){this._iterable=e,this.size=e.length||e.size}function ie(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():V(e)?new ie(e).fromEntrySeq():q(e)?new re(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 ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(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 le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}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(J)return J;J=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),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 T(e,t,n)?this:new be(this._value,D(t,n)-N(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,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(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 Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(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 rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){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[r]=i,new Ze(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(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 r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}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,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},Je.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Je(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.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,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(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 r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(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=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.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===M?P:M,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(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,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?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?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,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){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.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},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.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:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(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){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(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 jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.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)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(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)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.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)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){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}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(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 Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(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 mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(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,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},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(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,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(r,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Jn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(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=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!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,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var L1e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function F1e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=L1e(e)):t=L1e(e);return t.body}var z1e=new RegExp("\r","g"),B1e=new RegExp("\n","g"),U1e=new RegExp("&nbsp;","g"),q1e=new RegExp("\r","g"),V1e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],K1e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},H1e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},W1e=function(e,t,n){},G1e=function(e,t,n){return n},Y1e=function(e,t){},Q1e=function(e){return[]},$1e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function Z1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:R1e.exports.Map();return!0===n?{text:"\r",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function J1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R1e.exports.Map();return{text:"\r",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function X1e(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 e2e(e,t,n){return X1e(e,n)}function t2e(e,t,n){var r=K1e[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function n2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R1e.exports.OrderedSet();return t2e(e,t,n)}function r2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,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||"\n"===t.text)return e;" "!==r&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var u=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:u}}function i2e(e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[R1e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(B1e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(j1e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?Z1e("unstyled",o,!0):Z1e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=t2e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,C,E=c(g,e,n,r);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,C=R1e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?R1e.exports.Map(E.data):R1e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,S=Z1e(k,o,!0,C));else{var I=X1e(g,n);S=J1e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=J1e(k||X1e(g,n),o,C),r=k||X1e(g,n),v=!0;var O=e.firstChild;null!=O||!m||"atomic"!==k&&"atomic"!==r||(O=document.createTextNode("a")),null!=O&&(g=O.nodeName.toLowerCase());for(var T=null;O;){T=s(g,O,l,d,f,p),S=r2e(S,i2e(O,t,n,r,i,o,a,s,u,c,l,d,f,p,h,T||m),h.flat);var N=O.nextSibling;if(N&&i.indexOf(g)>=0&&r){var D=c(g,O,n,r),A=void 0,P=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,P=R1e.exports.Map()):(A=D.type||X1e(g,n),P=D.data?R1e.exports.Map(D.data):R1e.exports.Map()),S=r2e(S,Z1e(A,o,h.flat,P),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=r2e(S,J1e(y,o,R1e.exports.Map()),h.flat)),S}function o2e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(z1e,"").replace(U1e," "));if(!d)return null;var f=function(e){return V1e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?V1e.concat(["div"]):["div"],p=i2e(d,R1e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,u,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:R1e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:R1e.exports.Map(),depth:0}),p}function a2e(e,t,n,r,i,o,a,s,u,c,l,d){var f=o2e(e,t,n,r,i,o,a,s,u,c,l);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(q1e,"");var n=p+e.length,r=$1e(f).inlines.slice(p,n),i=$1e(f).entities.slice(p,n),o=R1e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),M1e.CharacterMetadata.create(n)})));return p=n+1,new M1e.ContentBlock({key:d(),type:$1e(f).blocks[t].type,data:$1e(f).blocks[t].data,depth:$1e(f).blocks[t].depth,text:e,characterList:o})}))}var s2e=function(e){var t=e.htmlToStyle,n=void 0===t?G1e:t,r=e.htmlToEntity,i=void 0===r?Y1e:r,o=e.textToEntity,a=void 0===o?Q1e:o,s=e.htmlToBlock,u=void 0===s?W1e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F1e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:M1e.genKey,s=M1e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():M1e.Entity.create.apply(M1e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):M1e.Entity.get.apply(M1e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):M1e.Entity.mergeData.apply(M1e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):M1e.Entity.replaceData.apply(M1e.Entity,arguments)},p=a2e(e,H1e(n,n2e),H1e(i,Y1e),H1e(a,Q1e),H1e(u,e2e),c,l,d,f,t,r,o),h=M1e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:M1e.SelectionState.createEmpty(m),selectionAfter:M1e.SelectionState.createEmpty(m)})}};oG('/**\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 u2e={};function c2e(e){e&&(e.value=!0)}function l2e(){}function d2e(e){return void 0===e.size&&(e.size=e.__iterate(p2e)),e.size}function f2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?d2e(e)+t:t}function p2e(){return!0}function h2e(e,t,n){return(0===e&&!y2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function m2e(e,t){return v2e(e,t,0)}function g2e(e,t){return v2e(e,t,t)}function v2e(e,t,n){return void 0===e?n:y2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function y2e(e){return e<0||0===e&&1/e==-1/0}function b2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function w2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function x2e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function _2e(e){return w2e(e)||x2e(e)}var S2e=function(e){return b2e(e)?e:V2e(e)},k2e=function(e){function t(e){return w2e(e)?e:K2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e),C2e=function(e){function t(e){return x2e(e)?e:H2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e),E2e=function(e){function t(e){return b2e(e)&&!_2e(e)?e:W2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e);S2e.Keyed=k2e,S2e.Indexed=C2e,S2e.Set=E2e;function I2e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function O2e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function T2e(e){return b2e(e)||O2e(e)}var N2e="@@__IMMUTABLE_ORDERED__@@";function D2e(e){return Boolean(e&&e[N2e])}var A2e="function"==typeof Symbol&&Symbol.iterator,P2e=A2e||"@@iterator",M2e=function(e){this.next=e};function j2e(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function R2e(){return{value:void 0,done:!0}}function L2e(e){return!!B2e(e)}function F2e(e){return e&&"function"==typeof e.next}function z2e(e){var t=B2e(e);return t&&t.call(e)}function B2e(e){var t=e&&(A2e&&e[A2e]||e["@@iterator"]);if("function"==typeof t)return t}M2e.prototype.toString=function(){return"[Iterator]"},M2e.KEYS=0,M2e.VALUES=1,M2e.ENTRIES=2,M2e.prototype.inspect=M2e.prototype.toSource=function(){return this.toString()},M2e.prototype[P2e]=function(){return this};var U2e=Object.prototype.hasOwnProperty;function q2e(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 V2e=function(e){function t(e){return null==e?Z2e():T2e(e)?e.toSeq():function(e){var t=e3e(e);if(t)return t;if("object"==typeof e)return new Y2e(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 r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new M2e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return j2e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(S2e),K2e=function(e){function t(e){return null==e?Z2e().toKeyedSeq():b2e(e)?w2e(e)?e.toSeq():e.fromEntrySeq():O2e(e)?e.toSeq():J2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(V2e),H2e=function(e){function t(e){return null==e?Z2e():b2e(e)?w2e(e)?e.entrySeq():e.toIndexedSeq():O2e(e)?e.toSeq().entrySeq():X2e(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}(V2e),W2e=function(e){function t(e){return(b2e(e)&&!_2e(e)?e:H2e(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}(V2e);V2e.isSeq=I2e,V2e.Keyed=K2e,V2e.Set=W2e,V2e.Indexed=H2e,V2e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var G2e=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[f2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new M2e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return j2e(e,o,n[o])}))},t}(H2e),Y2e=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 U2e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new M2e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return j2e(e,a,n[a])}))},t}(K2e);Y2e.prototype[N2e]=!0;var Q2e,$2e=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=z2e(this._collection),r=0;if(F2e(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=z2e(this._collection);if(!F2e(n))return new M2e(R2e);var r=0;return new M2e((function(){var t=n.next();return t.done?t:j2e(e,r++,t.value)}))},t}(H2e);function Z2e(){return Q2e||(Q2e=new G2e([]))}function J2e(e){var t=Array.isArray(e)?new G2e(e):L2e(e)?new $2e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Y2e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function X2e(e){var t=e3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function e3e(e){return q2e(e)?new G2e(e):L2e(e)?new $2e(e):void 0}function t3e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function n3e(e){return t3e(e)&&D2e(e)}function r3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function i3e(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!!(r3e(e)&&r3e(t)&&e.equals(t))}var o3e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function a3e(e){return e>>>1&1073741824|3221225471&e}var s3e=Object.prototype.valueOf;function u3e(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 a3e(t)}(e);case"string":return e.length>g3e?function(e){var t=b3e[e];void 0===t&&(t=c3e(e),y3e===v3e&&(y3e=0,b3e={}),y3e++,b3e[e]=t);return t}(e):c3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?a3e(e.hashCode(e)):(e.valueOf!==s3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(p3e&&void 0!==(t=f3e.get(e)))return t;if(void 0!==(t=e[m3e]))return t;if(!d3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[m3e]))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=++h3e,1073741824&h3e&&(h3e=0);if(p3e)f3e.set(e,t);else{if(void 0!==l3e&&!1===l3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(d3e)Object.defineProperty(e,m3e,{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[m3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[m3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return c3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function c3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return a3e(t)}var l3e=Object.isExtensible,d3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var f3e,p3e="function"==typeof WeakMap;p3e&&(f3e=new WeakMap);var h3e=0,m3e="__immutablehash__";"function"==typeof Symbol&&(m3e=Symbol(m3e));var g3e=16,v3e=255,y3e=0,b3e={},w3e=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=E3e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=C3e(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(K2e);w3e.prototype[N2e]=!0;var x3e=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,r=0;return t&&d2e(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&d2e(this),new M2e((function(){var o=r.next();return o.done?o:j2e(e,t?n.size-++i:i++,o.value,o)}))},t}(H2e),_3e=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 M2e((function(){var t=n.next();return t.done?t:j2e(e,t.value,t.value,t)}))},t}(W2e),S3e=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){L3e(t);var r=b2e(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new M2e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){L3e(r);var i=b2e(r);return j2e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(K2e);function k3e(e){var t=z3e(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=B3e,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new M2e((function(){var e=r.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 C3e(e,t,n){var r=z3e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,u2e);return o===u2e?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new M2e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return j2e(r,s,t.call(n,a[1],s,e),i)}))},r}function E3e(e,t){var n=this,r=z3e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=k3e(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=B3e,r.__iterate=function(n,r){var i=this,o=0;return r&&d2e(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&d2e(e);var a=e.__iterator(2,!i);return new M2e((function(){var e=a.next();if(e.done)return e;var s=e.value;return j2e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function I3e(e,t,n,r){var i=z3e(e);return r&&(i.has=function(r){var i=e.get(r,u2e);return i!==u2e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,u2e);return o!==u2e&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new M2e((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return j2e(i,r?c:s++,l,o)}}))},i}function O3e(e,t,n,r){var i=e.size;if(h2e(t,n,i))return e;var o=m2e(t,i),a=g2e(n,i);if(o!=o||a!=a)return O3e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=z3e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&I2e(e)&&s>=0&&(c.get=function(t,n){return(t=f2e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new M2e(R2e);var i=e.__iterator(t,n),a=0,u=0;return new M2e((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:j2e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function T3e(e,t,n,r){var i=z3e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new M2e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:j2e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return 2===i?e:j2e(i,o,l,e)}))},i}function N3e(e,t){var n=w2e(e),r=[e].concat(t).map((function(e){return b2e(e)?n&&(e=k2e(e)):e=n?J2e(e):X2e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&w2e(i)||x2e(e)&&x2e(i))return i}var o=new G2e(r);return n?o=o.toKeyedSeq():x2e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function D3e(e,t,n){var r=z3e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(u,c){u.__iterate((function(o,u){return(!t||c<t)&&b2e(o)?e(o,c+1):(a++,!1===i(o,n?u:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new M2e((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(2===r&&(u=u[1]),t&&!(a.length<t)||!b2e(u))return n?e:j2e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function A3e(e,t,n){t||(t=U3e);var r=w2e(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?K2e(o):x2e(e)?H2e(o):W2e(o)}function P3e(e,t,n){if(t||(t=U3e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return M3e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return M3e(t,e,n)?n:e}))}function M3e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function j3e(e,t,n,r){var i=z3e(e),o=new G2e(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=S2e(e),z2e(i?e.reverse():e)})),a=0,s=!1;return new M2e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:j2e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function R3e(e,t){return e===t?e:I2e(e)?t:e.constructor(t)}function L3e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function F3e(e){return w2e(e)?k2e:x2e(e)?C2e:E2e}function z3e(e){return Object.create((w2e(e)?K2e:x2e(e)?H2e:W2e).prototype)}function B3e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V2e.prototype.cacheResult.call(this)}function U3e(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 q3e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function V3e(e,t){if(!e)throw new Error(t)}function K3e(e){V3e(e!==1/0,"Cannot perform this action with an infinite size.")}function H3e(e){if(q2e(e)&&"string"!=typeof e)return e;if(D2e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function W3e(e){return"object"==typeof e&&(T2e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function G3e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function Y3e(e,t,n){return T2e(e)?e.get(t,n):function(e,t){return T2e(e)?e.has(t):W3e(e)&&U2e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Q3e(e){if(Array.isArray(e))return q3e(e);var t={};for(var n in e)U2e.call(e,n)&&(t[n]=e[n]);return t}function $3e(e,t,n,r){r||(r=n,n=void 0);var i=Z3e(T2e(e),e,H3e(t),0,n,r);return i===u2e?n:i}function Z3e(e,t,n,r,i,o){var a=t===u2e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!W3e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(G3e)+"]: "+t);var c=n[r],l=a?u2e:Y3e(t,c,u2e),d=Z3e(l===u2e?e:T2e(l),l,n,r+1,i,o);return d===l?t:d===u2e?function(e,t){if(!W3e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(T2e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!U2e.call(e,t))return e;var n=Q3e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!W3e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(T2e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(U2e.call(e,t)&&n===e[t])return e;var r=Q3e(e);return r[t]=n,r}(a?e?k4e():{}:t,c,d)}function J3e(e,t){return function(e,t,n){return $3e(e,t,u2e,(function(){return n}))}(this,e,t)}function X3e(e){return function(e,t){return $3e(e,t,(function(){return u2e}))}(this,e)}function e4e(e,t,n,r){return $3e(e,[t],n,r)}function t4e(e,t,n){return 1===arguments.length?e(this):e4e(this,e,t,n)}function n4e(e,t,n){return $3e(this,e,t,n)}function r4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=k2e(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){e4e(e,r,u2e,(function(e){return e===u2e?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function i4e(e,t,n){return o4e(e,t,function(e){function t(n,r,i){return W3e(n)&&W3e(r)?o4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function o4e(e,t,n){if(!W3e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(T2e(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 r=Array.isArray(e),i=e,o=r?C2e:k2e,a=r?function(t){i===e&&(i=Q3e(i)),i.push(t)}:function(t,r){var o=U2e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=Q3e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function a4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return $3e(this,e,k4e(),(function(e){return o4e(e,t)}))}function s4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return $3e(this,e,k4e(),(function(e){return i4e(e,t)}))}function u4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function c4e(){return this.__ownerID?this:this.__ensureOwner(new l2e)}function l4e(){return this.__ensureOwner()}function d4e(){return this.__altered}x3e.prototype.cacheResult=w3e.prototype.cacheResult=_3e.prototype.cacheResult=S3e.prototype.cacheResult=B3e;var f4e=function(e){function t(t){return null==t?k4e():t3e(t)&&!D2e(t)?t:k4e().withMutations((function(n){var r=e(t);K3e(r.size),r.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 k4e().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 C4e(this,e,t)},t.prototype.remove=function(e){return C4e(this,e,u2e)},t.prototype.deleteAll=function(e){var t=S2e(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):k4e()},t.prototype.sort=function(e){return Q4e(A3e(this,e))},t.prototype.sortBy=function(e,t){return Q4e(A3e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new w4e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?S4e(this.size,this._root,e,this.__hash):0===this.size?k4e():(this.__ownerID=e,this.__altered=!1,this)},t}(k2e);f4e.isMap=t3e;var p4e=f4e.prototype;p4e["@@__IMMUTABLE_MAP__@@"]=!0,p4e.delete=p4e.remove,p4e.removeAll=p4e.deleteAll,p4e.setIn=J3e,p4e.removeIn=p4e.deleteIn=X3e,p4e.update=t4e,p4e.updateIn=n4e,p4e.merge=p4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r4e(this,e)},p4e.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 r4e(this,t,e)},p4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return i4e(this,e)},p4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return i4e(this,t,e)},p4e.mergeIn=a4e,p4e.mergeDeepIn=s4e,p4e.withMutations=u4e,p4e.wasAltered=d4e,p4e.asImmutable=l4e,p4e["@@transducer/init"]=p4e.asMutable=c4e,p4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},p4e["@@transducer/result"]=function(e){return e.asImmutable()};var h4e=function(e,t){this.ownerID=e,this.entries=t};h4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(i3e(n,i[o][0]))return i[o][1];return r},h4e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===u2e,u=this.entries,c=0,l=u.length;c<l&&!i3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(c2e(a),(s||!d)&&c2e(o),!s||1!==u.length){if(!d&&!s&&u.length>=D4e)return function(e,t,n,r){e||(e=new l2e);for(var i=new y4e(e,u3e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:q3e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new h4e(e,p)}};var m4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};m4e.prototype.get=function(e,t,n,r){void 0===t&&(t=u3e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[T4e(o&i-1)].get(e+5,t,n,r)},m4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===u2e)return this;var d=T4e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=E4e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=A4e)return function(e,t,n,r,i){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new g4e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&I4e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&I4e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?N4e(f,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(f,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new m4e(e,g,v)};var g4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};g4e.prototype.get=function(e,t,n,r){void 0===t&&(t=u3e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},g4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=31&(0===t?n:n>>>t),u=i===u2e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=E4e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<P4e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new m4e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=N4e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new g4e(e,f,h)};var v4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};v4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(i3e(n,i[o][0]))return i[o][1];return r},v4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=i===u2e;if(n!==this.keyHash)return s?this:(c2e(a),c2e(o),O4e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!i3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(c2e(a),(s||!d)&&c2e(o),s&&2===l)return new y4e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:q3e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new v4e(e,this.keyHash,p)};var y4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};y4e.prototype.get=function(e,t,n,r){return i3e(n,this.entry[0])?this.entry[1]:r},y4e.prototype.update=function(e,t,n,r,i,o,a){var s=i===u2e,u=i3e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(c2e(a),s?void c2e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new y4e(e,this.keyHash,[r,i]):(c2e(o),O4e(this,e,t,u3e(r),[r,i])))},h4e.prototype.iterate=v4e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},m4e.prototype.iterate=g4e.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},y4e.prototype.iterate=function(e,t){return e(this.entry)};var b4e,w4e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_4e(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,r=t.index++,i=void 0;if(n.entry){if(0===r)return x4e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return x4e(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return x4e(e,o.entry);t=this._stack=_4e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(M2e);function x4e(e,t){return j2e(e,t[0],t[1])}function _4e(e,t){return{node:e,index:0,__prev:t}}function S4e(e,t,n,r){var i=Object.create(p4e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function k4e(){return b4e||(b4e=S4e(0))}function C4e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=E4e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===u2e?-1:1:0)}else{if(n===u2e)return e;i=1,r=new h4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?S4e(i,r):k4e()}function E4e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===u2e?e:(c2e(s),c2e(a),new y4e(t,r,[i,o]))}function I4e(e){return e.constructor===y4e||e.constructor===v4e}function O4e(e,t,n,r,i){if(e.keyHash===r)return new v4e(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),u=a===s?[O4e(e,t,n+5,r,i)]:(o=new y4e(t,r,i),a<s?[e,o]:[o,e]);return new m4e(t,1<<a|1<<s,u)}function T4e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function N4e(e,t,n,r){var i=r?e:q3e(e);return i[t]=n,i}var D4e=8,A4e=16,P4e=8;function M4e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var j4e=function(e){function t(t){var n=q4e();if(null==t)return n;if(M4e(t))return t;var r=e(t),i=r.size;return 0===i?n:(K3e(i),i>0&&i<32?U4e(0,i,5,null,new L4e(r.toArray())):n.withMutations((function(e){e.setSize(i),r.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=f2e(this,e))>=0&&e<this.size){var n=H4e(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=f2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?W4e(e,t).set(0,n):W4e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=G4e(e._capacity)?r=V4e(r,e.__ownerID,0,t,n,o):i=V4e(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return U4e(e._origin,e._capacity,e._level,i,r)}(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):q4e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){W4e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return W4e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){W4e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return W4e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&L2e(i)?i:[i]);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 W4e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return h2e(e,t,n)?this:W4e(this,m2e(e,n),g2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=B4e(this,t);return new M2e((function(){var i=r();return i===z4e?{value:void 0,done:!0}:j2e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=B4e(this,t);(n=i())!==z4e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?U4e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?q4e():(this.__ownerID=e,this.__altered=!1,this)},t}(C2e);j4e.isList=M4e;var R4e=j4e.prototype;R4e["@@__IMMUTABLE_LIST__@@"]=!0,R4e.delete=R4e.remove,R4e.merge=R4e.concat,R4e.setIn=J3e,R4e.deleteIn=R4e.removeIn=X3e,R4e.update=t4e,R4e.updateIn=n4e,R4e.mergeIn=a4e,R4e.mergeDeepIn=s4e,R4e.withMutations=u4e,R4e.wasAltered=d4e,R4e.asImmutable=l4e,R4e["@@transducer/init"]=R4e.asMutable=c4e,R4e["@@transducer/step"]=function(e,t){return e.push(t)},R4e["@@transducer/result"]=function(e){return e.asImmutable()};var L4e=function(e,t){this.array=e,this.ownerID=t};L4e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new L4e([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=K4e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},L4e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=K4e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var F4e,z4e={};function B4e(e,t){var n=e._origin,r=e._capacity,i=G4e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(u===c)return z4e;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==z4e)return e;s=null}if(c===l)return z4e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function U4e(e,t,n,r,i,o,a){var s=Object.create(R4e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function q4e(){return F4e||(F4e=U4e(0,0,5))}function V4e(e,t,n,r,i,o){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=V4e(c,t,n-5,r,i,o);return l===c?e:((a=K4e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&c2e(o),a=K4e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function K4e(e,t){return t&&e&&t===e.ownerID?e:new L4e(e?e.array.slice():[],t)}function H4e(e,t){if(t>=G4e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function W4e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new l2e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new L4e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=G4e(o),f=G4e(s);f>=1<<u+5;)c=new L4e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?H4e(e,s-1):f>d?new L4e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=K4e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=K4e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var y=a>>>u&31;if(y!==f>>>u&31)break;y&&(l+=(1<<u)*y),u-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):U4e(a,s,u,c,h)}function G4e(e){return e<32?0:e-1>>>5<<5}var Y4e,Q4e=function(e){function t(e){return null==e?Z4e():n3e(e)?e:Z4e().withMutations((function(t){var n=k2e(e);K3e(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):Z4e()},t.prototype.set=function(e,t){return J4e(this,e,t)},t.prototype.remove=function(e){return J4e(this,e,u2e)},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?$4e(t,n,e,this.__hash):0===this.size?Z4e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(f4e);function $4e(e,t,n,r){var i=Object.create(Q4e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Z4e(){return Y4e||(Y4e=$4e(k4e(),q4e()))}function J4e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===u2e){if(!u)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):$4e(r,i)}Q4e.isOrderedMap=n3e,Q4e.prototype[N2e]=!0,Q4e.prototype.delete=Q4e.prototype.remove;function X4e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var e5e=function(e){function t(e){return null==e?i5e():X4e(e)?e:i5e().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=f2e(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,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):r5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&X4e(t))return t;K3e(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):r5e(n,r)},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):i5e()},t.prototype.slice=function(t,n){if(h2e(t,n,this.size))return this;var r=m2e(t,this.size);if(g2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):r5e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?r5e(this.size,this._head,e,this.__hash):0===this.size?i5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new G2e(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new G2e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new M2e((function(){if(r){var t=r.value;return r=r.next,j2e(e,n++,t)}return{value:void 0,done:!0}}))},t}(C2e);e5e.isStack=X4e;var t5e,n5e=e5e.prototype;function r5e(e,t,n,r){var i=Object.create(n5e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function i5e(){return t5e||(t5e=r5e(0))}n5e["@@__IMMUTABLE_STACK__@@"]=!0,n5e.shift=n5e.pop,n5e.unshift=n5e.push,n5e.unshiftAll=n5e.pushAll,n5e.withMutations=u4e,n5e.wasAltered=d4e,n5e.asImmutable=l4e,n5e["@@transducer/init"]=n5e.asMutable=c4e,n5e["@@transducer/step"]=function(e,t){return e.unshift(t)},n5e["@@transducer/result"]=function(e){return e.asImmutable()};function o5e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function a5e(e){return o5e(e)&&D2e(e)}function s5e(e,t){if(e===t)return!0;if(!b2e(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||w2e(e)!==w2e(t)||x2e(e)!==x2e(t)||D2e(e)!==D2e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!_2e(e);if(D2e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&i3e(i[1],e)&&(n||i3e(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!i3e(t,e.get(r,u2e)):!i3e(e.get(r,u2e),t))return a=!1,!1}));return a&&e.size===s}function u5e(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 c5e(e){if(!e||"object"!=typeof e)return e;if(!b2e(e)){if(!W3e(e))return e;e=V2e(e)}if(w2e(e)){var t={};return e.__iterate((function(e,n){t[n]=c5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(c5e(e))})),n}var l5e=function(e){function t(t){return null==t?m5e():o5e(t)&&!D2e(t)?t:m5e().withMutations((function(n){var r=e(t);K3e(r.size),r.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(k2e(e).keySeq())},t.intersect=function(e){return(e=S2e(e).toArray()).length?f5e.intersect.apply(t(e.pop()),e):m5e()},t.union=function(e){return(e=S2e(e).toArray()).length?f5e.union.apply(t(e.pop()),e):m5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return p5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return p5e(this,this._map.remove(e))},t.prototype.clear=function(){return p5e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.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 r=0;r<t.length;r++)e(t[r]).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 r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.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 r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return D5e(A3e(this,e))},t.prototype.sortBy=function(e,t){return D5e(A3e(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}(E2e);l5e.isSet=o5e;var d5e,f5e=l5e.prototype;function p5e(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 h5e(e,t){var n=Object.create(f5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function m5e(){return d5e||(d5e=h5e(k4e()))}f5e["@@__IMMUTABLE_SET__@@"]=!0,f5e.delete=f5e.remove,f5e.merge=f5e.concat=f5e.union,f5e.withMutations=u4e,f5e.asImmutable=l4e,f5e["@@transducer/init"]=f5e.asMutable=c4e,f5e["@@transducer/step"]=function(e,t){return e.add(t)},f5e["@@transducer/result"]=function(e){return e.asImmutable()},f5e.__empty=m5e,f5e.__make=h5e;var g5e,v5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(V3e(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(g5e)return g5e;g5e=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+f2e(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 h2e(e,n,this.size)?this:(e=m2e(e,this.size),(n=g2e(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,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new M2e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,j2e(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:s5e(this,e)},t}(H2e);function y5e(e,t,n){for(var r=H3e(t),i=0;i!==r.length;)if((e=Y3e(e,r[i++],u2e))===u2e)return n;return e}function b5e(){K3e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}S2e.isIterable=b2e,S2e.isKeyed=w2e,S2e.isIndexed=x2e,S2e.isAssociative=_2e,S2e.isOrdered=D2e,S2e.Iterator=M2e,u5e(S2e,{toArray:function(){K3e(this.size);var e=new Array(this.size||0),t=w2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new x3e(this)},toJS:function(){return c5e(this)},toKeyedSeq:function(){return new w3e(this,!0)},toMap:function(){return f4e(this.toKeyedSeq())},toObject:b5e,toOrderedMap:function(){return Q4e(this.toKeyedSeq())},toOrderedSet:function(){return D5e(w2e(this)?this.valueSeq():this)},toSet:function(){return l5e(w2e(this)?this.valueSeq():this)},toSetSeq:function(){return new _3e(this)},toSeq:function(){return x2e(this)?this.toIndexedSeq():w2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return e5e(w2e(this)?this.valueSeq():this)},toList:function(){return j4e(w2e(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 R3e(this,N3e(this,e))},includes:function(e){return this.some((function(t){return i3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){K3e(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return R3e(this,I3e(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return K3e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){K3e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return R3e(this,C3e(this,e,t))},reduce:function(e,t,n){return S5e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return S5e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return R3e(this,E3e(this,!0))},slice:function(e,t){return R3e(this,O3e(this,e,t,!0))},some:function(e,t){return!this.every(E5e(e),t)},sort:function(e){return R3e(this,A3e(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 d2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=f4e().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return s5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new G2e(e._cache);var t=e.toSeq().map(C5e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(E5e(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},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(p2e,null,e)},flatMap:function(e,t){return R3e(this,function(e,t,n){var r=F3e(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return R3e(this,D3e(this,e,!0))},fromEntrySeq:function(){return new S3e(this)},get:function(e,t){return this.find((function(t,n){return i3e(n,e)}),void 0,t)},getIn:function(e,t){return y5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=w2e(e),i=(D2e(e)?Q4e():f4e()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=F3e(e);return i.map((function(t){return R3e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,u2e)!==u2e},hasIn:function(e){return function(e,t){return y5e(e,t,u2e)!==u2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:S2e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:S2e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return i3e(t,e)}))},keySeq:function(){return this.toSeq().map(k5e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return P3e(this,e)},maxBy:function(e,t){return P3e(this,t,e)},min:function(e){return P3e(this,e?I5e(e):T5e)},minBy:function(e,t){return P3e(this,t?I5e(t):T5e,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 R3e(this,T3e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(E5e(e),t)},sortBy:function(e,t){return R3e(this,A3e(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 R3e(this,function(e,t,n){var r=z3e(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new M2e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?2===r?e:j2e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(E5e(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=D2e(e),n=w2e(e),r=t?1:0;return function(e,t){return t=o3e(t,3432918353),t=o3e(t<<15|t>>>-15,461845907),t=o3e(t<<13|t>>>-13,5),t=o3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=a3e((t=o3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+N5e(u3e(e),u3e(t))|0}:function(e,t){r=r+N5e(u3e(e),u3e(t))|0}:t?function(e){r=31*r+u3e(e)|0}:function(e){r=r+u3e(e)|0}),r)}(this))}});var w5e=S2e.prototype;w5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,w5e[P2e]=w5e.values,w5e.toJSON=w5e.toArray,w5e.__toStringMapper=G3e,w5e.inspect=w5e.toSource=function(){return this.toString()},w5e.chain=w5e.flatMap,w5e.contains=w5e.includes,u5e(k2e,{flip:function(){return R3e(this,k3e(this))},mapEntries:function(e,t){var n=this,r=0;return R3e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return R3e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var x5e=k2e.prototype;x5e["@@__IMMUTABLE_KEYED__@@"]=!0,x5e[P2e]=w5e.entries,x5e.toJSON=b5e,x5e.__toStringMapper=function(e,t){return G3e(t)+": "+G3e(e)},u5e(C2e,{toKeyedSeq:function(){return new w3e(this,!1)},filter:function(e,t){return R3e(this,I3e(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 R3e(this,E3e(this,!1))},slice:function(e,t){return R3e(this,O3e(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=m2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return R3e(this,1===n?r:r.concat(q3e(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 R3e(this,D3e(this,e,!1))},get:function(e,t){return(e=f2e(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=f2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return R3e(this,function(e,t){var n=z3e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new M2e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?j2e(n,a++,t):j2e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(q3e(arguments)),t=j3e(this.toSeq(),H2e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),R3e(this,n)},keySeq:function(){return v5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return R3e(this,T3e(this,e,t,!1))},zip:function(){var e=[this].concat(q3e(arguments));return R3e(this,j3e(this,O5e,e))},zipAll:function(){var e=[this].concat(q3e(arguments));return R3e(this,j3e(this,O5e,e,!0))},zipWith:function(e){var t=q3e(arguments);return t[0]=this,R3e(this,j3e(this,e,t))}});var _5e=C2e.prototype;function S5e(e,t,n,r,i,o){return K3e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function k5e(e,t){return t}function C5e(e,t){return[t,e]}function E5e(e){return function(){return!e.apply(this,arguments)}}function I5e(e){return function(){return-e.apply(this,arguments)}}function O5e(){return q3e(arguments)}function T5e(e,t){return e<t?1:e>t?-1:0}function N5e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}_5e["@@__IMMUTABLE_INDEXED__@@"]=!0,_5e[N2e]=!0,u5e(E2e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),E2e.prototype.has=w5e.includes,E2e.prototype.contains=E2e.prototype.includes,u5e(K2e,k2e.prototype),u5e(H2e,C2e.prototype),u5e(W2e,E2e.prototype);var D5e=function(e){function t(e){return null==e?j5e():a5e(e)?e:j5e().withMutations((function(t){var n=E2e(e);K3e(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(k2e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(l5e);D5e.isOrderedSet=a5e;var A5e,P5e=D5e.prototype;function M5e(e,t){var n=Object.create(P5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function j5e(){return A5e||(A5e=M5e(Z4e()))}P5e[N2e]=!0,P5e.zip=_5e.zip,P5e.zipWith=_5e.zipWith,P5e.__empty=j5e,P5e.__make=M5e;var R5e={exports:{}};
145
+ */function yje(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var bje=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=yje(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))gje.call(n,a)&&(i[a]=n[a]);if(mje){r=mje(n);for(var s=0;s<r.length;s++)vje.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},wje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",xje=function(){};if("production"!==process.env.NODE_ENV){var _je=wje,Sje={},kje=Function.call.bind(Object.prototype.hasOwnProperty);xje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function Cje(e,t,n,r,i){if("production"!==process.env.NODE_ENV)for(var o in e)if(kje(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"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,r,n,null,_je)}catch(e){a=e}if(!a||a instanceof Error||xje((r||"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 Sje)){Sje[a.message]=!0;var u=i?i():"";xje("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}Cje.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(Sje={})};var Eje=Se,Ije=bje,Oje=wje,Tje=Cje,Nje=Function.call.bind(Object.prototype.hasOwnProperty),Dje=function(){};function Aje(){return null}"production"!==process.env.NODE_ENV&&(Dje=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function Pje(){}function Mje(){}Mje.resetWarningCache=Pje;if("production"!==process.env.NODE_ENV){var jje=Se;hje.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<<anonymous>>",i={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:s(Aje),arrayOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=e(s,u,r,i,o+"["+u+"]",Oje);if(c instanceof Error)return c}return null}))},element:s((function(t,n,r,i,o){var s=t[n];return e(s)?null:new a("Invalid "+i+" `"+o+"` of type `"+l(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,r,i){var o=e[t];return Eje.isValidElementType(o)?null:new a("Invalid "+r+" `"+i+"` of type `"+l(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,i,o,s){if(!(t[n]instanceof e)){var u=e.name||r;return new a("Invalid "+o+" `"+s+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:r)+"` supplied to `"+i+"`, expected instance of `"+u+"`.")}var c;return null}))},node:s((function(e,t,n,r,i){return c(e[t])?null:new a("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,r,i,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(Nje(s,c)){var d=e(s,c,r,i,o+"."+c,Oje);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Dje(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."),Aje;function t(t,n,r,i,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+i+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+l+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&Dje("Invalid argument supplied to oneOfType, expected an instance of array."),Aje;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return Dje("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),Aje}return s((function(t,n,r,i,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,r,i,o,Oje))return null;return new a("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,o+"."+c,Oje);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,r,i,o){var s=t[n],u=l(s);if("object"!==u)return new a("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=Ije({},t[n],e);for(var d in c){var f=e[d];if(!f)return new a("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,r,i,o+"."+d,Oje);if(p)return p}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={},i=0;function o(o,s,u,c,l,d,f){if(c=c||r,d=d||u,f!==Oje){if(t){var p=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 p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+u;!n[h]&&i<3&&(Dje("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,i++)}}return null==s[u]?o?null===s[u]?new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new a("The "+l+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,u,c,l,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function u(e){return s((function(t,n,r,i,o,s){var u=t[n];return l(u)!==e?new a("Invalid "+i+" `"+o+"` of type `"+d(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var i,o=r.call(t);if(r!==t.entries){for(;!(i=o.next()).done;)if(!c(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!c(a[1]))return!1}return!0;default:return!1}}function l(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=l(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(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,i.checkPropTypes=Tje,i.resetWarningCache=Tje.resetWarningCache,i.PropTypes=i,i}(jje.isElement,!0)}else hje.exports=function(){function e(e,t,n,r,i,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:Mje,resetWarningCache:Pje};return n.PropTypes=n,n}();var Rje=hje.exports,Lje=Object.freeze({__proto__:null,useCurrentUser:y0,useAccountApi:Y0,useAuthenticationContext:kS,useEnvironmentConfig:Ig,useNotificationContext:v6,usePromise:vS,LinkContext:JC,TextLink:fTe,logger:$g,createId:Jg,ResourceContext:aE,usePluginSettings:function(){var e=a(Y2).settings;return null!=e?e:{}},usePluginStorage:H3,usePluginDeviceStore:H3,usePluginSubscriptionStore:function(){return a(Y2).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=a(Y2).subscriptionStore,i=vS((function(){return r.get(e).catch(G3)}),void 0,kG(kG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return _G(n,void 0,void 0,(function(){var n;return SG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),G3(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return _G(n,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),G3(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return a(Y2).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=a(Y2).userStore,i=vS((function(){return r.get(e).catch(G3)}),void 0,kG(kG([],t||[]),[e])),o=i[0],s=i[1],u=i[2],c=i[3],l=i[4];return{data:o,set:function(t){return _G(n,void 0,void 0,(function(){var n;return SG(this,(function(i){switch(i.label){case 0:return n=o?JSON.parse(JSON.stringify(o)):void 0,c(t),[4,r.set(e,t).catch((function(e){return c(n),G3(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:u,refresh:l,remove:function(){return _G(n,void 0,void 0,(function(){var t;return SG(this,(function(n){switch(n.label){case 0:return t=o?JSON.parse(JSON.stringify(o)):void 0,c(void 0),[4,r.delete(e).catch((function(e){return c(t),G3(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Eg().apiEndpoint}},AccountType:t0,PeoplePicker:Twe,GutterToggle:function(t){var n=t.checked,r=t.readOnly,i=t.onChange,o=t.className,a=t.iconName,s=t.activeIconName,u=t.tooltipResourceKey,c=t.ariaLabelResourceKey,l=OC().formatMessage,d=n?s||a||"CheckboxComposite":a||"Checkbox";return e(wwe,yhe({className:o},{children:r?e(_we,{},void 0):e(rwe,yhe({resourceKey:u},{children:e(xwe,{iconProps:{iconName:d},onClick:function(){return i(!n)},ariaLabel:c?l({id:c}):null},void 0)}),void 0)}),void 0)},EditorSettingsDialog:ywe,Spinner:L,SelectionMode:ee,EditorHighlight:function(t){var n=t.tooltipResourceKey,r=t.className,i=bhe(t,["tooltipResourceKey","className"]);return e(rwe,yhe({resourceKey:n,className:r},{children:e(owe,yhe({},i,{"data-highlight-bubble":!0}),void 0)}),void 0)},useTheme:function(){return a(t6).theme},useSubscriptionHandlePathBuilder:B2,useSubscriptionWebAppUrl:U2});var Fje=[{name:"@reach/core",packageDefinition:yhe({default:{}},Lje)}],zje=[{name:"react",packageDefinition:yhe(yhe({},o),{default:o})},{name:"react-dom",packageDefinition:yhe(yhe({},Me),{default:Me})},{name:"react-is",packageDefinition:yhe(yhe({},Se),{default:Se})},{name:"prop-types",packageDefinition:yhe({default:Rje},Rje)},{name:"react-router-dom",packageDefinition:yhe({},he)},{name:"styled-components",packageDefinition:{default:ke,createGlobalStyle:Ce,css:Ee,useTheme:Oe,isStyledComponent:Te,keyframes:Ne,withTheme:De,ThemeProvider:Ie,ThemeContext:Ae,ThemeConsumer:Pe}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:q,Label:V,PrimaryButton:P,Icon:j,Link:T,TextField:A,ActionButton:D,IconButton:O,DefaultButton:M,Spinner:L,Dropdown:K,ProgressIndicator:H,Shimmer:W,ShimmerElementsGroup:G,ShimmerElementType:Y,DirectionalHint:Q,PersonaSize:$,TooltipHost:B,DialogType:Z,Dialog:Che}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:GC,useIntl:OC,FormattedDate:YC,FormattedTime:QC,IntlProvider:LC}},{name:"@apollo/client",packageDefinition:{default:{},gql:wj,useQuery:function(e,t){return zj(e,t,!1)},ApolloClient:fj,ApolloProvider:Nj,from:qA,ApolloLink:UA,fromPromise:jA,split:VA,HttpLink:ZA,InMemoryCache:WM,useLazyQuery:function(e,t){return zj(e,t,!0)},useMutation:function(e,t){var n=a(Oj()),r=d({called:!1,loading:!1}),i=r[0],o=r[1],s=t?Ma(Ma({},t),{mutation:e}):{mutation:e},u=c(),f=(u.current||(u.current=new Rj({options:s,context:n,result:i,setResult:o})),u.current);return f.setOptions(s),f.context=n,l((function(){return f.afterExecute()})),f.execute(i)},ApolloError:YM,useApolloClient:Dj,useSubscription:function(e,t){var n=p((function(e){return e+1}),0)[1],r=a(Oj()),i=t?Ma(Ma({},t),{subscription:e}):{subscription:e},o=d({loading:!i.skip,error:void 0,data:void 0}),s=o[0],u=o[1],f=c(),h=(f.current||(f.current=new jj({options:i,context:r,setResult:u})),f.current);return h.setOptions(i,!0),h.context=r,__DEV__&&Fj(n),l((function(){return h.afterExecute()})),l((function(){return function(){h.cleanup(),f.current=void 0}}),[]),h.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:qR}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:nL}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:ND}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:Bj}}],Bje=function(t){var n=t.onRequestToken,r=t.children,i=t.subscriptionId,o=d(null),a=o[0],s=o[1],c=u((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(a)},getIsAuthenticated:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null!=n||null!=a]}))}))},getCurrentEmail:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null]}))}))},setToken:s,onHandleError:function(e,t){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(n){return $g.error(e,t),[2,Promise.reject(e)]}))}))}}}),[i,a]);return e(SS.Provider,Ma({value:c},{children:r}),void 0)},Uje="0.4.0-preview.516",qje="103150",Vje="e2c2aad8c99cb465574eb42faa4e9d4809a7fa9d",Kje=st,Hje=et,Wje=zr("match"),Gje=function(e){var t;return Kje(e)&&(void 0!==(t=e[Wje])?!!t:"RegExp"==Hje(e))},Yje=zr("match"),Qje=function(e){if(Gje(e))throw TypeError("The method doesn't accept regular expressions");return e},$je=rt,Zje=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Yje]=!1,"/./"[e](t)}catch(e){}}return!1};kr({target:"String",proto:!0,forced:!Zje("includes")},{includes:function(e){return!!~String($je(this)).indexOf(Qje(e),arguments.length>1?arguments[1]:void 0)}});var Jje,Xje,eRe={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"}},tRe={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"},teamsAustralia:{clientId:"29942469-c421-4026-92ef-9bf24a6fc08c"}},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"}},nRe=["//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"],rRe=function(t){var n=t.children,r=Eg().apiEndpoint,i=u((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!nRe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return $g.info("Will use non prod client config..."),Ma({},eRe);return Ma(Ma({},eRe),tRe)}())}),[r]);return e(Lg.Provider,Ma({value:i},{children:n}),void 0)},iRe=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 Ra(this,void 0,void 0,(function(){return La(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 Ra(this,void 0,void 0,(function(){return La(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}(),oRe=new iRe,aRe=function(n){var r=n.subscriptionId,i=n.children;return n.shouldUsePublicAccess?e(sRe,Ma({subscriptionId:r},{children:i}),void 0):e(t,{children:i},void 0)},sRe=function(n){var r=n.subscriptionId,i=n.children,o=a(SS).setToken,s=eE(),c=function(){var e=EV().fetchFromApi,t=IV();return u((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=EV().fetchFromApi,d=a(ZC),f=d.handleFatalError,p=d.handleAccessDeniedError,h=vS((function(){return Ra(this,void 0,void 0,(function(){var e,t,n;return La(this,(function(i){switch(i.label){case 0:return e="Reach::PublicAccessToken::"+r,[4,s.getString(e)];case 1:return(t=i.sent())?(o(t),[2,!0]):[4,c(r)];case 2:return i.sent().allowPublicAccess?[4,b(r)]:[3,5];case 3:return n=i.sent(),o(n),[4,s.setString(e,n)];case 4:return i.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[r]),m=h[0],g=h[1],v=h[2];if(v)return $g.error(v),f({error:v}),null;if(g)return null;if(!m){var y={message:"Public access is not enabled for the subscription "+r+"!"};return $g.error(y.message),p({error:y}),null}return e(t,{children:i},void 0);function b(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},uRe=function(t){var n=t.children,r=d(),i=r[0],o=r[1],a=d(),s=a[0],c=a[1],l=d(),f=l[0],p=l[1],h=u((function(){return{handleFatalError:o,handleAccessDeniedError:c,handleNotFoundError:p}}),[o,c,p]);return e(ZC.Provider,Ma({value:h},{children:e(cRe,Ma({fatalError:i,notFoundError:f,accessDeniedError:s},{children:n}),void 0)}),void 0)},cRe=function(n){var r=n.fatalError,i=n.accessDeniedError,o=n.notFoundError,a=n.children;return r?e(lRe,{messageId:r.messageId,error:r.error},void 0):i?e(lRe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):o?e(lRe,{messageId:"NotFound.message"},void 0):e(t,{children:a},void 0)},lRe=function(t){var r=t.messageId,i=t.error,o=OC().formatMessage,a=d(!1),s=a[0],u=a[1];return e(nje,Ma({errorType:eje.GenericError,alertText:o({id:r||"FatalError.genericMessage"}),onClick:function(){return u(!s)}},{children:s&&n(dRe,{children:[e(GC,{id:"Generic.error.details"},void 0),e(fRe,{children:JSON.stringify(i)||"Not provided"},void 0)]},void 0)}),void 0)},dRe=ke.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(Jje||(Jje=Ha(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),20),fRe=ke.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(Xje||(Xje=Ha(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),pRe=function(t){var n=t.children,r=U2(),i=u((function(){return{onShare:function(){return Ra(void 0,void 0,void 0,(function(){return La(this,(function(e){return[2,null]}))}))},onOpenExternalLink:o,tryGetInternalLink:function(){return null},changeHistory:a}}),[]);return e(JC.Provider,Ma({value:i},{children:n}),void 0);function o(e){window.open(e,"_blank")}function a(e){window.open(""+r+e)}},hRe=function(){return null},mRe=Object.freeze({__proto__:null,Page:hRe,NavLinkSidebarItem:hRe,PageMenuActionItem:hRe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+Uje+" ("+qje+") ["+Vje+"]"),window.__did_initialize_reach_context)return;ce()}();var gRe=function(r){var i,o,s,c,d=null!=a(Cg);l((function(){var e,t;window.__did_initialize_reach_context||(window.__did_initialize_reach_context=!0,d||window.__is_reach_app||($2.apply(void 0,_he(["ReachCorePackages"],_he(_he([],zje),Fje))),e=require("./"),t=[{name:"@livetiles/reach-components-react",packageDefinition:Ma({default:{}},e)},{name:"@reach/chrome",packageDefinition:Ma({default:{}},mRe)}],$2.apply(void 0,Va(["ReachComponentLibraryPackages"],t))))}),[]);var f=u((function(){var e,t,n,i,o,a,s,u;return{env:{deviceInfo:{},version:Uje,commitId:Vje,buildId:qje},appConfig:{apiEndpoint:null!==(t=null===(e=r.config)||void 0===e?void 0:e.apiEndpoint)&&void 0!==t?t:"https://api.reach.livetiles.io/api/v1",webAppUrl:null!==(i=null===(n=r.config)||void 0===n?void 0:n.webAppUrl)&&void 0!==i?i:"https://reach.livetiles.io",api3Endpoint:null!==(a=null===(o=r.config)||void 0===o?void 0:o.api3Endpoint)&&void 0!==a?a:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:null!==(u=null===(s=r.config)||void 0===s?void 0:s.webSocketsEndpoint)&&void 0!==u?u:"wss://ws.reach.livetiles.io/api/v2"}}}),[null===(i=r.config)||void 0===i?void 0:i.apiEndpoint,null===(o=r.config)||void 0===o?void 0:o.webAppUrl,null===(s=r.config)||void 0===s?void 0:s.api3Endpoint,null===(c=r.config)||void 0===c?void 0:c.webSocketsEndpoint]);return d?($g.warn("A ReachContext already exists. Ignoring the given context: "+JSON.stringify(Ma({subscriptionId:r.subscriptionId},r.config),null,2)),e(t,{children:r.children},void 0)):e("div",Ma({className:MG},{children:e(Cg.Provider,Ma({value:f},{children:e(we,{children:e(XC.Provider,Ma({value:oRe},{children:e(rRe,{children:e(XX,Ma({language:r.language},{children:e(n6,Ma({disableUiFabricThemeOverwrite:r.disableUiFabricThemeOverwrite},{children:e(uRe,{children:e(Bje,Ma({onRequestToken:r.onRequestToken,subscriptionId:r.subscriptionId},{children:e(rE,Ma({subscriptionId:r.subscriptionId},{children:e(aRe,Ma({subscriptionId:r.subscriptionId,shouldUsePublicAccess:!r.onRequestToken},{children:e(pRe,{children:e(NT.Provider,Ma({value:{hideChrome:!1}},{children:e(vRe,{children:e(hK,Ma({gqlClientConfig:{endPoint:f.appConfig.api3Endpoint,webSocketsEndpoint:f.appConfig.webSocketsEndpoint}},{children:e(O2,{children:e(P6,{children:n(k6,{children:[e(O6,{},void 0),e(Ewe,{},void 0),e(yRe,{},void 0),n(xe,{children:[e(_e,{path:"/:subscriptionHandleOrId",render:function(){return r.children}},void 0),e(_e,{render:function(){return r.children}},void 0)]},void 0)]},void 0)},void 0)},void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)}),void 0)},void 0)}),void 0)}),void 0)},void 0)}),void 0)},void 0)}),void 0)}),void 0)},vRe=function(t){var n,r=t.children,i=a(t6).setTheme,o=a(aE).changeSettings,s=Q0().getCurrentUser,c=vS((function(){var e,t;return Ra(this,void 0,void 0,(function(){var n,r,a,u;return La(this,(function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,s()];case 1:return n=c.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&i(n.subscription.theme),r=Z_(n.preferredUiLanguage,$_(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),a=jAe(n),o(r,a).then((function(){return null}),$g.error),[2,n];case 2:throw u=c.sent(),$g.error(u),u;case 3:return[2]}}))}))})),l=c[0],d=c[1],f=c[2],p=c[3],h=a(ZC),m=h.handleFatalError,g=h.handleNotFoundError,v=h.handleAccessDeniedError,y=u((function(){return{user:l,refreshUser:function(e){return Promise.resolve(e&&p(e))}}}),[l]);return f?(403===(null===(n=null==f?void 0:f.response)||void 0===n?void 0:n.statusCode)?v({error:f}):m({error:f}),null):d?null:null==l?(g({}),null):e(g0.Provider,Ma({value:y},{children:r}),void 0)},yRe=function(){return l((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),n(t,{children:[e(NG,{},void 0),e(PG,{},void 0)]},void 0)};var bRe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,wRe=/[\0-\x1F\x7F-\x9F]/,xRe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,_Re=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 SRe(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 kRe(e){return Object.prototype.toString.call(e)}function CRe(e){return"[object Function]"===kRe(e)}function ERe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var IRe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var ORe={"http:":{validate:function(e,t,n){var r=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(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=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(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=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(r)?r.match(n.re.mailto)[0].length:0}}},TRe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function NRe(e){var t=e.re=function(e){var t={};return t.src_Any=bRe.source,t.src_Cc=wRe.source,t.src_Z=xRe.source,t.src_P=_Re.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 r(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(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];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 r={validate:null,link:null};if(e.__compiled__[t]=r,function(e){return"[object Object]"===kRe(e)}(n))return!function(e){return"[object RegExp]"===kRe(e)}(n.validate)?CRe(n.validate)?r.validate=n.validate:o(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(CRe(n.normalize)?r.normalize=n.normalize:n.normalize?o(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===kRe(e)}(n)?o(t,n):i.push(t)}})),i.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(ERe).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 DRe(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function ARe(e,t){var n=new DRe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function PRe(e,t){if(!(this instanceof PRe))return new PRe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||IRe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=SRe({},IRe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=SRe({},ORe,e),this.__compiled__={},this.__tlds__=TRe,this.__tlds_replaced__=!1,this.re={},NRe(this)}PRe.prototype.add=function(e,t){return this.__schemas__[e]=t,NRe(this),this},PRe.prototype.set=function(e){return this.__opts__=SRe(this.__opts__,e),this},PRe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=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+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<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!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[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},PRe.prototype.pretest=function(e){return this.re.pretest.test(e)},PRe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},PRe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(ARe(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(ARe(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},PRe.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(),NRe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,NRe(this),this)},PRe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},PRe.prototype.onCompile=function(){};var MRe=PRe;function jRe(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 RRe(){return RRe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RRe.apply(this,arguments)}function LRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FRe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zRe(e,t,n){return t&&FRe(e.prototype,t),n&&FRe(e,n),e}function BRe(e){return BRe="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},BRe(e)}function URe(e){return URe="function"==typeof Symbol&&"symbol"===BRe(Symbol.iterator)?function(e){return BRe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":BRe(e)},URe(e)}function qRe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VRe(e,t){return!t||"object"!==URe(t)&&"function"!=typeof t?qRe(e):t}function KRe(e){return KRe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},KRe(e)}function HRe(e,t){return HRe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},HRe(e,t)}function WRe(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&&HRe(e,t)}function GRe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YRe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function QRe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ZRe(e){return function(e){if(Array.isArray(e))return $Re(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 $Re(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)?$Re(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 JRe=function(e){return e===Object(e)?Object.keys(e):[]},XRe=function(e){return e===Object(e)?Object.values(e):[]};function eLe(e,t){var n=Object.assign({},e);return rLe(e)&&rLe(t)&&JRe(t).forEach((function(r){rLe(t[r])&&r in e?n[r]=eLe(e[r],t[r]):Object.assign(n,j8({},r,t[r]))})),n}var tLe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return eLe(e,t)}),e)},nLe=function(e,t){var n=Object.assign({},e);if(t)for(var r=0;r<t.length;r++)delete n[t[r]];return n},rLe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},iLe=function(e){return(e||[]).filter(Boolean)},oLe=function(e){return"&"===e[0]},aLe=function(e){return!oLe(e)},sLe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},uLe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=JRe(e),r={},i=0,o=n.length;i<o;i+=1){var a=n[i],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(r[a]=e[a])}return r},cLe=function(e,t){for(var n=t.map(sLe),r=JRe(e),i={},o=0,a=r.length;o<a;o+=1){var s=r[o];(t.indexOf(s)>=0||n.indexOf(sLe(s))>=0)&&(i[s]=e[s])}return i},lLe=function e(t,n){for(var r=tLe.apply(void 0,[{},nLe(t,n)].concat(ZRe(XRe(cLe(t,n))))),i=JRe(r).filter(oLe),o=0,a=i.length;o<a;o+=1){var s=i[o],u=e(r[s],n);n.indexOf(s)>=0?(delete r[s],r=tLe({},r,u)):r[s]=u}return r};function dLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pLe=["animationName"],hLe=function(e){var t=e.style,n=e.className;return fLe(fLe({},t?{style:uLe(t,pLe)}:{}),n?{className:n}:{})},mLe=s(hLe);mLe.Provider;var gLe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return JRe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},vLe={},yLe=function(e){return function(t,n){var r,i=n||vLe;e.memoize=e.memoize||new WeakMap,e.memoize.has(i)?r=e.memoize.get(i):(r={},e.memoize.set(i,r));var o=gLe(t).join(" ");return o in r?r[o]:r[o]=e(t||[],n)}};function bLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xLe=function(e){var t=e&&JRe(e)[0];return t&&t.split("__")[0].split("--")[0]},_Le=function(e,t,n){if(e){var r=e.split(" ")[0],i=[].concat(ZRe(0===t.length?n.map((function(e){return"".concat(r,"--").concat(e.substring(1))})):[]),ZRe(t.map((function(e){return"".concat(r,"__").concat(e)}))));return 0===t.length?[e].concat(ZRe(i)):i}};function SLe(e){var t=e.style,n=e.className,r=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hLe,o=n||xLe(r)||(null==t?void 0:t.className),a="function"==typeof t?t:yLe((function(e,n){var a=gLe(e);ghe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),ghe(!n||rLe(n),"Optional second parameter must be a plain object.");var s=a.filter(oLe),u=a.filter(aLe),c=u.length>0?function(e){return XRe(cLe(e,u))}:function(e){return[e]},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(lLe(e,s))},d=_Le(o,u,s);return SLe(wLe(wLe(wLe({},(t||n)&&{style:tLe.apply(void 0,[{}].concat(ZRe(l(n)),ZRe(l(t))))}),d&&{className:d.join(" ")}),r&&{classNames:r}),i)})),s=wLe({},"function"==typeof t?t:{style:t}),u=ZRe(new Set([].concat(ZRe(s.className?s.className.split(" "):[]),ZRe(o?o.split(" "):[])))),c=r?iLe(u.map((function(e){return r[e]}))):u,l=i(wLe(wLe({},s),c.length>0?{className:c.join(" ")}:{}));return Object.assign(a,l),a}function kLe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CLe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kLe(Object(n),!0).forEach((function(t){j8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kLe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ELe=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 CLe(CLe(CLe({},e),"function"==typeof t?t:{}),{},{style:CLe(CLe({},e.style),"function"==typeof t?t.style:t)})}),{})},ILe=function(e,t,n){var r=t.style,i=t.className,o=t.classNames,s=a(mLe);return u((function(){return SLe({style:r,className:i,classNames:o},s)}),[r,i,o,s])(n,e)},OLe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},TLe="__id__",NLe="__display__",DLe=function(e,t){ghe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(NLe),r=e.indexOf(TLe);return n<0&&(n=null),r<0&&(r=null),ghe(null!==n||null!==r,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===t&&r<=n||"display"===t&&n<=r?0:1:0},ALe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=YRe(t.exec(e.toString()),3),r=n[1],i=n[2];return ghe(!i,"RegExp flags are not supported. Change /".concat(r,"/").concat(i," into /").concat(r,"/")),"(".concat(r,")")})).join("|"),"g")},PLe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},MLe=function(){},jLe=function(e,t,n){for(var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:MLe,o=ALe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=PLe(t)+1,n})),u=0,c=0;null!==(r=o.exec(e));){var l=s.find((function(e){return!!r[e]})),d=s.indexOf(l),f=t[d],p=f.markup,h=f.displayTransform,m=l+DLe(p,"id"),g=l+DLe(p,"display"),v=r[m],y=h(v,r[g]),b=e.substring(u,r.index);i(b,u,c),c+=b.length,n(r[0],r.index,c,v,y,d,u),c+=y.length,u=o.lastIndex}u<e.length&&i(e.substring(u),u,c)},RLe=function(e,t){var n="";return jLe(e,t,(function(e,t,r,i,o){n+=o}),(function(e){n+=e})),n},LLe=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,i){void 0===r&&i+e.length>=n&&(r=t+n-i)},a=function(e,t,o,a,s,u,c){void 0===r&&o+s.length>n&&(r="NULL"===i?null:t+("END"===i?e.length:0))};return jLe(e,t,a,o),void 0===r?e.length:r},FLe=function(e,t,n,r){return e.substring(0,t)+r+e.substring(n)},zLe=function(e,t){var n=[];return jLe(e,t,(function(e,t,r,i,o,a,s){n.push({id:i,display:o,childIndex:a,index:t,plainTextIndex:r})})),n},BLe=function(e,t){return"".concat(e,"-").concat(t)},ULe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},qLe=function(e){var t=OLe(e),n=e[e.indexOf(NLe)+NLe.length],r=e[e.indexOf(TLe)+TLe.length];return new RegExp(t.replace(NLe,"([^".concat(OLe(n||""),"]+?)")).replace(TLe,"([^".concat(OLe(r||""),"]+?)")))},VLe=function(e){return h.toArray(e).map((function(e){var t=e.props,n=t.markup,r=t.regex,i=t.displayTransform;return{markup:n,regex:r?KLe(r,n):qLe(n),displayTransform:i||function(e,t){return t||e}}}))},KLe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,r=PLe(t);return ghe(n===r,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(r,")")),e},HLe=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],WLe=function(e){return function(e){var t=e;return HLe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},GLe=function(e,t,n){return n?WLe(e).indexOf(WLe(t)):e.toLowerCase().indexOf(t.toLowerCase())},YLe=function(e){return"number"==typeof e},QLe=function(e){return e===Object(e)?Object.keys(e):[]},$Le=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=(t=[]).concat.apply(t,r);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 ZLe(e,t){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=QRe(r,["style","className","classNames"]),c=t?t(u):void 0,l=ILe(e,{style:i,className:a,classNames:s},c);return o.createElement(n,RRe({},u,{style:l}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var JLe=function(e){function t(){var e;return LRe(this,t),GRe(qRe(e=VRe(this,KRe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return WRe(t,v),zRe(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 r={left:t,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,u=n.children,c=n.containerRef,l=VLe(u);r===i&&(e=LLe(a,l,r,"START"));var d=[],f={},p=d,h=0;return jLe(a,l,(function(e,n,r,i,o,a,s){var u=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,i);p.push(t.getMentionComponentForMatch(i,o,a,u))}),(function(n,r,i){if(YLe(e)&&e>=r&&e<=r+n.length){var o=e-r;p.push(t.renderSubstring(n.substring(0,o),h)),p=[t.renderSubstring(n.substring(o),h)]}else p.push(t.renderSubstring(n,h));h++})),p.push(" "),p!==d&&d.push(this.renderHighlighterCaret(p)),o.createElement("div",RRe({},s,{ref:c}),d)}},{key:"renderSubstring",value:function(e,t){return o.createElement("span",RRe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var i={id:e,display:t,key:r},a=h.toArray(this.props.children)[n];return o.cloneElement(a,i)}},{key:"renderHighlighterCaret",value:function(e){return o.createElement("span",RRe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}();GRe(JLe,"propTypes",{selectionStart:aW.number,selectionEnd:aW.number,value:aW.string.isRequired,onCaretPositionChange:aW.func.isRequired,containerRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired}),GRe(JLe,"defaultProps",{value:""});var XLe=ZLe({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}}))(JLe),eFe=function(e){function t(){return LRe(this,t),VRe(this,KRe(t).apply(this,arguments))}return WRe(t,v),zRe(t,[{key:"render",value:function(){var e=$Le(this.props,["style","classNames","className"],QLe(t.propTypes));return o.createElement("li",RRe({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,r=e.suggestion,i=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(r,t,s,i,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,r=t.query,i=t.style,a=GLe(e,r,n);return-1===a?o.createElement("span",i("display"),e):o.createElement("span",i("display"),e.substring(0,a),o.createElement("b",i("highlight"),e.substring(a,a+r.length)),e.substring(a+r.length))}}]),t}();GRe(eFe,"propTypes",{id:aW.string.isRequired,query:aW.string.isRequired,index:aW.number.isRequired,ignoreAccents:aW.bool,suggestion:aW.oneOfType([aW.string,aW.shape({id:aW.oneOfType([aW.string,aW.number]).isRequired,display:aW.string})]).isRequired,renderSuggestion:aW.func,focused:aW.bool});var tFe=ZLe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(eFe);function nFe(){var e=ILe(),t=e("spinner");return o.createElement("div",e,o.createElement("div",t,o.createElement("div",t(["element","element1"])),o.createElement("div",t(["element","element2"])),o.createElement("div",t(["element","element3"])),o.createElement("div",t(["element","element4"])),o.createElement("div",t(["element","element5"]))))}var rFe=function(e){function t(){var e,n;LRe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return GRe(qRe(n=VRe(this,(e=KRe(t)).call.apply(e,[this].concat(i)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),GRe(qRe(n),"select",(function(e,t){n.props.onSelect(e,t)})),GRe(qRe(n),"setUlElement",(function(e){n.ulElement=e})),n}return WRe(t,v),zRe(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,r=t.bottom,i=this.ulElement.getBoundingClientRect().top;r=r-i+e,(n=n-i+e)<e?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,r=e.isOpened,i=e.style,a=e.onMouseDown,s=e.containerRef,u=e.position,c=e.left,l=e.top;return r?o.createElement("div",RRe({},ELe({position:u||"absolute",left:c,top:l},i),{onMouseDown:a,ref:s}),o.createElement("ul",RRe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,i=n.queryInfo;return[].concat(jRe(t),jRe(r.map((function(n,r){return e.renderSuggestion(n,i,t.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,i=n===this.props.focusIndex,a=t.childIndex,s=t.query,u=h.toArray(this.props.children)[a].props.renderSuggestion,c=this.props.ignoreAccents;return o.createElement(tFe,{style:this.props.style("item"),key:"".concat(a,"-").concat(iFe(e)),id:BLe(this.props.id,n),query:s,index:n,ignoreAccents:c,renderSuggestion:u,suggestion:e,focused:i,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return o.createElement(nFe,{style:this.props.style("loadingIndicator")})}}]),t}();GRe(rFe,"propTypes",{id:aW.string.isRequired,suggestions:aW.object.isRequired,a11ySuggestionsListLabel:aW.string,focusIndex:aW.number,position:aW.string,left:aW.number,top:aW.number,scrollFocusedIntoView:aW.bool,isLoading:aW.bool,isOpened:aW.bool.isRequired,onSelect:aW.func,ignoreAccents:aW.bool,containerRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired}),GRe(rFe,"defaultProps",{suggestions:{},onSelect:function(){return null}});var iFe=function(e){return"string"==typeof e?e:e.id},oFe=ZLe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(rFe);function aFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aFe(n,!0).forEach((function(t){GRe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var uFe={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},cFe=!1,lFe={singleLine:aW.bool,allowSpaceInQuery:aW.bool,allowSuggestionsAboveCursor:aW.bool,forceSuggestionsAboveCursor:aW.bool,ignoreAccents:aW.bool,a11ySuggestionsListLabel:aW.string,value:aW.string,onKeyDown:aW.func,onSelect:aW.func,onBlur:aW.func,onChange:aW.func,suggestionsPortalHost:"undefined"==typeof Element?aW.any:aW.PropTypes.instanceOf(Element),inputRef:aW.oneOfType([aW.func,aW.shape({current:"undefined"==typeof Element?aW.any:aW.instanceOf(Element)})]),children:aW.oneOfType([aW.element,aW.arrayOf(aW.element)]).isRequired},dFe=function(e){function t(e){var n;return LRe(this,t),GRe(qRe(n=VRe(this,KRe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),GRe(qRe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,r=e.disabled,i=e.style;return sFe({},$Le(n.props,["style","classNames","className"],QLe(lFe)),{},i("input"),{value:n.getPlainText()},!t&&!r&&{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":BLe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),GRe(qRe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,r=e.style,i=n.getInputProps();return o.createElement("div",r("control"),n.renderHighlighter(),t?n.renderInput(i):n.renderTextarea(i))})),GRe(qRe(n),"renderInput",(function(e){return o.createElement("input",RRe({type:"text",ref:n.setInputRef},e))})),GRe(qRe(n),"renderTextarea",(function(e){return o.createElement("textarea",RRe({ref:n.setInputRef},e))})),GRe(qRe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),GRe(qRe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),GRe(qRe(n),"renderSuggestionsOverlay",(function(){if(!YLe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,r=e.left,i=e.top,a=o.createElement(oFe,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:r,top:i,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?je.createPortal(a,n.props.suggestionsPortalHost):a})),GRe(qRe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,r=e.selectionEnd,i=n.props,a=i.singleLine,s=i.children,u=i.value,c=i.style;return o.createElement(XLe,{containerRef:n.setHighlighterElement,style:c("highlighter"),value:u,singleLine:a,selectionStart:t,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},s)})),GRe(qRe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),GRe(qRe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),GRe(qRe(n),"getPlainText",(function(){return RLe(n.props.value||"",VLe(n.props.children))})),GRe(qRe(n),"executeOnChange",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(r)):void 0})),GRe(qRe(n),"handleChange",(function(e){if(cFe=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",r=VLe(n.props.children),i=e.target.value,o=function(e,t,n,r){var i=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=RLe(e,r),u=s.length-t.length;"undefined"===i&&(i=a+u),"undefined"===o&&(o=i),i===o&&o===a&&s.length===t.length&&(i-=1);var c=t.slice(i,a),l=Math.min(i,a),d=o;i===a&&(d=Math.max(o,i+u));var f=LLe(e,r,l,"START"),p=LLe(e,r,d,"END"),h=LLe(e,r,l,"NULL"),m=LLe(e,r,d,"NULL"),g=null===h||null===m,v=FLe(e,f,p,c);if(!g){var y=RLe(v,r);if(y!==t){for(l=0;t[l]===y[l];)l++;c=t.slice(l,a),d=s.lastIndexOf(t.substring(a)),f=LLe(e,r,l,"START"),p=LLe(e,r,d,"END"),v=FLe(e,f,p,c)}}return v}(t,i,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},r);i=RLe(o,r);var a=e.target.selectionStart,s=e.target.selectionEnd,u=!1,c=function(e,t,n){var r=n,i=!1;if(jLe(e,t,(function(e,t,o,a,s,u,c){o<=n&&o+s.length>n&&(r=o,i=!0)})),i)return r}(t,r,a);void 0!==c&&n.state.selectionEnd>c&&(s=a=c,u=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:u});var l=zLe(o,r),d={target:{value:o}};n.executeOnChange(d,o,i,l)}})),GRe(qRe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!cFe){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)}})),GRe(qRe(n),"handleKeyDown",(function(e){if(0!==ULe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(uFe).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case uFe.ESC:return void n.clearSuggestions();case uFe.DOWN:return void n.shiftFocus(1);case uFe.UP:return void n.shiftFocus(-1);case uFe.RETURN:case uFe.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),GRe(qRe(n),"shiftFocus",(function(e){var t=ULe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),GRe(qRe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,i=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(jRe(e),jRe(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],o=i.result,a=i.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),GRe(qRe(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)})),GRe(qRe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),GRe(qRe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),GRe(qRe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,r=t.suggestionsPortalHost,i=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,u=s.getBoundingClientRect(),c=fFe(s,"font-size"),l={left:u.left+e.left,top:u.top+e.top+c},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var p=l.left,h=l.top;p-=fFe(a,"margin-left"),h-=fFe(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var m=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>m?f.left=Math.max(0,m-a.offsetWidth):f.left=p,i&&h+a.offsetHeight>d&&a.offsetHeight<h-c||o?f.top=Math.max(0,h-a.offsetHeight-c):f.top=h}else{var g=e.left-s.scrollLeft,v=e.top-s.scrollTop;g+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=g,i&&l.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<u.top-c-s.scrollTop?f.top=v-a.offsetHeight-c:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),GRe(qRe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),GRe(qRe(n),"handleCompositionStart",(function(){cFe=!0})),GRe(qRe(n),"handleCompositionEnd",(function(){cFe=!1})),GRe(qRe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(e,t);else if(r.createTextRange){var i=r.createTextRange();i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",e),i.select()}}})),GRe(qRe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",i=n.props.children,a=VLe(i),s=LLe(r,a,t,"NULL");if(null!==s){var u=function(e,t){var n=zLe(e,t),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,s),a),c=e.substring(u,t);o.Children.forEach(i,(function(t,r){if(t){var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,r=OLe(e);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(t.props.trigger,n.props),o=c.match(i);if(o){var a=u+c.indexOf(o[1],o.index);n.queryData(o[2],r,a,a+o[1].length,e)}}}))}})),GRe(qRe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),GRe(qRe(n),"queryData",(function(e,t,r,i,o){var a=n.props,s=a.children,u=a.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,r){for(var i=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;GLe(s,n,t)>=0&&i.push(e[o])}return i}:e}(h.toArray(s)[t].props.data,u),l=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,i,o));l instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,i,o,l)})),GRe(qRe(n),"updateSuggestions",(function(e,t,r,i,o,a,s){if(e===n._queryId){n.suggestions=sFe({},n.suggestions,GRe({},t,{queryInfo:{childIndex:t,query:r,querySequenceStart:i,querySequenceEnd:o,plainTextValue:a},results:s}));var u=n.state.focusIndex,c=ULe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=c?Math.max(c-1,0):u})}})),GRe(qRe(n),"addMention",(function(e,t){var r=e.id,i=e.display,o=t.childIndex,a=t.querySequenceStart,s=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",l=VLe(n.props.children),d=h.toArray(n.props.children)[o].props,f=d.markup,p=d.displayTransform,m=d.appendSpaceOnAdd,g=d.onAdd,v=LLe(c,l,a,"START"),y=v+s-a,b=function(e,t,n){return e.replace(TLe,t).replace(NLe,n)}(f,r,i);m&&(b+=" ");var w=FLe(c,v,y,b);n.inputElement.focus();var x=p(r,i);m&&(x+=" ");var _=a+x.length;n.setState({selectionStart:_,selectionEnd:_,setSelectionAfterMentionChange:!0});var S={target:{value:w}},k=zLe(w,l),C=FLe(u,a,s,x);n.executeOnChange(S,w,C,k),g&&g(r,i,v,y),n.clearSuggestions()})),GRe(qRe(n),"isLoading",(function(){var e=!1;return o.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),GRe(qRe(n),"isOpened",(function(){return YLe(n.state.selectionStart)&&(0!==ULe(n.state.suggestions)||n.isLoading())})),GRe(qRe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(qRe(n)),n.handleCut=n.handleCut.bind(qRe(n)),n.handlePaste=n.handlePaste.bind(qRe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return WRe(t,o.Component),zRe(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 o.createElement("div",RRe({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,r=t.selectionEnd,i=this.props,o=i.value,a=i.children,s=VLe(a),u=LLe(o,s,n,"START"),c=LLe(o,s,r,"END"),l=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=FLe(o,u,c,l||d).replace(/\r/g,""),p=RLe(f,s),h={target:sFe({},e.target,{value:f})};this.executeOnChange(h,f,p,zLe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=VLe(o),u=LLe(a,s,n,"START"),c=LLe(a,s,r,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,r)),e.clipboardData.setData("text/react-mentions",a.slice(u,c))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,r=t.selectionEnd,i=this.props,o=i.children,a=i.value,s=VLe(o),u=LLe(a,s,n,"START"),c=LLe(a,s,r,"END"),l=[a.slice(0,u),a.slice(c)].join(""),d=RLe(l,s),f={target:sFe({},e.target,{value:d})};this.executeOnChange(f,l,d,zLe(a,s))}}}]),t}();GRe(dFe,"propTypes",lFe),GRe(dFe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var fFe=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},pFe=ZLe({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:sFe({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}}))(dFe),hFe={fontWeight:"inherit"},mFe=function(e){var t=e.display,n=e.style,r=e.className,i=e.classNames,a=ILe(hFe,{style:n,className:r,classNames:i});return o.createElement("strong",a,t)};mFe.propTypes={onAdd:aW.func,onRemove:aW.func,renderSuggestion:aW.func,trigger:aW.oneOfType([aW.string,aW.instanceOf(RegExp)]),markup:aW.string,displayTransform:aW.func,allowSpaceInQuery:aW.bool,isLoading:aW.bool},mFe.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 gFe=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 vFe(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=gFe.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var yFe=[".DS_Store","Thumbs.db"];function bFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?xFe(e.dataTransfer,e.type):wFe(e))];var n}))}))}function wFe(e){return(null!==e.target&&e.target.files?SFe(e.target.files):[]).map((function(e){return vFe(e)}))}function xFe(e,t){return Ra(this,void 0,void 0,(function(){var n;return La(this,(function(r){switch(r.label){case 0:return e.items?(n=SFe(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(kFe))]):[3,2];case 1:return[2,_Fe(CFe(r.sent()))];case 2:return[2,_Fe(SFe(e.files).map((function(e){return vFe(e)})))]}}))}))}function _Fe(e){return e.filter((function(e){return-1===yFe.indexOf(e.name)}))}function SFe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function kFe(e){if("function"!=typeof e.webkitGetAsEntry)return EFe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?OFe(t):EFe(e)}function CFe(e){return e.reduce((function(e,t){return Ua(e,Array.isArray(t)?CFe(t):[t])}),[])}function EFe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=vFe(t);return Promise.resolve(n)}function IFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,e.isDirectory?OFe(e):TFe(e)]}))}))}function OFe(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function i(){var o=this;t.readEntries((function(t){return Ra(o,void 0,void 0,(function(){var o,a,s;return La(this,(function(u){switch(u.label){case 0:if(t.length)return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=u.sent(),e(o),[3,4];case 3:return a=u.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(IFe)),r.push(s),i(),u.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function TFe(e){return Ra(this,void 0,void 0,(function(){return La(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=vFe(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}function NFe(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):i===t}))}return!0}(e,t)}function DFe(e,t,n){if(AFe(e.size)){if(AFe(t)&&AFe(n))return e.size>=t&&e.size<=n;if(AFe(t))return e.size>=t;if(AFe(n))return e.size<=n}return!0}function AFe(e){return null!=e}function PFe(e,t,n,r){return e.every((function(e){return NFe(e,t)&&DFe(e,n,r)}))}function MFe(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function jFe(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 RFe(e){e.preventDefault()}function LFe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function FFe(e){return-1!==e.indexOf("Edge/")}function zFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return LFe(e)||FFe(e)}function BFe(){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,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return!MFe(e)&&t&&t.apply(void 0,[e].concat(r)),MFe(e)}))}}function UFe(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 qFe(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=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function VFe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KFe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VFe(n,!0).forEach((function(t){HFe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VFe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WFe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var GFe=w((function(e,t){var n=e.children,r=QFe(WFe(e,["children"])),i=r.open,a=WFe(r,["open"]);return S(t,(function(){return{open:i}}),[i]),o.createElement(k,null,n(KFe({},a,{open:i})))}));GFe.displayName="Dropzone",GFe.propTypes={children:aW.func,accept:aW.oneOfType([aW.string,aW.arrayOf(aW.string)]),multiple:aW.bool,preventDropOnDocument:aW.bool,noClick:aW.bool,noKeyboard:aW.bool,noDrag:aW.bool,noDragEventsBubbling:aW.bool,minSize:aW.number,maxSize:aW.number,disabled:aW.bool,getFilesFromEvent:aW.func,onFileDialogCancel:aW.func,onDragEnter:aW.func,onDragLeave:aW.func,onDragOver:aW.func,onDrop:aW.func,onDropAccepted:aW.func,onDropRejected:aW.func};var YFe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function QFe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,i=e.getFilesFromEvent,o=void 0===i?bFe:i,a=e.maxSize,s=void 0===a?1/0:a,d=e.minSize,h=void 0===d?0:d,m=e.multiple,g=void 0===m||m,v=e.onDragEnter,y=e.onDragLeave,b=e.onDragOver,w=e.onDrop,x=e.onDropAccepted,_=e.onDropRejected,S=e.onFileDialogCancel,k=e.preventDropOnDocument,C=void 0===k||k,E=e.noClick,I=void 0!==E&&E,O=e.noKeyboard,T=void 0!==O&&O,N=e.noDrag,D=void 0!==N&&N,A=e.noDragEventsBubbling,P=void 0!==A&&A,M=c(null),j=c(null),R=p($Fe,YFe),L=qFe(R,2),F=L[0],z=L[1],B=F.isFocused,U=F.isFileDialogActive,q=F.draggedFiles,V=f((function(){j.current&&(z({type:"openDialog"}),j.current.value=null,j.current.click())}),[z]),K=function(){U&&setTimeout((function(){j.current&&(j.current.files.length||(z({type:"closeDialog"}),"function"==typeof S&&S()))}),300)};l((function(){return window.addEventListener("focus",K,!1),function(){window.removeEventListener("focus",K,!1)}}),[j,U,S]);var H=f((function(e){M.current&&M.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),V()))}),[M,j]),W=f((function(){z({type:"focus"})}),[]),G=f((function(){z({type:"blur"})}),[]),Y=f((function(){I||(zFe()?setTimeout(V,0):V())}),[j,I]),Q=c([]),$=function(e){M.current&&M.current.contains(e.target)||(e.preventDefault(),Q.current=[])};l((function(){return C&&(document.addEventListener("dragover",RFe,!1),document.addEventListener("drop",$,!1)),function(){C&&(document.removeEventListener("dragover",RFe),document.removeEventListener("drop",$))}}),[M,C]);var Z=f((function(e){e.preventDefault(),e.persist(),ie(e),-1===Q.current.indexOf(e.target)&&(Q.current=[].concat(UFe(Q.current),[e.target])),jFe(e)&&Promise.resolve(o(e)).then((function(t){MFe(e)&&!P||(z({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),v&&v(e))}))}),[o,v,P]),J=f((function(e){if(e.preventDefault(),e.persist(),ie(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return jFe(e)&&b&&b(e),!1}),[b,P]),X=f((function(e){e.preventDefault(),e.persist(),ie(e);var t=Q.current.filter((function(t){return t!==e.target&&M.current&&M.current.contains(t)}));Q.current=t,t.length>0||(z({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),jFe(e)&&y&&y(e))}),[M,y,P]),ee=f((function(e){e.preventDefault(),e.persist(),ie(e),Q.current=[],z({type:"reset"}),jFe(e)&&Promise.resolve(o(e)).then((function(n){if(!MFe(e)||P){var r=[],i=[];n.forEach((function(e){NFe(e,t)&&DFe(e,h,s)?r.push(e):i.push(e)})),!g&&r.length>1&&i.push.apply(i,UFe(r.splice(0))),z({acceptedFiles:r,rejectedFiles:i,type:"setFiles"}),w&&w(r,i,e),i.length>0&&_&&_(i,e),r.length>0&&x&&x(r,e)}}))}),[g,t,h,s,o,w,x,_,P]),te=function(e){return r?null:e},ne=function(e){return T?null:te(e)},re=function(e){return D?null:te(e)},ie=function(e){P&&e.stopPropagation()},oe=u((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,u=e.onDragEnter,c=e.onDragOver,l=e.onDragLeave,d=e.onDrop,f=WFe(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return KFe(HFe({onKeyDown:ne(BFe(i,H)),onFocus:ne(BFe(o,W)),onBlur:ne(BFe(a,G)),onClick:te(BFe(s,Y)),onDragEnter:re(BFe(u,Z)),onDragOver:re(BFe(c,J)),onDragLeave:re(BFe(l,X)),onDrop:re(BFe(d,ee))},n,M),r||T?{}:{tabIndex:0},{},f)}}),[M,H,W,G,Y,Z,J,X,ee,T,D,r]),ae=f((function(e){e.stopPropagation()}),[]),se=u((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,r=void 0===n?"ref":n,i=e.onChange,o=e.onClick,a=WFe(e,["refKey","onChange","onClick"]),s=HFe({accept:t,multiple:g,type:"file",style:{display:"none"},onChange:te(BFe(i,ee)),onClick:te(BFe(o,ae)),autoComplete:"off",tabIndex:-1},r,j);return KFe({},s,{},a)}}),[j,t,g,ee,r]),ue=q.length,ce=g||ue<=1,le=ue>0&&PFe(q,t,h,s),de=ue>0&&(!le||!ce);return KFe({},F,{isDragAccept:le,isDragReject:de,isFocused:B&&!r,getRootProps:oe,getInputProps:se,rootRef:M,inputRef:j,open:te(V)})}function $Fe(e,t){switch(t.type){case"focus":return KFe({},e,{isFocused:!0});case"blur":return KFe({},e,{isFocused:!1});case"openDialog":return KFe({},e,{isFileDialogActive:!0});case"closeDialog":return KFe({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return KFe({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return KFe({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return KFe({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var ZFe={exports:{}};!function(e,t){!function(t,n,r){e.exports=r(),e.exports.default=r()}(0,0,(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,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(t,n){return t+(i[n]||e[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.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}))}(ZFe);var JFe,XFe=ZFe.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(JFe||(JFe={}));var eze={exports:{}},tze=Be(eze.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}t.default=c;var o=n(3),a=i(n(4)),s=n(14),u=i(n(15));function c(e){var t=e.activeClassName,n=void 0===t?"":t,i=e.activeIndex,a=void 0===i?-1:i,c=e.activeStyle,l=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,m=e.highlightClassName,g=void 0===m?"":m,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,w=void 0===b?"mark":b,x=e.sanitize,_=e.searchWords,S=e.textToHighlight,k=e.unhighlightClassName,C=void 0===k?"":k,E=e.unhighlightStyle,I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),O=(0,o.findAll)({autoEscape:l,caseSensitive:f,findChunks:h,sanitize:x,searchWords:_,textToHighlight:S}),T=w,N=-1,D="",A=void 0,P=(0,u.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",r({className:p},I,{children:O.map((function(e,t){var r=S.substr(e.start,e.end-e.start);if(e.highlight){N++;var i=void 0;i="object"==typeof g?f?g[r]:(g=P(g))[r.toLowerCase()]:g;var o=N===+a;D=i+" "+(o?n:""),A=!0===o&&null!=c?Object.assign({},y,c):y;var u={children:r,className:D,key:t,style:A};return"string"!=typeof T&&(u.highlightIndex=N),(0,s.createElement)(T,u)}return(0,s.createElement)("span",{children:r,className:C,key:t,style:E})}))}))}c.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(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.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 r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.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,u=void 0===s?r:s,c=e.sanitize,l=e.searchWords,d=e.textToHighlight;return i({chunksToHighlight:n({chunks:u({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:l,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 r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,i=void 0===r?o:r,a=e.searchWords,s=e.textToHighlight;return s=i(s),a.filter((function(e){return e})).reduce((function(e,r){r=i(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(s);){var u=a.index,c=o.lastIndex;c>u&&e.push({start:u,end:c}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=r;var i=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],i=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)i(0,n,!1);else{var o=0;t.forEach((function(e){i(o,e.start,!1),i(e.start,e.end,!0),o=e.end})),i(o,n,!1)}return r};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,i=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{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.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];c.push(new h(e,t)),1!==c.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){var r=n(7),i=n(8),o=n(9),a=n(10),s=n(11),u=n(12);e.exports=function(e,n){var c="function"==typeof Symbol&&Symbol.iterator,l="<<anonymous>>",d={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(r.thatReturnsNull),arrayOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<a.length;u++){var c=e(a,u,r,i,o+"["+u+"]",s);if(c instanceof Error)return c}return null}))},element:h((function(t,n,r,i,o){var a=t[n];return e(a)?null:new p("Invalid "+i+" `"+o+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||l;return new p("Invalid "+i+" `"+o+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:l)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,i){return g(e[t])?null:new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,r,i,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,i,o+"."+c,s);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},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."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var i=e[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(i),n),r.thatReturnsNull}return h((function(t,n,r,i,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,i,o,s))return null;return new p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")}))},shape:function(e){return h((function(t,n,r,i,o){var a=t[n],u=v(a);if("object"!==u)return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(a,c,r,i,o+"."+c,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,r,i,o){var u=t[n],c=v(u);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=a({},t[n],e);for(var d in l){var f=e[d];if(!f)return new p("Invalid "+i+" `"+o+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(u,d,r,i,o+"."+d,s);if(h)return h}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){this.message=e,this.stack=""}function h(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function u(u,c,d,f,h,m,g){if(f=f||l,m=m||d,g!==s)if(n)i(!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=f+":"+d;!r[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,f),r[v]=!0,a++)}return null==c[d]?u?null===c[d]?new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+m+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(c,d,f,h,m)}var c=u.bind(null,!1);return c.isRequired=u.bind(null,!0),c}function m(e){return h((function(t,n,r,i,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+i+" `"+o+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,i=n.call(t);if(n!==t.entries){for(;!(r=i.next()).done;)if(!g(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=u,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},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,r,i,o,a,s,u){if(n(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,i,o,a,s,u],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).call(t,n(5))},function(e,t,n){(function(t){var r=n(7);if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=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,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=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 r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(n){s=n(a);for(var d=0;d<s.length;d++)i.call(a,s[d])&&(u[s[d]]=a[s[d]])}}return u}},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 r=n(8),i=n(9),o=n(11),a={};e.exports=function(e,n,s,u,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var d;try{r("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",u||"React class",s,l,typeof e[l]),d=e[l](n,l,u,s,null,o)}catch(e){d=e}if(i(!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).",u||"React class",s,l,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";i(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var r=n(7),i=n(8),o=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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=r,n.PropTypes=n,n}},function(e,t){e.exports=o},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,r=void 0,i=[],o=void 0,a=!1,s=function(e,n){return t(e,i[n])},u=function(){for(var t=arguments.length,n=Array(t),u=0;u<t;u++)n[u]=arguments[u];return a&&r===this&&n.length===i.length&&n.every(s)?o:(a=!0,r=this,i=n,o=e.apply(this,n))};return u}}])),nze={exports:{}},rze=(nze.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:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var Z,J,X,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 re(e){this._iterable=e,this.size=e.length||e.size}function ie(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():V(e)?new ie(e).fromEntrySeq():q(e)?new re(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 ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(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 le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}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(J)return J;J=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),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 T(e,t,n)?this:new be(this._value,D(t,n)-N(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,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(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 Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(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 rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){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[r]=i,new Ze(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(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 r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}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,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},Je.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Je(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.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,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(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 r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(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=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.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===M?P:M,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(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,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?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?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,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){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.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},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.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:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(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){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(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 jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.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)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(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)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.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)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){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}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(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 Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(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 mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(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,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},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(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,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(r,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Jn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(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=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!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,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}()).OrderedMap,ize={createFromArray:function(e){return rze(e.map((function(e){return[e.getKey(),e]})))}},oze=ize;var aze=nze.exports,sze=aze.Map,uze=aze.OrderedSet,cze=aze.Record,lze=uze(),dze={style:lze,entity:null},fze=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getStyle=function(){return this.get("style")},i.getEntity=function(){return this.get("entity")},i.hasStyle=function(e){return this.getStyle().includes(e)},r.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return r.create(n)},r.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return r.create(n)},r.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return r.create(n)},r.create=function(e){if(!e)return pze;var t=sze({style:lze,entity:null}).merge(e),n=hze.get(t);if(n)return n;var i=new r(t);return hze=hze.set(t,i),i},r.fromJS=function(e){var t=e.style,n=e.entity;return new r({style:Array.isArray(t)?uze(t):t,entity:Array.isArray(n)?uze(n):n})},r}(cze(dze)),pze=new fze,hze=sze([[sze(dze),pze]]);fze.EMPTY=pze;var mze=fze;var gze=function(e,t,n,r){if(e.size){var i=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&r(i,a),i=a),o})),n(e.last())&&r(i,e.count())}};var vze=mze,yze=gze,bze=nze.exports,wze=bze.List,xze=bze.Map,_ze=bze.OrderedSet,Sze=bze.Record,kze=bze.Repeat,Cze=_ze(),Eze=Sze({key:"",type:"unstyled",text:"",characterList:wze(),depth:0,data:xze()}),Ize=function(e){var t,n;function r(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=wze(kze(vze.EMPTY,n.length))),e}(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():Cze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.findStyleRanges=function(e,t){yze(this.getCharacterList(),Oze,e,t)},i.findEntityRanges=function(e,t){yze(this.getCharacterList(),Tze,e,t)},r}(Eze);function Oze(e,t){return e.getStyle()===t.getStyle()}function Tze(e,t){return e.getEntity()===t.getEntity()}var Nze=Ize;var Dze=mze,Aze=gze,Pze=nze.exports,Mze=Pze.List,jze=Pze.Map,Rze=Pze.OrderedSet,Lze=Pze.Record,Fze=Pze.Repeat,zze=Rze(),Bze={parent:null,characterList:Mze(),data:jze(),depth:0,key:"",text:"",type:"unstyled",children:Mze(),prevSibling:null,nextSibling:null},Uze=function(e,t){return e.getStyle()===t.getStyle()},qze=function(e,t){return e.getEntity()===t.getEntity()},Vze=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=Mze(Fze(Dze.EMPTY,n.length))),e},Kze=function(e){var t,n;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bze;return e.call(this,Vze(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():zze},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){Aze(this.getCharacterList(),Uze,e,t)},i.findEntityRanges=function(e,t){Aze(this.getCharacterList(),qze,e,t)},r}(Lze(Bze)),Hze=Kze,Wze=mze,Gze=nze.exports.Map;function Yze(e,t,n,r){var i=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),u=t.getEndOffset(),c=i.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(Gze([[s,i.get(s)]])).map((function(e,t){var i,c;o===s?(i=a,c=u):(i=t===o?a:0,c=t===s?u:e.getLength());for(var l,d=e.getCharacterList();i<c;)l=d.get(i),d=d.set(i,r?Wze.applyStyle(l,n):Wze.removeStyle(l,n)),i++;return e.set("characterList",d)}));return e.merge({blockMap:i.merge(c),selectionBefore:t,selectionAfter:t})}var Qze={add:function(e,t,n){return Yze(e,t,n,!0)},remove:function(e,t,n){return Yze(e,t,n,!1)}},$ze=mze;var Zze=function(e,t,n,r){for(var i=t,o=e.getCharacterList();i<n;)o=o.set(i,$ze.applyEntity(o.get(i),r)),i++;return e.set("characterList",o)},Jze=nze.exports;var Xze=function(e,t,n){var r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(Jze.OrderedMap([[a,r.get(a)]])).map((function(e,t){var r=t===i?o:0,u=t===a?s:e.getLength();return Zze(e,r,u,n)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})},eBe={getRemovalRange:function(e,t,n,r,i){var o=n.split(" ");o=o.map((function(e,t){if("forward"===i){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=r,u=null,c=null,l=0;l<o.length;l++){if(e<(a=s+o[l].length)&&s<t)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var d=r+n.length,f=u===r,p=c===d;return(!f&&p||f&&!p)&&("forward"===i?c!==d&&c++:u!==r&&u--),{start:u,end:c}}},tBe="production"!==Es.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var nBe=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(tBe(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(r[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},rBe=nBe;var iBe=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"!==Es.env.NODE_ENV?rBe(!1,"Entity key not found in this range."):rBe(!1)),n},oBe=eBe,aBe=iBe,sBe=nBe;function uBe(e,t,n,r,i,o,a){var s=n.getStartOffset(),u=n.getEndOffset(),c=e.__get(i).getMutability(),l=a?s:u;if("MUTABLE"===c)return n;var d=aBe(t,i).filter((function(e){return l<=e.end&&l>=e.start}));1!=d.length&&("production"!==Es.env.NODE_ENV?sBe(!1,"There should only be one entity range within this removal range."):sBe(!1));var f=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?u=f.end:s=f.start);var p=oBe.getRemovalRange(s,u,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var cBe=function(e,t,n,r,i){var o=r.getStartOffset(),a=r.getEndOffset(),s=t.getEntityAt(o),u=n.getEntityAt(a-1);if(!s&&!u)return r;var c=r;if(s&&s===u)c=uBe(e,t,c,i,s,!0,!0);else if(s&&u){var l=uBe(e,t,c,i,s,!1,!0),d=uBe(e,n,c,i,u,!1,!1);c=c.merge({anchorOffset:l.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=uBe(e,t,c,i,s,!1,!0);c=c.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(u){var p=uBe(e,n,c,i,u,!1,!1);c=c.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return c},lBe={},dBe=Math.pow(2,24);var fBe=function(){for(var e;void 0===e||lBe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*dBe).toString(32);return lBe[e]=!0,e},pBe=Hze,hBe=fBe,mBe=nze.exports.OrderedMap,gBe=function(e){return e.first()instanceof pBe?function(e){var t,n={};return mBe(e.withMutations((function(e){e.forEach((function(r,i){var o=r.getKey(),a=r.getNextSiblingKey(),s=r.getPrevSiblingKey(),u=r.getChildKeys(),c=r.getParentKey(),l=hBe();if(n[o]=l,a&&(e.get(a)?e.setIn([a,"prevSibling"],l):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],l):e.setIn([o,"prevSibling"],null)),c&&e.get(c)){var d=e.get(c).getChildKeys();e.setIn([c,"children"],d.set(d.indexOf(r.getKey()),l))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],l),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);u.forEach((function(t){e.get(t)?e.setIn([t,"parent"],l):e.setIn([o,"children"],r.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 mBe(e.toArray().map((function(e){var t=hBe();return[t,e.set("key",t)]})))}(e)},vBe=mze,yBe=gze,bBe=nBe;function wBe(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,o=n<r.count()?r.get(n):void 0,a=i?i.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var u,c=function(e,t,n){var r;return yBe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(r={start:e,end:t})})),"object"!=typeof r&&("production"!==Es.env.NODE_ENV?bBe(!1,"Removal range must exist within character list."):bBe(!1)),r}(r,s,n),l=c.start,d=c.end;l<d;)u=r.get(l),r=r.set(l,vBe.applyEntity(u,null)),l++;return t.set("characterList",r)}return t}var xBe=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),i={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),u=wBe(r,s,a);u!==s&&(i[o]=u);var c=t.getEndKey(),l=t.getEndOffset(),d=n.get(c);o===c&&(d=u);var f=wBe(r,d,l);return f!==d&&(i[c]=f),Object.keys(i).length?e.merge({blockMap:n.merge(i),selectionAfter:t}):e.set("selectionAfter",t)},_Be=gBe,SBe=xBe,kBe=function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=t.getEndKey(),o=t.getEndOffset(),a=SBe(e,t).getBlockMap(),s=a.keySeq(),u=s.indexOf(n),c=s.indexOf(i)+1;return _Be(a.slice(u,c).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===i?e.merge({text:a.slice(r,o),characterList:s.slice(r,o)}):t===n?e.merge({text:a.slice(r),characterList:s.slice(r)}):t===i?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var CBe=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var i=r.slice(0,n),o=r.slice(n);r=i.concat(t,o).toList()}return r},EBe=oze,IBe=Hze,OBe=CBe,TBe=nBe,NBe=gBe,DBe=nze.exports.List,ABe=function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(i),u=s.getText(),c=s.getCharacterList(),l=i,d=o+r.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var p=s.getType();u&&"unstyled"===p&&(p=r.getType());var h=s.merge({text:u.slice(0,o)+r.getText()+u.slice(o),characterList:OBe(c,r.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(i,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:d,focusKey:l,focusOffset:d,isBackward:!1})})},PBe=function(e,t,n,r,i,o){var a=n.first()instanceof IBe,s=[],u=r.size,c=n.get(i),l=r.first(),d=r.last(),f=d.getLength(),p=d.getKey(),h=a&&(!c.getChildKeys().isEmpty()||!l.getChildKeys().isEmpty());n.forEach((function(e,t){t===i?(h?s.push(e):s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.slice(0,t),a=i.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,r)),r.slice(h?0:1,u-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var r=e.getText(),i=e.getCharacterList(),o=r.length,a=r.slice(t,o),s=i.slice(t,o),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,o,r))):s.push(e)}));var m=EBe.createFromArray(s);return a&&(m=function(e,t,n,r){return e.withMutations((function(t){var i=n.getKey(),o=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,i=[];for(t.get(n)&&i.push(n);r&&r.getNextSiblingKey();){var o=r.getNextSiblingKey();if(!o)break;i.push(o),r=t.get(o)}return i}(r,e),c=u[u.length-1];if(t.get(o)?(t.setIn([i,"nextSibling"],o),t.setIn([o,"prevSibling"],i)):(t.setIn([i,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],i)),t.setIn([c,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],c),u.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var l=e.get(s).getChildKeys(),d=l.indexOf(i)+1,f=l.toArray();f.splice.apply(f,[d,0].concat(u)),t.setIn([s,"children"],DBe(f))}}))}(m,0,c,l)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},MBe=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==Es.env.NODE_ENV?TBe(!1,"`insertFragment` should only be called with a collapsed selection state."):TBe(!1));var i=e.getBlockMap(),o=NBe(n),a=t.getStartKey(),s=t.getStartOffset(),u=i.get(a);return u instanceof IBe&&(u.getChildKeys().isEmpty()||("production"!==Es.env.NODE_ENV?TBe(!1,"`insertFragment` should not be called when a container node is selected."):TBe(!1))),1===o.size?ABe(e,t,i,o.first(),a,s,r):PBe(e,t,i,o,a,s)},jBe=CBe,RBe=nBe,LBe=nze.exports.Repeat;var FBe=function(e,t,n,r){t.isCollapsed()||("production"!==Es.env.NODE_ENV?RBe(!1,"`insertText` should only be called with a collapsed range."):RBe(!1));var i=null;if(null!=n&&(i=n.length),null==i||0===i)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=o.get(a),c=u.getText(),l=u.merge({text:c.slice(0,s)+n+c.slice(s,u.getLength()),characterList:jBe(u.getCharacterList(),LBe(r,i).toList(),s)}),d=s+i;return e.merge({blockMap:o.set(a,l),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},zBe=nze.exports.Map;var BBe=function(e,t,n){var r=t.getStartKey(),i=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===i})).concat(zBe([[i,o.get(i)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},UBe=Hze,qBe=function(e,t){if(!(e instanceof UBe))return null;var n=e.getNextSiblingKey();if(n)return n;var r=e.getParentKey();if(!r)return null;for(var i=t.get(r);i&&!i.getNextSiblingKey();){var o=i.getParentKey();i=o?t.get(o):null}return i?i.getNextSiblingKey():null},VBe=Hze,KBe=qBe,HBe=nze.exports;HBe.List;var WBe=HBe.Map,GBe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},YBe=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var i=r.getParentKey();i&&n.push(i),r=i?t.get(i):null}return n},QBe=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},$Be=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},ZBe=function(e,t,n,r){return e.withMutations((function(i){if(GBe(t.getKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})})),GBe(n.getKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})})),YBe(t.getKey(),r).forEach((function(e){return GBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),GBe(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),GBe(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:QBe(e,i,r)})})),GBe(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:$Be(e,i,r)})})),GBe(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),YBe(n.getKey(),r).forEach((function(e){GBe(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=KBe(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?KBe(i,t):null}return n}(n,r).forEach((function(e){return GBe(e,i,(function(e){return e.merge({nextSibling:QBe(e,i,r),prevSibling:$Be(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();GBe(n.getKey(),i,(function(e){return e.merge({prevSibling:o})})),GBe(o,i,(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){GBe(e,i,(function(e){return e.merge({parent:s})}))})),null!=s){var u=e.get(s);GBe(s,i,(function(e){return e.merge({children:u.getChildKeys().concat(t.getChildKeys())})}))}GBe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},JBe=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 r=e.slice(0,t),i=e.slice(n);e=r.concat(i).toList()}return e},XBe=function(e,t){if(t.isCollapsed())return e;var n,r=e.getBlockMap(),i=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=r.get(i),c=r.get(a),l=u instanceof VBe,d=[];if(l){var f=c.getChildKeys(),p=YBe(a,r);c.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(YBe(KBe(c,r),r))}n=u===c?JBe(u.getCharacterList(),o,s):u.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(s));var h=u.merge({text:u.getText().slice(0,o)+c.getText().slice(s),characterList:n}),m=l&&0===o&&0===s&&c.getParentKey()===i&&null==c.getPrevSiblingKey()?WBe([[i,null]]):r.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(WBe([[a,null]])).map((function(e,t){return t===i?h:null})),g=r.merge(m).filter((function(e){return!!e}));return l&&u!==c&&(g=ZBe(g,u,c,r)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:i,anchorOffset:o,focusKey:i,focusOffset:o,isBackward:!1})})},eUe=Hze,tUe=fBe,nUe=nze.exports,rUe=nBe,iUe=BBe,oUe=nUe.List,aUe=nUe.Map,sUe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},uUe=function(e,t){t.isCollapsed()||("production"!==Es.env.NODE_ENV?rUe(!1,"Selection range must be collapsed."):rUe(!1));var n=t.getAnchorKey(),r=e.getBlockMap(),i=r.get(n),o=i.getText();if(!o){var a=i.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return iUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),u=i.getCharacterList(),c=tUe(),l=i instanceof eUe,d=i.merge({text:o.slice(0,s),characterList:u.slice(0,s)}),f=d.merge({key:c,text:o.slice(s),characterList:u.slice(s),data:aUe()}),p=r.toSeq().takeUntil((function(e){return e===i})),h=r.toSeq().skipUntil((function(e){return e===i})).rest(),m=p.concat([[n,d],[c,f]],h).toOrderedMap();return l&&(i.getChildKeys().isEmpty()||("production"!==Es.env.NODE_ENV?rUe(!1,"ContentBlockNode must not have children"):rUe(!1)),m=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),i=n.getKey();sUe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,o=t.toArray();return o.splice(n,0,i),e.merge({children:oUe(o)})})),sUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:i})})),sUe(r,e,(function(e){return e.merge({nextSibling:i})})),sUe(i,e,(function(e){return e.merge({prevSibling:r})}))}))}(m,d,f)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},cUe=mze,lUe=Qze,dUe=Xze,fUe=cBe,pUe=kBe,hUe=MBe,mUe=FBe,gUe=nBe,vUe=BBe,yUe=xBe,bUe=XBe,wUe=uUe,xUe=nze.exports.OrderedSet,_Ue={replaceText:function(e,t,n,r,i){var o=yUe(e,t),a=bUe(o,t),s=cUe.create({style:r||xUe(),entity:i||null});return mUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,r,i){return t.isCollapsed()||("production"!==Es.env.NODE_ENV?gUe(!1,"Target range must be collapsed for `insertText`."):gUe(!1)),_Ue.replaceText(e,t,n,r,i)},moveText:function(e,t,n){var r=pUe(e,t),i=_Ue.removeRange(e,t,"backward");return _Ue.replaceWithFragment(i,n,r)},replaceWithFragment:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=yUe(e,t),o=bUe(i,t);return hUe(o,o.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,i,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),i=t.getFocusKey(),o=e.getBlockForKey(r),a=e.getBlockForKey(i);var s=t.getStartOffset(),u=t.getEndOffset(),c=o.getEntityAt(s),l=a.getEntityAt(u-1);if(r===i&&c&&c===l){var d=fUe(e.getEntityMap(),o,a,t,n);return bUe(e,d)}var f=yUe(e,t);return bUe(f,t)},splitBlock:function(e,t){var n=yUe(e,t),r=bUe(n,t);return wUe(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return lUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return lUe.remove(e,t,n)},setBlockType:function(e,t,n){return vUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return vUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return vUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=yUe(e,t);return dUe(r,t,n)}},SUe=_Ue;var kUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function CUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EUe=gze,IUe=kUe,OUe=nze.exports,TUe=OUe.List,NUe=OUe.Repeat,DUe=OUe.Record,AUe=function(){return!0},PUe=DUe({start:null,end:null}),MUe=DUe({start:null,end:null,decoratorKey:null,leaves:null}),jUe={generate:function(e,t,n){var r=t.getLength();if(!r)return TUe.of(new MUe({start:0,end:0,decoratorKey:null,leaves:TUe.of(new PUe({start:0,end:0}))}));var i=[],o=n?n.getDecorations(t,e):TUe(NUe(null,r)),a=t.getCharacterList();return EUe(o,LUe,AUe,(function(e,t){i.push(new MUe({start:e,end:t,decoratorKey:o.get(e),leaves:RUe(a.slice(e,t).toList(),e)}))})),TUe(i)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["leaves"]);return new MUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){CUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?TUe(Array.isArray(t)?t:IUe(t)).map((function(e){return PUe(e)})):null}))}};function RUe(e,t){var n=[],r=e.map((function(e){return e.getStyle()})).toList();return EUe(r,LUe,AUe,(function(e,r){n.push(new PUe({start:e+t,end:r+t}))})),TUe(n)}function LUe(e,t){return e===t}var FUe=jUe;var zUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},r}((0,nze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),BUe=zUe;var UUe=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 qUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VUe=BUe,KUe=nBe,HUe=UUe,WUe=(0,nze.exports.Map)(),GUe=HUe();function YUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var QUe={getLastCreatedEntityKey:function(){return YUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),QUe.__getLastCreatedEntityKey()},create:function(e,t,n){return YUe("DraftEntity.create","contentState.createEntity"),QUe.__create(e,t,n)},add:function(e){return YUe("DraftEntity.add","contentState.addEntity"),QUe.__add(e)},get:function(e){return YUe("DraftEntity.get","contentState.getEntity"),QUe.__get(e)},__getAll:function(){return WUe},__loadWithEntities:function(e){WUe=e,GUe=HUe()},mergeData:function(e,t){return YUe("DraftEntity.mergeData","contentState.mergeEntityData"),QUe.__mergeData(e,t)},replaceData:function(e,t){return YUe("DraftEntity.replaceData","contentState.replaceEntityData"),QUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return GUe},__create:function(e,t,n){return QUe.__add(new VUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return GUe=HUe(),WUe=WUe.set(GUe,e),GUe},__get:function(e){var t=WUe.get(e);return t||("production"!==Es.env.NODE_ENV?KUe(!1,"Unknown DraftEntity key: %s.",e):KUe(!1)),t},__mergeData:function(e,t){var n=QUe.__get(e),r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qUe(e,t,n[t])}))}return e}({},n.getData(),t),i=n.set("data",r);return WUe=WUe.set(e,i),i},__replaceData:function(e,t){var n=QUe.__get(e).set("data",t);return WUe=WUe.set(e,n),n}},$Ue=QUe;var ZUe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),i=this.getFocusKey();if(r===i&&r===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==r&&e!==i)return!1;var s=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,nze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),JUe=ZUe,XUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},eqe=new RegExp("\r","g");var tqe=function(e){return e.replace(eqe,"")};function nqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rqe(e,t,n[t])}))}return e}function rqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iqe=oze,oqe=mze,aqe=Nze,sqe=Hze,uqe=$Ue,cqe=JUe,lqe=fBe,dqe=kUe,fqe=XUe,pqe=nze.exports,hqe=tqe,mqe=pqe.List,gqe=pqe.Record,vqe=pqe.Repeat,yqe=pqe.Map,bqe=pqe.OrderedMap,wqe=gqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),xqe=fqe("draft_tree_data_support")?sqe:aqe,_qe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getEntityMap=function(){return uqe},i.getBlockMap=function(){return this.get("blockMap")},i.getSelectionBefore=function(){return this.get("selectionBefore")},i.getSelectionAfter=function(){return this.get("selectionAfter")},i.getBlockForKey=function(e){return this.getBlockMap().get(e)},i.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},i.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},i.getBlocksAsArray=function(){return this.getBlockMap().toArray()},i.getFirstBlock=function(){return this.getBlockMap().first()},i.getLastBlock=function(){return this.getBlockMap().last()},i.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},i.getLastCreatedEntityKey=function(){return uqe.__getLastCreatedEntityKey()},i.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},i.createEntity=function(e,t,n){return uqe.__create(e,t,n),this},i.mergeEntityData=function(e,t){return uqe.__mergeData(e,t),this},i.replaceEntityData=function(e,t){return uqe.__replaceData(e,t),this},i.addEntity=function(e){return uqe.__add(e),this},i.getEntity=function(e){return uqe.__get(e)},i.getAllEntities=function(){return uqe.__getAll()},i.loadWithEntities=function(e){return uqe.__loadWithEntities(e)},r.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,i=iqe.createFromArray(n),o=i.isEmpty()?new cqe:cqe.createEmpty(i.first().getKey());return new r({blockMap:i,entityMap:t||uqe,selectionBefore:o,selectionAfter:o})},r.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),i=n.map((function(e){return e=hqe(e),new xqe({key:lqe(),text:e,type:"unstyled",characterList:mqe(vqe(oqe.EMPTY,e.length))})}));return r.createFromBlockArray(i)},r.fromJS=function(e){return new r(nqe({},e,{blockMap:bqe(e.blockMap).map(r.createContentBlockFromJS),selectionBefore:new cqe(e.selectionBefore),selectionAfter:new cqe(e.selectionAfter)}))},r.createContentBlockFromJS=function(e){var t=e.characterList;return new xqe(nqe({},e,{data:yqe(e.data),characterList:null!=t?mqe((Array.isArray(t)?t:dqe(t)).map((function(e){return oqe.fromJS(e)}))):void 0}))},r}(wqe),Sqe=_qe,kqe=nBe,Cqe=null;function Eqe(e){return"LTR"===e||"RTL"===e}function Iqe(e){return Eqe(e)||("production"!==Es.env.NODE_ENV?kqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),"LTR"===e?"ltr":"rtl"}function Oqe(e){Cqe=e}var Tqe={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:Eqe,getHTMLDir:Iqe,getHTMLDirIfDifferent:function(e,t){return Eqe(e)||("production"!==Es.env.NODE_ENV?kqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),Eqe(t)||("production"!==Es.env.NODE_ENV?kqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):kqe(!1)),e===t?null:Iqe(e)},setGlobalDir:Oqe,initGlobalDir:function(){Oqe("LTR")},getGlobalDir:function(){return Cqe||this.initGlobalDir(),Cqe||("production"!==Es.env.NODE_ENV?kqe(!1,"Global direction not set."):kqe(!1)),Cqe}},Nqe=Tqe,Dqe=nBe,Aqe="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",Pqe="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",Mqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Aqe+Pqe+"]"),jqe=new RegExp("["+Aqe+Pqe+"]");function Rqe(e){var t=Mqe.exec(e);return null==t?null:t[0]}function Lqe(e){var t=Rqe(e);return null==t?Nqe.NEUTRAL:jqe.exec(t)?Nqe.RTL:Nqe.LTR}function Fqe(e,t){if(t=t||Nqe.NEUTRAL,!e.length)return t;var n=Lqe(e);return n===Nqe.NEUTRAL?t:n}function zqe(e,t){return t||(t=Nqe.getGlobalDir()),Nqe.isStrong(t)||("production"!==Es.env.NODE_ENV?Dqe(!1,"Fallback direction must be a strong direction"):Dqe(!1)),Fqe(e,t)}var Bqe={firstStrongChar:Rqe,firstStrongCharDir:Lqe,resolveBlockDir:Fqe,getDirection:zqe,isDirectionLTR:function(e,t){return zqe(e,t)===Nqe.LTR},isDirectionRTL:function(e,t){return zqe(e,t)===Nqe.RTL}};function Uqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qqe,Vqe=Bqe,Kqe=Tqe,Hqe=nBe,Wqe=function(){function e(e){Uqe(this,"_defaultDir",void 0),Uqe(this,"_lastDir",void 0),e?Kqe.isStrong(e)||("production"!==Es.env.NODE_ENV?Hqe(!1,"Default direction must be a strong direction (LTR or RTL)"):Hqe(!1)):e=Kqe.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=Vqe.getDirection(e,this._lastDir),this._lastDir},e}(),Gqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Yqe=Wqe,Qqe=nze.exports,$qe=Gqe,Zqe=Qqe.OrderedMap,Jqe={getDirectionMap:function(e,t){qqe?qqe.reset():qqe=new Yqe;var n=e.getBlockMap(),r=n.valueSeq().map((function(e){return $qe(qqe).getDirection(e.getText())})),i=Zqe(n.keySeq().zip(r));return null!=t&&Qqe.is(t,i)?t:i}};function Xqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eVe(e,t,n[t])}))}return e}function eVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tVe=FUe,nVe=Sqe,rVe=Jqe,iVe=JUe,oVe=nze.exports,aVe=oVe.OrderedSet,sVe=oVe.Record,uVe=oVe.Stack,cVe=oVe.OrderedMap,lVe=oVe.List,dVe=sVe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:uVe(),selection:null,treeMap:null,undoStack:uVe()}),fVe=function(){t.createEmpty=function(e){return t.createWithContent(nVe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var r=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:uVe(),redoStack:uVe(),decorator:n||null,selection:iVe.createEmpty(r)})},t.create=function(e){var n=e.currentContent,r=Xqe({},e,{treeMap:hVe(n,e.decorator),directionMap:rVe.getDirectionMap(n)});return new t(new dVe(r))},t.fromJS=function(e){return new t(new dVe(Xqe({},e,{directionMap:null!=e.directionMap?cVe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?aVe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?nVe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?uVe(e.redoStack.map((function(e){return nVe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new iVe(e.selection):e.selection,treeMap:null!=e.treeMap?cVe(e.treeMap).map((function(e){return lVe(e).map((function(e){return tVe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?uVe(e.undoStack.map((function(e){return nVe.fromJS(e)}))):e.undoStack,currentContent:nVe.fromJS(e.currentContent)})))},t.set=function(e,n){var r=e.getImmutable().withMutations((function(t){var r=t.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var o=n.currentContent||e.getCurrentContent();if(i!==r){var a,s=t.get("treeMap");return a=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter((function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)})).map((function(t){return tVe.generate(e,t,r)})))}(o,o.getBlockMap(),s,i,r):hVe(o,i),void t.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),o=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return tVe.generate(i,e,r)})))}(e,o.getBlockMap(),o.getEntityMap(),i)),t.merge(n)}));return new t(r)};var e=t.prototype;function t(e){eVe(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(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r>0)return i.getInlineStyleAt(r-1);if(i.getLength())return i.getInlineStyleAt(0);return gVe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),i=e.getBlockForKey(n);if(r<i.getLength())return i.getInlineStyleAt(r);if(r>0)return i.getInlineStyleAt(r-1);return gVe(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 pVe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),pVe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),i=n.getLength();return t.acceptSelection(e,new iVe({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=rVe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),u=e.getUndoStack(),c=n;a!==s.getSelectionAfter()||mVe(e,r)?(u=u.push(s),c=c.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(c=c.set("selectionBefore",s.getSelectionBefore()));var l=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(r)&&(l=null);var f={currentContent:c,directionMap:o,undoStack:u,redoStack:uVe(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:i,inlineStyleOverride:l};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=rVe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var i=e.getCurrentContent(),o=rVe.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:o,undoStack:e.getUndoStack().push(i),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function pVe(e,t,n){return fVe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function hVe(e,t){return e.getBlockMap().map((function(n){return tVe.generate(e,n,t)})).toOrderedMap()}function mVe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function gVe(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):aVe()}var vVe=fVe,yVe=Hze,bVe=qBe,wVe=nze.exports,xVe=nBe,_Ve=wVe.OrderedMap,SVe=wVe.List,kVe=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},CVe=function(e,t,n,r,i){if(!i)return e;var o="after"===r,a=t.getKey(),s=n.getKey(),u=t.getParentKey(),c=t.getNextSiblingKey(),l=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){kVe(u,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),kVe(l,e,(function(e){return e.merge({nextSibling:c})})),kVe(c,e,(function(e){return e.merge({prevSibling:l})})),kVe(f,e,(function(e){return e.merge({prevSibling:a})})),kVe(p,e,(function(e){return e.merge({nextSibling:a})})),kVe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=o?n+1:0!==n?n-1:0,i=t.toArray();return i.splice(r,0,a),e.merge({children:SVe(i)})})),kVe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},EVe=function(e,t,n,r){"replace"===r&&("production"!==Es.env.NODE_ENV?xVe(!1,"Replacing blocks is not supported."):xVe(!1));var i=n.getKey(),o=t.getKey();o===i&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1));var a=e.getBlockMap(),s=t instanceof yVe,u=[t],c=a.delete(o);s&&(u=[],c=a.withMutations((function(e){var n=t.getNextSiblingKey(),r=bVe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),i=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!r||t!==r);return!!(i||a||s)})).forEach((function(t){u.push(t),e.delete(t.getKey())}))})));var l=c.toSeq().takeUntil((function(e){return e===n})),d=c.toSeq().skipUntil((function(e){return e===n})).skip(1),f=u.map((function(e){return[e.getKey(),e]})),p=_Ve();if("before"===r){var h=e.getBlockBefore(i);h&&h.getKey()===t.getKey()&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1)),p=l.concat([].concat(f,[[i,n]]),d).toOrderedMap()}else if("after"===r){var m=e.getBlockAfter(i);m&&m.getKey()===o&&("production"!==Es.env.NODE_ENV?xVe(!1,"Block cannot be moved next to itself."):xVe(!1)),p=l.concat([[i,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:CVe(p,t,n,r,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function IVe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){OVe(e,t,n[t])}))}return e}function OVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TVe=oze,NVe=mze,DVe=Nze,AVe=Hze,PVe=SUe,MVe=vVe,jVe=fBe,RVe=nze.exports,LVe=EVe,FVe=XUe("draft_tree_data_support"),zVe=FVe?AVe:DVe,BVe=RVe.List,UVe=RVe.Repeat,qVe={insertAtomicBlock:function(e,t,n){var r=e.getCurrentContent(),i=e.getSelection(),o=PVe.removeRange(r,i,"backward"),a=o.getSelectionAfter(),s=PVe.splitBlock(o,a),u=s.getSelectionAfter(),c=PVe.setBlockType(s,u,"atomic"),l=NVe.create({entity:t}),d={key:jVe(),type:"atomic",text:n,characterList:BVe(UVe(l,n.length))},f={key:jVe(),type:"unstyled"};FVe&&(d=IVe({},d,{nextSibling:f.key}),f=IVe({},f,{prevSibling:d.key}));var p=[new zVe(d),new zVe(f)],h=TVe.createFromArray(p),m=PVe.replaceWithFragment(c,u,h),g=m.merge({selectionBefore:i,selectionAfter:m.getSelectionAfter().set("hasFocus",!0)});return MVe.push(e,g,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var i,o=e.getCurrentContent(),a=e.getSelection();if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());i=LVe(o,t,s,r)}else{var u=PVe.removeRange(o,n,"backward"),c=u.getSelectionAfter(),l=u.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())i=LVe(u,t,l,"before");else if(c.getEndOffset()===l.getLength())i=LVe(u,t,l,"after");else{var d=PVe.splitBlock(u,c),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());i=LVe(d,t,p,"before")}}var h=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return MVe.push(e,h,"move-block")}};var VVe=nze.exports.List,KVe=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(r,i){var o=0;(0,r.strategy)(e,(function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(!function(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}(n,e,t,i+"."+o),o++)}),t)})),VVe(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 HVe=KVe;function WVe(e){return e.replace(/\//g,"-")}var GVe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(WVe).join(" "):Array.prototype.map.call(arguments,WVe).join(" ")},YVe=o,QVe=GVe,$Ve=(0,nze.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:YVe.createElement("ul",{className:QVe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:YVe.createElement("ol",{className:QVe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:YVe.createElement("pre",{className:QVe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),ZVe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},JVe={exports:{}};!function(e,t){!function(n,r){var i="function",o="undefined",a="object",s="string",u="model",c="name",l="type",d="vendor",f="version",p="architecture",h="console",m="mobile",g="tablet",v="smarttv",y="wearable",b="embedded",w="Amazon",x="Apple",_="ASUS",S="BlackBerry",k="Firefox",C="Google",E="Huawei",I="LG",O="Microsoft",T="Motorola",N="Opera",D="Samsung",A="Sony",P="Xiaomi",M="Zebra",j="Facebook",R=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},L=function(e,t){return typeof e===s&&-1!==F(t).indexOf(F(e))},F=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,u,c,l,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!c;)if(c=f[n++].exec(e))for(s=0;s<p.length;s++)l=c[++o],typeof(u=p[s])===a&&u.length>0?2===u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3===u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):r:this[u[0]]=l?u[1].call(this,l,u[2]):r:4===u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):r):this[u]=l||r;d+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(L(t[n][i],e))return"?"===n?r:n}else if(L(t[n],e))return"?"===n?r:n;return e},q={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,f],[/opios[\/ ]+([\w\.]+)/i],[f,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[c,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[c,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[f,U,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,F]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,F]]],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],[u,[d,D],[l,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[d,D],[l,m]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[d,x],[l,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[d,x],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[d,E],[l,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[u,[d,E],[l,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[d,P],[l,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[d,"OPPO"],[l,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[d,"Vivo"],[l,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[d,"Realme"],[l,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[d,T],[l,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[d,T],[l,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[d,I],[l,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[d,I],[l,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[d,"Lenovo"],[l,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[d,"Nokia"],[l,m]],[/(pixel c)\b/i],[u,[d,C],[l,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[d,C],[l,m]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[d,A],[l,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[d,A],[l,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[d,"OnePlus"],[l,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[d,w],[l,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[d,w],[l,m]],[/(playbook);[-\w\),; ]+(rim)/i],[u,d,[l,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[d,S],[l,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[d,_],[l,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[d,_],[l,m]],[/(nexus 9)/i],[u,[d,"HTC"],[l,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[u,/_/g," "],[l,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[d,"Acer"],[l,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[d,"Meizu"],[l,m]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[d,"Sharp"],[l,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,u,[l,m]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,u,[l,g]],[/(surface duo)/i],[u,[d,O],[l,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[d,"Fairphone"],[l,m]],[/(u304aa)/i],[u,[d,"AT&T"],[l,m]],[/\bsie-(\w*)/i],[u,[d,"Siemens"],[l,m]],[/\b(rct\w+) b/i],[u,[d,"RCA"],[l,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[d,"Dell"],[l,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[d,"Verizon"],[l,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[d,"Barnes & Noble"],[l,g]],[/\b(tm\d{3}\w+) b/i],[u,[d,"NuVision"],[l,g]],[/\b(k88) b/i],[u,[d,"ZTE"],[l,g]],[/\b(nx\d{3}j) b/i],[u,[d,"ZTE"],[l,m]],[/\b(gen\d{3}) b.+49h/i],[u,[d,"Swiss"],[l,m]],[/\b(zur\d{3}) b/i],[u,[d,"Swiss"],[l,g]],[/\b((zeki)?tb.*\b) b/i],[u,[d,"Zeki"],[l,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],u,[l,g]],[/\b(ns-?\w{0,9}) b/i],[u,[d,"Insignia"],[l,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[d,"NextBook"],[l,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],u,[l,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],u,[l,m]],[/\b(ph-1) /i],[u,[d,"Essential"],[l,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[d,"Envizen"],[l,g]],[/\b(trio[-\w\. ]+) b/i],[u,[d,"MachSpeed"],[l,g]],[/\btu_(1491) b/i],[u,[d,"Rotor"],[l,g]],[/(shield[\w ]+) b/i],[u,[d,"Nvidia"],[l,g]],[/(sprint) (\w+)/i],[d,u,[l,m]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[d,O],[l,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[d,M],[l,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[d,M],[l,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,u,[l,h]],[/droid.+; (shield) bui/i],[u,[d,"Nvidia"],[l,h]],[/(playstation [345portablevi]+)/i],[u,[d,A],[l,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[d,O],[l,h]],[/smart-tv.+(samsung)/i],[d,[l,v]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[d,D],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,I],[l,v]],[/(apple) ?tv/i],[d,[u,"Apple TV"],[l,v]],[/crkey/i],[[u,"Chromecast"],[d,C],[l,v]],[/droid.+aft(\w)( bui|\))/i],[u,[d,w],[l,v]],[/\(dtv[\);].+(aquos)/i],[u,[d,"Sharp"],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[u,z],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[d,u,[l,y]],[/droid.+; (glass) \d/i],[u,[d,C],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[u,[d,M],[l,y]],[/(quest( 2)?)/i],[u,[d,j],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[l,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[l,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[l,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,g]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[l,m]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[f,U,q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[f,U,q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,f],[/\(bb(10);/i],[f,[c,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,f],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,f]]},K=function(e,t){if(typeof e===a&&(t=e,e=r),!(this instanceof K))return new K(e,t).getResult();var i=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),u=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(V,t):V;return this.getBrowser=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r}(e.version),e},this.getCPU=function(){var e={};return e.architecture=r,B.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,B.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,B.call(e,i,u.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 i},this.setUA=function(e){return i=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(i),this};K.VERSION="0.7.31",K.BROWSER=R([c,f,"major"]),K.CPU=R([p]),K.DEVICE=R([u,d,l,h,m,v,g,y,b]),K.ENGINE=K.OS=R([c,f]),e.exports&&(t=e.exports=K),t.UAParser=K;var H=typeof n!==o&&(n.jQuery||n.Zepto);if(H&&!H.ua){var W=new K;H.ua=W.getResult(),H.ua.get=function(){return W.getUA()},H.ua.set=function(e){W.setUA(e);var t=W.getResult();for(var n in t)H.ua[n]=t[n]}}}("object"==typeof window?window:ze)}(JVe,JVe.exports);var XVe="Unknown",eKe={"Mac OS":"Mac OS X"};var tKe=(new(0,JVe.exports)).getResult(),nKe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(tKe.browser.version),rKe={browserArchitecture:tKe.cpu.architecture||XVe,browserFullVersion:tKe.browser.version||XVe,browserMinorVersion:nKe.minor||XVe,browserName:tKe.browser.name||XVe,browserVersion:tKe.browser.major||XVe,deviceName:tKe.device.model||XVe,engineName:tKe.engine.name||XVe,engineVersion:tKe.engine.version||XVe,platformArchitecture:tKe.cpu.architecture||XVe,platformName:function(e){return eKe[e]||e}(tKe.os.name)||XVe,platformVersion:tKe.os.version||XVe,platformFullVersion:tKe.os.version||XVe},iKe=rKe,oKe=nBe,aKe=/\./,sKe=/\|\|/,uKe=/\s+\-\s+/,cKe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lKe=/^(\d*)(.*)/;function dKe(e,t){var n=e.split(sKe);return n.length>1?n.some((function(e){return _Ke.contains(e,t)})):function(e,t){var n=e.split(uKe);if(n.length>0&&n.length<=2||("production"!==Es.env.NODE_ENV?oKe(!1,'the "-" operator expects exactly 2 operands'):oKe(!1)),1===n.length)return fKe(n[0],t);var r=n[0],i=n[1];return vKe(r)&&vKe(i)||("production"!==Es.env.NODE_ENV?oKe(!1,'operands to the "-" operator must be simple (no modifiers)'):oKe(!1)),fKe(">="+r,t)&&fKe("<="+i,t)}(e=n[0].trim(),t)}function fKe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(aKe),r=mKe(e),i=r.modifier,o=r.rangeComponents;switch(i){case"<":return pKe(n,o);case"<=":return function(e,t){var n=xKe(e,t);return-1===n||0===n}(n,o);case">=":return hKe(n,o);case">":return function(e,t){return 1===xKe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var i=r.length-1,o=parseInt(r[i],10);gKe(o)&&(r[i]=o+1+"");return hKe(e,n)&&pKe(e,r)}(n,o);default:return function(e,t){return 0===xKe(e,t)}(n,o)}}function pKe(e,t){return-1===xKe(e,t)}function hKe(e,t){var n=xKe(e,t);return 1===n||0===n}function mKe(e){var t=e.split(aKe),n=t[0].match(cKe);return n||("production"!==Es.env.NODE_ENV?oKe(!1,"expected regex to match but it did not"):oKe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function gKe(e){return!isNaN(e)&&isFinite(e)}function vKe(e){return!mKe(e).modifier}function yKe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function bKe(e,t){var n=e.match(lKe)[1],r=t.match(lKe)[1],i=parseInt(n,10),o=parseInt(r,10);return gKe(i)&&gKe(o)&&i!==o?wKe(i,o):wKe(e,t)}function wKe(e,t){return typeof e!=typeof t&&("production"!==Es.env.NODE_ENV?oKe(!1,'"a" and "b" must be of the same type'):oKe(!1)),e>t?1:e<t?-1:0}function xKe(e,t){for(var n=function(e,t){yKe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var i=n;i<e.length;i++)e[i]="0"}return yKe(t,e.length),[e,t]}(e,t),r=n[0],i=n[1],o=0;o<i.length;o++){var a=bKe(r[o],i[o]);if(a)return a}return 0}var _Ke={contains:function(e,t){return dKe(e.trim(),t.trim())}},SKe=_Ke,kKe=Object.prototype.hasOwnProperty;var CKe=function(e,t,n){if(!e)return null;var r={};for(var i in e)kKe.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r};var EKe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},IKe=iKe,OKe=SKe;function TKe(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,OKe.contains(i,t))}function NKe(e){return"Windows"===IKe.platformName?e.replace(/^\s*NT/,""):e}var DKe=CKe({isBrowser:function(e){return TKe(IKe.browserName,IKe.browserFullVersion,e)},isBrowserArchitecture:function(e){return TKe(IKe.browserArchitecture,null,e)},isDevice:function(e){return TKe(IKe.deviceName,null,e)},isEngine:function(e){return TKe(IKe.engineName,IKe.engineVersion,e)},isPlatform:function(e){return TKe(IKe.platformName,IKe.platformFullVersion,e,NKe)},isPlatformArchitecture:function(e){return TKe(IKe.platformArchitecture,null,e)}},EKe);var AKe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var PKe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},MKe=PKe;var jKe=function e(t){if(MKe(t)){var n=t,r=n.getAttribute("data-offset-key");if(r)return r;for(var i=0;i<n.childNodes.length;i++){var o=e(n.childNodes[i]);if(o)return o}}return null},RKe=AKe,LKe=jKe;var FKe=function(e){for(var t=e;t&&t!==RKe(e).documentElement;){var n=LKe(t);if(null!=n)return n;t=t.parentNode}return null};var zKe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function BKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UKe=DKe,qKe=FKe,VKe=zKe,KKe=nBe,HKe=Gqe,WKe=nze.exports.Map,GKe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},YKe=UKe.isBrowser("IE <= 11"),QKe=function(){function e(e){var t=this;BKe(this,"observer",void 0),BKe(this,"container",void 0),BKe(this,"mutations",void 0),BKe(this,"onCharData",void 0),this.container=e,this.mutations=WKe();var n=VKe(e);n.MutationObserver&&!YKe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==Es.env.NODE_ENV?KKe(!1,"Expected target to be an instance of Node"):KKe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,GKe):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=WKe(),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,r=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return YKe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=HKe(qKe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),$Ke={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-").reverse(),n=t[0],r=t[1];return{blockKey:t.slice(2).reverse().join("-"),decoratorKey:parseInt(r,10),leafKey:parseInt(n,10)}}},ZKe={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},JKe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var XKe=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},eHe=nBe,tHe=XKe;var nHe=function(e){var t=e.editorContainer;return t||("production"!==Es.env.NODE_ENV?eHe(!1,"Missing editorNode"):eHe(!1)),tHe(t.firstChild)||("production"!==Es.env.NODE_ENV?eHe(!1,"editorNode.firstChild is not an HTMLElement"):eHe(!1)),t.firstChild},rHe=$Ke,iHe=Gqe;var oHe=function(e,t,n,r,i){var o=iHe(e.getSelection());if(!t||!r)return"production"!==Es.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=rHe.decode(t),s=a.blockKey,u=e.getBlockTree(s),c=u&&u.getIn([a.decoratorKey,"leaves",a.leafKey]),l=rHe.decode(r),d=l.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([l.decoratorKey,"leaves",l.leafKey]);if(!c||!p)return"production"!==Es.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=c.get("start"),m=p.get("start"),g=c?h+n:null,v=p?m+i:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===g&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var w=c.get("end"),x=p.get("end");b=m===h&&x===w?i<n:m<h}else{var _=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=_===d}return o.merge({anchorKey:s,anchorOffset:g,focusKey:d,focusOffset:v,isBackward:b})},aHe=FKe,sHe=jKe,uHe=oHe,cHe=nBe,lHe=PKe,dHe=Gqe;function fHe(e,t,n){var r=t,i=aHe(r);(null!=i||e&&(e===r||e.firstChild===r)||("production"!==Es.env.NODE_ENV?cHe(!1,"Unknown node in selection range."):cHe(!1)),e===r)&&(r=r.firstChild,lHe(r)||("production"!==Es.env.NODE_ENV?cHe(!1,"Invalid DraftEditorContents node."):cHe(!1)),"true"!==(r=r).getAttribute("data-contents")&&("production"!==Es.env.NODE_ENV?cHe(!1,"Invalid DraftEditorContents structure."):cHe(!1)),n>0&&(n=r.childNodes.length));if(0===n){var o=null;if(null!=i)o=i;else{var a=function(e){for(;e.firstChild&&(lHe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||sHe(e.firstChild));)e=e.firstChild;return e}(r);o=dHe(sHe(a))}return{key:o,offset:0}}var s=r.childNodes[n-1],u=null,c=null;if(sHe(s)){var l=function(e){for(;e.lastChild&&(lHe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||sHe(e.lastChild));)e=e.lastChild;return e}(s);u=dHe(sHe(l)),c=pHe(l)}else u=dHe(i),c=pHe(s);return{key:u,offset:c}}function pHe(e){var t=e.textContent;return"\n"===t?0:t.length}var hHe=function(e,t,n,r,i,o){var a=n.nodeType===Node.TEXT_NODE,s=i.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:uHe(e,dHe(aHe(n)),r,dHe(aHe(i)),o),needsRecovery:!1};var u=null,c=null,l=!0;return a?(u={key:dHe(aHe(n)),offset:r},c=fHe(t,i,o)):s?(c={key:dHe(aHe(i)),offset:o},u=fHe(t,n,r)):(u=fHe(t,n,r),c=fHe(t,i,o),n===i&&r===o&&(l=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:uHe(e,u.key,u.offset,c.key,c.offset),needsRecovery:l}},mHe=hHe;var gHe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==r||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:mHe(e,t,r,i,o,a)},vHe=JKe,yHe=vVe,bHe=nHe,wHe=gHe;var xHe=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();vHe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,r=wHe(n,bHe(e)),i=r.selectionState;i!==n.getSelection()&&(n=r.needsRecovery?yHe.forceSelection(n,i):yHe.acceptSelection(n,i),e.update(n))}};var _He={notEmptyKey:function(e){return null!=e&&""!=e}},SHe=_He.notEmptyKey;function kHe(e,t){return SHe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var CHe=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:kHe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),kHe(e.getEntityMap(),n)},EHe=QKe,IHe=SUe,OHe=$Ke,THe=vVe,NHe=ZKe,DHe=nHe,AHe=gHe,PHe=CHe,MHe=Gqe,jHe=!1,RHe=!1,LHe=null;var FHe={onCompositionStart:function(e){RHe=!0,function(e){LHe||(LHe=new EHe(DHe(e))).start()}(e)},onCompositionEnd:function(e){jHe=!1,RHe=!1,setTimeout((function(){jHe||FHe.resolveComposition(e)}),20)},onSelect:xHe,onKeyDown:function(e,t){if(!RHe)return FHe.resolveComposition(e),void e._onKeyDown(t);t.which!==NHe.RIGHT&&t.which!==NHe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===NHe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!RHe){var t=MHe(LHe).stopAndFlushMutations();LHe=null,jHe=!0;var n=THe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var i=OHe.decode(t),o=i.blockKey,a=i.decoratorKey,s=i.leafKey,u=n.getBlockTree(o).getIn([a,"leaves",s]),c=u.start,l=u.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:l,isBackward:!1}),f=PHe(r,d),p=r.getBlockForKey(o).getInlineStyleAt(c);r=IHe.replaceText(r,d,e,p,f),n=THe.set(n,{currentContent:r})}));var i=AHe(n,DHe(e)).selectionState;e.restoreEditorDOM();var o=THe.acceptSelection(n,i);e.update(THe.push(o,r,"insert-characters"))}else e.update(n)}}},zHe=FHe,BHe=KH;function UHe(){return UHe=BHe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UHe.apply(this,arguments)}var qHe=$Ke,VHe=o,KHe=Bqe,HHe=Tqe,WHe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.children,r=e.contentState,i=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,u=e.text,c=t.getKey(),l=s.get("leaves"),d=i.getComponentForKey(o),f=i.getPropsForKey(o),p=qHe.encode(c,parseInt(o,10),0),h=u.slice(l.first().get("start"),l.last().get("end")),m=HHe.getHTMLDirIfDifferent(KHe.getDirection(h),a);return VHe.createElement(d,UHe({},f,{contentState:r,decoratedText:h,dir:m,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},r}(VHe.Component),GHe=WHe;function YHe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $He=o,ZHe=nBe,JHe=PKe,XHe=DKe.isBrowser("IE <= 11");var eWe=function(e){var t,n;function r(t){var n;return QHe(YHe(n=e.call(this,t)||this),"_forceFlag",void 0),QHe(YHe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;JHe(t)||("production"!==Es.env.NODE_ENV?ZHe(!1,"node is not an Element"):ZHe(!1));var r=t;return n?!function(e){return XHe?"\n"===e.textContent:"BR"===e.tagName}(r):r.textContent!==e.children},i.componentDidMount=function(){this._forceFlag=!this._forceFlag},i.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},i.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},XHe?$He.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):$He.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return XHe?$He.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):$He.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):$He.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},r}($He.Component),tWe=eWe,nWe=PKe;var rWe=function(e){return!(!e||!e.ownerDocument)&&(nWe(e)&&"BR"===e.nodeName)};var iWe=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 oWe=function(e){return iWe(e)&&3==e.nodeType};var aWe=function e(t,n){return!(!t||!n)&&(t===n||!oWe(t)&&(oWe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var sWe=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}},uWe=JKe,cWe=aWe,lWe=sWe,dWe=AKe,fWe=nBe,pWe=PKe,hWe=DKe.isBrowser("IE");function mWe(e,t){if(!e)return"[empty]";var n=gWe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(pWe(n)||("production"!==Es.env.NODE_ENV?fWe(!1,"Node must be an Element if it is not a text node."):fWe(!1)),n.outerHTML)}function gWe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return dWe(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var i=e.cloneNode();1===i.nodeType&&n.length&&i.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)i.appendChild(gWe(o[a],t));return i}function vWe(e,t){for(var n=e,r=n;n;){if(pWe(n)&&r.hasAttribute("contenteditable"))return mWe(n,t);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function yWe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function bWe(e,t,n,r){var i=lWe();if(e.extend&&null!=t&&cWe(i,t)){n>yWe(t)&&uWe.logSelectionStateFailure({anonymizedDom:vWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw uWe.logSelectionStateFailure({anonymizedDom:vWe(t,(function(t){var n=[];return t===i&&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:i?i.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(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function wWe(e,t,n,r){var i=dWe(t).createRange();if(n>yWe(t)&&uWe.logSelectionStateFailure({anonymizedDom:vWe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())}),i.setStart(t,n),hWe)try{e.addRange(i)}catch(e){"production"!==Es.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(i)}var xWe=function(e,t,n,r,i){var o=dWe(t);if(cWe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),u=e.getAnchorOffset(),c=e.getFocusKey(),l=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=u;s=c,u=l,c=f,l=p,d=!1}var h=s===n&&r<=u&&i>=u,m=c===n&&r<=l&&i>=l;if(h&&m)return a.removeAllRanges(),wWe(a,t,u-r,e),void bWe(a,t,l-r,e);if(d){if(m&&(a.removeAllRanges(),wWe(a,t,l-r,e)),h){var g=a.focusNode,v=a.focusOffset;a.removeAllRanges(),wWe(a,t,u-r,e),bWe(a,g,v,e)}}else h&&(a.removeAllRanges(),wWe(a,t,u-r,e)),m&&bWe(a,t,l-r,e)}},_We=KH;function SWe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var CWe=tWe,EWe=o,IWe=nBe,OWe=rWe,TWe=xWe,NWe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return kWe(SWe(t=e.call.apply(e,[this].concat(r))||this),"leaf",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,i=t.text,o=n.getKey(),a=r+i.length;if(e.hasEdgeWithin(o,r,a)){var s=this.leaf;s||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing node"):IWe(!1));var u,c=s.firstChild;c||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing child"):IWe(!1)),c.nodeType===Node.TEXT_NODE?u=c:OWe(c)?u=s:(u=c.firstChild)||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing targetNode"):IWe(!1)),TWe(e,u,o,r,a)}}},i.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==Es.env.NODE_ENV?IWe(!1,"Missing leafNode"):IWe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},i.componentDidUpdate=function(){this._setSelection()},i.componentDidMount=function(){this._setSelection()},i.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var r=this.props,i=r.customStyleMap,o=r.customStyleFn,a=r.offsetKey,s=r.styleSet,u=s.reduce((function(e,t){var n={},r=i[t];return void 0!==r&&e.textDecoration!==r.textDecoration&&(n.textDecoration=[e.textDecoration,r.textDecoration].join(" ").trim()),_We(e,r,n)}),{});if(o){var c=o(s,t);u=_We(u,c)}return EWe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:u},EWe.createElement(CWe,null,n))},r}(EWe.Component),DWe=NWe;var AWe=GHe,PWe=DWe,MWe=$Ke,jWe=o,RWe=GVe;nze.exports.List;var LWe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,r=e.customStyleFn,i=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,u=e.hasSelection,c=e.selection,l=e.tree,d=t.getKey(),f=t.getText(),p=l.size-1,h=this.props.children||l.map((function(e,l){var h=e.get("decoratorKey"),m=e.get("leaves"),g=m.size-1,v=m.map((function(e,n){var o=MWe.encode(d,l,n),a=e.get("start"),m=e.get("end");return jWe.createElement(PWe,{key:o,offsetKey:o,block:t,start:a,selection:u?c:null,forceSelection:s,text:f.slice(a,m),styleSet:t.getInlineStyleAt(a),customStyleMap:i,customStyleFn:r,isLast:h===p&&n===g})})).toArray();return h&&o?jWe.createElement(AWe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:l}):v})).toArray();return jWe.createElement("div",{"data-offset-key":MWe.encode(d,0,0),className:RWe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},r}(jWe.Component),FWe=LWe;function zWe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var BWe={getTop:function(e){var t=e.ownerDocument;return zWe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;zWe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return zWe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;zWe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},UWe=BWe,qWe=/-(.)/g;var VWe=/([A-Z])/g;var KWe=function(e){return e.replace(qWe,(function(e,t){return t.toUpperCase()}))},HWe=function(e){return e.replace(VWe,"-$1").toLowerCase()};function WWe(e){return null==e?e:String(e)}var GWe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return WWe(n.getPropertyValue(HWe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return WWe(n.getPropertyValue(HWe(t)));if("display"===t)return"none"}return e.currentStyle?WWe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[KWe(t)]):WWe(e.style&&e.style[KWe(t)])};function YWe(e,t){var n=QWe.get(e,t);return"auto"===n||"scroll"===n}var QWe={get:GWe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(YWe(e,"overflow")||YWe(e,"overflowY")||YWe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},$We=QWe,ZWe=aWe;var JWe=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ZWe(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 XWe=function(e){var t=JWe(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},eGe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var tGe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:eGe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var nGe=tGe,rGe=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 iGe=function(e){var t=nGe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=rGe(e),r=e===t?e.ownerDocument.documentElement:e,i=e.scrollWidth-r.clientWidth,o=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,i)),n.y=Math.max(0,Math.min(n.y,o)),n};function oGe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function aGe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function sGe(){return{width:window.innerWidth||oGe(),height:window.innerHeight||aGe()}}sGe.withoutScrollbars=function(){return{width:oGe(),height:aGe()}};var uGe=sGe,cGe=KH;function lGe(){return lGe=cGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lGe.apply(this,arguments)}function dGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fGe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){pGe(e,t,n[t])}))}return e}function pGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hGe=FWe,mGe=$Ke,gGe=o,vGe=UWe,yGe=$We,bGe=XWe,wGe=iGe,xGe=uGe,_Ge=nBe,SGe=XKe;nze.exports.List;var kGe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},CGe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),r=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:r}},EGe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},IGe=function(e,t,n,r,i,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=r(e);return s&&(a.className=s),void 0!==i.customEditable&&(a=fGe({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},OGe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return pGe(dGe(t=e.call.apply(e,[this].concat(r))||this),"wrapperRef",gGe.createRef()),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){var t=this.props,n=t.block,r=t.direction,i=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||i!==e.tree||r!==e.direction||kGe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},i.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 r,i=yGe.getScrollParent(n),o=wGe(i);if(i===window){var a=bGe(n);(r=a.y+a.height-xGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{SGe(n)||("production"!==Es.env.NODE_ENV?_Ge(!1,"blockNode is not an HTMLElement"):_Ge(!1));var s=n;(r=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&vGe.setTop(i,vGe.getTop(i)+r+10)}}}},i.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,u=t.decorator,c=t.editorKey,l=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,m=t.selection,g=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var u=mGe.encode(n,0,0),d=s.getBlockForKey(n),f=EGe(d,o),p=f.CustomComponent||r,h=CGe(d,i),m=h.Element,g=h.wrapperTemplate,v=IGe(d,c,u,a,f,null),y=fGe({},e.props,{tree:l.getBlockTree(n),blockProps:f.customProps,offsetKey:u,block:d});return t.push(gGe.createElement(m,v,gGe.createElement(p,y))),!g||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s,u=n.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var c=s.value;if(c.type!==t)break;r.push(c)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var l=r.reverse(),d=l[0].key;n.push(gGe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":mGe.encode(d,0,0)},l))}(g,m,t),t}),[]));var y=n.getKey(),b=mGe.encode(y,0,0),w=EGe(n,o),x=w.CustomComponent,_=null!=x?gGe.createElement(x,lGe({},this.props,{tree:l.getBlockTree(y),blockProps:w.customProps,offsetKey:b,block:n})):gGe.createElement(hGe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:u,direction:p,forceSelection:h,hasSelection:kGe(m,y),selection:m,tree:g});if(n.getParentKey())return _;var S=CGe(n,i).Element,k=IGe(n,c,b,a,w,this.wrapperRef);return gGe.createElement(S,k,_)},r}(gGe.Component),TGe=KH;function NGe(){return NGe=TGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NGe.apply(this,arguments)}var DGe=OGe,AGe=$Ke,PGe=o,MGe=Gqe,jGe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.textDirectionality,c=a.getCurrentContent(),l=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=MGe(a.getDirectionMap()),h=[],m=c.getBlocksAsArray()[0];m;){var g=m.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,contentState:c,customStyleFn:o,customStyleMap:i,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:l,block:m,direction:u||p.get(g),tree:a.getBlockTree(g)},y=(t.get(m.getType())||t.get("unstyled")).wrapper;h.push({block:PGe.createElement(DGe,NGe({key:g},v)),wrapperTemplate:y,key:g,offsetKey:AGe.encode(g,0,0)});var b=m.getNextSiblingKey();m=b?c.getBlockForKey(b):null}for(var w=[],x=0;x<h.length;){var _=h[x];if(_.wrapperTemplate){var S=[];do{S.push(h[x].block),x++}while(x<h.length&&h[x].wrapperTemplate===_.wrapperTemplate);var k=PGe.cloneElement(_.wrapperTemplate,{key:_.key+"-wrap","data-offset-key":_.offsetKey},S);w.push(k)}else w.push(_.block),x++}return PGe.createElement("div",{"data-contents":"true"},w)},r}(PGe.Component),RGe=jGe,LGe=KH;function FGe(){return FGe=LGe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FGe.apply(this,arguments)}function zGe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BGe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UGe=DWe,qGe=$Ke,VGe=o,KGe=UWe,HGe=$We,WGe=Bqe,GGe=Tqe,YGe=GVe,QGe=XWe,$Ge=iGe,ZGe=uGe,JGe=nBe,XGe=XKe,eYe=Gqe,tYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nYe=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return BGe(zGe(t=e.call.apply(e,[this].concat(r))||this),"_node",void 0),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||tYe(e.selection,e.block.getKey())&&e.forceSelection},i.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 r,i=HGe.getScrollParent(n),o=$Ge(i);if(i===window){var a=QGe(n);(r=a.y+a.height-ZGe().height)>0&&window.scrollTo(o.x,o.y+r+10)}else{XGe(n)||("production"!==Es.env.NODE_ENV?JGe(!1,"blockNode is not an HTMLElement"):JGe(!1)),(r=n.offsetHeight+n.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&KGe.setTop(i,KGe.getTop(i)+r+10)}}}}},i._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,o=tYe(this.props.selection,n);return this.props.tree.map((function(a,s){var u=a.get("leaves");if(0===u.size)return null;var c=u.size-1,l=u.map((function(a,u){var l=qGe.encode(n,s,u),d=a.get("start"),f=a.get("end");return VGe.createElement(UGe,{key:l,offsetKey:l,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===i&&u===c})})).toArray(),d=a.get("decoratorKey");if(null==d)return l;if(!e.props.decorator)return l;var f=eYe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return l;var h=f.getPropsForKey(d),m=qGe.encode(n,s,0),g=u.first().get("start"),v=u.last().get("end"),y=r.slice(g,v),b=t.getEntityAt(a.get("start")),w=GGe.getHTMLDirIfDifferent(WGe.getDirection(y),e.props.direction),x={contentState:e.props.contentState,decoratedText:y,dir:w,start:g,end:v,blockKey:n,entityKey:b,offsetKey:m};return VGe.createElement(p,FGe({},h,x,{key:m}),l)})).toArray()},i.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,i=YGe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return VGe.createElement("div",{"data-offset-key":r,className:i,ref:function(t){return e._node=t}},this._renderChildren())},r}(VGe.Component),rYe=nYe;var iYe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var i=arguments[r];i&&(t=(t?t+" ":"")+i)}return t},oYe=KH;function aYe(){return aYe=oYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aYe.apply(this,arguments)}function sYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){uYe(e,t,n[t])}))}return e}function uYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cYe=rYe,lYe=$Ke,dYe=o,fYe=GVe,pYe=iYe,hYe=Gqe,mYe=function(e,t,n,r){return fYe({"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"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},gYe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.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 r=n.getNativelyRenderedContent(),i=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||i&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return i!==o||a!==s||u!==c||n.mustForceSelection()},i.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,u=e.preventScroll,c=e.textDirectionality,l=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=hYe(a.getDirectionMap()),m=l.getBlocksAsArray(),g=[],v=null,y=null,b=0;b<m.length;b++){var w=m[b],x=w.getKey(),_=w.getType(),S=n(w),k=void 0,C=void 0,E=void 0;S&&(k=S.component,C=S.props,E=S.editable);var I=c||h.get(x),O=lYe.encode(x,0,0),T={contentState:l,block:w,blockProps:C,blockStyleFn:r,customStyleMap:i,customStyleFn:o,decorator:p,direction:I,forceSelection:f,offsetKey:O,preventScroll:u,selection:d,tree:a.getBlockTree(x)},N=t.get(_)||t.get("unstyled"),D=N.wrapper,A=N.element||t.get("unstyled").element,P=w.getDepth(),M="";if(r&&(M=r(w)),"li"===A)M=pYe(M,mYe(_,P,y!==D||null===v||P>v,I));var j=k||cYe,R={className:M,"data-block":!0,"data-editor":s,"data-offset-key":O,key:x};void 0!==E&&(R=sYe({},R,{contentEditable:E,suppressContentEditableWarning:!0}));var L=dYe.createElement(A,R,dYe.createElement(j,aYe({},T,{key:x})));g.push({block:L,wrapperTemplate:D,key:x,offsetKey:O}),v=D?w.getDepth():null,y=D}for(var F=[],z=0;z<g.length;){var B=g[z];if(B.wrapperTemplate){var U=[];do{U.push(g[z].block),z++}while(z<g.length&&g[z].wrapperTemplate===B.wrapperTemplate);var q=dYe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},U);F.push(q)}else F.push(B.block),z++}return dYe.createElement("div",{"data-contents":"true"},F)},r}(dYe.Component),vYe=gYe,yYe=XUe("draft_tree_data_support")?RGe:vYe,bYe={isImage:function(e){return"image"===wYe(e)[0]},isJpeg:function(e){var t=wYe(e);return bYe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function wYe(e){return e.split("/")}var xYe=bYe,_Ye=nBe;var SYe=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"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Array-like object expected"):_Ye(!1)),"number"!=typeof t&&("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object needs a length property"):_Ye(!1)),0===t||t-1 in e||("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object should have keys for indices"):_Ye(!1)),"function"==typeof e.callee&&("production"!==Es.env.NODE_ENV?_Ye(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):_Ye(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}(e):[e]};function kYe(e){return function(){return e}}var CYe=function(){};CYe.thatReturns=kYe,CYe.thatReturnsFalse=kYe(!1),CYe.thatReturnsTrue=kYe(!0),CYe.thatReturnsNull=kYe(null),CYe.thatReturnsThis=function(){return this},CYe.thatReturnsArgument=function(e){return e};var EYe=CYe,IYe=xYe,OYe=SYe,TYe=EYe,NYe=new RegExp("\r\n","g"),DYe={"text/rtf":1,"text/html":1};function AYe(e){if("file"==e.kind)return e.getAsFile()}var PYe=function(){function e(e){this.data=e,this.types=e.types?OYe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return DYe[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(NYe,"\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 r=t[n].type;if(!IYe.isImage(r))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(AYe).filter(TYe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),MYe=PYe,jYe=nBe,RYe=/\.textClipping$/,LYe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var FYe=function(e,t){var n=0,r=[];e.forEach((function(i){!function(e,t){if(!ze.FileReader||e.type&&!(e.type in LYe))return void t("");if(""===e.type){var n="";return RYe.test(e.name)&&(n=e.name.replace(RYe,"")),void t(n)}var r=new FileReader;r.onload=function(){var e=r.result;"string"!=typeof e&&("production"!==Es.env.NODE_ENV?jYe(!1,'We should be calling "FileReader.readAsText" which returns a string'):jYe(!1)),t(e)},r.onerror=function(){t("")},r.readAsText(e)}(i,(function(i){n++,i&&r.push(i.slice(0,5e3)),n==e.length&&t(r.join("\r"))}))}))};var zYe=function(e){return"handled"===e||!0===e},BYe=MYe,UYe=SUe,qYe=vVe,VYe=FKe,KYe=AKe,HYe=FYe,WYe=oHe,GYe=zKe,YYe=zYe,QYe=Gqe;var $Ye={onDragEnd:function(e){e.exitCurrentMode(),ZYe(e)},onDrop:function(e,t){var n=new BYe(t.nativeEvent.dataTransfer),r=e._latestEditorState,i=function(e,t){var n=null,r=null,i=KYe(e.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=QYe(n),r=QYe(r);var a=QYe(VYe(n));return WYe(t,a,r,a,r)}(t.nativeEvent,r);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=i){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&YYe(e.props.handleDroppedFiles(i,o)))return;HYe(o,(function(t){t&&e.update(JYe(r,i,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&YYe(e.props.handleDrop(i,n,a))||(e._internalDrag?e.update(function(e,t){var n=UYe.moveText(e.getCurrentContent(),e.getSelection(),t);return qYe.push(e,n,"insert-fragment")}(r,i)):e.update(JYe(r,i,n.getText()))),ZYe(e)}}}};function ZYe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:GYe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function JYe(e,t,n){var r=UYe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return qYe.push(e,r,"insert-fragment")}var XYe=$Ye;var eQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),i=t.getStartOffset(),o=!1;return r.some((function(e){return i===e.get("start")?(o=!0,!0):i<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return i===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,r,i,o=1,a={},s=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){Es.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}}()?(r="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&d(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var e=u.documentElement;n=function(t){var n=u.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return a[o]=i,n(o),o++},c.clearImmediate=l}function l(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{l(e),s=!1}}}}}("undefined"==typeof self?ze:self);var tQe=ze.setImmediate,nQe=SUe,rQe=vVe,iQe=CHe,oQe=zYe,aQe=eQe,sQe=Gqe,uQe=tQe,cQe=DKe.isBrowser("Firefox");function lQe(e,t,n,r,i){var o=nQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return rQe.push(e,o,"insert-characters",i)}var dQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,r=t.data;if(r)if(e.props.handleBeforeInput&&oQe(e.props.handleBeforeInput(r,n,t.timeStamp)))t.preventDefault();else{var i=n.getSelection(),o=i.getStartOffset(),a=i.getAnchorKey();if(!i.isCollapsed())return t.preventDefault(),void e.update(lQe(n,r,n.getCurrentInlineStyle(),iQe(n.getCurrentContent(),n.getSelection()),!0));var s,u=lQe(n,r,n.getCurrentInlineStyle(),iQe(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=aQe(e._latestCommittedEditorState)),!c){var l=n.getBlockTree(a),d=u.getBlockTree(a);c=l.size!==d.size||l.zip(d).some((function(e){var t=e[0],n=e[1],i=t.get("start"),a=i+(i>=o?r.length:0),s=t.get("end"),u=s+(s>=o?r.length:0),c=n.get("start"),l=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==c||u!==l||null!=d&&l-c!=s-i}))}if(c||(s=r,c=cQe&&("'"==s||"/"==s)),c||(c=sQe(u.getDirectionMap()).get(a)!==sQe(n.getDirectionMap()).get(a)),c)return t.preventDefault(),u=rQe.set(u,{forceSelection:!0}),void e.update(u);u=rQe.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,uQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},fQe=vVe,pQe=aWe,hQe=sWe;var mQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&hQe(n)===n.body){var r=n.defaultView.getSelection(),i=e.editor;1===r.rangeCount&&pQe(i,r.anchorNode)&&pQe(i,r.focusNode)&&r.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(fQe.acceptSelection(o,s))}},gQe=vVe;var vQe=function(e,t){e.setMode("composite"),e.update(gQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},yQe=kBe;var bQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:yQe(e.getCurrentContent(),t)},wQe=bQe;var xQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(wQe(e._latestEditorState))};var _Qe=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},SQe=SUe,kQe=vVe,CQe=$We,EQe=bQe,IQe=iGe,OQe=_Qe;var TQe=function(e,t){var n,r=e._latestEditorState,i=r.getSelection(),o=t.target;if(i.isCollapsed())t.preventDefault();else{if(OQe(o)){var a=o;n=IQe(CQe.getScrollParent(a))}var s=EQe(r);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=SQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return kQe.push(e,t,"remove-range")}(r))}),0)}};var NQe=function(e,t){e.setMode("drag"),t.preventDefault()};var DQe=function(e){e._internalDrag=!0,e.setMode("drag")},AQe=vVe,PQe=DKe;var MQe=function(e,t){var n=e._latestEditorState,r=n.getSelection();if(!r.getHasFocus()){var i=r.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),PQe.isBrowser("Chrome < 60.0.3081.0")?e.update(AQe.forceSelection(n,i)):e.update(AQe.acceptSelection(n,i))}},jQe=nBe,RQe=/[\uD800-\uDFFF]/;function LQe(e){return 55296<=e&&e<=57343}function FQe(e){return RQe.test(e)}function zQe(e,t){return 1+LQe(e.charCodeAt(t))}function BQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!FQe(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var i=0;if(t>0){for(;t>0&&i<r;t--)i+=zQe(e,i);if(i>=r)return""}else if(t<0){for(i=r;t<0&&0<i;t++)i-=zQe(e,i-1);i<0&&(i=0)}var o=r;if(n<r)for(o=i;n>0&&o<r;n--)o+=zQe(e,o);return e.substring(i,o)}var UQe={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=zQe(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:zQe,hasSurrogateUnit:FQe,isCodeUnitInSurrogateRange:LQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==Es.env.NODE_ENV?jQe(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):jQe(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),r=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=r&&r<=57343},strlen:function(e){if(!FQe(e))return e.length;for(var t=0,n=0;n<e.length;n+=zQe(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 r=Math.abs(n-t);return BQe(e,t=t<n?t:n,r)},substr:BQe},qQe=UQe,VQe=EYe;function KQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return n[i++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var HQe="production"!==Es.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,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];KQe.apply(void 0,[t].concat(r))}}:VQe,WQe=HQe,GQe=WQe;var YQe=function(e,t){var n=e.getSelection();"production"!==Es.env.NODE_ENV&&GQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var r=e.getCurrentContent(),i=n.getStartKey(),o=n.getStartOffset(),a=i,s=0;if(t>o){var u=r.getKeyBefore(i);if(null==u)a=i;else a=u,s=r.getBlockForKey(u).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},QQe=SUe,$Qe=XUe("draft_tree_data_support");var ZQe=function(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),o=r,a=r.getAnchorKey(),s=r.getFocusKey(),u=i.getBlockForKey(a);if($Qe&&"forward"===n&&a!==s)return i;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i;if($Qe)if(r.getAnchorOffset()===i.getBlockForKey(a).getLength()){var c=i.getBlockForKey(u.nextSibling);if(!c||0===c.getLength())return i}}else if(e.isSelectionAtStartOfContent())return i;if((o=t(e))===r)return i}return QQe.removeRange(i,o,n)},JQe=vVe,XQe=qQe,e$e=YQe,t$e=ZQe;var n$e=function(e){var t=t$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i-1];return e$e(e,o?XQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return JQe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},r$e=SUe,i$e=$Ke,o$e=vVe,a$e=_He.notEmptyKey,s$e=FKe,u$e=n$e,c$e=Gqe,l$e=DKe.isEngine("Gecko");var d$e=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),r=n.anchorNode,i=n.isCollapsed,o=(null==r?void 0:r.nodeType)!==Node.TEXT_NODE&&(null==r?void 0:r.nodeType)!==Node.ELEMENT_NODE;if(null!=r&&!o){if(r.nodeType===Node.TEXT_NODE&&(null!==r.previousSibling||null!==r.nextSibling)){var a=r.parentNode;if(null==a)return;r.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==r&&a.removeChild(s)}var u=r.textContent,c=e._latestEditorState,l=c$e(s$e(r)),d=i$e.decode(l),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,m=c.getBlockTree(f).getIn([p,"leaves",h]),g=m.start,v=m.end,y=c.getCurrentContent(),b=y.getBlockForKey(f),w=b.getText().slice(g,v);if(u.endsWith("\n\n")&&(u=u.slice(0,-1)),u!==w){var x,_,S,k,C=c.getSelection(),E=C.merge({anchorOffset:g,focusOffset:v,isBackward:!1}),I=b.getEntityAt(g),O=a$e(I)?y.getEntity(I):null,T="MUTABLE"===(null!=O?O.getMutability():null),N=T?"spellcheck-change":"apply-entity",D=r$e.replaceText(y,E,u,b.getInlineStyleAt(g),T?b.getEntityAt(g):null);if(l$e)x=n.anchorOffset,_=n.focusOffset,k=(S=g+Math.min(x,_))+Math.abs(x-_),x=S,_=k;else{var A=u.length-w.length;S=C.getStartOffset(),k=C.getEndOffset(),x=i?k+A:S,_=k+A}var P=D.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:x,focusOffset:_})});e.update(o$e.push(c,P,N))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?u$e(t):t}(M,c);if(j!==c)return e.restoreEditorDOM(),void e.update(j)}}}},f$e=ZKe;var p$e=function(e){return e.which===f$e.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},h$e=p$e,m$e=DKe.isPlatform("Mac OS X"),g$e={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return m$e&&e.altKey},usesMacOSHeuristics:function(){return m$e},hasCommandModifier:function(e){return m$e?!!e.metaKey&&!e.altKey:g$e.isCtrlKeyCommand(e)},isSoftNewlineEvent:h$e},v$e=g$e,y$e=SUe,b$e=vVe,w$e=kBe,x$e=Gqe,_$e=null,S$e={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),r=null;if(n.isCollapsed()){var i=n.getAnchorKey(),o=t.getBlockForKey(i).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(i);if(null==a)return e;r=n.set("focusKey",a).set("focusOffset",0)}else r=n.set("focusOffset",o)}else r=n;r=x$e(r),_$e=w$e(t,r);var s=y$e.removeRange(t,r,"forward");return s===t?e:b$e.push(e,s,"remove-range")},paste:function(e){if(!_$e)return e;var t=y$e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),_$e);return b$e.push(e,t,"insert-fragment")}},k$e=nBe;var C$e=DKe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),i)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(r)}"production"!==Es.env.NODE_ENV?k$e(!1,"Found an unexpected detached subtree when getting range client rects."):k$e(!1)}:function(e){return Array.from(e.getClientRects())},E$e=qQe,I$e=AKe,O$e=C$e,T$e=nBe;function N$e(e,t){for(var n=1/0,r=1/0,i=-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),r=Math.min(r,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=r&&i-n<t&&o-r<t}function D$e(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 A$e=vVe,P$e=function(e){e.collapsed||("production"!==Es.env.NODE_ENV?T$e(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):T$e(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=I$e(e),r=n.createElement("div");r.style.fontFamily=t.fontFamily,r.style.fontSize=t.fontSize,r.style.fontStyle=t.fontStyle,r.style.fontWeight=t.fontWeight,r.style.lineHeight=t.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||("production"!==Es.env.NODE_ENV?T$e(!1,"Missing document.body"):T$e(!1)),i.appendChild(r);var o=r.getBoundingClientRect();return i.removeChild(r),o.height}(t),r=e.endContainer,i=e.endOffset;for(e.setStart(e.startContainer,0);N$e(O$e(e),n)&&(r=e.startContainer,i=e.startOffset,r.parentNode||("production"!==Es.env.NODE_ENV?T$e(!1,"Found unexpected detached subtree when traversing."):T$e(!1)),e.setStartBefore(r),1!==r.nodeType||"inline"===getComputedStyle(r).display););for(var o=r,a=i-1;;){for(var s=o.nodeValue,u=a;u>=0;u--)if(!(null!=s&&u>0&&E$e.isSurrogatePair(s,u-1))){if(e.setStart(o,u),!N$e(O$e(e),n))break;r=o,i=u}if(-1===u||0===o.childNodes.length)break;a=D$e(o=o.childNodes[u])}return e.setStart(r,i),e},M$e=hHe,j$e=YQe,R$e=ZQe;var L$e=function(e,t){var n=R$e(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return j$e(e,1);var r=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=P$e(r),M$e(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:A$e.push(e,n,"remove-range")},F$e="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),z$e=new RegExp("^(?:"+F$e+")*(?:['‘’]|(?!"+F$e+").)*(?:(?!"+F$e+").)"),B$e=new RegExp("(?:(?!"+F$e+").)(?:['‘’]|(?!"+F$e+").)*(?:"+F$e+")*$");function U$e(e,t){var n=t?B$e.exec(e):z$e.exec(e);return n?n[0]:e}var q$e={getBackward:function(e){return U$e(e,!0)},getForward:function(e){return U$e(e,!1)}},V$e=q$e,K$e=vVe,H$e=YQe,W$e=ZQe;var G$e=WQe;var Y$e=function(e,t){var n=e.getSelection();"production"!==Es.env.NODE_ENV&&G$e(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var r,i=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=i;return t>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+t,n.merge({focusKey:s,focusOffset:r})},Q$e=q$e,$$e=vVe,Z$e=Y$e,J$e=ZQe;var X$e=SUe,eZe=vVe;var tZe=vVe;var nZe=vVe;var rZe=vVe,iZe=qQe,oZe=Y$e,aZe=ZQe;var sZe=SUe,uZe=vVe,cZe=kBe;var lZe=vVe;var dZe=function(e,t,n){var r=lZe.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(lZe.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(r)}),0)):n(r);else{var i=r.getCurrentContent();n(lZe.set(r,{nativelyRenderedContent:i}))}},fZe=SUe,pZe=vVe,hZe=ZKe,mZe=S$e,gZe=DKe,vZe=zYe,yZe=L$e,bZe=function(e){var t=W$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return H$e(e,1);var r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(0,n),o=V$e.getBackward(i);return H$e(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:K$e.push(e,t,"remove-range")},wZe=function(e){var t=J$e(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),r=t.getStartKey(),i=e.getCurrentContent().getBlockForKey(r).getText().slice(n),o=Q$e.getForward(i);return Z$e(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:$$e.push(e,t,"remove-range")},xZe=function(e){var t=X$e.splitBlock(e.getCurrentContent(),e.getSelection());return eZe.push(e,t,"split-block")},_Ze=function(e){var t=e.getSelection(),n=t.getEndKey(),r=e.getCurrentContent().getBlockForKey(n).getLength();return tZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})},SZe=function(e){var t=e.getSelection(),n=t.getStartKey();return nZe.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},kZe=n$e,CZe=function(e){var t=aZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),i=t.getAnchorOffset(),o=n.getBlockForKey(r).getText()[i];return oZe(e,o?iZe.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return rZe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},EZe=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var r,i,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(r=t.set("anchorOffset",n-1),i=t):i=(r=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var u=cZe(a,r),c=sZe.removeRange(a,r,"backward"),l=c.getSelectionAfter(),d=l.getAnchorOffset()-1,f=l.merge({anchorOffset:d,focusOffset:d}),p=sZe.replaceWithFragment(c,f,u),h=uZe.push(e,p,"insert-fragment");return uZe.acceptSelection(h,i)},IZe=dZe,OZe=v$e.isOptionKeyCommand,TZe=gZe.isBrowser("Chrome");var NZe=function(e,t){var n=t.which,r=e._latestEditorState;function i(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case hZe.RETURN:if(t.preventDefault(),e.props.handleReturn&&vZe(e.props.handleReturn(t,r)))return;break;case hZe.ESC:if(t.preventDefault(),i("onEscape"))return;break;case hZe.TAB:if(i("onTab"))return;break;case hZe.UP:if(i("onUpArrow"))return;break;case hZe.RIGHT:if(i("onRightArrow"))return;break;case hZe.DOWN:if(i("onDownArrow"))return;break;case hZe.LEFT:if(i("onLeftArrow"))return;break;case hZe.SPACE:TZe&&OZe(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!vZe(e.props.handleKeyCommand(o,r,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return pZe.redo(t);case"delete":return CZe(t);case"delete-word":return wZe(t);case"backspace":return kZe(t);case"backspace-word":return bZe(t);case"backspace-to-start-of-line":return yZe(t,n);case"split-block":return xZe(t);case"transpose-characters":return EZe(t);case"move-selection-to-start-of-block":return SZe(t);case"move-selection-to-end-of-block":return _Ze(t);case"secondary-cut":return mZe.cut(t);case"secondary-paste":return mZe.paste(t);default:return t}}(o,r,t);a!==r&&e.update(a)}}else IZe(t,r,e.update);else if(n===hZe.SPACE&&TZe&&OZe(t)){var s=fZe.replaceText(r.getCurrentContent(),r.getSelection()," ");e.update(pZe.push(r,s,"insert-characters"))}};var DZe=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}(),AZe=DZe,PZe=nBe,MZe=DKe.isBrowser("IE <= 9");var jZe=function(e){var t,n=null;return!MZe&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==Es.env.NODE_ENV?PZe(!1,"Missing doc.documentElement"):PZe(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},RZe=PKe;var LZe=function(e){return!(!e||!e.ownerDocument)&&(RZe(e)&&"A"===e.nodeName)},FZe=PKe;var zZe,BZe=function(e){return!(!e||!e.ownerDocument)&&(FZe(e)&&"IMG"===e.nodeName)};function UZe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){qZe(e,t,n[t])}))}return e}function qZe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VZe=mze,KZe=Nze,HZe=Hze,WZe=$Ve,GZe=$Ue,YZe=AZe,QZe=GVe,$Ze=fBe,ZZe=jZe,JZe=XUe,XZe=nze.exports,eJe=XZe.List,tJe=XZe.Map,nJe=XZe.OrderedSet,rJe=LZe,iJe=rWe,oJe=XKe,aJe=BZe,sJe=JZe("draft_tree_data_support"),uJe=new RegExp("\r","g"),cJe=new RegExp("\n","g"),lJe=new RegExp("^\n","g"),dJe=new RegExp("&nbsp;","g"),fJe=new RegExp("&#13;?","g"),pJe=new RegExp("&#8203;?","g"),hJe=["bold","bolder","500","600","700","800","900"],mJe=["light","lighter","normal","100","200","300","400"],gJe=["className","href","rel","target","title"],vJe=["alt","className","height","src","width"],yJe=(qZe(zZe={},QZe("public/DraftStyleDefault/depth0"),0),qZe(zZe,QZe("public/DraftStyleDefault/depth1"),1),qZe(zZe,QZe("public/DraftStyleDefault/depth2"),2),qZe(zZe,QZe("public/DraftStyleDefault/depth3"),3),qZe(zZe,QZe("public/DraftStyleDefault/depth4"),4),zZe),bJe=tJe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),wJe=function(e){var t={};return e.mapKeys((function(e,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),tJe(t)},xJe=function(e){if(oJe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},_Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(yJe).some((function(n){e.classList.contains(n)&&(t=yJe[n])})),t},SJe=function(e){if(!rJe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},kJe=function(e){if(!aJe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},CJe=function(e,t){if(!oJe(e))return t;var n=e,r=n.style.fontWeight,i=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){hJe.indexOf(r)>=0?e.add("BOLD"):mJe.indexOf(r)>=0&&e.remove("BOLD"),"italic"===i?e.add("ITALIC"):"normal"===i&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},EJe=function(e){return"ul"===e||"ol"===e},IJe=function(){function e(e,t){qZe(this,"characterList",eJe()),qZe(this,"currentBlockType","unstyled"),qZe(this,"currentDepth",0),qZe(this,"currentEntity",null),qZe(this,"currentText",""),qZe(this,"wrapper",null),qZe(this,"blockConfigs",[]),qZe(this,"contentBlocks",[]),qZe(this,"entityMap",GZe),qZe(this,"blockTypeMap",void 0),qZe(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=eJe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=GZe,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],nJe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(sJe?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||$Ze(),n=UZe({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:eJe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=eJe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=i.nodeName.toLowerCase();if("body"===o||EJe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;EJe(o)&&(this.wrapper=o,EJe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(kJe(i))this._addImgNode(i,t);else if(SJe(i))this._addAnchorNode(i,n,t);else{var c=t;bJe.has(o)&&(c=c.add(bJe.get(o))),c=CJe(i,c);var l=xJe(i);null!=l&&(c=c.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,t);else this._addTextNode(i,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!sJe&&oJe(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var p=i;this.currentDepth=_Je(p,this.currentDepth)}var h=$Ze(),m=this._toBlockConfigs(Array.from(i.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:m,type:u})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var r=VZe.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(r))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==r?Math.min(t,r[0]):t)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=eJe()):(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(lJe,"")).replace(cJe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){iJe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(aJe(e)){var n=e,r={};vJe.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),JZe("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(rJe(e)){var r=e,i={};gJe.forEach((function(e){var t=r.getAttribute(e);t&&(i[e]=t)})),i.url=new YZe(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),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,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r<n?e[r+1].key:null,i.children=eJe(i.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new HZe(UZe({},i))),this._toContentBlocks(i.childConfigs,i.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return eJe(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),r=n.text,i=n.characterList;t.contentBlocks.push(new KZe(UZe({},e,{text:e.text+r,characterList:e.characterList.concat(i)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",r=eJe(),i=0;i<=t;i++){var o=e[i];n+=o.text,r=r.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},e}(),OJe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ZZe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:WZe,r=t(e=e.trim().replace(uJe,"").replace(dJe," ").replace(fJe,"").replace(pJe,""));if(!r)return null;var i=wJe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new IJe(i,o).addDOMNode(r).getContentBlocks()};function TJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NJe=Nze,DJe=Hze,AJe=OJe,PJe=fBe,MJe=jZe,jJe=XUe,RJe=nze.exports,LJe=tqe,FJe=RJe.List,zJe=RJe.Repeat,BJe=jJe("draft_tree_data_support"),UJe=BJe?DJe:NJe,qJe={processHTML:function(e,t){return AJe(e,MJe,t)},processText:function(e,t,n){return e.reduce((function(e,r,i){r=LJe(r);var o=PJe(),a={key:o,type:n,text:r,characterList:FJe(zJe(t,r.length))};if(BJe&&0!==i){var s=i-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){TJe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new UJe(a)),e}),[])}};var VJe=function(e,t,n,r){var i=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===i})).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,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},KJe=SUe,HJe=vVe,WJe=VJe,GJe=Gqe,YJe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__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 YJe.toggleInlineStyle(e,"BOLD");case"italic":return YJe.toggleInlineStyle(e,"ITALIC");case"underline":return YJe.toggleInlineStyle(e,"UNDERLINE");case"code":return YJe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return YJe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return YJe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=KJe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=HJe.push(e,t,"insert-characters");return HJe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var o=n.getBlockMap().delete(i.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return HJe.push(e,a,"remove-range")}var s=YJe.tryToRemoveBlockStyle(e);return s?HJe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockForKey(r).getLength();if(t.getStartOffset()<i)return null;var o=n.getBlockAfter(r);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=KJe.removeRange(n,a,"forward");return s!==n?HJe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(i),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var u=a.getDepth();if(!e.shiftKey&&u===n)return t;var c=WJe(o,r,e.shiftKey?-1:1,n);return HJe.push(t,c,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),r=n.getStartKey(),i=n.getEndKey(),o=e.getCurrentContent(),a=n;if(r!==i&&0===n.getEndOffset()){var s=GJe(o.getBlockBefore(i));i=s.getKey(),a=a.merge({anchorKey:r,anchorOffset:n.getStartOffset(),focusKey:i,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==r})).reverse().skipWhile((function(e,t){return t!==i})).some((function(e){return"atomic"===e.getType()})))return e;var u=o.getBlockForKey(r).getType()===t?"unstyled":t;return HJe.push(e,KJe.setBlockType(o,a,u),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?YJe.toggleBlockType(e,"code-block"):YJe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),r=e.getCurrentInlineStyle();if(n.isCollapsed())return HJe.setInlineStyleOverride(e,r.has(t)?r.remove(t):r.add(t));var i,o=e.getCurrentContent();return i=r.has(t)?KJe.removeInlineStyle(o,n,t):KJe.applyInlineStyle(o,n,t),HJe.push(e,i,"change-inline-style")},toggleLink:function(e,t,n){var r=KJe.applyEntity(e.getCurrentContent(),t,n);return HJe.push(e,r,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var r=t.getAnchorKey(),i=e.getCurrentContent(),o=i.getBlockForKey(r).getType(),a=i.getBlockBefore(r);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return KJe.setBlockType(i,t,"unstyled")}return null}},QJe=YJe,$Je=/\r\n?|\n/g;var ZJe=oze,JJe=mze,XJe=MYe,eXe=SUe,tXe=qJe,nXe=vVe,rXe=QJe,iXe=CHe,oXe=FYe,aXe=zYe,sXe=function(e){return e.split($Je)};function uXe(e,t,n){var r=eXe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return nXe.push(e,r.set("entityMap",n),"insert-fragment")}var cXe=function(e,t){t.preventDefault();var n=new XJe(t.clipboardData);if(!n.isRichText()){var r=n.getFiles(),i=n.getText();if(r.length>0){if(e.props.handlePastedFiles&&aXe(e.props.handlePastedFiles(r)))return;return void oXe(r,(function(t){if(t=t||i){var n=e._latestEditorState,r=sXe(t),o=JJe.create({style:n.getCurrentInlineStyle(),entity:iXe(n.getCurrentContent(),n.getSelection())}),a=rXe.getCurrentBlockType(n),s=tXe.processText(r,o,a),u=ZJe.createFromArray(s),c=eXe.replaceWithFragment(n.getCurrentContent(),n.getSelection(),u);e.update(nXe.push(n,c,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),u=e._latestEditorState;if(!e.props.handlePastedText||!aXe(e.props.handlePastedText(a,s,u))){if(a&&(o=sXe(a)),!e.props.stripPastedStyles){var c=e.getClipboard();if(n.isRichText()&&c){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===c.size&&c.first().getText()===a)return void e.update(uXe(e._latestEditorState,c))}else if(c&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,c))return void e.update(uXe(e._latestEditorState,c));if(s){var l=tXe.processHTML(s,e.props.blockRenderMap);if(l){var d=l.contentBlocks,f=l.entityMap;if(d){var p=ZJe.createFromArray(d);return void e.update(uXe(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=JJe.create({style:u.getCurrentInlineStyle(),entity:iXe(u.getCurrentContent(),u.getSelection())}),m=rXe.getCurrentBlockType(u),g=tXe.processText(o,h,m),v=ZJe.createFromArray(g);e.update(uXe(e._latestEditorState,v))}}},lXe=DKe,dXe=dQe,fXe=mQe,pXe=vQe,hXe=xQe,mXe=TQe,gXe=NQe,vXe=DQe,yXe=MQe,bXe=d$e,wXe=NZe,xXe=cXe,_Xe=xHe,SXe=lXe.isBrowser("Chrome"),kXe=lXe.isBrowser("Firefox"),CXe=SXe||kXe?_Xe:function(e){},EXe={onBeforeInput:dXe,onBlur:fXe,onCompositionStart:pXe,onCopy:hXe,onCut:mXe,onDragOver:gXe,onDragStart:vXe,onFocus:yXe,onInput:bXe,onKeyDown:wXe,onPaste:xXe,onSelect:_Xe,onMouseUp:CXe,onKeyUp:CXe},IXe=je.unstable_flushControlled;var OXe=o,TXe=GVe,NXe=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},i.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=TXe({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return OXe.createElement("div",{className:t},OXe.createElement("div",{className:TXe("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},r}(OXe.Component),DXe=NXe,AXe=v$e,PXe=ZKe,MXe=DKe,jXe=MXe.isPlatform("Mac OS X"),RXe=jXe&&MXe.isBrowser("Firefox < 29"),LXe=AXe.hasCommandModifier,FXe=AXe.isCtrlKeyCommand;function zXe(e){return jXe&&e.altKey||FXe(e)}var BXe=function(e){switch(e.keyCode){case 66:return LXe(e)?"bold":null;case 68:return FXe(e)?"delete":null;case 72:return FXe(e)?"backspace":null;case 73:return LXe(e)?"italic":null;case 74:return LXe(e)?"code":null;case 75:return jXe&&FXe(e)?"secondary-cut":null;case 77:case 79:return FXe(e)?"split-block":null;case 84:return jXe&&FXe(e)?"transpose-characters":null;case 85:return LXe(e)?"underline":null;case 87:return jXe&&FXe(e)?"backspace-word":null;case 89:return FXe(e)?jXe?"secondary-paste":"redo":null;case 90:return function(e){return LXe(e)?e.shiftKey?"redo":"undo":null}(e)||null;case PXe.RETURN:return"split-block";case PXe.DELETE:return function(e){return!jXe&&e.shiftKey?null:zXe(e)?"delete-word":"delete"}(e);case PXe.BACKSPACE:return function(e){return LXe(e)&&jXe?"backspace-to-start-of-line":zXe(e)?"backspace-word":"backspace"}(e);case PXe.LEFT:return RXe&&LXe(e)?"move-selection-to-start-of-block":null;case PXe.RIGHT:return RXe&&LXe(e)?"move-selection-to-end-of-block":null;default:return null}},UXe=KH;function qXe(){return qXe=UXe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qXe.apply(this,arguments)}function VXe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){HXe(e,t,n[t])}))}return e}function KXe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WXe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var GXe=$Ve,YXe=ZVe,QXe=zHe,$Xe=yYe,ZXe=XYe,JXe=EXe,XXe=IXe,e0e=DXe,t0e=vVe,n0e=o,r0e=UWe,i0e=$We,o0e=GVe,a0e=fBe,s0e=BXe,u0e=iGe,c0e=XUe,l0e=nBe,d0e=XKe,f0e=Gqe,p0e=DKe.isBrowser("IE"),h0e=!p0e,m0e={edit:JXe,composite:QXe,drag:ZXe,cut:null,render:null},g0e=!1,v0e=function(e){function t(){return e.apply(this,arguments)||this}WXe(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}(n0e.Component),y0e=function(e){function t(t){var n;return HXe(KXe(n=e.call(this,t)||this),"_blockSelectEvents",void 0),HXe(KXe(n),"_clipboard",void 0),HXe(KXe(n),"_handler",void 0),HXe(KXe(n),"_dragCount",void 0),HXe(KXe(n),"_internalDrag",void 0),HXe(KXe(n),"_editorKey",void 0),HXe(KXe(n),"_placeholderAccessibilityID",void 0),HXe(KXe(n),"_latestEditorState",void 0),HXe(KXe(n),"_latestCommittedEditorState",void 0),HXe(KXe(n),"_pendingStateFromBeforeInput",void 0),HXe(KXe(n),"_onBeforeInput",void 0),HXe(KXe(n),"_onBlur",void 0),HXe(KXe(n),"_onCharacterData",void 0),HXe(KXe(n),"_onCompositionEnd",void 0),HXe(KXe(n),"_onCompositionStart",void 0),HXe(KXe(n),"_onCopy",void 0),HXe(KXe(n),"_onCut",void 0),HXe(KXe(n),"_onDragEnd",void 0),HXe(KXe(n),"_onDragOver",void 0),HXe(KXe(n),"_onDragStart",void 0),HXe(KXe(n),"_onDrop",void 0),HXe(KXe(n),"_onInput",void 0),HXe(KXe(n),"_onFocus",void 0),HXe(KXe(n),"_onKeyDown",void 0),HXe(KXe(n),"_onKeyPress",void 0),HXe(KXe(n),"_onKeyUp",void 0),HXe(KXe(n),"_onMouseDown",void 0),HXe(KXe(n),"_onMouseUp",void 0),HXe(KXe(n),"_onPaste",void 0),HXe(KXe(n),"_onSelect",void 0),HXe(KXe(n),"editor",void 0),HXe(KXe(n),"editorContainer",void 0),HXe(KXe(n),"focus",void 0),HXe(KXe(n),"blur",void 0),HXe(KXe(n),"setMode",void 0),HXe(KXe(n),"exitCurrentMode",void 0),HXe(KXe(n),"restoreEditorDOM",void 0),HXe(KXe(n),"setClipboard",void 0),HXe(KXe(n),"getClipboard",void 0),HXe(KXe(n),"getEditorKey",void 0),HXe(KXe(n),"update",void 0),HXe(KXe(n),"onDragEnter",void 0),HXe(KXe(n),"onDragLeave",void 0),HXe(KXe(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),HXe(KXe(n),"focus",(function(e){var t=n.props.editorState,r=t.getSelection().getHasFocus(),i=n.editor;if(i){var o=i0e.getScrollParent(i),a=e||u0e(o),s=a.x,u=a.y;d0e(i)||("production"!==Es.env.NODE_ENV?l0e(!1,"editorNode is not an HTMLElement"):l0e(!1)),i.focus(),o===window?window.scrollTo(s,u):r0e.setTop(o,u),r||n.update(t0e.forceSelection(t,t.getSelection()))}})),HXe(KXe(n),"blur",(function(){var e=n.editor;e&&(d0e(e)||("production"!==Es.env.NODE_ENV?l0e(!1,"editorNode is not an HTMLElement"):l0e(!1)),e.blur())})),HXe(KXe(n),"setMode",(function(e){var t=n.props,r=t.onPaste,i=t.onCut,o=t.onCopy,a=VXe({},m0e.edit);r&&(a.onPaste=r),i&&(a.onCut=i),o&&(a.onCopy=o);var s=VXe({},m0e,{edit:a});n._handler=s[e]})),HXe(KXe(n),"exitCurrentMode",(function(){n.setMode("edit")})),HXe(KXe(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),HXe(KXe(n),"setClipboard",(function(e){n._clipboard=e})),HXe(KXe(n),"getClipboard",(function(){return n._clipboard})),HXe(KXe(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),HXe(KXe(n),"onDragEnter",(function(){n._dragCount++})),HXe(KXe(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||a0e(),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"!==Es.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}WXe(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&(XXe?XXe((function(){return r(t,n)})):r(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:f0e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n0e.createElement(e0e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,i=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,u=e.readOnly,c=e.textAlignment,l=e.textDirectionality,d=o0e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===c,"DraftEditor/alignRight":"right"===c,"DraftEditor/alignCenter":"center"===c}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:r,customStyleMap:VXe({},YXe,o),customStyleFn:i,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:l};return n0e.createElement("div",{className:d},this._renderPlaceholder(),n0e.createElement("div",{className:o0e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n0e.createElement("div",{"aria-activedescendant":u?null:this.props.ariaActiveDescendantID,"aria-autocomplete":u?null:this.props.ariaAutoComplete,"aria-controls":u?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":u?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":u?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o0e({notranslate:!u,"public/DraftEditor/content":!0}),contentEditable:!u,"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:u?null:f,spellCheck:h0e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n0e.createElement(v0e,{editor:this,editorState:a}),n0e.createElement($Xe,qXe({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!g0e&&c0e("draft_ods_enabled")&&(g0e=!0),this.setMode("edit"),p0e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):ze.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n0e.Component);HXe(y0e,"defaultProps",{blockRenderMap:GXe,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s0e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b0e=y0e,w0e=Ue(Object.freeze({__proto__:null})),x0e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},_0e=x0e,S0e=qQe.strlen;var k0e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(r,i){var o=e.getText(),a=e.getEntityAt(r);n.push({offset:S0e(o.slice(0,r)),length:S0e(o.slice(r,i)),key:Number(t[_0e.stringify(a)])})})),n},C0e=qQe,E0e=gze,I0e=function(e,t){return e===t},O0e=function(e){return!!e},T0e=[];var N0e=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 r=[],i=t.map((function(e){return e.has(n)})).toList();return E0e(i,I0e,O0e,(function(t,i){var o=e.getText();r.push({offset:C0e.strlen(o.slice(0,t)),length:C0e.strlen(o.slice(t,i)),style:n})})),r}(e,t,n)}));return Array.prototype.concat.apply(T0e,n.toJS())};function D0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A0e=Nze,P0e=Hze,M0e=x0e,j0e=k0e,R0e=N0e,L0e=nBe,F0e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:R0e(e),entityRanges:j0e(e,t),data:e.getData().toObject()}},z0e=function(e,t,n,r){if(e instanceof A0e)n.push(F0e(e,t));else{e instanceof P0e||("production"!==Es.env.NODE_ENV?L0e(!1,"block is not a BlockNode"):L0e(!1));var i=e.getParentKey(),o=r[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){D0e(e,t,n[t])}))}return e}({},F0e(e,t),{children:[]});i?r[i].children.push(o):n.push(o)}},B0e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,r=[],i={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var r=e.getEntityAt(t),i=M0e.stringify(r);o[i]||(o[i]=r,n[i]="".concat(a),a++)})),z0e(e,n,r,i)})),{blocks:r,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,r=t.entityMap,i={};return Object.keys(r).forEach((function(t,n){var r=e.getEntity(M0e.unstringify(t));i[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:i}}(e,t),t};function U0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){q0e(e,t,n[t])}))}return e}function q0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V0e=fBe,K0e=nBe,H0e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},W0e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==Es.env.NODE_ENV?K0e(!1,"Invalid raw state"):K0e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||("production"!==Es.env.NODE_ENV?K0e(!1,"Invalid tree raw block"):K0e(!1)),n=n.concat([].concat(i.reverse()))}}(t,(function(e){var t=U0e({},e);H0e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?U0e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,U0e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var r=H0e(e),i=e.depth||0,o=U0e({},e,{children:[]});if(r){var a=n[0];if(null==a&&0===i)t.push(o);else if(null==a||a.depth<i-1){var s={key:V0e(),text:"",depth:i-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===i?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===i-1)a.children.push(o);else{for(;null!=a&&a.depth>=i;)n.shift(),a=n[0];i>0?a.children.push(o):t.push(o)}}else t.push(o)})),U0e({},e,{blocks:t})}},G0e=W0e,Y0e=WQe,Q0e={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return"production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var i=e.getPrevSiblingKey();if(null!=i&&t.get(i).getNextSiblingKey()!==n)return"production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==i&&i===o?("production"!==Es.env.NODE_ENV&&Y0e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==Es.env.NODE_ENV&&Y0e(!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"!==Es.env.NODE_ENV&&Y0e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,r=t.shift().getKey(),i=[];null!=r;){var o=e.get(r),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==u)return"production"!==Es.env.NODE_ENV&&Y0e(!0,"%s has no first child",r),!1;r=u.getKey()}else r=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();n++}return n===e.size||("production"!==Es.env.NODE_ENV&&Y0e(!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)}},$0e=Q0e,Z0e=mze,J0e=nze.exports.List;var X0e=function(e,t){var n=e.map((function(e,n){var r=t[n];return Z0e.create({style:e,entity:r})}));return J0e(n)},e1e=qQe.substr;var t1e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var r=e1e(e,0,t.offset).length,i=r+e1e(e,t.offset,t.length).length,o=r;o<i;o++)n[o]=t.key})),n},n1e=qQe,r1e=nze.exports.OrderedSet,i1e=n1e.substr,o1e=r1e();var a1e=function(e,t){var n=Array(e.length).fill(o1e);return t&&t.forEach((function(t){for(var r=i1e(e,0,t.offset).length,i=r+i1e(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++})),n};function s1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u1e(e,t,n[t])}))}return e}function u1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c1e=Nze,l1e=Hze,d1e=Sqe,f1e=$Ue,p1e=G0e,h1e=$0e,m1e=JUe,g1e=X0e,v1e=t1e,y1e=a1e,b1e=fBe,w1e=nze.exports,x1e=nBe,_1e=XUe("draft_tree_data_support"),S1e=w1e.List,k1e=w1e.Map,C1e=w1e.OrderedMap,E1e=function(e,t){var n=e.key,r=e.type,i=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||b1e(),data:k1e(i),characterList:I1e(e,t)}},I1e=function(e,t){var n=e.text,r=e.entityRanges,i=e.inlineStyleRanges,o=r||[];return g1e(y1e(n,i||[]),v1e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s1e({},e,{key:t[e.key]})}))))},O1e=function(e){return s1e({},e,{key:e.key||b1e()})},T1e=function(e,t,n){var r=t.map((function(e){return s1e({},e,{parentRef:n})}));return e.concat(r.reverse())},N1e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),r=_1e&&!n?p1e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!_1e)return function(e,t){return C1e(e.map((function(e){var n=new c1e(E1e(e,t));return[n.getKey(),n]})))}(n?p1e.fromRawTreeStateToRawState(e).blocks:r,t);var i=function(e,t){return e.map(O1e).reduce((function(n,r,i){Array.isArray(r.children)||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x1e(!1));var o=r.children.map(O1e),a=new l1e(s1e({},E1e(r,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:S1e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=T1e([],o,a);s.length>0;){var u=s.pop(),c=u.parentRef,l=c.getChildKeys(),d=l.indexOf(u.key),f=Array.isArray(u.children);if(!f){f||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):x1e(!1));break}var p=u.children.map(O1e),h=new l1e(s1e({},E1e(u,t),{parent:c.getKey(),children:S1e(p.map((function(e){return e.key}))),prevSibling:0===d?null:l.get(d-1),nextSibling:d===l.size-1?null:l.get(d+1)}));n=n.set(h.getKey(),h),s=T1e(s,p,h)}return n}),C1e())}(r,t);return"production"!==Es.env.NODE_ENV&&(h1e.isValidTree(i)||("production"!==Es.env.NODE_ENV?x1e(!1,"Should be a valid tree"):x1e(!1))),i},D1e=function(e){Array.isArray(e.blocks)||("production"!==Es.env.NODE_ENV?x1e(!1,"invalid RawDraftContentState"):x1e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var r=t[e],i=r.type,o=r.mutability,a=r.data;n[e]=f1e.__create(i,o,a||{})})),n}(e),n=N1e(e,t),r=n.isEmpty()?new m1e:m1e.createEmpty(n.first().getKey());return new d1e({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})},A1e=C$e;var P1e=function(e){var t=A1e(e),n=0,r=0,i=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,r=a.right,i=a.bottom,o=a.left}else{var s=t[0];n=s.top,r=s.right,i=s.bottom,o=s.left}for(var u=1;u<t.length;u++){var c=t[u];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),r=Math.max(r,c.right),i=Math.max(i,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:r,bottom:i,left:o,width:r-o,height:i-n}};var M1e={Editor:b0e,EditorBlock:rYe,EditorState:vVe,CompositeDecorator:HVe,Entity:$Ue,EntityInstance:BUe,BlockMapBuilder:oze,CharacterMetadata:mze,ContentBlock:Nze,ContentState:Sqe,RawDraftContentState:w0e,SelectionState:JUe,AtomicBlockUtils:qVe,KeyBindingUtil:v$e,Modifier:SUe,RichUtils:QJe,DefaultDraftBlockRenderMap:$Ve,DefaultDraftInlineStyle:ZVe,convertFromHTML:OJe,convertFromRaw:D1e,convertToRaw:B0e,genKey:fBe,getDefaultKeyBinding:BXe,getVisibleSelectionRect:function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),r=P1e(n),i=r.top,o=r.right,a=r.bottom,s=r.left;return 0===i&&0===o&&0===a&&0===s?null:r}},j1e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset};o.createElement("p",null),o.createElement("p",null),o.createElement("h1",null),o.createElement("h2",null),o.createElement("h3",null),o.createElement("h4",null),o.createElement("h5",null),o.createElement("h6",null),o.createElement("blockquote",null),o.createElement("li",null),o.createElement("ul",null),o.createElement("li",null),o.createElement("figure",null),o.createElement("figure",null);var R1e={exports:{}};R1e.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:G(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:Q(e)}function o(e){return a(e)&&!c(e)?e:$(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function u(e){return!(!e||!e[p])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,v=1<<g,y=v-1,b={},w={value:!1},x={value:!1};function _(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function k(){}function C(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function E(e){return void 0===e.size&&(e.size=e.__iterate(O)),e.size}function I(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function O(){return!0}function T(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return A(e,t,0)}function D(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var P=0,M=1,j=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",F=R||L;function z(e){this.next=e}function B(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function U(){return{value:void 0,done:!0}}function q(e){return!!H(e)}function V(e){return e&&"function"==typeof e.next}function K(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(R&&e[R]||e[L]);if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function G(e){return null==e?ae():a(e)?e.toSeq():ce(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function Q(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():ue(e)}function $(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:ue(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=P,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[F]=function(){return this},t(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return de(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,G),Y.prototype.toKeyedSeq=function(){return this},t(Q,G),Q.of=function(){return Q(arguments)},Q.prototype.toIndexedSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq [","]")},Q.prototype.__iterate=function(e,t){return de(this,e,t,!1)},Q.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t($,G),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=Y,G.Set=$,G.Indexed=Q;var Z,J,X,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 re(e){this._iterable=e,this.size=e.length||e.size}function ie(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():V(e)?new ie(e).fromEntrySeq():q(e)?new re(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 ue(e){var t=le(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){var t=le(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 le(e){return W(e)?new te(e):V(e)?new ie(e):q(e)?new re(e):void 0}function de(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new z((function(){var e=i[n?o-a:a];return a++>o?U():B(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):me(e)}function he(e,t,n,r){return Array.isArray(t)?e.call(r,n,Q(t).map((function(n,r){return he(e,n,r,t)}))):ge(t)?e.call(r,n,Y(t).map((function(n,r){return he(e,n,r,t)}))):t}function me(e){return Array.isArray(e)?Q(e).map(me).toList():ge(e)?Y(e).map(me).toMap():e}function ge(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&ve(i[1],e)&&(n||ve(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):i?!ve(t,e.get(r,b)):!ve(e.get(r,b),t))return d=!1,!1}));return d&&e.size===f}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(J)return J;J=this}}function we(e,t){if(!e)throw new Error(t)}function xe(e,t,n){if(!(this instanceof xe))return new xe(e,t,n);if(we(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(X)return X;X=this}}function _e(){throw TypeError("Abstract")}function Se(){}function ke(){}function Ce(){}G.prototype[ee]=!0,t(te,Q),te.prototype.get=function(e,t){return this.has(e)?this._array[I(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},te.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new z((function(){return i>r?U():B(e,i,n[t?r-i++:i++])}))},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,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new z((function(){var a=r[t?i-o:o];return o++>i?U():B(e,a,n[a])}))},ne.prototype[h]=!0,t(re,Q),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._iterable),r=0;if(V(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._iterable);if(!V(n))return new z(U);var r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value)}))},t(ie,Q),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new z((function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return B(e,i,r[i++])}))},t(be,Q),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 T(e,t,n)?this:new be(this._value,D(t,n)-N(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,r=0;return new z((function(){return r<n.size?B(e,r++,n._value):U()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(xe,Q),xe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},xe.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},xe.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},xe.prototype.slice=function(e,t){return T(e,t,this.size)?this:(e=N(e,this.size),(t=D(t,this.size))<=e?new xe(0,0):new xe(this.get(e,this._end),this.get(t,this._end),this._step))},xe.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},xe.prototype.lastIndexOf=function(e){return this.indexOf(e)},xe.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},xe.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new z((function(){var a=i;return i+=t?-r:r,o>n?U():B(e,o++,a)}))},xe.prototype.equals=function(e){return e instanceof xe?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(_e,n),t(Se,_e),t(ke,_e),t(Ce,_e),_e.Keyed=Se,_e.Indexed=ke,_e.Set=Ce;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Ie(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 Ie(n)}if("string"===t)return e.length>ze?Te(e):Ne(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return De(e);if("function"==typeof e.toString)return Ne(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Te(e){var t=qe[e];return void 0===t&&(t=Ne(e),Ue===Be&&(Ue=0,qe={}),Ue++,qe[e]=t),t}function Ne(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Ie(t)}function De(e){var t;if(Re&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Fe]))return t;if(!Pe){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fe]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Le,1073741824&Le&&(Le=0),Re)je.set(e,t);else{if(void 0!==Ae&&!1===Ae(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pe)Object.defineProperty(e,Fe,{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[Fe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fe]=t}}return t}var Ae=Object.isExtensible,Pe=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function Me(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}var je,Re="function"==typeof WeakMap;Re&&(je=new WeakMap);var Le=0,Fe="__immutablehash__";"function"==typeof Symbol&&(Fe=Symbol(Fe));var ze=16,Be=255,Ue=0,qe={};function Ve(e){we(e!==1/0,"Cannot perform this action with an infinite size.")}function Ke(e){return null==e?it():He(e)&&!l(e)?e:it().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function He(e){return!(!e||!e[Ge])}t(Ke,Se),Ke.prototype.toString=function(){return this.__toString("Map {","}")},Ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ke.prototype.set=function(e,t){return ot(this,e,t)},Ke.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Ke.prototype.remove=function(e){return ot(this,e,b)},Ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=gt(this,_n(e),t,n);return r===b?void 0:r},Ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):it()},Ke.prototype.merge=function(){return ft(this,void 0,arguments)},Ke.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},Ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},Ke.prototype.mergeDeep=function(){return ft(this,pt,arguments)},Ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},Ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,it(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},Ke.prototype.sort=function(e){return qt(dn(this,e))},Ke.prototype.sortBy=function(e,t){return qt(dn(this,t,e))},Ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new k)},Ke.prototype.asImmutable=function(){return this.__ensureOwner()},Ke.prototype.wasAltered=function(){return this.__altered},Ke.prototype.__iterator=function(e,t){return new et(this,e,t)},Ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},Ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?rt(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ke.isMap=He;var We,Ge="@@__IMMUTABLE_MAP__@@",Ye=Ke.prototype;function Qe(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 Je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(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 rt(e,t,n,r){var i=Object.create(Ye);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function it(){return We||(We=rt(0))}function ot(e,t,n){var r,i;if(e._root){var o=_(w),a=_(x);if(r=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;i=1,r=new Qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?rt(i,r):it()}function at(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===b?e:(S(s),S(a),new Xe(t,r,[i,o]))}function st(e){return e.constructor===Xe||e.constructor===Je}function ut(e,t,n,r,i){if(e.keyHash===r)return new Je(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?r:r>>>n)&y;return new $e(t,1<<a|1<<s,a===s?[ut(e,t,n+g,r,i)]:(o=new Xe(t,r,i),a<s?[e,o]:[o,e]))}function ct(e,t,n,r){e||(e=new k);for(var i=new Xe(e,Oe(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}function lt(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new $e(e,i,a)}function dt(e,t,n,r,i){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[r]=i,new Ze(e,o+1,a)}function ft(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return mt(e,t,i)}function pt(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):ve(e,t)?e:t}function ht(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return ve(t,i)?t:i}}function mt(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 r=t?function(n,r){e.update(r,b,(function(e){return e===b?n:t(e,n,r)}))}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)})):e.constructor(n[0])}function gt(e,t,n,r){var i=e===b,o=t.next();if(o.done){var a=i?n:e,s=r(a);return s===a?e:s}we(i||e&&e.set,"invalid keyPath");var u=o.value,c=i?b:e.get(u,b),l=gt(c,t,n,r);return l===c?e:l===b?e.remove(u):(i?it():e).set(u,l)}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,r){var i=r?e:C(e);return i[t]=n,i}function bt(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function wt(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}Ye[Ge]=!0,Ye[m]=Ye.remove,Ye.removeIn=Ye.deleteIn,Qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Qe.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===b,u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),!s||1!==u.length){if(!d&&!s&&u.length>=xt)return ct(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Qe(e,p)}},$e.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[vt(o&i-1)].get(e+g,t,n,r)},$e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===b)return this;var d=vt(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=at(p,e,t+g,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=_t)return dt(e,f,c,s,h);if(l&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&st(h))return h;var m=e&&e===this.ownerID,v=l?h?c:c^u:c|u,w=l?h?yt(f,d,h,m):wt(f,d,m):bt(f,d,h,m);return m?(this.bitmap=v,this.nodes=w,this):new $e(e,v,w)},Ze.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var i=(0===e?t:t>>>e)&y,o=this.nodes[i];return o?o.get(e+g,t,n,r):r},Ze.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&y,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var d=at(l,e,t+g,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<St)return lt(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},Je.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(ve(n,i[o][0]))return i[o][1];return r},Je.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=Oe(r));var s=i===b;if(n!==this.keyHash)return s?this:(S(a),S(o),ut(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!ve(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(S(a),(s||!d)&&S(o),s&&2===l)return new Xe(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:C(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new Je(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,r){return ve(n,this.entry[0])?this.entry[1]:r},Xe.prototype.update=function(e,t,n,r,i,o,a){var s=i===b,u=ve(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(S(a),s?void S(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Xe(e,this.keyHash,[r,i]):(S(o),ut(this,e,t,Oe(r),[r,i])))},Qe.prototype.iterate=Je.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},$e.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Xe.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,r=t.node,i=t.index++;if(r.entry){if(0===i)return tt(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return tt(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return U()};var xt=v/4,_t=v/2,St=v/4;function kt(e){var t=Mt();if(null==e)return t;if(Ct(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ve(r),r>0&&r<v?Pt(0,r,g,null,new Ot(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function Ct(e){return!(!e||!e[Et])}t(kt,ke),kt.of=function(){return this(arguments)},kt.prototype.toString=function(){return this.__toString("List [","]")},kt.prototype.get=function(e,t){if((e=I(this,e))>=0&&e<this.size){var n=Ft(this,e+=this._origin);return n&&n.array[e&y]}return t},kt.prototype.set=function(e,t){return jt(this,e,t)},kt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},kt.prototype.insert=function(e,t){return this.splice(e,0,t)},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},kt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},kt.prototype.pop=function(){return zt(this,0,-1)},kt.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])}))},kt.prototype.shift=function(){return zt(this,1)},kt.prototype.merge=function(){return Bt(this,void 0,arguments)},kt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},kt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},kt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},kt.prototype.setSize=function(e){return zt(this,0,e)},kt.prototype.slice=function(e,t){var n=this.size;return T(e,t,n)?this:zt(this,N(e,n),D(t,n))},kt.prototype.__iterator=function(e,t){var n=0,r=At(this,t);return new z((function(){var t=r();return t===Dt?U():B(e,n++,t)}))},kt.prototype.__iterate=function(e,t){for(var n,r=0,i=At(this,t);(n=i())!==Dt&&!1!==e(n,r++,this););return r},kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},kt.isList=Ct;var Et="@@__IMMUTABLE_LIST__@@",It=kt.prototype;function Ot(e,t){this.array=e,this.ownerID=t}It[Et]=!0,It[m]=It.remove,It.setIn=Ye.setIn,It.deleteIn=It.removeIn=Ye.removeIn,It.update=Ye.update,It.updateIn=Ye.updateIn,It.mergeIn=Ye.mergeIn,It.mergeDeepIn=Ye.mergeDeepIn,It.withMutations=Ye.withMutations,It.asMutable=Ye.asMutable,It.asImmutable=Ye.asImmutable,It.wasAltered=Ye.wasAltered,Ot.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&y;if(r>=this.array.length)return new Ot([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-g,n))===a&&o)return this}if(o&&!i)return this;var s=Lt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Ot.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&y;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-g,n))===o&&i===this.array.length-1)return this}var a=Lt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Tt,Nt,Dt={};function At(e,t){var n=e._origin,r=e._capacity,i=Ut(r),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):u(e,t,n)}function s(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>v&&(c=v),function(){if(u===c)return Dt;var e=t?--c:u++;return s&&s[e]}}function u(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>v&&(l=v),function(){for(;;){if(s){var e=s();if(e!==Dt)return e;s=null}if(c===l)return Dt;var n=t?--l:c++;s=a(u&&u[n],i-g,o+(n<<i))}}}}function Pt(e,t,n,r,i,o,a){var s=Object.create(It);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Tt||(Tt=Pt(0,0,g))}function jt(e,t,n){if((t=I(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 r=e._tail,i=e._root,o=_(x);return t>=Ut(e._capacity)?r=Rt(r,e.__ownerID,0,t,n,o):i=Rt(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Pt(e._origin,e._capacity,e._level,i,r):e}function Rt(e,t,n,r,i,o){var a,s=r>>>n&y,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=Rt(c,t,n-g,r,i,o);return l===c?e:((a=Lt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(S(o),a=Lt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Lt(e,t){return t&&e&&t===e.ownerID?e:new Ot(e?e.array.slice():[],t)}function Ft(e,t){if(t>=Ut(e._capacity))return e._tail;if(t<1<<e._level+g){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&y],r-=g;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new k,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new Ot(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=g);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=Ut(o),f=Ut(s);f>=1<<u+g;)c=new Ot(c&&c.array.length?[c]:[],r),u+=g;var p=e._tail,h=f<d?Ft(e,s-1):f>d?new Ot([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=Lt(c,r),v=u;v>g;v-=g){var b=d>>>v&y;m=m.array[b]=Lt(m.array[b],r)}m.array[d>>>g&y]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=g,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var w=a>>>u&y;if(w!==f>>>u&y)break;w&&(l+=(1<<u)*w),u-=g,c=c.array[w]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):Pt(a,s,u,c,h)}function Bt(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(e){return pe(e)}))),r.push(c)}return o>e.size&&(e=e.setSize(o)),mt(e,t,r)}function Ut(e){return e<v?0:e-1>>>g<<g}function qt(e){return null==e?Ht():Vt(e)?e:Ht().withMutations((function(t){var n=r(e);Ve(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Vt(e){return He(e)&&l(e)}function Kt(e,t,n,r){var i=Object.create(qt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Ht(){return Nt||(Nt=Kt(it(),Mt()))}function Wt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===b){if(!u)return e;a.size>=v&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Kt(r,i)}function Gt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Qt(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=wn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var r=e.__iterator(t,n);return new z((function(){var e=r.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===M?P:M,n)},t}function Jt(e,t,n){var r=bn(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,b);return o===b?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(j,i);return new z((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return B(r,s,t.call(n,a[1],s,e),i)}))},r}function Xt(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,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=wn,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,r){var i=bn(e);return r&&(i.has=function(r){var i=e.get(r,b);return i!==b&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,b);return o!==b&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return B(i,r?c:s++,l,o)}}))},i}function tn(e,t,n){var r=Ke().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}function nn(e,t,n){var r=s(e),i=(l(e)?qt():Ke()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=yn(e);return i.map((function(t){return mn(e,o(t))}))}function rn(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),T(t,n,i))return e;var o=N(t,i),a=D(n,i);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=bn(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new z((function(){for(;a++<o;)i.next();if(++u>s)return U();var e=i.next();return r||t===M?e:B(t,u-1,t===P?void 0:e.value[1],e)}))},c}function on(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(j,i),s=!0;return new z((function(){if(!s)return U();var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===j?e:B(r,u,c,e):(s=!1,U())}))},r}function an(e,t,n,r){var i=bn(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(j,o),u=!0,c=0;return new z((function(){var e,o,l;do{if((e=s.next()).done)return r||i===M?e:B(i,c++,i===P?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return i===j?e:B(i,o,l,e)}))},i}function sn(e,t){var n=s(e),i=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?se(e):ue(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new te(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function un(e,t,n){var r=bn(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(e,c){var l=this;e.__iterate((function(e,i){return(!t||c<t)&&a(e)?u(e,c+1):!1===r(e,n?i:o++,l)&&(s=!0),!s}),i)}return u(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===j&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:B(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return U()}))},r}function cn(e,t,n){var r=yn(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}function ln(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(M,r),a=0;return new z((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,t):B(n,a++,i.value,i)}))},n}function dn(e,t,n){t||(t=xn);var r=s(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?Q(o):$(o)}function fn(e,t,n){if(t||(t=xn),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function hn(e,t,r){var i=bn(e);return i.size=new te(r).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(M,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map((function(e){return e=n(e),K(i?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?U():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function mn(e,t){return oe(e)?t:e.constructor(t)}function gn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return Ve(e.size),E(e)}function yn(e){return s(e)?r:u(e)?i:o}function bn(e){return Object.create((s(e)?Y:u(e)?Q:$).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function xn(e,t){return e>t?1:e<t?-1:0}function _n(e){var t=K(e);if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e);t=K(n(e))}return t}function Sn(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);In(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Ke(o)},i=r.prototype=Object.create(kn);return i.constructor=r,r}t(qt,Ke),qt.of=function(){return this(arguments)},qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},qt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ht()},qt.prototype.set=function(e,t){return Wt(this,e,t)},qt.prototype.remove=function(e){return Wt(this,e,b)},qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},qt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},qt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},qt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Kt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},qt.isOrderedMap=Vt,qt.prototype[h]=!0,qt.prototype[m]=qt.prototype.remove,t(Gt,Y),Gt.prototype.get=function(e,t){return this._iter.get(e,t)},Gt.prototype.has=function(e){return this._iter.has(e)},Gt.prototype.valueSeq=function(){return this._iter.valueSeq()},Gt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Gt.prototype.map=function(e,t){var n=this,r=Jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Gt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?vn(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Gt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),r=t?vn(this):0;return new z((function(){var i=n.next();return i.done?i:B(e,t?--r:r++,i.value,i)}))},Gt.prototype[h]=!0,t(Yt,Q),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate((function(t){return e(t,r++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),r=0;return new z((function(){var t=n.next();return t.done?t:B(e,r++,t.value,t)}))},t(Qt,$),Qt.prototype.has=function(e){return this._iter.includes(e)},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Qt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,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){gn(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},$t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t);return new z((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){gn(r);var i=a(r);return B(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},Yt.prototype.cacheResult=Gt.prototype.cacheResult=Qt.prototype.cacheResult=$t.prototype.cacheResult=wn,t(Sn,Se),Sn.prototype.toString=function(){return this.__toString(En(this)+" {","}")},Sn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Sn.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},Sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Cn(this,it()))},Sn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+En(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Cn(this,n)},Sn.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:Cn(this,t)},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Sn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Sn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Cn(this,t,e):(this.__ownerID=e,this._map=t,this)};var kn=Sn.prototype;function Cn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function En(e){return e._name||e.constructor.name||"Record"}function In(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){we(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Tn(e){return null==e?Rn():Nn(e)&&!l(e)?e:Rn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Nn(e){return!(!e||!e[An])}kn[m]=kn.remove,kn.deleteIn=kn.removeIn=Ye.removeIn,kn.merge=Ye.merge,kn.mergeWith=Ye.mergeWith,kn.mergeIn=Ye.mergeIn,kn.mergeDeep=Ye.mergeDeep,kn.mergeDeepWith=Ye.mergeDeepWith,kn.mergeDeepIn=Ye.mergeDeepIn,kn.setIn=Ye.setIn,kn.update=Ye.update,kn.updateIn=Ye.updateIn,kn.withMutations=Ye.withMutations,kn.asMutable=Ye.asMutable,kn.asImmutable=Ye.asImmutable,t(Tn,Ce),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(e){return this(r(e).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(e){return this._map.has(e)},Tn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Tn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Tn.prototype.clear=function(){return Mn(this,this._map.clear())},Tn.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])},Tn.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)}))}))},Tn.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)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(e){return Ln(dn(this,e))},Tn.prototype.sortBy=function(e,t){return Ln(dn(this,t,e))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,r){return e(r,r,n)}),t)},Tn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Tn.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)},Tn.isSet=Nn;var Dn,An="@@__IMMUTABLE_SET__@@",Pn=Tn.prototype;function Mn(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 jn(e,t){var n=Object.create(Pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Rn(){return Dn||(Dn=jn(it()))}function Ln(e){return null==e?qn():Fn(e)?e:qn().withMutations((function(t){var n=o(e);Ve(n.size),n.forEach((function(e){return t.add(e)}))}))}function Fn(e){return Nn(e)&&l(e)}Pn[An]=!0,Pn[m]=Pn.remove,Pn.mergeDeep=Pn.merge,Pn.mergeDeepWith=Pn.mergeWith,Pn.withMutations=Ye.withMutations,Pn.asMutable=Ye.asMutable,Pn.asImmutable=Ye.asImmutable,Pn.__empty=Rn,Pn.__make=jn,t(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(e){return this(r(e).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=Fn;var zn,Bn=Ln.prototype;function Un(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qn(){return zn||(zn=Un(Ht()))}function Vn(e){return null==e?Qn():Kn(e)?e:Qn().unshiftAll(e)}function Kn(e){return!(!e||!e[Wn])}Bn[h]=!0,Bn.__empty=qn,Bn.__make=Un,t(Vn,ke),Vn.of=function(){return this(arguments)},Vn.prototype.toString=function(){return this.__toString("Stack [","]")},Vn.prototype.get=function(e,t){var n=this._head;for(e=I(this,e);n&&e--;)n=n.next;return n?n.value:t},Vn.prototype.peek=function(){return this._head&&this._head.value},Vn.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)},Vn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ve(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)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(e){return this.pushAll(e)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.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):Qn()},Vn.prototype.slice=function(e,t){if(T(e,t,this.size))return this;var n=N(e,this.size);if(D(t,this.size)!==this.size)return ke.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.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)},Vn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new z((function(){if(r){var t=r.value;return r=r.next,B(e,n++,t)}return U()}))},Vn.isStack=Kn;var Hn,Wn="@@__IMMUTABLE_STACK__@@",Gn=Vn.prototype;function Yn(e,t,n,r){var i=Object.create(Gn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Qn(){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}Gn[Wn]=!0,Gn.withMutations=Ye.withMutations,Gn.asMutable=Ye.asMutable,Gn.asImmutable=Ye.asImmutable,Gn.wasAltered=Ye.wasAltered,n.Iterator=z,$n(n,{toArray:function(){Ve(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 Gt(this,!0)},toMap:function(){return Ke(this.toKeyedSeq())},toObject:function(){Ve(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return qt(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return Tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Qt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return kt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return mn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){Ve(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return mn(this,en(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ve(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ve(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(P)},map:function(e,t){return mn(this,Jt(this,e,t))},reduce:function(e,t,n){var r,i;return Ve(this.size),arguments.length<2?i=!0:r=t,this.__iterate((function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return mn(this,Xt(this,!0))},slice:function(e,t){return mn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(tr(e),t)},sort:function(e){return mn(this,dn(this,e))},values:function(){return this.__iterator(M)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(er).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(tr(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 mn(this,cn(this,e,t))},flatten:function(e){return mn(this,un(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,r=this,i=_n(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return t}return r},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(Xn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return fn(this,e)},maxBy:function(e,t){return fn(this,t,e)},min:function(e){return fn(this,e?nr(e):or)},minBy:function(e,t){return fn(this,t?nr(t):or,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return mn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return mn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(tr(e),t)},sortBy:function(e,t){return mn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return mn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return mn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(tr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ar(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[F]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=rr,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(r,{flip:function(){return mn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return mn(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return mn(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Jn=r.prototype;function Xn(e,t){return t}function er(e,t){return[t,e]}function tr(e){return function(){return!e.apply(this,arguments)}}function nr(e){return function(){return-e.apply(this,arguments)}}function rr(e){return"string"==typeof e?JSON.stringify(e):e}function ir(){return C(arguments)}function or(e,t){return e<t?1:e>t?-1:0}function ar(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return sr(e.__iterate(n?t?function(e,t){r=31*r+ur(Oe(e),Oe(t))|0}:function(e,t){r=r+ur(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}function sr(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Ie((t=Ee(t^t>>>13,3266489909))^t>>>16)}function ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Jn[f]=!0,Jn[F]=Zn.entries,Jn.__toJS=Zn.toObject,Jn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+rr(e)},$n(i,{toKeyedSeq:function(){return new Gt(this,!1)},filter:function(e,t){return mn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return mn(this,Xt(this,!1))},slice:function(e,t){return mn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return mn(this,1===n?r:r.concat(C(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return mn(this,un(this,e,!1))},get:function(e,t){return(e=I(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=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return mn(this,ln(this,e))},interleave:function(){var e=[this].concat(C(arguments)),t=hn(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),mn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return mn(this,an(this,e,t,!1))},zip:function(){return mn(this,hn(this,ir,[this].concat(C(arguments))))},zipWith:function(e){var t=C(arguments);return t[0]=this,mn(this,hn(this,e,t))}}),i.prototype[p]=!0,i.prototype[h]=!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,r.prototype),$n(Q,i.prototype),$n($,o.prototype),$n(Se,r.prototype),$n(ke,i.prototype),$n(Ce,o.prototype),{Iterable:n,Seq:G,Collection:_e,Map:Ke,OrderedMap:qt,List:kt,Stack:Vn,Set:Tn,OrderedSet:Ln,Record:Sn,Range:xe,Repeat:be,is:ve,fromJS:pe}}();var L1e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function F1e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=L1e(e)):t=L1e(e);return t.body}var z1e=new RegExp("\r","g"),B1e=new RegExp("\n","g"),U1e=new RegExp("&nbsp;","g"),q1e=new RegExp("\r","g"),V1e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],K1e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},H1e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},W1e=function(e,t,n){},G1e=function(e,t,n){return n},Y1e=function(e,t){},Q1e=function(e){return[]},$1e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function Z1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:R1e.exports.Map();return!0===n?{text:"\r",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:r,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function J1e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R1e.exports.Map();return{text:"\r",inlines:[R1e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function X1e(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 e2e(e,t,n){return X1e(e,n)}function t2e(e,t,n){var r=K1e[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var i=t;n=n.withMutations((function(e){"bold"===i.style.fontWeight&&e.add("BOLD"),"italic"===i.style.fontStyle&&e.add("ITALIC"),"underline"===i.style.textDecoration&&e.add("UNDERLINE"),"line-through"===i.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function n2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R1e.exports.OrderedSet();return t2e(e,t,n)}function r2e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.text.slice(0,1),i=e.text.slice(-1),o="\r"===i&&"\r"===r,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||"\n"===t.text)return e;" "!==r&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var u=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:u}}function i2e(e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,m){var g=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===g){var b=e.textContent;if(""===b.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==r)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:" ",inlines:[R1e.exports.OrderedSet()],entities:t,blocks:[]}}(m);"code-block"!==r&&(b=b.replace(B1e," "));var w=Array(b.length).fill(m),x=0;return u(b,l,d,f,p).sort(j1e).forEach((function(e){var t=e.entity,n=e.offset,r=e.length,i=e.result,o=n+x;null==i&&(i=b.substr(o,r));var a=b.split("");a.splice.bind(a,o,r).apply(a,i.split("")),b=a.join(""),w.splice.bind(w,o,r).apply(w,Array(i.length).fill(t)),x+=i.length-r})),{text:b,inlines:Array(b.length).fill(t),entities:w,blocks:[]}}if("br"===g){var _=r;return null===_?Z1e("unstyled",o,!0):Z1e(_||"unstyled",o,h.flat)}var S={text:"",inlines:[],entities:[],blocks:[]};t=a(g,e,t=t2e(g,e,t)),"ul"!==g&&"ol"!==g||(n&&(o+=1),n=g,r=null);var k,C,E=c(g,e,n,r);if(!1===E)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(E=E||{})?(k=E,C=R1e.exports.Map()):(k="string"==typeof E?E:E.type,C=E.data?R1e.exports.Map(E.data):R1e.exports.Map()),r||-1===i.indexOf(g)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==g)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,S=Z1e(k,o,!0,C));else{var I=X1e(g,n);S=J1e(I,o),r=I,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else S=J1e(k||X1e(g,n),o,C),r=k||X1e(g,n),v=!0;var O=e.firstChild;null!=O||!m||"atomic"!==k&&"atomic"!==r||(O=document.createTextNode("a")),null!=O&&(g=O.nodeName.toLowerCase());for(var T=null;O;){T=s(g,O,l,d,f,p),S=r2e(S,i2e(O,t,n,r,i,o,a,s,u,c,l,d,f,p,h,T||m),h.flat);var N=O.nextSibling;if(N&&i.indexOf(g)>=0&&r){var D=c(g,O,n,r),A=void 0,P=void 0;!1!==D&&("string"==typeof(D=D||{})?(A=D,P=R1e.exports.Map()):(A=D.type||X1e(g,n),P=D.data?R1e.exports.Map(D.data):R1e.exports.Map()),S=r2e(S,Z1e(A,o,h.flat,P),h.flat))}N&&(g=N.nodeName.toLowerCase()),O=N}return v&&(S=r2e(S,J1e(y,o,R1e.exports.Map()),h.flat)),S}function o2e(e,t,n,r,i,o,a,s,u,c,l){var d=l(e=e.trim().replace(z1e,"").replace(U1e," "));if(!d)return null;var f=function(e){return V1e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?V1e.concat(["div"]):["div"],p=i2e(d,R1e.exports.OrderedSet(),"ul",null,f,-1,t,n,r,i,o,a,s,u,c);return 0===p.text.indexOf("\r")&&(p={text:p.text.slice(1),inlines:p.inlines.slice(1),entities:p.entities.slice(1),blocks:p.blocks}),"\r"===p.text.slice(-1)&&(p.text=p.text.slice(0,-1),p.inlines=p.inlines.slice(0,-1),p.entities=p.entities.slice(0,-1),p.blocks.pop()),0===p.blocks.length&&p.blocks.push({type:"unstyled",data:R1e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:R1e.exports.Map(),depth:0}),p}function a2e(e,t,n,r,i,o,a,s,u,c,l,d){var f=o2e(e,t,n,r,i,o,a,s,u,c,l);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(q1e,"");var n=p+e.length,r=$1e(f).inlines.slice(p,n),i=$1e(f).entities.slice(p,n),o=R1e.exports.List(r.map((function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),M1e.CharacterMetadata.create(n)})));return p=n+1,new M1e.ContentBlock({key:d(),type:$1e(f).blocks[t].type,data:$1e(f).blocks[t].data,depth:$1e(f).blocks[t].depth,text:e,characterList:o})}))}var s2e=function(e){var t=e.htmlToStyle,n=void 0===t?G1e:t,r=e.htmlToEntity,i=void 0===r?Y1e:r,o=e.textToEntity,a=void 0===o?Q1e:o,s=e.htmlToBlock,u=void 0===s?W1e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F1e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:M1e.genKey,s=M1e.ContentState.createFromText(""),c=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():M1e.Entity.create.apply(M1e.Entity,arguments)},l=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):M1e.Entity.get.apply(M1e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):M1e.Entity.mergeData.apply(M1e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):M1e.Entity.replaceData.apply(M1e.Entity,arguments)},p=a2e(e,H1e(n,n2e),H1e(i,Y1e),H1e(a,Q1e),H1e(u,e2e),c,l,d,f,t,r,o),h=M1e.BlockMapBuilder.createFromArray(p),m=p[0].getKey();return s.merge({blockMap:h,selectionBefore:M1e.SelectionState.createEmpty(m),selectionAfter:M1e.SelectionState.createEmpty(m)})}};oG('/**\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 u2e={};function c2e(e){e&&(e.value=!0)}function l2e(){}function d2e(e){return void 0===e.size&&(e.size=e.__iterate(p2e)),e.size}function f2e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?d2e(e)+t:t}function p2e(){return!0}function h2e(e,t,n){return(0===e&&!y2e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function m2e(e,t){return v2e(e,t,0)}function g2e(e,t){return v2e(e,t,t)}function v2e(e,t,n){return void 0===e?n:y2e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function y2e(e){return e<0||0===e&&1/e==-1/0}function b2e(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function w2e(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function x2e(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function _2e(e){return w2e(e)||x2e(e)}var S2e=function(e){return b2e(e)?e:V2e(e)},k2e=function(e){function t(e){return w2e(e)?e:K2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e),C2e=function(e){function t(e){return x2e(e)?e:H2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e),E2e=function(e){function t(e){return b2e(e)&&!_2e(e)?e:W2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(S2e);S2e.Keyed=k2e,S2e.Indexed=C2e,S2e.Set=E2e;function I2e(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function O2e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function T2e(e){return b2e(e)||O2e(e)}var N2e="@@__IMMUTABLE_ORDERED__@@";function D2e(e){return Boolean(e&&e[N2e])}var A2e="function"==typeof Symbol&&Symbol.iterator,P2e=A2e||"@@iterator",M2e=function(e){this.next=e};function j2e(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function R2e(){return{value:void 0,done:!0}}function L2e(e){return!!B2e(e)}function F2e(e){return e&&"function"==typeof e.next}function z2e(e){var t=B2e(e);return t&&t.call(e)}function B2e(e){var t=e&&(A2e&&e[A2e]||e["@@iterator"]);if("function"==typeof t)return t}M2e.prototype.toString=function(){return"[Iterator]"},M2e.KEYS=0,M2e.VALUES=1,M2e.ENTRIES=2,M2e.prototype.inspect=M2e.prototype.toSource=function(){return this.toString()},M2e.prototype[P2e]=function(){return this};var U2e=Object.prototype.hasOwnProperty;function q2e(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 V2e=function(e){function t(e){return null==e?Z2e():T2e(e)?e.toSeq():function(e){var t=e3e(e);if(t)return t;if("object"==typeof e)return new Y2e(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 r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new M2e((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return j2e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(S2e),K2e=function(e){function t(e){return null==e?Z2e().toKeyedSeq():b2e(e)?w2e(e)?e.toSeq():e.fromEntrySeq():O2e(e)?e.toSeq():J2e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(V2e),H2e=function(e){function t(e){return null==e?Z2e():b2e(e)?w2e(e)?e.entrySeq():e.toIndexedSeq():O2e(e)?e.toSeq().entrySeq():X2e(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}(V2e),W2e=function(e){function t(e){return(b2e(e)&&!_2e(e)?e:H2e(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}(V2e);V2e.isSeq=I2e,V2e.Keyed=K2e,V2e.Set=W2e,V2e.Indexed=H2e,V2e.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var G2e=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[f2e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new M2e((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return j2e(e,o,n[o])}))},t}(H2e),Y2e=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 U2e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new M2e((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return j2e(e,a,n[a])}))},t}(K2e);Y2e.prototype[N2e]=!0;var Q2e,$2e=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=z2e(this._collection),r=0;if(F2e(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=z2e(this._collection);if(!F2e(n))return new M2e(R2e);var r=0;return new M2e((function(){var t=n.next();return t.done?t:j2e(e,r++,t.value)}))},t}(H2e);function Z2e(){return Q2e||(Q2e=new G2e([]))}function J2e(e){var t=Array.isArray(e)?new G2e(e):L2e(e)?new $2e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new Y2e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function X2e(e){var t=e3e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function e3e(e){return q2e(e)?new G2e(e):L2e(e)?new $2e(e):void 0}function t3e(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function n3e(e){return t3e(e)&&D2e(e)}function r3e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function i3e(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!!(r3e(e)&&r3e(t)&&e.equals(t))}var o3e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function a3e(e){return e>>>1&1073741824|3221225471&e}var s3e=Object.prototype.valueOf;function u3e(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 a3e(t)}(e);case"string":return e.length>g3e?function(e){var t=b3e[e];void 0===t&&(t=c3e(e),y3e===v3e&&(y3e=0,b3e={}),y3e++,b3e[e]=t);return t}(e):c3e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?a3e(e.hashCode(e)):(e.valueOf!==s3e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(p3e&&void 0!==(t=f3e.get(e)))return t;if(void 0!==(t=e[m3e]))return t;if(!d3e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[m3e]))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=++h3e,1073741824&h3e&&(h3e=0);if(p3e)f3e.set(e,t);else{if(void 0!==l3e&&!1===l3e(e))throw new Error("Non-extensible objects are not allowed as keys.");if(d3e)Object.defineProperty(e,m3e,{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[m3e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[m3e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return c3e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function c3e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return a3e(t)}var l3e=Object.isExtensible,d3e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var f3e,p3e="function"==typeof WeakMap;p3e&&(f3e=new WeakMap);var h3e=0,m3e="__immutablehash__";"function"==typeof Symbol&&(m3e=Symbol(m3e));var g3e=16,v3e=255,y3e=0,b3e={},w3e=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=E3e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=C3e(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(K2e);w3e.prototype[N2e]=!0;var x3e=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,r=0;return t&&d2e(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&d2e(this),new M2e((function(){var o=r.next();return o.done?o:j2e(e,t?n.size-++i:i++,o.value,o)}))},t}(H2e),_3e=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 M2e((function(){var t=n.next();return t.done?t:j2e(e,t.value,t.value,t)}))},t}(W2e),S3e=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){L3e(t);var r=b2e(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new M2e((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){L3e(r);var i=b2e(r);return j2e(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(K2e);function k3e(e){var t=z3e(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=B3e,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new M2e((function(){var e=r.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 C3e(e,t,n){var r=z3e(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,u2e);return o===u2e?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new M2e((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return j2e(r,s,t.call(n,a[1],s,e),i)}))},r}function E3e(e,t){var n=this,r=z3e(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=k3e(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=B3e,r.__iterate=function(n,r){var i=this,o=0;return r&&d2e(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&d2e(e);var a=e.__iterator(2,!i);return new M2e((function(){var e=a.next();if(e.done)return e;var s=e.value;return j2e(r,t?s[0]:i?n.size-++o:o++,s[1],e)}))},r}function I3e(e,t,n,r){var i=z3e(e);return r&&(i.has=function(r){var i=e.get(r,u2e);return i!==u2e&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,u2e);return o!==u2e&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(2,o),s=0;return new M2e((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return j2e(i,r?c:s++,l,o)}}))},i}function O3e(e,t,n,r){var i=e.size;if(h2e(t,n,i))return e;var o=m2e(t,i),a=g2e(n,i);if(o!=o||a!=a)return O3e(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=z3e(e);return c.size=0===s?s:e.size&&s||void 0,!r&&I2e(e)&&s>=0&&(c.get=function(t,n){return(t=f2e(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate((function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new M2e(R2e);var i=e.__iterator(t,n),a=0,u=0;return new M2e((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:j2e(t,u-1,0===t?void 0:e.value[1],e)}))},c}function T3e(e,t,n,r){var i=z3e(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new M2e((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:j2e(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],l=d[1],u&&(u=t.call(n,l,o,a))}while(u);return 2===i?e:j2e(i,o,l,e)}))},i}function N3e(e,t){var n=w2e(e),r=[e].concat(t).map((function(e){return b2e(e)?n&&(e=k2e(e)):e=n?J2e(e):X2e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&w2e(i)||x2e(e)&&x2e(i))return i}var o=new G2e(r);return n?o=o.toKeyedSeq():x2e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function D3e(e,t,n){var r=z3e(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(u,c){u.__iterate((function(o,u){return(!t||c<t)&&b2e(o)?e(o,c+1):(a++,!1===i(o,n?u:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new M2e((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(2===r&&(u=u[1]),t&&!(a.length<t)||!b2e(u))return n?e:j2e(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function A3e(e,t,n){t||(t=U3e);var r=w2e(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?K2e(o):x2e(e)?H2e(o):W2e(o)}function P3e(e,t,n){if(t||(t=U3e),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return M3e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return M3e(t,e,n)?n:e}))}function M3e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function j3e(e,t,n,r){var i=z3e(e),o=new G2e(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=S2e(e),z2e(i?e.reverse():e)})),a=0,s=!1;return new M2e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:j2e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function R3e(e,t){return e===t?e:I2e(e)?t:e.constructor(t)}function L3e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function F3e(e){return w2e(e)?k2e:x2e(e)?C2e:E2e}function z3e(e){return Object.create((w2e(e)?K2e:x2e(e)?H2e:W2e).prototype)}function B3e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V2e.prototype.cacheResult.call(this)}function U3e(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 q3e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function V3e(e,t){if(!e)throw new Error(t)}function K3e(e){V3e(e!==1/0,"Cannot perform this action with an infinite size.")}function H3e(e){if(q2e(e)&&"string"!=typeof e)return e;if(D2e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function W3e(e){return"object"==typeof e&&(T2e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function G3e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function Y3e(e,t,n){return T2e(e)?e.get(t,n):function(e,t){return T2e(e)?e.has(t):W3e(e)&&U2e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function Q3e(e){if(Array.isArray(e))return q3e(e);var t={};for(var n in e)U2e.call(e,n)&&(t[n]=e[n]);return t}function $3e(e,t,n,r){r||(r=n,n=void 0);var i=Z3e(T2e(e),e,H3e(t),0,n,r);return i===u2e?n:i}function Z3e(e,t,n,r,i,o){var a=t===u2e;if(r===n.length){var s=a?i:t,u=o(s);return u===s?t:u}if(!a&&!W3e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(G3e)+"]: "+t);var c=n[r],l=a?u2e:Y3e(t,c,u2e),d=Z3e(l===u2e?e:T2e(l),l,n,r+1,i,o);return d===l?t:d===u2e?function(e,t){if(!W3e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(T2e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!U2e.call(e,t))return e;var n=Q3e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,c):function(e,t,n){if(!W3e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(T2e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(U2e.call(e,t)&&n===e[t])return e;var r=Q3e(e);return r[t]=n,r}(a?e?k4e():{}:t,c,d)}function J3e(e,t){return function(e,t,n){return $3e(e,t,u2e,(function(){return n}))}(this,e,t)}function X3e(e){return function(e,t){return $3e(e,t,(function(){return u2e}))}(this,e)}function e4e(e,t,n,r){return $3e(e,[t],n,r)}function t4e(e,t,n){return 1===arguments.length?e(this):e4e(this,e,t,n)}function n4e(e,t,n){return $3e(this,e,t,n)}function r4e(e,t,n){for(var r=[],i=0;i<t.length;i++){var o=k2e(t[i]);0!==o.size&&r.push(o)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){e4e(e,r,u2e,(function(e){return e===u2e?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},i=0;i<r.length;i++)r[i].forEach(t)})):e.constructor(r[0])}function i4e(e,t,n){return o4e(e,t,function(e){function t(n,r,i){return W3e(n)&&W3e(r)?o4e(n,[r],t):e?e(n,r,i):r}return t}(n))}function o4e(e,t,n){if(!W3e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(T2e(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 r=Array.isArray(e),i=e,o=r?C2e:k2e,a=r?function(t){i===e&&(i=Q3e(i)),i.push(t)}:function(t,r){var o=U2e.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=Q3e(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function a4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return $3e(this,e,k4e(),(function(e){return o4e(e,t)}))}function s4e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return $3e(this,e,k4e(),(function(e){return i4e(e,t)}))}function u4e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function c4e(){return this.__ownerID?this:this.__ensureOwner(new l2e)}function l4e(){return this.__ensureOwner()}function d4e(){return this.__altered}x3e.prototype.cacheResult=w3e.prototype.cacheResult=_3e.prototype.cacheResult=S3e.prototype.cacheResult=B3e;var f4e=function(e){function t(t){return null==t?k4e():t3e(t)&&!D2e(t)?t:k4e().withMutations((function(n){var r=e(t);K3e(r.size),r.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 k4e().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 C4e(this,e,t)},t.prototype.remove=function(e){return C4e(this,e,u2e)},t.prototype.deleteAll=function(e){var t=S2e(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):k4e()},t.prototype.sort=function(e){return Q4e(A3e(this,e))},t.prototype.sortBy=function(e,t){return Q4e(A3e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new w4e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?S4e(this.size,this._root,e,this.__hash):0===this.size?k4e():(this.__ownerID=e,this.__altered=!1,this)},t}(k2e);f4e.isMap=t3e;var p4e=f4e.prototype;p4e["@@__IMMUTABLE_MAP__@@"]=!0,p4e.delete=p4e.remove,p4e.removeAll=p4e.deleteAll,p4e.setIn=J3e,p4e.removeIn=p4e.deleteIn=X3e,p4e.update=t4e,p4e.updateIn=n4e,p4e.merge=p4e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r4e(this,e)},p4e.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 r4e(this,t,e)},p4e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return i4e(this,e)},p4e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return i4e(this,t,e)},p4e.mergeIn=a4e,p4e.mergeDeepIn=s4e,p4e.withMutations=u4e,p4e.wasAltered=d4e,p4e.asImmutable=l4e,p4e["@@transducer/init"]=p4e.asMutable=c4e,p4e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},p4e["@@transducer/result"]=function(e){return e.asImmutable()};var h4e=function(e,t){this.ownerID=e,this.entries=t};h4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(i3e(n,i[o][0]))return i[o][1];return r},h4e.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===u2e,u=this.entries,c=0,l=u.length;c<l&&!i3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(c2e(a),(s||!d)&&c2e(o),!s||1!==u.length){if(!d&&!s&&u.length>=D4e)return function(e,t,n,r){e||(e=new l2e);for(var i=new y4e(e,u3e(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,r,i);var f=e&&e===this.ownerID,p=f?u:q3e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new h4e(e,p)}};var m4e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};m4e.prototype.get=function(e,t,n,r){void 0===t&&(t=u3e(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0==(o&i)?r:this.nodes[T4e(o&i-1)].get(e+5,t,n,r)},m4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=31&(0===t?n:n>>>t),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===u2e)return this;var d=T4e(c&u-1),f=this.nodes,p=l?f[d]:void 0,h=E4e(p,e,t+5,n,r,i,o,a);if(h===p)return this;if(!l&&h&&f.length>=A4e)return function(e,t,n,r,i){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new g4e(e,o+1,a)}(e,f,c,s,h);if(l&&!h&&2===f.length&&I4e(f[1^d]))return f[1^d];if(l&&h&&1===f.length&&I4e(h))return h;var m=e&&e===this.ownerID,g=l?h?c:c^u:c|u,v=l?h?N4e(f,d,h,m):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(f,d,m):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,m);return m?(this.bitmap=g,this.nodes=v,this):new m4e(e,g,v)};var g4e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};g4e.prototype.get=function(e,t,n,r){void 0===t&&(t=u3e(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},g4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=31&(0===t?n:n>>>t),u=i===u2e,c=this.nodes,l=c[s];if(u&&!l)return this;var d=E4e(l,e,t+5,n,r,i,o,a);if(d===l)return this;var f=this.count;if(l){if(!d&&--f<P4e)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new m4e(e,i,a)}(e,c,f,s)}else f++;var p=e&&e===this.ownerID,h=N4e(c,s,d,p);return p?(this.count=f,this.nodes=h,this):new g4e(e,f,h)};var v4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};v4e.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(i3e(n,i[o][0]))return i[o][1];return r},v4e.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=u3e(r));var s=i===u2e;if(n!==this.keyHash)return s?this:(c2e(a),c2e(o),O4e(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!i3e(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===i:s)return this;if(c2e(a),(s||!d)&&c2e(o),s&&2===l)return new y4e(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,p=f?u:q3e(u);return d?s?c===l-1?p.pop():p[c]=p.pop():p[c]=[r,i]:p.push([r,i]),f?(this.entries=p,this):new v4e(e,this.keyHash,p)};var y4e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};y4e.prototype.get=function(e,t,n,r){return i3e(n,this.entry[0])?this.entry[1]:r},y4e.prototype.update=function(e,t,n,r,i,o,a){var s=i===u2e,u=i3e(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(c2e(a),s?void c2e(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new y4e(e,this.keyHash,[r,i]):(c2e(o),O4e(this,e,t,u3e(r),[r,i])))},h4e.prototype.iterate=v4e.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},m4e.prototype.iterate=g4e.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},y4e.prototype.iterate=function(e,t){return e(this.entry)};var b4e,w4e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_4e(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,r=t.index++,i=void 0;if(n.entry){if(0===r)return x4e(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return x4e(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return x4e(e,o.entry);t=this._stack=_4e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(M2e);function x4e(e,t){return j2e(e,t[0],t[1])}function _4e(e,t){return{node:e,index:0,__prev:t}}function S4e(e,t,n,r){var i=Object.create(p4e);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function k4e(){return b4e||(b4e=S4e(0))}function C4e(e,t,n){var r,i;if(e._root){var o={value:!1},a={value:!1};if(r=E4e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===u2e?-1:1:0)}else{if(n===u2e)return e;i=1,r=new h4e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?S4e(i,r):k4e()}function E4e(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===u2e?e:(c2e(s),c2e(a),new y4e(t,r,[i,o]))}function I4e(e){return e.constructor===y4e||e.constructor===v4e}function O4e(e,t,n,r,i){if(e.keyHash===r)return new v4e(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),u=a===s?[O4e(e,t,n+5,r,i)]:(o=new y4e(t,r,i),a<s?[e,o]:[o,e]);return new m4e(t,1<<a|1<<s,u)}function T4e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function N4e(e,t,n,r){var i=r?e:q3e(e);return i[t]=n,i}var D4e=8,A4e=16,P4e=8;function M4e(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var j4e=function(e){function t(t){var n=q4e();if(null==t)return n;if(M4e(t))return t;var r=e(t),i=r.size;return 0===i?n:(K3e(i),i>0&&i<32?U4e(0,i,5,null,new L4e(r.toArray())):n.withMutations((function(e){e.setSize(i),r.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=f2e(this,e))>=0&&e<this.size){var n=H4e(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=f2e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?W4e(e,t).set(0,n):W4e(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=G4e(e._capacity)?r=V4e(r,e.__ownerID,0,t,n,o):i=V4e(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return U4e(e._origin,e._capacity,e._level,i,r)}(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):q4e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){W4e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return W4e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){W4e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return W4e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!=typeof i&&L2e(i)?i:[i]);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 W4e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return h2e(e,t,n)?this:W4e(this,m2e(e,n),g2e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=B4e(this,t);return new M2e((function(){var i=r();return i===z4e?{value:void 0,done:!0}:j2e(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=B4e(this,t);(n=i())!==z4e&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?U4e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?q4e():(this.__ownerID=e,this.__altered=!1,this)},t}(C2e);j4e.isList=M4e;var R4e=j4e.prototype;R4e["@@__IMMUTABLE_LIST__@@"]=!0,R4e.delete=R4e.remove,R4e.merge=R4e.concat,R4e.setIn=J3e,R4e.deleteIn=R4e.removeIn=X3e,R4e.update=t4e,R4e.updateIn=n4e,R4e.mergeIn=a4e,R4e.mergeDeepIn=s4e,R4e.withMutations=u4e,R4e.wasAltered=d4e,R4e.asImmutable=l4e,R4e["@@transducer/init"]=R4e.asMutable=c4e,R4e["@@transducer/step"]=function(e,t){return e.push(t)},R4e["@@transducer/result"]=function(e){return e.asImmutable()};var L4e=function(e,t){this.array=e,this.ownerID=t};L4e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new L4e([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=K4e(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},L4e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=K4e(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var F4e,z4e={};function B4e(e,t){var n=e._origin,r=e._capacity,i=G4e(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(u===c)return z4e;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==z4e)return e;s=null}if(c===l)return z4e;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function U4e(e,t,n,r,i,o,a){var s=Object.create(R4e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function q4e(){return F4e||(F4e=U4e(0,0,5))}function V4e(e,t,n,r,i,o){var a,s=r>>>n&31,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=V4e(c,t,n-5,r,i,o);return l===c?e:((a=K4e(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(o&&c2e(o),a=K4e(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function K4e(e,t){return t&&e&&t===e.ownerID?e:new L4e(e?e.array.slice():[],t)}function H4e(e,t){if(t>=G4e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function W4e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new l2e,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new L4e(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var d=G4e(o),f=G4e(s);f>=1<<u+5;)c=new L4e(c&&c.array.length?[c]:[],r),u+=5;var p=e._tail,h=f<d?H4e(e,s-1):f>d?new L4e([],r):p;if(p&&f>d&&a<o&&p.array.length){for(var m=c=K4e(c,r),g=u;g>5;g-=5){var v=d>>>g&31;m=m.array[v]=K4e(m.array[v],r)}m.array[d>>>5&31]=p}if(s<o&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,u=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||f<d){for(l=0;c;){var y=a>>>u&31;if(y!==f>>>u&31)break;y&&(l+=(1<<u)*y),u-=5,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f<d&&(c=c.removeAfter(r,u,f-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):U4e(a,s,u,c,h)}function G4e(e){return e<32?0:e-1>>>5<<5}var Y4e,Q4e=function(e){function t(e){return null==e?Z4e():n3e(e)?e:Z4e().withMutations((function(t){var n=k2e(e);K3e(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):Z4e()},t.prototype.set=function(e,t){return J4e(this,e,t)},t.prototype.remove=function(e){return J4e(this,e,u2e)},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?$4e(t,n,e,this.__hash):0===this.size?Z4e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(f4e);function $4e(e,t,n,r){var i=Object.create(Q4e.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Z4e(){return Y4e||(Y4e=$4e(k4e(),q4e()))}function J4e(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===u2e){if(!u)return e;a.size>=32&&a.size>=2*o.size?(r=(i=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):$4e(r,i)}Q4e.isOrderedMap=n3e,Q4e.prototype[N2e]=!0,Q4e.prototype.delete=Q4e.prototype.remove;function X4e(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var e5e=function(e){function t(e){return null==e?i5e():X4e(e)?e:i5e().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=f2e(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,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):r5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&X4e(t))return t;K3e(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):r5e(n,r)},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):i5e()},t.prototype.slice=function(t,n){if(h2e(t,n,this.size))return this;var r=m2e(t,this.size);if(g2e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):r5e(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?r5e(this.size,this._head,e,this.__hash):0===this.size?i5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new G2e(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new G2e(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new M2e((function(){if(r){var t=r.value;return r=r.next,j2e(e,n++,t)}return{value:void 0,done:!0}}))},t}(C2e);e5e.isStack=X4e;var t5e,n5e=e5e.prototype;function r5e(e,t,n,r){var i=Object.create(n5e);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function i5e(){return t5e||(t5e=r5e(0))}n5e["@@__IMMUTABLE_STACK__@@"]=!0,n5e.shift=n5e.pop,n5e.unshift=n5e.push,n5e.unshiftAll=n5e.pushAll,n5e.withMutations=u4e,n5e.wasAltered=d4e,n5e.asImmutable=l4e,n5e["@@transducer/init"]=n5e.asMutable=c4e,n5e["@@transducer/step"]=function(e,t){return e.unshift(t)},n5e["@@transducer/result"]=function(e){return e.asImmutable()};function o5e(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function a5e(e){return o5e(e)&&D2e(e)}function s5e(e,t){if(e===t)return!0;if(!b2e(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||w2e(e)!==w2e(t)||x2e(e)!==x2e(t)||D2e(e)!==D2e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!_2e(e);if(D2e(e)){var r=e.entries();return t.every((function(e,t){var i=r.next().value;return i&&i3e(i[1],e)&&(n||i3e(i[0],t))}))&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,r){if(n?!e.has(t):i?!i3e(t,e.get(r,u2e)):!i3e(e.get(r,u2e),t))return a=!1,!1}));return a&&e.size===s}function u5e(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 c5e(e){if(!e||"object"!=typeof e)return e;if(!b2e(e)){if(!W3e(e))return e;e=V2e(e)}if(w2e(e)){var t={};return e.__iterate((function(e,n){t[n]=c5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(c5e(e))})),n}var l5e=function(e){function t(t){return null==t?m5e():o5e(t)&&!D2e(t)?t:m5e().withMutations((function(n){var r=e(t);K3e(r.size),r.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(k2e(e).keySeq())},t.intersect=function(e){return(e=S2e(e).toArray()).length?f5e.intersect.apply(t(e.pop()),e):m5e()},t.union=function(e){return(e=S2e(e).toArray()).length?f5e.union.apply(t(e.pop()),e):m5e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return p5e(this,this._map.set(e,e))},t.prototype.remove=function(e){return p5e(this,this._map.remove(e))},t.prototype.clear=function(){return p5e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.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 r=0;r<t.length;r++)e(t[r]).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 r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.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 r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return D5e(A3e(this,e))},t.prototype.sortBy=function(e,t){return D5e(A3e(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}(E2e);l5e.isSet=o5e;var d5e,f5e=l5e.prototype;function p5e(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 h5e(e,t){var n=Object.create(f5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function m5e(){return d5e||(d5e=h5e(k4e()))}f5e["@@__IMMUTABLE_SET__@@"]=!0,f5e.delete=f5e.remove,f5e.merge=f5e.concat=f5e.union,f5e.withMutations=u4e,f5e.asImmutable=l4e,f5e["@@transducer/init"]=f5e.asMutable=c4e,f5e["@@transducer/step"]=function(e,t){return e.add(t)},f5e["@@transducer/result"]=function(e){return e.asImmutable()},f5e.__empty=m5e,f5e.__make=h5e;var g5e,v5e=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(V3e(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(g5e)return g5e;g5e=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+f2e(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 h2e(e,n,this.size)?this:(e=m2e(e,this.size),(n=g2e(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,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new M2e((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,j2e(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:s5e(this,e)},t}(H2e);function y5e(e,t,n){for(var r=H3e(t),i=0;i!==r.length;)if((e=Y3e(e,r[i++],u2e))===u2e)return n;return e}function b5e(){K3e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}S2e.isIterable=b2e,S2e.isKeyed=w2e,S2e.isIndexed=x2e,S2e.isAssociative=_2e,S2e.isOrdered=D2e,S2e.Iterator=M2e,u5e(S2e,{toArray:function(){K3e(this.size);var e=new Array(this.size||0),t=w2e(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new x3e(this)},toJS:function(){return c5e(this)},toKeyedSeq:function(){return new w3e(this,!0)},toMap:function(){return f4e(this.toKeyedSeq())},toObject:b5e,toOrderedMap:function(){return Q4e(this.toKeyedSeq())},toOrderedSet:function(){return D5e(w2e(this)?this.valueSeq():this)},toSet:function(){return l5e(w2e(this)?this.valueSeq():this)},toSetSeq:function(){return new _3e(this)},toSeq:function(){return x2e(this)?this.toIndexedSeq():w2e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return e5e(w2e(this)?this.valueSeq():this)},toList:function(){return j4e(w2e(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 R3e(this,N3e(this,e))},includes:function(e){return this.some((function(t){return i3e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){K3e(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return R3e(this,I3e(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return K3e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){K3e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return R3e(this,C3e(this,e,t))},reduce:function(e,t,n){return S5e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return S5e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return R3e(this,E3e(this,!0))},slice:function(e,t){return R3e(this,O3e(this,e,t,!0))},some:function(e,t){return!this.every(E5e(e),t)},sort:function(e){return R3e(this,A3e(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 d2e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=f4e().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return s5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new G2e(e._cache);var t=e.toSeq().map(C5e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(E5e(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},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(p2e,null,e)},flatMap:function(e,t){return R3e(this,function(e,t,n){var r=F3e(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return R3e(this,D3e(this,e,!0))},fromEntrySeq:function(){return new S3e(this)},get:function(e,t){return this.find((function(t,n){return i3e(n,e)}),void 0,t)},getIn:function(e,t){return y5e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var r=w2e(e),i=(D2e(e)?Q4e():f4e()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=F3e(e);return i.map((function(t){return R3e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,u2e)!==u2e},hasIn:function(e){return function(e,t){return y5e(e,t,u2e)!==u2e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:S2e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:S2e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return i3e(t,e)}))},keySeq:function(){return this.toSeq().map(k5e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return P3e(this,e)},maxBy:function(e,t){return P3e(this,t,e)},min:function(e){return P3e(this,e?I5e(e):T5e)},minBy:function(e,t){return P3e(this,t?I5e(t):T5e,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 R3e(this,T3e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(E5e(e),t)},sortBy:function(e,t){return R3e(this,A3e(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 R3e(this,function(e,t,n){var r=z3e(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new M2e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?2===r?e:j2e(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(E5e(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=D2e(e),n=w2e(e),r=t?1:0;return function(e,t){return t=o3e(t,3432918353),t=o3e(t<<15|t>>>-15,461845907),t=o3e(t<<13|t>>>-13,5),t=o3e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=a3e((t=o3e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+N5e(u3e(e),u3e(t))|0}:function(e,t){r=r+N5e(u3e(e),u3e(t))|0}:t?function(e){r=31*r+u3e(e)|0}:function(e){r=r+u3e(e)|0}),r)}(this))}});var w5e=S2e.prototype;w5e["@@__IMMUTABLE_ITERABLE__@@"]=!0,w5e[P2e]=w5e.values,w5e.toJSON=w5e.toArray,w5e.__toStringMapper=G3e,w5e.inspect=w5e.toSource=function(){return this.toString()},w5e.chain=w5e.flatMap,w5e.contains=w5e.includes,u5e(k2e,{flip:function(){return R3e(this,k3e(this))},mapEntries:function(e,t){var n=this,r=0;return R3e(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return R3e(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var x5e=k2e.prototype;x5e["@@__IMMUTABLE_KEYED__@@"]=!0,x5e[P2e]=w5e.entries,x5e.toJSON=b5e,x5e.__toStringMapper=function(e,t){return G3e(t)+": "+G3e(e)},u5e(C2e,{toKeyedSeq:function(){return new w3e(this,!1)},filter:function(e,t){return R3e(this,I3e(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 R3e(this,E3e(this,!1))},slice:function(e,t){return R3e(this,O3e(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=m2e(e,e<0?this.count():this.size);var r=this.slice(0,e);return R3e(this,1===n?r:r.concat(q3e(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 R3e(this,D3e(this,e,!1))},get:function(e,t){return(e=f2e(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=f2e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return R3e(this,function(e,t){var n=z3e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new M2e((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?j2e(n,a++,t):j2e(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(q3e(arguments)),t=j3e(this.toSeq(),H2e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),R3e(this,n)},keySeq:function(){return v5e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return R3e(this,T3e(this,e,t,!1))},zip:function(){var e=[this].concat(q3e(arguments));return R3e(this,j3e(this,O5e,e))},zipAll:function(){var e=[this].concat(q3e(arguments));return R3e(this,j3e(this,O5e,e,!0))},zipWith:function(e){var t=q3e(arguments);return t[0]=this,R3e(this,j3e(this,e,t))}});var _5e=C2e.prototype;function S5e(e,t,n,r,i,o){return K3e(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function k5e(e,t){return t}function C5e(e,t){return[t,e]}function E5e(e){return function(){return!e.apply(this,arguments)}}function I5e(e){return function(){return-e.apply(this,arguments)}}function O5e(){return q3e(arguments)}function T5e(e,t){return e<t?1:e>t?-1:0}function N5e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}_5e["@@__IMMUTABLE_INDEXED__@@"]=!0,_5e[N2e]=!0,u5e(E2e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),E2e.prototype.has=w5e.includes,E2e.prototype.contains=E2e.prototype.includes,u5e(K2e,k2e.prototype),u5e(H2e,C2e.prototype),u5e(W2e,E2e.prototype);var D5e=function(e){function t(e){return null==e?j5e():a5e(e)?e:j5e().withMutations((function(t){var n=E2e(e);K3e(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(k2e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(l5e);D5e.isOrderedSet=a5e;var A5e,P5e=D5e.prototype;function M5e(e,t){var n=Object.create(P5e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function j5e(){return A5e||(A5e=M5e(Z4e()))}P5e[N2e]=!0,P5e.zip=_5e.zip,P5e.zipWith=_5e.zipWith,P5e.__empty=j5e,P5e.__make=M5e;var R5e={exports:{}};
146
146
  /*!
147
147
  Copyright (c) 2015 Jed Watson.
148
148
  Based on code that is Copyright 2013-2015, Facebook, Inc.