@livetiles/reach-components-react 0.4.0-preview.592 → 0.4.0-preview.593
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 +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -160,7 +160,7 @@ var Ghe=function(){return Ghe=Object.assign||function(e){for(var t,n=1,i=argumen
|
|
|
160
160
|
object-assign
|
|
161
161
|
(c) Sindre Sorhus
|
|
162
162
|
@license MIT
|
|
163
|
-
*/function fNe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var pNe=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=fNe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))cNe.call(n,a)&&(r[a]=n[a]);if(uNe){i=uNe(n);for(var s=0;s<i.length;s++)dNe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},hNe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gNe=function(){};if("production"!==process.env.NODE_ENV){var mNe=hNe,vNe={},yNe=Function.call.bind(Object.prototype.hasOwnProperty);gNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function bNe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(yNe(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,mNe)}catch(e){a=e}if(!a||a instanceof Error||gNe((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in vNe)){vNe[a.message]=!0;var l=r?r():"";gNe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}bNe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(vNe={})};var _Ne=bNe,wNe=w.default,kNe=pNe,FNe=hNe,xNe=_Ne,ENe=Function.call.bind(Object.prototype.hasOwnProperty),CNe=function(){};function SNe(){return null}"production"!==process.env.NODE_ENV&&(CNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function DNe(){}function PNe(){}PNe.resetWarningCache=DNe;if("production"!==process.env.NODE_ENV){var TNe=w.default;lNe.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(SNe),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",FNe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return wNe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(ENe(s,u)){var d=e(s,u,i,r,o+"."+u,FNe);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&CNe(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."),SNe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&CNe("Invalid argument supplied to oneOfType, expected an instance of array."),SNe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return CNe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),SNe}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,FNe))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var f=d(s,u,i,r,o+"."+u,FNe);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=kNe({},t[n],e);for(var d in u){var f=e[d];if(!f)return new a("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,i,r,o+"."+d,FNe);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={},r=0;function o(o,s,l,u,c,d,f){if(u=u||i,d=d||l,f!==FNe){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=u+":"+l;!n[h]&&r<3&&(CNe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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,r.checkPropTypes=xNe,r.resetWarningCache=xNe.resetWarningCache,r.PropTypes=r,r}(TNe.isElement,!0)}else lNe.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:PNe,resetWarningCache:DNe};return n.PropTypes=n,n}();var ANe=lNe.exports,LNe=Object.freeze({__proto__:null,useCurrentUser:g0,useAccountApi:o1,useAuthenticationContext:Hk,useEnvironmentConfig:Lg,useNotificationContext:W5,usePromise:Ok,LinkContext:bE,TextLink:cTe,logger:rm,createId:am,ResourceContext:SE,usePluginSettings:function(){var e=i.useContext(D4).settings;return null!=e?e:{}},usePluginStorage:L4,usePluginDeviceStore:L4,usePluginSubscriptionStore:function(){return i.useContext(D4).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(D4).subscriptionStore,o=Ok((function(){return r.get(e).catch(M4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return pV(n,void 0,void 0,(function(){var n;return hV(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),M4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return pV(n,void 0,void 0,(function(){var t;return hV(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),M4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(D4).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(D4).userStore,o=Ok((function(){return r.get(e).catch(M4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return pV(n,void 0,void 0,(function(){var n;return hV(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),M4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return pV(n,void 0,void 0,(function(){var t;return hV(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),M4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Ag().apiEndpoint}},AccountType:$X,PeoplePicker:owe,GutterToggle:J_e,EditorSettingsDialog:V_e,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:I_e,useTheme:function(){return i.useContext(y5).theme},useSubscriptionHandlePathBuilder:x4,useSubscriptionWebAppUrl:E4});var INe,MNe=[{name:"@reach/core",packageDefinition:Ghe({default:{}},LNe)}],jNe=[{name:"react",packageDefinition:Ghe(Ghe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Ghe(Ghe({},_),{default:_})},{name:"react-is",packageDefinition:Ghe(Ghe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Ghe({default:ANe},ANe)},{name:"react-router-dom",packageDefinition:Ghe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:Yhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:Yx,FormattedDate:gE,FormattedTime:mE,IntlProvider:iE}},{name:"@apollo/client",packageDefinition:{default:{},gql:VM,useQuery:function(e,t){return fj(e,t,!1)},ApolloClient:zM,ApolloProvider:ij,from:hL,ApolloLink:pL,fromPromise:sL,split:gL,HttpLink:FL,InMemoryCache:bM,useLazyQuery:function(e,t){return fj(e,t,!0)},useMutation:function(e,t){var n=i.useContext(tj()),r=i.useState({called:!1,loading:!1}),o=r[0],a=r[1],s=t?xo(xo({},t),{mutation:e}):{mutation:e},l=i.useRef(),u=(l.current||(l.current=new uj({options:s,context:n,result:o,setResult:a})),l.current);return u.setOptions(s),u.context=n,i.useEffect((function(){return u.afterExecute()})),u.execute(o)},ApolloError:wM,useApolloClient:rj,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(tj()),o=t?xo(xo({},t),{subscription:e}):{subscription:e},a=i.useState({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=i.useRef(),c=(u.current||(u.current=new lj({options:o,context:r,setResult:l})),u.current);return c.setOptions(o,!0),c.context=r,__DEV__&&dj(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:gN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:PN}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:tA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:pj}}],NNe=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(ONe,Ghe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},ONe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(INe||(INe=Khe(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),k5),RNe=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Co(void 0,void 0,void 0,(function(){return So(this,(function(n){return rm.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(qk.Provider,xo({value:u},{children:r}),void 0)},zNe="0.4.0-preview.592",BNe="104199",GNe="7b2edda32a460fc36da129c68465603fbd9de745",UNe=V,qNe=z,HNe=Cn("match"),WNe=function(e){var t;return UNe(e)&&(void 0!==(t=e[HNe])?!!t:"RegExp"==qNe(e))},KNe=Cn("match"),VNe=function(e){if(WNe(e))throw TypeError("The method doesn't accept regular expressions");return e},YNe=q,JNe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[KNe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!JNe("includes")},{includes:function(e){return!!~String(YNe(this)).indexOf(VNe(e),arguments.length>1?arguments[1]:void 0)}});var QNe,ZNe,$Ne={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"}},XNe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},eOe=["//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"],tOe=function(e){var n=e.children,r=Ag().apiEndpoint,o=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!eOe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return rm.info("Will use non prod client config..."),xo({},$Ne);return xo(xo({},$Ne),XNe)}())}),[r]);return t.jsx(Hg.Provider,xo({value:o},{children:n}),void 0)},nOe=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Co(this,void 0,void 0,(function(){return So(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),iOe=new nOe,rOe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(oOe,xo({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},oOe=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(qk).setToken,a=wE(),s=function(){var e=rq().fetchFromApi,t=oq();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=rq().fetchFromApi,u=i.useContext(yE),c=u.handleFatalError,d=u.handleAccessDeniedError,f=Ok((function(){return Co(this,void 0,void 0,(function(){var e,t,i;return So(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=f[0],h=f[1],g=f[2];if(g)return rm.error(g),c({error:g}),null;if(h)return null;if(!p){var m={message:"Public access is not enabled for the subscription "+n+"!"};return rm.error(m.message),d({error:m}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},aOe=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],f=c[1],p=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:f}}),[a,u,f]);return t.jsx(yE.Provider,xo({value:p},{children:t.jsx(sOe,xo({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},sOe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(lOe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(lOe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(lOe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},lOe=function(e){var n=e.messageId,r=e.error,o=Yx().formatMessage,a=i.useState(!1),s=a[0],l=a[1];return t.jsx(Qje,xo({errorType:Yje.GenericError,alertText:o({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(uOe,{children:[t.jsx(hE,{id:"Generic.error.details"},void 0),t.jsx(cOe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},uOe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(QNe||(QNe=jo(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),k5),cOe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(ZNe||(ZNe=jo(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),dOe=function(e){var n=e.children,r=E4(),o=i.useMemo((function(){return{onShare:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(bE.Provider,xo({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},fOe=function(){return null},pOe=Object.freeze({__proto__:null,Page:fOe,NavLinkSidebarItem:fOe,PageMenuActionItem:fOe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+zNe+" ("+BNe+") ["+GNe+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var hOe=function(e){var n,r=e.children,o=i.useContext(y5).setTheme,a=i.useContext(SE).changeSettings,s=a1().getCurrentUser,l=Ok((function(){var e,t;return Co(this,void 0,void 0,(function(){var n,i,r,l;return So(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,s()];case 1:return n=u.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=hk(n.preferredUiLanguage,pk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),r=AIe(n),a(i,r).then((function(){return null}),rm.error),[2,n];case 2:throw l=u.sent(),rm.error(l),l;case 3:return[2]}}))}))})),u=l[0],c=l[1],d=l[2],f=l[3],p=i.useContext(yE),h=p.handleFatalError,g=p.handleNotFoundError,m=p.handleAccessDeniedError,v=i.useMemo((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&f(e))}}}),[u]);return d?(403===(null===(n=null==d?void 0:d.response)||void 0===n?void 0:n.statusCode)?m({error:d}):h({error:d}),null):c?null:null==u?(g({}),null):t.jsx(p0.Provider,xo({value:v},{children:r}),void 0)},gOe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(wV,{},void 0),t.jsx(xV,{},void 0)]},void 0)};var mOe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,vOe=/[\0-\x1F\x7F-\x9F]/,yOe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,bOe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 _Oe(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 wOe(e){return Object.prototype.toString.call(e)}function kOe(e){return"[object Function]"===wOe(e)}function FOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var xOe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var EOe={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},COe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function SOe(e){var t=e.re=function(e){var t={};return t.src_Any=mOe.source,t.src_Cc=vOe.source,t.src_Z=yOe.source,t.src_P=bOe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===wOe(e)}(n))return!function(e){return"[object RegExp]"===wOe(e)}(n.validate)?kOe(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(kOe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===wOe(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(FOe).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 DOe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function POe(e,t){var n=new DOe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function TOe(e,t){if(!(this instanceof TOe))return new TOe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||xOe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=_Oe({},xOe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_Oe({},EOe,e),this.__compiled__={},this.__tlds__=COe,this.__tlds_replaced__=!1,this.re={},SOe(this)}TOe.prototype.add=function(e,t){return this.__schemas__[e]=t,SOe(this),this},TOe.prototype.set=function(e){return this.__opts__=_Oe(this.__opts__,e),this},TOe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},TOe.prototype.pretest=function(e){return this.re.pretest.test(e)},TOe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},TOe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(POe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(POe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},TOe.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(),SOe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,SOe(this),this)},TOe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},TOe.prototype.onCompile=function(){};var AOe=TOe;function LOe(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 IOe(){return IOe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IOe.apply(this,arguments)}function MOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jOe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function NOe(e,t,n){return t&&jOe(e.prototype,t),n&&jOe(e,n),e}function OOe(e){return OOe="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},OOe(e)}function ROe(e){return ROe="function"==typeof Symbol&&"symbol"===OOe(Symbol.iterator)?function(e){return OOe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":OOe(e)},ROe(e)}function zOe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BOe(e,t){return!t||"object"!==ROe(t)&&"function"!=typeof t?zOe(e):t}function GOe(e){return GOe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},GOe(e)}function UOe(e,t){return UOe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},UOe(e,t)}function qOe(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&&UOe(e,t)}function HOe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WOe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function KOe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function VOe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function YOe(e){return function(e){if(Array.isArray(e))return VOe(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 VOe(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)?VOe(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 JOe=function(e){return e===Object(e)?Object.keys(e):[]},QOe=function(e){return e===Object(e)?Object.values(e):[]};function ZOe(e,t){var n=Object.assign({},e);return eRe(e)&&eRe(t)&&JOe(t).forEach((function(i){eRe(t[i])&&i in e?n[i]=ZOe(e[i],t[i]):Object.assign(n,g8({},i,t[i]))})),n}var $Oe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return ZOe(e,t)}),e)},XOe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},eRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},tRe=function(e){return(e||[]).filter(Boolean)},nRe=function(e){return"&"===e[0]},iRe=function(e){return!nRe(e)},rRe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},oRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=JOe(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},aRe=function(e,t){for(var n=t.map(rRe),i=JOe(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(rRe(s))>=0)&&(r[s]=e[s])}return r},sRe=function e(t,n){for(var i=$Oe.apply(void 0,[{},XOe(t,n)].concat(YOe(QOe(aRe(t,n))))),r=JOe(i).filter(nRe),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=$Oe({},i,l)):i[s]=l}return i};function lRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cRe=["animationName"],dRe=function(e){var t=e.style,n=e.className;return uRe(uRe({},t?{style:oRe(t,cRe)}:{}),n?{className:n}:{})},fRe=i.createContext(dRe);fRe.Provider;var pRe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return JOe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},hRe={},gRe=function(e){return function(t,n){var i,r=n||hRe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=pRe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function mRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yRe=function(e){var t=e&&JOe(e)[0];return t&&t.split("__")[0].split("--")[0]},bRe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(YOe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),YOe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(YOe(r)):r}};function _Re(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dRe,o=n||yRe(i)||(null==t?void 0:t.className),a="function"==typeof t?t:gRe((function(e,n){var a=pRe(e);zhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),zhe(!n||eRe(n),"Optional second parameter must be a plain object.");var s=a.filter(nRe),l=a.filter(iRe),u=l.length>0?function(e){return QOe(aRe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(sRe(e,s))},d=bRe(o,l,s);return _Re(vRe(vRe(vRe({},(t||n)&&{style:$Oe.apply(void 0,[{}].concat(YOe(c(n)),YOe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=vRe({},"function"==typeof t?t:{style:t}),l=YOe(new Set([].concat(YOe(s.className?s.className.split(" "):[]),YOe(o?o.split(" "):[])))),u=i?tRe(l.map((function(e){return i[e]}))):l,c=r(vRe(vRe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function wRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var FRe=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 kRe(kRe(kRe({},e),"function"==typeof t?t:{}),{},{style:kRe(kRe({},e.style),"function"==typeof t?t.style:t)})}),{})},xRe=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(fRe);return i.useMemo((function(){return _Re({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},ERe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},CRe="__id__",SRe="__display__",DRe=function(e,t){zhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(SRe),i=e.indexOf(CRe);return n<0&&(n=null),i<0&&(i=null),zhe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},PRe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=WOe(t.exec(e.toString()),3),i=n[1],r=n[2];return zhe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},TRe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ARe=function(){},LRe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ARe,o=PRe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=TRe(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),f=t[d],p=f.markup,h=f.displayTransform,g=c+DRe(p,"id"),m=c+DRe(p,"display"),v=i[g],y=h(v,i[m]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},IRe=function(e,t){var n="";return LRe(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},MRe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return LRe(e,t,a,o),void 0===i?e.length:i},jRe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},NRe=function(e,t){var n=[];return LRe(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},ORe=function(e,t){return"".concat(e,"-").concat(t)},RRe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},zRe=function(e){var t=ERe(e),n=e[e.indexOf(SRe)+SRe.length],i=e[e.indexOf(CRe)+CRe.length];return new RegExp(t.replace(SRe,"([^".concat(ERe(n||""),"]+?)")).replace(CRe,"([^".concat(ERe(i||""),"]+?)")))},BRe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?GRe(i,n):zRe(n),displayTransform:r||function(e,t){return t||e}}}))},GRe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=TRe(t);return zhe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},URe=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],qRe=function(e){return function(e){var t=e;return URe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},HRe=function(e,t,n){return n?qRe(e).indexOf(qRe(t)):e.toLowerCase().indexOf(t.toLowerCase())},WRe=function(e){return"number"==typeof e},KRe=function(e){return e===Object(e)?Object.keys(e):[]},VRe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function YRe(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=KOe(i,["style","className","classNames"]),l=t?t(s):void 0,u=xRe(e,{style:r,className:o,classNames:a},l);return m.default.createElement(n,IOe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var JRe=function(e){function t(){var e;return MOe(this,t),HOe(zOe(e=BOe(this,GOe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return qOe(t,e),NOe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=BRe(s);i===r&&(e=MRe(o,u,i,"START"));var c=[],d={},f=c,p=0;return LRe(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);f.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(WRe(e)&&e>=i&&e<=i+n.length){var o=e-i;f.push(t.renderSubstring(n.substring(0,o),p)),f=[t.renderSubstring(n.substring(o),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==c&&c.push(this.renderHighlighterCaret(f)),m.default.createElement("div",IOe({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",IOe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return m.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",IOe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);HOe(JRe,"propTypes",{selectionStart:HW.number,selectionEnd:HW.number,value:HW.string.isRequired,onCaretPositionChange:HW.func.isRequired,containerRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired}),HOe(JRe,"defaultProps",{value:""});var QRe=YRe({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}}))(JRe),ZRe=function(e){function t(){return MOe(this,t),BOe(this,GOe(t).apply(this,arguments))}return qOe(t,e),NOe(t,[{key:"render",value:function(){var e=VRe(this.props,["style","classNames","className"],KRe(t.propTypes));return m.default.createElement("li",IOe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=HRe(e,i,n);return-1===o?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,o),m.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);HOe(ZRe,"propTypes",{id:HW.string.isRequired,query:HW.string.isRequired,index:HW.number.isRequired,ignoreAccents:HW.bool,suggestion:HW.oneOfType([HW.string,HW.shape({id:HW.oneOfType([HW.string,HW.number]).isRequired,display:HW.string})]).isRequired,renderSuggestion:HW.func,focused:HW.bool});var $Re=YRe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(ZRe);function XRe(){var e=xRe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var eze=function(e){function t(){var e,n;MOe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return HOe(zOe(n=BOe(this,(e=GOe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),HOe(zOe(n),"select",(function(e,t){n.props.onSelect(e,t)})),HOe(zOe(n),"setUlElement",(function(e){n.ulElement=e})),n}return qOe(t,e),NOe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?m.default.createElement("div",IOe({},FRe({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),m.default.createElement("ul",IOe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(LOe(t),LOe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return m.default.createElement($Re,{style:this.props.style("item"),key:"".concat(a,"-").concat(tze(e)),id:ORe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return m.default.createElement(XRe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);HOe(eze,"propTypes",{id:HW.string.isRequired,suggestions:HW.object.isRequired,a11ySuggestionsListLabel:HW.string,focusIndex:HW.number,position:HW.string,left:HW.number,top:HW.number,scrollFocusedIntoView:HW.bool,isLoading:HW.bool,isOpened:HW.bool.isRequired,onSelect:HW.func,ignoreAccents:HW.bool,containerRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired}),HOe(eze,"defaultProps",{suggestions:{},onSelect:function(){return null}});var tze=function(e){return"string"==typeof e?e:e.id},nze=YRe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(eze);function ize(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function rze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ize(n,!0).forEach((function(t){HOe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ize(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oze={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},aze=!1,sze={singleLine:HW.bool,allowSpaceInQuery:HW.bool,allowSuggestionsAboveCursor:HW.bool,forceSuggestionsAboveCursor:HW.bool,ignoreAccents:HW.bool,a11ySuggestionsListLabel:HW.string,value:HW.string,onKeyDown:HW.func,onSelect:HW.func,onBlur:HW.func,onChange:HW.func,suggestionsPortalHost:"undefined"==typeof Element?HW.any:HW.PropTypes.instanceOf(Element),inputRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired},lze=function(e){function t(e){var n;return MOe(this,t),HOe(zOe(n=BOe(this,GOe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),HOe(zOe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return rze({},VRe(n.props,["style","classNames","className"],KRe(sze)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":ORe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),HOe(zOe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),HOe(zOe(n),"renderInput",(function(e){return m.default.createElement("input",IOe({type:"text",ref:n.setInputRef},e))})),HOe(zOe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",IOe({ref:n.setInputRef},e))})),HOe(zOe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),HOe(zOe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),HOe(zOe(n),"renderSuggestionsOverlay",(function(){if(!WRe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=m.default.createElement(nze,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?b.default.createPortal(o,n.props.suggestionsPortalHost):o})),HOe(zOe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return m.default.createElement(QRe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),HOe(zOe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),HOe(zOe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),HOe(zOe(n),"getPlainText",(function(){return IRe(n.props.value||"",BRe(n.props.children))})),HOe(zOe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),HOe(zOe(n),"handleChange",(function(e){if(aze=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=BRe(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=IRe(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var f=MRe(e,i,c,"START"),p=MRe(e,i,d,"END"),h=MRe(e,i,c,"NULL"),g=MRe(e,i,d,"NULL"),m=null===h||null===g,v=jRe(e,f,p,u);if(!m){var y=IRe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),f=MRe(e,i,c,"START"),p=MRe(e,i,d,"END"),v=jRe(e,f,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=IRe(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(LRe(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=NRe(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),HOe(zOe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!aze){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)}})),HOe(zOe(n),"handleKeyDown",(function(e){if(0!==RRe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(oze).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case oze.ESC:return void n.clearSuggestions();case oze.DOWN:return void n.shiftFocus(1);case oze.UP:return void n.shiftFocus(-1);case oze.RETURN:case oze.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),HOe(zOe(n),"shiftFocus",(function(e){var t=RRe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),HOe(zOe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(LOe(e),LOe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),HOe(zOe(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)})),HOe(zOe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),HOe(zOe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),HOe(zOe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=uze(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(i){f.position="fixed";var p=c.left,h=c.top;p-=uze(a,"margin-left"),h-=uze(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>g?f.left=Math.max(0,g-a.offsetWidth):f.left=p,r&&h+a.offsetHeight>d&&a.offsetHeight<h-u||o?f.top=Math.max(0,h-a.offsetHeight-u):f.top=h}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=m,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?f.top=v-a.offsetHeight-u: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})}}})),HOe(zOe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),HOe(zOe(n),"handleCompositionStart",(function(){aze=!0})),HOe(zOe(n),"handleCompositionEnd",(function(){aze=!1})),HOe(zOe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),HOe(zOe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=BRe(r),a=MRe(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=NRe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),l=e.substring(s,t);m.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=ERe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),HOe(zOe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),HOe(zOe(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;HRe(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),HOe(zOe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=rze({},n.suggestions,HOe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=RRe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),HOe(zOe(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=BRe(n.props.children),f=i.Children.toArray(n.props.children)[a].props,p=f.markup,h=f.displayTransform,g=f.appendSpaceOnAdd,m=f.onAdd,v=MRe(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(CRe,t).replace(SRe,n)}(p,r,o);g&&(b+=" ");var _=jRe(c,v,y,b);n.inputElement.focus();var w=h(r,o);g&&(w+=" ");var k=s+w.length;n.setState({selectionStart:k,selectionEnd:k,setSelectionAfterMentionChange:!0});var F={target:{value:_}},x=NRe(_,d),E=jRe(u,s,l,w);n.executeOnChange(F,_,E,x),m&&m(r,o,v,y),n.clearSuggestions()})),HOe(zOe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),HOe(zOe(n),"isOpened",(function(){return WRe(n.state.selectionStart)&&(0!==RRe(n.state.suggestions)||n.isLoading())})),HOe(zOe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(zOe(n)),n.handleCut=n.handleCut.bind(zOe(n)),n.handlePaste=n.handlePaste.bind(zOe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return qOe(t,e),NOe(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return m.default.createElement("div",IOe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=BRe(a),l=MRe(o,s,n,"START"),u=MRe(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=jRe(o,l,u,c||d).replace(/\r/g,""),p=IRe(f,s),h={target:rze({},e.target,{value:f})};this.executeOnChange(h,f,p,NRe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=BRe(o),l=MRe(a,s,n,"START"),u=MRe(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.slice(l,u))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=BRe(o),l=MRe(a,s,n,"START"),u=MRe(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=IRe(c,s),f={target:rze({},e.target,{value:d})};this.executeOnChange(f,c,d,NRe(a,s))}}}]),t}(m.default.Component);HOe(lze,"propTypes",sze),HOe(lze,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var uze=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},cze=YRe({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:rze({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}}))(lze),dze={fontWeight:"inherit"},fze=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=xRe(dze,{style:n,className:i,classNames:r});return m.default.createElement("strong",o,t)};fze.propTypes={onAdd:HW.func,onRemove:HW.func,renderSuggestion:HW.func,trigger:HW.oneOfType([HW.string,HW.instanceOf(RegExp)]),markup:HW.string,displayTransform:HW.func,allowSpaceInQuery:HW.bool,isLoading:HW.bool},fze.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 pze=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 hze(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=pze.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var gze=[".DS_Store","Thumbs.db"];function mze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?yze(e.dataTransfer,e.type):vze(e))];var n}))}))}function vze(e){return(null!==e.target&&e.target.files?_ze(e.target.files):[]).map((function(e){return hze(e)}))}function yze(e,t){return Co(this,void 0,void 0,(function(){var n;return So(this,(function(i){switch(i.label){case 0:return e.items?(n=_ze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(wze))]):[3,2];case 1:return[2,bze(kze(i.sent()))];case 2:return[2,bze(_ze(e.files).map((function(e){return hze(e)})))]}}))}))}function bze(e){return e.filter((function(e){return-1===gze.indexOf(e.name)}))}function _ze(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function wze(e){if("function"!=typeof e.webkitGetAsEntry)return Fze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Eze(t):Fze(e)}function kze(e){return e.reduce((function(e,t){return Ao(e,Array.isArray(t)?kze(t):[t])}),[])}function Fze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=hze(t);return Promise.resolve(n)}function xze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,e.isDirectory?Eze(e):Cze(e)]}))}))}function Eze(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Co(o,void 0,void 0,(function(){var o,a,s;return So(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(xze)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Cze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=hze(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function Sze(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function Dze(e,t,n){if(Pze(e.size)){if(Pze(t)&&Pze(n))return e.size>=t&&e.size<=n;if(Pze(t))return e.size>=t;if(Pze(n))return e.size<=n}return!0}function Pze(e){return null!=e}function Tze(e,t,n,i){return e.every((function(e){return Sze(e,t)&&Dze(e,n,i)}))}function Aze(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Lze(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 Ize(e){e.preventDefault()}function Mze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function jze(e){return-1!==e.indexOf("Edge/")}function Nze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Mze(e)||jze(e)}function Oze(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!Aze(e)&&t&&t.apply(void 0,[e].concat(i)),Aze(e)}))}}function Rze(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 zze(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Bze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Gze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bze(n,!0).forEach((function(t){Uze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qze(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Hze=i.forwardRef((function(e,t){var n=e.children,r=Kze(qze(e,["children"])),o=r.open,a=qze(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),m.default.createElement(i.Fragment,null,n(Gze({},a,{open:o})))}));Hze.displayName="Dropzone",Hze.propTypes={children:HW.func,accept:HW.oneOfType([HW.string,HW.arrayOf(HW.string)]),multiple:HW.bool,preventDropOnDocument:HW.bool,noClick:HW.bool,noKeyboard:HW.bool,noDrag:HW.bool,noDragEventsBubbling:HW.bool,minSize:HW.number,maxSize:HW.number,disabled:HW.bool,getFilesFromEvent:HW.func,onFileDialogCancel:HW.func,onDragEnter:HW.func,onDragLeave:HW.func,onDragOver:HW.func,onDrop:HW.func,onDropAccepted:HW.func,onDropRejected:HW.func};var Wze={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Kze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?mze:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,f=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,_=e.preventDropOnDocument,w=void 0===_||_,k=e.noClick,F=void 0!==k&&k,x=e.noKeyboard,E=void 0!==x&&x,C=e.noDrag,S=void 0!==C&&C,D=e.noDragEventsBubbling,P=void 0!==D&&D,T=i.useRef(null),A=i.useRef(null),L=i.useReducer(Vze,Wze),I=zze(L,2),M=I[0],j=I[1],N=M.isFocused,O=M.isFileDialogActive,R=M.draggedFiles,z=i.useCallback((function(){A.current&&(j({type:"openDialog"}),A.current.value=null,A.current.click())}),[j]),B=function(){O&&setTimeout((function(){A.current&&(A.current.files.length||(j({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[A,O,b]);var G=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[T,A]),U=i.useCallback((function(){j({type:"focus"})}),[]),q=i.useCallback((function(){j({type:"blur"})}),[]),H=i.useCallback((function(){F||(Nze()?setTimeout(z,0):z())}),[A,F]),W=i.useRef([]),K=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),W.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",Ize,!1),document.addEventListener("drop",K,!1)),function(){w&&(document.removeEventListener("dragover",Ize),document.removeEventListener("drop",K))}}),[T,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(Rze(W.current),[e.target])),Lze(e)&&Promise.resolve(a(e)).then((function(t){Aze(e)&&!P||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[a,p,P]),Y=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Lze(e)&&g&&g(e),!1}),[g,P]),J=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));W.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Lze(e)&&h&&h(e))}),[T,h,P]),Q=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],j({type:"reset"}),Lze(e)&&Promise.resolve(a(e)).then((function(n){if(!Aze(e)||P){var i=[],r=[];n.forEach((function(e){Sze(e,t)&&Dze(e,c,l)?i.push(e):r.push(e)})),!f&&i.length>1&&r.push.apply(r,Rze(i.splice(0))),j({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[f,t,c,l,a,m,v,y,P]),Z=function(e){return r?null:e},$=function(e){return E?null:Z(e)},X=function(e){return S?null:Z(e)},ee=function(e){P&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=qze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Gze(Uze({onKeyDown:$(Oze(i,G)),onFocus:$(Oze(o,U)),onBlur:$(Oze(a,q)),onClick:Z(Oze(s,H)),onDragEnter:X(Oze(l,V)),onDragOver:X(Oze(u,Y)),onDragLeave:X(Oze(c,J)),onDrop:X(Oze(d,Q))},n,T),r||E?{}:{tabIndex:0},{},f)}}),[T,G,U,q,H,V,Y,J,Q,E,S,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,o=e.onClick,a=qze(e,["refKey","onChange","onClick"]),s=Uze({accept:t,multiple:f,type:"file",style:{display:"none"},onChange:Z(Oze(r,Q)),onClick:Z(Oze(o,ne)),autoComplete:"off",tabIndex:-1},i,A);return Gze({},s,{},a)}}),[A,t,f,Q,r]),re=R.length,oe=f||re<=1,ae=re>0&&Tze(R,t,c,l),se=re>0&&(!ae||!oe);return Gze({},M,{isDragAccept:ae,isDragReject:se,isFocused:N&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:A,open:Z(z)})}function Vze(e,t){switch(t.type){case"focus":return Gze({},e,{isFocused:!0});case"blur":return Gze({},e,{isFocused:!1});case"openDialog":return Gze({},e,{isFileDialogActive:!0});case"closeDialog":return Gze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Gze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Gze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Gze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var Yze={exports:{}};!function(e,t){!function(t,n,i){e.exports=i(),e.exports.default=i()}(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,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n}))}(Yze);var Jze,Qze=Yze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Jze||(Jze={}));var Zze={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var o=n(3),a=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,a=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,g=e.highlightClassName,m=void 0===g?"":g,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,_=void 0===b?"mark":b,w=e.sanitize,k=e.searchWords,F=e.textToHighlight,x=e.unhighlightClassName,E=void 0===x?"":x,C=e.unhighlightStyle,S=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),D=(0,o.findAll)({autoEscape:c,caseSensitive:f,findChunks:h,sanitize:w,searchWords:k,textToHighlight:F}),P=_,T=-1,A="",L=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:p},S,{children:D.map((function(e,t){var i=F.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof m?f?m[i]:(m=I(m))[i.toLowerCase()]:m;var o=T===+a;A=r+" "+(o?n:""),L=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:A,key:t,style:L};return"string"!=typeof P&&(l.highlightIndex=T),(0,s.createElement)(P,l)}return(0,s.createElement)("span",{children:i,className:E,key:t,style:C})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),o=n(9),a=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:h(i.thatReturnsNull),arrayOf:function(e){return h((function(t,n,i,r,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:h((function(t,n,i,r,o){var a=t[n];return e(a)?null:new p("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new p("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,i,r){return m(e[t])?null:new p("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,i,r,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return h((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return h((function(t,n,i,r,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new p("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return h((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new p("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var f=e[d];if(!f)return new p("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(l,d,i,r,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 i={},a=0;function l(l,u,d,f,h,g,m){if(f=f||c,g=g||d,m!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=f+":"+d;!i[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",g,f),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new p("The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(u,d,f,h,g)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function g(e){return h((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+r+" `"+o+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!m(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!m(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,o,a,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,o,a,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),o=n(11),a={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,o)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=m.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],o=void 0,a=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(Zze);var $ze=E(Zze.exports),Xze={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:J(e)}function o(e){return a(e)&&!u(e)?e:Q(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function F(e){e&&(e.value=!0)}function x(){}function E(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return L(e,t,0)}function A(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",R=N||O;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function q(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[O]);if("function"==typeof t)return t}function K(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function J(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Q(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[R]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(J,V),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return de(this,e,t,!1)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Q,V),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=Q,V.Indexed=J;var Z,$,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 ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return K(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,J(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?J(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===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($)return $;$=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function ke(){throw TypeError("Abstract")}function Fe(){}function xe(){}function Ee(){}V.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,J),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,J),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,J),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 P(e,t,n)?this:new be(this._value,A(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,J),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(Fe,ke),t(xe,ke),t(Ee,ke),ke.Keyed=Fe,ke.Indexed=xe,ke.Set=Ee;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Se(n)}if("string"===t)return e.length>ze?Pe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Ae(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Oe,1073741824&Oe&&(Oe=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Re,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Oe=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,Fe),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return ot(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return ot(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return Ut(dn(this,e))},He.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ke,Ve="@@__IMMUTABLE_MAP__@@",Ye=He.prototype;function Je(e,t){this.ownerID=e,this.entries=t}function Qe(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 $e(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 it(e,t,n,i){var r=Object.create(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ke||(Ke=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Je(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(F(s),F(a),new Xe(t,i,[r,o]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Qe(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Xe(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Xe(e,De(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new Qe(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function ft(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}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,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:E(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function _t(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,Je.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Je.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Je(e,p)}},Qe.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+m,t,n,i)},Qe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=at(p,e,t+m,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=kt)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,_=c?h?yt(f,d,h,g):_t(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=_,this):new Qe(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+m,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<Ft)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(F(a),F(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(F(a),s?void F(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(F(o),lt(this,e,t,De(i),[i,r])))},Je.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,kt=v/2,Ft=v/4;function xt(e){var t=Mt();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return jt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return zt(this,0,-1)},xt.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])}))},xt.prototype.shift=function(){return zt(this,1)},xt.prototype.merge=function(){return Bt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},xt.prototype.setSize=function(e){return zt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,T(e,n),A(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===At?G():B(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=xt.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Dt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Ot(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-m,n))===o&&r===this.array.length-1)return this}var a=Ot(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Pt,Tt,At={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return At;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,o):r=Nt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,o);return c===u?e:((a=Ot(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(F(o),a=Ot(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Ot(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Rt(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=Ot(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Ot(g.array[b],i)}g.array[d>>>m&y]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var _=a>>>l&y;if(_!==f>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,h)}function Bt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Wt():qt(e)?e:Wt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=Ht(rt(),Mt()))}function Kt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Jt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(j,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(i,s,t.call(n,a[1],s,e),r)}))},i}function 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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():He()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var o=T(t,r),a=A(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(j,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===j?e:B(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(M,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?J(o):Q(o)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?J:Q).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=H(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function Fn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=He(o)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,He),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Ut.prototype.set=function(e,t){return Kt(this,e,t)},Ut.prototype.remove=function(e){return Kt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[h]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Yt,J),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Jt,Q),Jt.prototype.has=function(e){return this._iter.includes(e)},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Jt.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(Qt,Y),Qt.prototype.entrySeq=function(){return this._iter.toSeq()},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Qt.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 i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Jt.prototype.cacheResult=Qt.prototype.cacheResult=_n,t(Fn,Fe),Fn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},Fn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Fn.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},Fn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=En(this,rt()))},Fn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(this,n)},Fn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:En(this,t)},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Fn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=Fn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():Tn(e)&&!c(e)?e:Nn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Ln])}xn[g]=xn.remove,xn.deleteIn=xn.removeIn=Ye.removeIn,xn.merge=Ye.merge,xn.mergeWith=Ye.mergeWith,xn.mergeIn=Ye.mergeIn,xn.mergeDeep=Ye.mergeDeep,xn.mergeDeepWith=Ye.mergeDeepWith,xn.mergeDeepIn=Ye.mergeDeepIn,xn.setIn=Ye.setIn,xn.update=Ye.update,xn.updateIn=Ye.updateIn,xn.withMutations=Ye.withMutations,xn.asMutable=Ye.asMutable,xn.asImmutable=Ye.asImmutable,t(Pn,Ee),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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])},Pn.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)}))}))},Pn.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)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return On(dn(this,e))},Pn.prototype.sortBy=function(e,t){return On(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=Tn;var An,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return An||(An=jn(rt()))}function On(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(e){return Tn(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ye.withMutations,In.asMutable=Ye.asMutable,In.asImmutable=Ye.asImmutable,In.__empty=Nn,In.__make=jn,t(On,Pn),On.of=function(){return this(arguments)},On.fromKeys=function(e){return this(i(e).keySeq())},On.prototype.toString=function(){return this.__toString("OrderedSet {","}")},On.isOrderedSet=Rn;var zn,Bn=On.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Wt()))}function qn(e){return null==e?Jn():Hn(e)?e:Jn().unshiftAll(e)}function Hn(e){return!(!e||!e[Kn])}Bn[h]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Jn()},qn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Hn;var Wn,Kn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Jn(){return Wn||(Wn=Yn(0))}function Qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Kn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,Qn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return On(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Jt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Qt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=kn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(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?ni(e):oi)},minBy:function(e,t){return fn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Qn(i,{flip:function(){return gn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return E(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[R]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Qn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return gn(this,Xt(this,!1))},slice:function(e,t){return gn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=hn(this.toSeq(),J.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Qn(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,Qn(Y,i.prototype),Qn(J,r.prototype),Qn(Q,o.prototype),Qn(Fe,i.prototype),Qn(xe,r.prototype),Qn(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:He,OrderedMap:Ut,List:xt,Stack:qn,Set:Pn,OrderedSet:On,Record:Fn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(Xze);var eBe=Xze.exports.OrderedMap,tBe={createFromArray:function(e){return eBe(e.map((function(e){return[e.getKey(),e]})))}},nBe=tBe;var iBe=Xze.exports,rBe=iBe.Map,oBe=iBe.OrderedSet,aBe=iBe.Record,sBe=oBe(),lBe={style:sBe,entity:null},uBe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return cBe;var t=rBe({style:sBe,entity:null}).merge(e),n=dBe.get(t);if(n)return n;var r=new i(t);return dBe=dBe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?oBe(t):t,entity:Array.isArray(n)?oBe(n):n})},i}(aBe(lBe)),cBe=new uBe,dBe=rBe([[rBe(lBe),cBe]]);uBe.EMPTY=cBe;var fBe=uBe;var pBe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var hBe=fBe,gBe=pBe,mBe=Xze.exports,vBe=mBe.List,yBe=mBe.Map,bBe=mBe.OrderedSet,_Be=mBe.Record,wBe=mBe.Repeat,kBe=bBe(),FBe=_Be({key:"",type:"unstyled",text:"",characterList:vBe(),depth:0,data:yBe()}),xBe=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=vBe(wBe(hBe.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():kBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){gBe(this.getCharacterList(),EBe,e,t)},r.findEntityRanges=function(e,t){gBe(this.getCharacterList(),CBe,e,t)},i}(FBe);function EBe(e,t){return e.getStyle()===t.getStyle()}function CBe(e,t){return e.getEntity()===t.getEntity()}var SBe=xBe;var DBe=fBe,PBe=pBe,TBe=Xze.exports,ABe=TBe.List,LBe=TBe.Map,IBe=TBe.OrderedSet,MBe=TBe.Record,jBe=TBe.Repeat,NBe=IBe(),OBe={parent:null,characterList:ABe(),data:LBe(),depth:0,key:"",text:"",type:"unstyled",children:ABe(),prevSibling:null,nextSibling:null},RBe=function(e,t){return e.getStyle()===t.getStyle()},zBe=function(e,t){return e.getEntity()===t.getEntity()},BBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=ABe(jBe(DBe.EMPTY,n.length))),e},GBe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:OBe;return e.call(this,BBe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():NBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){PBe(this.getCharacterList(),RBe,e,t)},r.findEntityRanges=function(e,t){PBe(this.getCharacterList(),zBe,e,t)},i}(MBe(OBe)),UBe=GBe,qBe=fBe,HBe=Xze.exports.Map;function WBe(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(HBe([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?qBe.applyStyle(c,n):qBe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var KBe={add:function(e,t,n){return WBe(e,t,n,!0)},remove:function(e,t,n){return WBe(e,t,n,!1)}},VBe=fBe;var YBe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,VBe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},JBe=Xze.exports;var QBe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(JBe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return YBe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},ZBe={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=i+n.length,f=l===i,p=u===d;return(!f&&p||f&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},$Be="production"!==ma.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var XBe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if($Be(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},eGe=XBe;var tGe=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==ma.env.NODE_ENV?eGe(!1,"Entity key not found in this range."):eGe(!1)),n},nGe=ZBe,iGe=tGe,rGe=XBe;function oGe(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=iGe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ma.env.NODE_ENV?rGe(!1,"There should only be one entity range within this removal range."):rGe(!1));var f=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?l=f.end:s=f.start);var p=nGe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var aGe=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=oGe(e,t,u,r,s,!0,!0);else if(s&&l){var c=oGe(e,t,u,r,s,!1,!0),d=oGe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=oGe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=oGe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},sGe={},lGe=Math.pow(2,24);var uGe=function(){for(var e;void 0===e||sGe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*lGe).toString(32);return sGe[e]=!0,e},cGe=UBe,dGe=uGe,fGe=Xze.exports.OrderedMap,pGe=function(e){return e.first()instanceof cGe?function(e){var t,n={};return fGe(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=dGe();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return fGe(e.toArray().map((function(e){var t=dGe();return[t,e.set("key",t)]})))}(e)},hGe=fBe,gGe=pBe,mGe=XBe;function vGe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return gGe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==ma.env.NODE_ENV?mGe(!1,"Removal range must exist within character list."):mGe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,hGe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var yGe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=vGe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var f=vGe(i,d,c);return f!==d&&(r[u]=f),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},bGe=pGe,_Ge=yGe,wGe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=_Ge(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return bGe(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var kGe=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},FGe=nBe,xGe=UBe,EGe=kGe,CGe=XBe,SGe=pGe,DGe=Xze.exports.List,PGe=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=o+i.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var h=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:EGe(u,i.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},TGe=function(e,t,n,i,r,o){var a=n.first()instanceof xGe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),f=d.getLength(),p=d.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var g=FGe.createFromArray(s);return a&&(g=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,f=c.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],DGe(f))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},AGe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ma.env.NODE_ENV?CGe(!1,"`insertFragment` should only be called with a collapsed selection state."):CGe(!1));var r=e.getBlockMap(),o=SGe(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof xGe&&(l.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?CGe(!1,"`insertFragment` should not be called when a container node is selected."):CGe(!1))),1===o.size?PGe(e,t,r,o.first(),a,s,i):TGe(e,t,r,o,a,s)},LGe=kGe,IGe=XBe,MGe=Xze.exports.Repeat;var jGe=function(e,t,n,i){t.isCollapsed()||("production"!==ma.env.NODE_ENV?IGe(!1,"`insertText` should only be called with a collapsed range."):IGe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:LGe(l.getCharacterList(),MGe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},NGe=Xze.exports.Map;var OGe=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(NGe([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},RGe=UBe,zGe=function(e,t){if(!(e instanceof RGe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},BGe=UBe,GGe=zGe,UGe=Xze.exports;UGe.List;var qGe=UGe.Map,HGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},WGe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},KGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},VGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},YGe=function(e,t,n,i){return e.withMutations((function(r){if(HGe(t.getKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})})),HGe(n.getKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})})),WGe(t.getKey(),i).forEach((function(e){return HGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),HGe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),HGe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i)})})),HGe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:VGe(e,r,i)})})),HGe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),WGe(n.getKey(),i).forEach((function(e){HGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=GGe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?GGe(r,t):null}return n}(n,i).forEach((function(e){return HGe(e,r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();HGe(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),HGe(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){HGe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);HGe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}HGe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},JGe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},QGe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof BGe,d=[];if(c){var f=u.getChildKeys(),p=WGe(a,i);u.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(WGe(GGe(u,i),i))}n=l===u?JGe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),g=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?qGe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(qGe([[a,null]])).map((function(e,t){return t===r?h:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=YGe(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},ZGe=UBe,$Ge=uGe,XGe=Xze.exports,eUe=XBe,tUe=OGe,nUe=XGe.List,iUe=XGe.Map,rUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},oUe=function(e,t){t.isCollapsed()||("production"!==ma.env.NODE_ENV?eUe(!1,"Selection range must be collapsed."):eUe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return tUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=$Ge(),c=r instanceof ZGe,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:iUe()}),p=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=p.concat([[n,d],[u,f]],h).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?eUe(!1,"ContentBlockNode must not have children"):eUe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();rUe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:nUe(o)})})),rUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),rUe(i,e,(function(e){return e.merge({nextSibling:r})})),rUe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,f)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},aUe=fBe,sUe=KBe,lUe=QBe,uUe=aGe,cUe=wGe,dUe=AGe,fUe=jGe,pUe=XBe,hUe=OGe,gUe=yGe,mUe=QGe,vUe=oUe,yUe=Xze.exports.OrderedSet,bUe={replaceText:function(e,t,n,i,r){var o=gUe(e,t),a=mUe(o,t),s=aUe.create({style:i||yUe(),entity:r||null});return fUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ma.env.NODE_ENV?pUe(!1,"Target range must be collapsed for `insertText`."):pUe(!1)),bUe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=cUe(e,t),r=bUe.removeRange(e,t,"backward");return bUe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=gUe(e,t),o=mUe(r,t);return dUe(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=uUe(e.getEntityMap(),o,a,t,n);return mUe(e,d)}var f=gUe(e,t);return mUe(f,t)},splitBlock:function(e,t){var n=gUe(e,t),i=mUe(n,t);return vUe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return sUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return sUe.remove(e,t,n)},setBlockType:function(e,t,n){return hUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return hUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return hUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=gUe(e,t);return lUe(i,t,n)}},_Ue=bUe;var wUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function kUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FUe=pBe,xUe=wUe,EUe=Xze.exports,CUe=EUe.List,SUe=EUe.Repeat,DUe=EUe.Record,PUe=function(){return!0},TUe=DUe({start:null,end:null}),AUe=DUe({start:null,end:null,decoratorKey:null,leaves:null}),LUe={generate:function(e,t,n){var i=t.getLength();if(!i)return CUe.of(new AUe({start:0,end:0,decoratorKey:null,leaves:CUe.of(new TUe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):CUe(SUe(null,i)),a=t.getCharacterList();return FUe(o,MUe,PUe,(function(e,t){r.push(new AUe({start:e,end:t,decoratorKey:o.get(e),leaves:IUe(a.slice(e,t).toList(),e)}))})),CUe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new AUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){kUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?CUe(Array.isArray(t)?t:xUe(t)).map((function(e){return TUe(e)})):null}))}};function IUe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return FUe(i,MUe,PUe,(function(e,i){n.push(new TUe({start:e+t,end:i+t}))})),CUe(n)}function MUe(e,t){return e===t}var jUe=LUe;var NUe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,Xze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),OUe=NUe;var RUe=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 zUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BUe=OUe,GUe=XBe,UUe=RUe,qUe=(0,Xze.exports.Map)(),HUe=UUe();function WUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var KUe={getLastCreatedEntityKey:function(){return WUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),KUe.__getLastCreatedEntityKey()},create:function(e,t,n){return WUe("DraftEntity.create","contentState.createEntity"),KUe.__create(e,t,n)},add:function(e){return WUe("DraftEntity.add","contentState.addEntity"),KUe.__add(e)},get:function(e){return WUe("DraftEntity.get","contentState.getEntity"),KUe.__get(e)},__getAll:function(){return qUe},__loadWithEntities:function(e){qUe=e,HUe=UUe()},mergeData:function(e,t){return WUe("DraftEntity.mergeData","contentState.mergeEntityData"),KUe.__mergeData(e,t)},replaceData:function(e,t){return WUe("DraftEntity.replaceData","contentState.replaceEntityData"),KUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return HUe},__create:function(e,t,n){return KUe.__add(new BUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return HUe=UUe(),qUe=qUe.set(HUe,e),HUe},__get:function(e){var t=qUe.get(e);return t||("production"!==ma.env.NODE_ENV?GUe(!1,"Unknown DraftEntity key: %s.",e):GUe(!1)),t},__mergeData:function(e,t){var n=KUe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){zUe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return qUe=qUe.set(e,r),r},__replaceData:function(e,t){var n=KUe.__get(e).set("data",t);return qUe=qUe.set(e,n),n}},VUe=KUe;var YUe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,Xze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),JUe=YUe,QUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},ZUe=new RegExp("\r","g");var $Ue=function(e){return e.replace(ZUe,"")};function XUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){eqe(e,t,n[t])}))}return e}function eqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tqe=nBe,nqe=fBe,iqe=SBe,rqe=UBe,oqe=VUe,aqe=JUe,sqe=uGe,lqe=wUe,uqe=QUe,cqe=Xze.exports,dqe=$Ue,fqe=cqe.List,pqe=cqe.Record,hqe=cqe.Repeat,gqe=cqe.Map,mqe=cqe.OrderedMap,vqe=pqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),yqe=uqe("draft_tree_data_support")?rqe:iqe,bqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return oqe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return oqe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return oqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return oqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return oqe.__replaceData(e,t),this},r.addEntity=function(e){return oqe.__add(e),this},r.getEntity=function(e){return oqe.__get(e)},r.getAllEntities=function(){return oqe.__getAll()},r.loadWithEntities=function(e){return oqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=tqe.createFromArray(n),o=r.isEmpty()?new aqe:aqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||oqe,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=dqe(e),new yqe({key:sqe(),text:e,type:"unstyled",characterList:fqe(hqe(nqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(XUe({},e,{blockMap:mqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new aqe(e.selectionBefore),selectionAfter:new aqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new yqe(XUe({},e,{data:gqe(e.data),characterList:null!=t?fqe((Array.isArray(t)?t:lqe(t)).map((function(e){return nqe.fromJS(e)}))):void 0}))},i}(vqe),_qe=bqe,wqe=XBe,kqe="LTR",Fqe=null;function xqe(e){return e===kqe||"RTL"===e}function Eqe(e){return xqe(e)||("production"!==ma.env.NODE_ENV?wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),e===kqe?"ltr":"rtl"}function Cqe(e){Fqe=e}var Sqe={NEUTRAL:"NEUTRAL",LTR:kqe,RTL:"RTL",isStrong:xqe,getHTMLDir:Eqe,getHTMLDirIfDifferent:function(e,t){return xqe(e)||("production"!==ma.env.NODE_ENV?wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),xqe(t)||("production"!==ma.env.NODE_ENV?wqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),e===t?null:Eqe(e)},setGlobalDir:Cqe,initGlobalDir:function(){Cqe(kqe)},getGlobalDir:function(){return Fqe||this.initGlobalDir(),Fqe||("production"!==ma.env.NODE_ENV?wqe(!1,"Global direction not set."):wqe(!1)),Fqe}},Dqe=Sqe,Pqe=XBe,Tqe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Aqe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",Lqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Tqe+Aqe+"]"),Iqe=new RegExp("["+Tqe+Aqe+"]");function Mqe(e){var t=Lqe.exec(e);return null==t?null:t[0]}function jqe(e){var t=Mqe(e);return null==t?Dqe.NEUTRAL:Iqe.exec(t)?Dqe.RTL:Dqe.LTR}function Nqe(e,t){if(t=t||Dqe.NEUTRAL,!e.length)return t;var n=jqe(e);return n===Dqe.NEUTRAL?t:n}function Oqe(e,t){return t||(t=Dqe.getGlobalDir()),Dqe.isStrong(t)||("production"!==ma.env.NODE_ENV?Pqe(!1,"Fallback direction must be a strong direction"):Pqe(!1)),Nqe(e,t)}var Rqe={firstStrongChar:Mqe,firstStrongCharDir:jqe,resolveBlockDir:Nqe,getDirection:Oqe,isDirectionLTR:function(e,t){return Oqe(e,t)===Dqe.LTR},isDirectionRTL:function(e,t){return Oqe(e,t)===Dqe.RTL}};function zqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bqe,Gqe=Rqe,Uqe=Sqe,qqe=XBe,Hqe=function(){function e(e){zqe(this,"_defaultDir",void 0),zqe(this,"_lastDir",void 0),e?Uqe.isStrong(e)||("production"!==ma.env.NODE_ENV?qqe(!1,"Default direction must be a strong direction (LTR or RTL)"):qqe(!1)):e=Uqe.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=Gqe.getDirection(e,this._lastDir),this._lastDir},e}(),Wqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Kqe=Hqe,Vqe=Xze.exports,Yqe=Wqe,Jqe=Vqe.OrderedMap,Qqe={getDirectionMap:function(e,t){Bqe?Bqe.reset():Bqe=new Kqe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return Yqe(Bqe).getDirection(e.getText())})),r=Jqe(n.keySeq().zip(i));return null!=t&&Vqe.is(t,r)?t:r}};function Zqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){$qe(e,t,n[t])}))}return e}function $qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xqe=jUe,eHe=_qe,tHe=Qqe,nHe=JUe,iHe=Xze.exports,rHe=iHe.OrderedSet,oHe=iHe.Record,aHe=iHe.Stack,sHe=iHe.OrderedMap,lHe=iHe.List,uHe=oHe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:aHe(),selection:null,treeMap:null,undoStack:aHe()}),cHe=function(){t.createEmpty=function(e){return t.createWithContent(eHe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:aHe(),redoStack:aHe(),decorator:n||null,selection:nHe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=Zqe({},e,{treeMap:fHe(n,e.decorator),directionMap:tHe.getDirectionMap(n)});return new t(new uHe(i))},t.fromJS=function(e){return new t(new uHe(Zqe({},e,{directionMap:null!=e.directionMap?sHe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?rHe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?eHe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?aHe(e.redoStack.map((function(e){return eHe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new nHe(e.selection):e.selection,treeMap:null!=e.treeMap?sHe(e.treeMap).map((function(e){return lHe(e).map((function(e){return Xqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?aHe(e.undoStack.map((function(e){return eHe.fromJS(e)}))):e.undoStack,currentContent:eHe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return Xqe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):fHe(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return Xqe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){$qe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return hHe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return hHe(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 dHe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),dHe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new nHe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=tHe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||pHe(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var f={currentContent:u,directionMap:o,undoStack:l,redoStack:aHe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function dHe(e,t,n){return cHe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function fHe(e,t){return e.getBlockMap().map((function(n){return Xqe.generate(e,n,t)})).toOrderedMap()}function pHe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function hHe(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):rHe()}var gHe=cHe,mHe=UBe,vHe=zGe,yHe=Xze.exports,bHe=XBe,_He=yHe.OrderedMap,wHe=yHe.List,kHe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},FHe=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){kHe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),kHe(c,e,(function(e){return e.merge({nextSibling:u})})),kHe(u,e,(function(e){return e.merge({prevSibling:c})})),kHe(f,e,(function(e){return e.merge({prevSibling:a})})),kHe(p,e,(function(e){return e.merge({nextSibling:a})})),kHe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:wHe(r)})})),kHe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},xHe=function(e,t,n,i){"replace"===i&&("production"!==ma.env.NODE_ENV?bHe(!1,"Replacing blocks is not supported."):bHe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1));var a=e.getBlockMap(),s=t instanceof mHe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=vHe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=_He();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([].concat(f,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===o&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([[r,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:FHe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function EHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){CHe(e,t,n[t])}))}return e}function CHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SHe=nBe,DHe=fBe,PHe=SBe,THe=UBe,AHe=_Ue,LHe=gHe,IHe=uGe,MHe=Xze.exports,jHe=xHe,NHe=QUe("draft_tree_data_support"),OHe=NHe?THe:PHe,RHe=MHe.List,zHe=MHe.Repeat,BHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=AHe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=AHe.splitBlock(o,a),l=s.getSelectionAfter(),u=AHe.setBlockType(s,l,"atomic"),c=DHe.create({entity:t}),d={key:IHe(),type:"atomic",text:n,characterList:RHe(zHe(c,n.length))},f={key:IHe(),type:"unstyled"};NHe&&(d=EHe({},d,{nextSibling:f.key}),f=EHe({},f,{prevSibling:d.key}));var p=[new OHe(d),new OHe(f)],h=SHe.createFromArray(p),g=AHe.replaceWithFragment(u,l,h),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return LHe.push(e,m,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=jHe(o,t,s,i)}else{var l=AHe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=jHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=jHe(l,t,c,"after");else{var d=AHe.splitBlock(l,u),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());r=jHe(d,t,p,"before")}}var h=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return LHe.push(e,h,"move-block")}};var GHe=Xze.exports.List,UHe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),GHe(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 qHe=UHe;function HHe(e){return e.replace(/\//g,"-")}var WHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(HHe).join(" "):Array.prototype.map.call(arguments,HHe).join(" ")},KHe=m.default,VHe=WHe,YHe=(0,Xze.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:KHe.createElement("ul",{className:VHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:KHe.createElement("ol",{className:VHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:KHe.createElement("pre",{className:VHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),JHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},QHe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",f="version",p="architecture",h="console",g="mobile",m="tablet",v="smarttv",y="wearable",b="embedded",_="Amazon",w="Apple",k="ASUS",F="BlackBerry",x="Firefox",E="Google",C="Huawei",S="LG",D="Microsoft",P="Motorola",T="Opera",A="Samsung",L="Sony",I="Xiaomi",M="Zebra",j="Facebook",N=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},O=function(e,t){return typeof e===s&&-1!==R(t).indexOf(R(e))},R=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!u;)if(u=f[n++].exec(e))for(s=0;s<p.length;s++)c=u[++o],typeof(l=p[s])===a&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},G=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(O(t[n][r],e))return"?"===n?i:n}else if(O(t[n],e))return"?"===n?i:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,f],[/opios[\/ ]+([\w\.]+)/i],[f,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[f,G,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,R]],[/((?: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/,"",R]],[/(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,R]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,A],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,A],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,P],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,E],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,E],[c,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[c,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,_],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,_],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,F],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,k],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,k],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,g]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,m]],[/(surface duo)/i],[l,[d,D],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,M],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,M],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,L],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,A],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,E],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,_],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,y]],[/droid.+; (glass) \d/i],[l,[d,E],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,M],[c,y]],[/(quest( 2)?)/i],[l,[d,j],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[f,G,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[f,G,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,f],[/\(bb(10);/i],[f,[u,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,f],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,f]]},H=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof H))return new H(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(r),this};H.VERSION="0.7.31",H.BROWSER=N([u,f,"major"]),H.CPU=N([p]),H.DEVICE=N([l,d,c,h,g,v,m,y,b]),H.ENGINE=H.OS=N([u,f]),e.exports&&(t=e.exports=H),t.UAParser=H;var W=typeof n!==o&&(n.jQuery||n.Zepto);if(W&&!W.ua){var K=new H;W.ua=K.getResult(),W.ua.get=function(){return K.getUA()},W.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:x)}(QHe,QHe.exports);var ZHe="Unknown",$He={"Mac OS":"Mac OS X"};var XHe=(new(0,QHe.exports)).getResult(),eWe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(XHe.browser.version),tWe={browserArchitecture:XHe.cpu.architecture||ZHe,browserFullVersion:XHe.browser.version||ZHe,browserMinorVersion:eWe.minor||ZHe,browserName:XHe.browser.name||ZHe,browserVersion:XHe.browser.major||ZHe,deviceName:XHe.device.model||ZHe,engineName:XHe.engine.name||ZHe,engineVersion:XHe.engine.version||ZHe,platformArchitecture:XHe.cpu.architecture||ZHe,platformName:function(e){return $He[e]||e}(XHe.os.name)||ZHe,platformVersion:XHe.os.version||ZHe,platformFullVersion:XHe.os.version||ZHe},nWe=tWe,iWe=XBe,rWe=/\./,oWe=/\|\|/,aWe=/\s+\-\s+/,sWe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lWe=/^(\d*)(.*)/;function uWe(e,t){var n=e.split(oWe);return n.length>1?n.some((function(e){return _We.contains(e,t)})):function(e,t){var n=e.split(aWe);if(n.length>0&&n.length<=2||("production"!==ma.env.NODE_ENV?iWe(!1,'the "-" operator expects exactly 2 operands'):iWe(!1)),1===n.length)return cWe(n[0],t);var i=n[0],r=n[1];return gWe(i)&&gWe(r)||("production"!==ma.env.NODE_ENV?iWe(!1,'operands to the "-" operator must be simple (no modifiers)'):iWe(!1)),cWe(">="+i,t)&&cWe("<="+r,t)}(e=n[0].trim(),t)}function cWe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(rWe),i=pWe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return dWe(n,o);case"<=":return function(e,t){var n=bWe(e,t);return-1===n||0===n}(n,o);case">=":return fWe(n,o);case">":return function(e,t){return 1===bWe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);hWe(o)&&(i[r]=o+1+"");return fWe(e,n)&&dWe(e,i)}(n,o);default:return function(e,t){return 0===bWe(e,t)}(n,o)}}function dWe(e,t){return-1===bWe(e,t)}function fWe(e,t){var n=bWe(e,t);return 1===n||0===n}function pWe(e){var t=e.split(rWe),n=t[0].match(sWe);return n||("production"!==ma.env.NODE_ENV?iWe(!1,"expected regex to match but it did not"):iWe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function hWe(e){return!isNaN(e)&&isFinite(e)}function gWe(e){return!pWe(e).modifier}function mWe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function vWe(e,t){var n=e.match(lWe)[1],i=t.match(lWe)[1],r=parseInt(n,10),o=parseInt(i,10);return hWe(r)&&hWe(o)&&r!==o?yWe(r,o):yWe(e,t)}function yWe(e,t){return typeof e!=typeof t&&("production"!==ma.env.NODE_ENV?iWe(!1,'"a" and "b" must be of the same type'):iWe(!1)),e>t?1:e<t?-1:0}function bWe(e,t){for(var n=function(e,t){mWe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return mWe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=vWe(i[o],r[o]);if(a)return a}return 0}var _We={contains:function(e,t){return uWe(e.trim(),t.trim())}},wWe=_We,kWe=Object.prototype.hasOwnProperty;var FWe=function(e,t,n){if(!e)return null;var i={};for(var r in e)kWe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var xWe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},EWe=nWe,CWe=wWe;function SWe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,CWe.contains(r,t))}function DWe(e){return"Windows"===EWe.platformName?e.replace(/^\s*NT/,""):e}var PWe=FWe({isBrowser:function(e){return SWe(EWe.browserName,EWe.browserFullVersion,e)},isBrowserArchitecture:function(e){return SWe(EWe.browserArchitecture,null,e)},isDevice:function(e){return SWe(EWe.deviceName,null,e)},isEngine:function(e){return SWe(EWe.engineName,EWe.engineVersion,e)},isPlatform:function(e){return SWe(EWe.platformName,EWe.platformFullVersion,e,DWe)},isPlatformArchitecture:function(e){return SWe(EWe.platformArchitecture,null,e)}},xWe);var TWe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var AWe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},LWe=AWe;var IWe=function e(t){if(LWe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},MWe=TWe,jWe=IWe;var NWe=function(e){for(var t=e;t&&t!==MWe(e).documentElement;){var n=jWe(t);if(null!=n)return n;t=t.parentNode}return null};var OWe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function RWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zWe=PWe,BWe=NWe,GWe=OWe,UWe=XBe,qWe=Wqe,HWe=Xze.exports.Map,WWe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},KWe=zWe.isBrowser("IE <= 11"),VWe=function(){function e(e){var t=this;RWe(this,"observer",void 0),RWe(this,"container",void 0),RWe(this,"mutations",void 0),RWe(this,"onCharData",void 0),this.container=e,this.mutations=HWe();var n=GWe(e);n.MutationObserver&&!KWe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ma.env.NODE_ENV?UWe(!1,"Expected target to be an instance of Node"):UWe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,WWe):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=HWe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return KWe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=qWe(BWe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),YWe="-",JWe={encode:function(e,t,n){return e+YWe+t+YWe+n},decode:function(e){var t=e.split(YWe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(YWe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},QWe={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},ZWe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var $We=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},XWe=XBe,eKe=$We;var tKe=function(e){var t=e.editorContainer;return t||("production"!==ma.env.NODE_ENV?XWe(!1,"Missing editorNode"):XWe(!1)),eKe(t.firstChild)||("production"!==ma.env.NODE_ENV?XWe(!1,"editorNode.firstChild is not an HTMLElement"):XWe(!1)),t.firstChild},nKe=JWe,iKe=Wqe;var rKe=function(e,t,n,i,r){var o=iKe(e.getSelection());if(!t||!i)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=nKe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=nKe.decode(i),d=c.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=u.get("start"),g=p.get("start"),m=u?h+n:null,v=p?g+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===m&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var _=u.get("end"),w=p.get("end");b=g===h&&w===_?r<n:g<h}else{var k=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=k===d}return o.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},oKe=NWe,aKe=IWe,sKe=rKe,lKe=XBe,uKe=AWe,cKe=Wqe;function dKe(e,t,n){var i=t,r=oKe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ma.env.NODE_ENV?lKe(!1,"Unknown node in selection range."):lKe(!1)),e===i)&&(i=i.firstChild,uKe(i)||("production"!==ma.env.NODE_ENV?lKe(!1,"Invalid DraftEditorContents node."):lKe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ma.env.NODE_ENV?lKe(!1,"Invalid DraftEditorContents structure."):lKe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(uKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||aKe(e.firstChild));)e=e.firstChild;return e}(i);o=cKe(aKe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(aKe(s)){var c=function(e){for(;e.lastChild&&(uKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||aKe(e.lastChild));)e=e.lastChild;return e}(s);l=cKe(aKe(c)),u=fKe(c)}else l=cKe(r),u=fKe(s);return{key:l,offset:u}}function fKe(e){var t=e.textContent;return"\n"===t?0:t.length}var pKe=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:sKe(e,cKe(oKe(n)),i,cKe(oKe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:cKe(oKe(n)),offset:i},u=dKe(t,r,o)):s?(u={key:cKe(oKe(r)),offset:o},l=dKe(t,n,i)):(l=dKe(t,n,i),u=dKe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:sKe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},hKe=pKe;var gKe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:hKe(e,t,i,r,o,a)},mKe=ZWe,vKe=gHe,yKe=tKe,bKe=gKe;var _Ke=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();mKe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=bKe(n,yKe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?vKe.forceSelection(n,r):vKe.acceptSelection(n,r),e.update(n))}};var wKe={notEmptyKey:function(e){return null!=e&&""!=e}},kKe=wKe.notEmptyKey;function FKe(e,t){return kKe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var xKe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:FKe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),FKe(e.getEntityMap(),n)},EKe=VWe,CKe=_Ue,SKe=JWe,DKe=gHe,PKe=QWe,TKe=tKe,AKe=gKe,LKe=xKe,IKe=Wqe,MKe=!1,jKe=!1,NKe=null;var OKe={onCompositionStart:function(e){jKe=!0,function(e){NKe||(NKe=new EKe(TKe(e))).start()}(e)},onCompositionEnd:function(e){MKe=!1,jKe=!1,setTimeout((function(){MKe||OKe.resolveComposition(e)}),20)},onSelect:_Ke,onKeyDown:function(e,t){if(!jKe)return OKe.resolveComposition(e),void e._onKeyDown(t);t.which!==PKe.RIGHT&&t.which!==PKe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===PKe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!jKe){var t=IKe(NKe).stopAndFlushMutations();NKe=null,MKe=!0;var n=DKe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=SKe.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),f=LKe(i,d),p=i.getBlockForKey(o).getInlineStyleAt(u);i=CKe.replaceText(i,d,e,p,f),n=DKe.set(n,{currentContent:i})}));var r=AKe(n,TKe(e)).selectionState;e.restoreEditorDOM();var o=DKe.acceptSelection(n,r);e.update(DKe.push(o,i,"insert-characters"))}else e.update(n)}}},RKe=OKe,zKe=CW;function BKe(){return BKe=zKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BKe.apply(this,arguments)}var GKe=JWe,UKe=m.default,qKe=Rqe,HKe=Sqe,WKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),f=r.getPropsForKey(o),p=GKe.encode(u,parseInt(o,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),g=HKe.getHTMLDirIfDifferent(qKe.getDirection(h),a);return UKe.createElement(d,BKe({},f,{contentState:i,decoratedText:h,dir:g,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(UKe.Component),KKe=WKe;function VKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JKe=m.default,QKe=XBe,ZKe=AWe,$Ke=PWe.isBrowser("IE <= 11");var XKe=function(e){var t,n;function i(t){var n;return YKe(VKe(n=e.call(this,t)||this),"_forceFlag",void 0),YKe(VKe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;ZKe(t)||("production"!==ma.env.NODE_ENV?QKe(!1,"node is not an Element"):QKe(!1));var i=t;return n?!function(e){return $Ke?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},$Ke?JKe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):JKe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return $Ke?JKe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):JKe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):JKe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(JKe.Component),eVe=XKe,tVe=AWe;var nVe=function(e){return!(!e||!e.ownerDocument)&&(tVe(e)&&"BR"===e.nodeName)};var iVe=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 rVe=function(e){return iVe(e)&&3==e.nodeType};var oVe=function e(t,n){return!(!t||!n)&&(t===n||!rVe(t)&&(rVe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var aVe=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}},sVe=ZWe,lVe=oVe,uVe=aVe,cVe=TWe,dVe=XBe,fVe=AWe,pVe=PWe.isBrowser("IE");function hVe(e,t){if(!e)return"[empty]";var n=gVe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(fVe(n)||("production"!==ma.env.NODE_ENV?dVe(!1,"Node must be an Element if it is not a text node."):dVe(!1)),n.outerHTML)}function gVe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return cVe(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(gVe(o[a],t));return r}function mVe(e,t){for(var n=e,i=n;n;){if(fVe(n)&&i.hasAttribute("contenteditable"))return hVe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function vVe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function yVe(e,t,n,i){var r=uVe();if(e.extend&&null!=t&&lVe(r,t)){n>vVe(t)&&sVe.logSelectionStateFailure({anonymizedDom:mVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw sVe.logSelectionStateFailure({anonymizedDom:mVe(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function bVe(e,t,n,i){var r=cVe(t).createRange();if(n>vVe(t)&&sVe.logSelectionStateFailure({anonymizedDom:mVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),pVe)try{e.addRange(r)}catch(e){"production"!==ma.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var _Ve=function(e,t,n,i,r){var o=cVe(t);if(lVe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=l;s=u,l=c,u=f,c=p,d=!1}var h=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(h&&g)return a.removeAllRanges(),bVe(a,t,l-i,e),void yVe(a,t,c-i,e);if(d){if(g&&(a.removeAllRanges(),bVe(a,t,c-i,e)),h){var m=a.focusNode,v=a.focusOffset;a.removeAllRanges(),bVe(a,t,l-i,e),yVe(a,m,v,e)}}else h&&(a.removeAllRanges(),bVe(a,t,l-i,e)),g&&yVe(a,t,c-i,e)}},wVe=CW;function kVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xVe=eVe,EVe=m.default,CVe=XBe,SVe=nVe,DVe=_Ve,PVe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return FVe(kVe(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing node"):CVe(!1));var l,u=s.firstChild;u||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing child"):CVe(!1)),u.nodeType===Node.TEXT_NODE?l=u:SVe(u)?l=s:(l=u.firstChild)||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing targetNode"):CVe(!1)),DVe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing leafNode"):CVe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),wVe(e,i,n)}),{});if(o){var u=o(s,t);l=wVe(l,u)}return EVe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},EVe.createElement(xVe,null,n))},i}(EVe.Component),TVe=PVe;var AVe=KKe,LVe=TVe,IVe=JWe,MVe=Xze.exports,jVe=m.default,NVe=WHe;MVe.List;var OVe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),f=t.getText(),p=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var o=IVe.encode(d,c,n),a=e.get("start"),g=e.get("end");return jVe.createElement(LVe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:f.slice(a,g),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:h===p&&n===m})})).toArray();return h&&o?jVe.createElement(AVe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:c}):v})).toArray();return jVe.createElement("div",{"data-offset-key":IVe.encode(d,0,0),className:NVe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},i}(jVe.Component),RVe=OVe;function zVe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var BVe={getTop:function(e){var t=e.ownerDocument;return zVe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;zVe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return zVe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;zVe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},GVe=BVe,UVe=/-(.)/g;var qVe=/([A-Z])/g;var HVe=function(e){return e.replace(UVe,(function(e,t){return t.toUpperCase()}))},WVe=function(e){return e.replace(qVe,"-$1").toLowerCase()};function KVe(e){return null==e?e:String(e)}var VVe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return KVe(n.getPropertyValue(WVe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return KVe(n.getPropertyValue(WVe(t)));if("display"===t)return"none"}return e.currentStyle?KVe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[HVe(t)]):KVe(e.style&&e.style[HVe(t)])};function YVe(e,t){var n=JVe.get(e,t);return"auto"===n||"scroll"===n}var JVe={get:VVe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(YVe(e,"overflow")||YVe(e,"overflowY")||YVe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},QVe=JVe,ZVe=oVe;var $Ve=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ZVe(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 XVe=function(e){var t=$Ve(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},eYe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var tYe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:eYe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var nYe=tYe,iYe=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var rYe=function(e){var t=nYe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=iYe(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function oYe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function aYe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function sYe(){return{width:window.innerWidth||oYe(),height:window.innerHeight||aYe()}}sYe.withoutScrollbars=function(){return{width:oYe(),height:aYe()}};var lYe=sYe,uYe=CW;function cYe(){return cYe=uYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cYe.apply(this,arguments)}function dYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){pYe(e,t,n[t])}))}return e}function pYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hYe=RVe,gYe=JWe,mYe=m.default,vYe=GVe,yYe=QVe,bYe=XVe,_Ye=rYe,wYe=lYe,kYe=XBe,FYe=$We;Xze.exports.List;var xYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},EYe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},CYe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},SYe=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=fYe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},DYe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return pYe(dYe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",mYe.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||xYe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=yYe.getScrollParent(n),o=_Ye(r);if(r===window){var a=bYe(n);(i=a.y+a.height-wYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{FYe(n)||("production"!==ma.env.NODE_ENV?kYe(!1,"blockNode is not an HTMLElement"):kYe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&vYe.setTop(r,vYe.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=gYe.encode(n,0,0),d=s.getBlockForKey(n),f=CYe(d,o),p=f.CustomComponent||i,h=EYe(d,r),g=h.Element,m=h.wrapperTemplate,v=SYe(d,u,l,a,f,null),y=fYe({},e.props,{tree:c.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(mYe.createElement(g,v,mYe.createElement(p,y))),!m||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(mYe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":gYe.encode(d,0,0)},c))}(m,g,t),t}),[]));var y=n.getKey(),b=gYe.encode(y,0,0),_=CYe(n,o),w=_.CustomComponent,k=null!=w?mYe.createElement(w,cYe({},this.props,{tree:c.getBlockTree(y),blockProps:_.customProps,offsetKey:b,block:n})):mYe.createElement(hYe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:xYe(g,y),selection:g,tree:m});if(n.getParentKey())return k;var F=EYe(n,r).Element,x=SYe(n,u,b,a,_,this.wrapperRef);return mYe.createElement(F,x,k)},i}(mYe.Component),PYe=CW;function TYe(){return TYe=PYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TYe.apply(this,arguments)}var AYe=DYe,LYe=JWe,IYe=m.default,MYe=Wqe,jYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=MYe(a.getDirectionMap()),h=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:c,block:g,direction:l||p.get(m),tree:a.getBlockTree(m)},y=(t.get(g.getType())||t.get("unstyled")).wrapper;h.push({block:IYe.createElement(AYe,TYe({key:m},v)),wrapperTemplate:y,key:m,offsetKey:LYe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var _=[],w=0;w<h.length;){var k=h[w];if(k.wrapperTemplate){var F=[];do{F.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===k.wrapperTemplate);var x=IYe.cloneElement(k.wrapperTemplate,{key:k.key+"-wrap","data-offset-key":k.offsetKey},F);_.push(x)}else _.push(k.block),w++}return IYe.createElement("div",{"data-contents":"true"},_)},i}(IYe.Component),NYe=jYe,OYe=CW;function RYe(){return RYe=OYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},RYe.apply(this,arguments)}function zYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GYe=TVe,UYe=JWe,qYe=m.default,HYe=GVe,WYe=QVe,KYe=Rqe,VYe=Sqe,YYe=WHe,JYe=XVe,QYe=rYe,ZYe=lYe,$Ye=XBe,XYe=$We,eJe=Wqe,tJe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nJe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return BYe(zYe(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||tJe(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=WYe.getScrollParent(n),o=QYe(r);if(r===window){var a=JYe(n);(i=a.y+a.height-ZYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{XYe(n)||("production"!==ma.env.NODE_ENV?$Ye(!1,"blockNode is not an HTMLElement"):$Ye(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&HYe.setTop(r,HYe.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=tJe(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=UYe.encode(n,s,l),d=a.get("start"),f=a.get("end");return qYe.createElement(GYe,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var f=eJe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return c;var h=f.getPropsForKey(d),g=UYe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),y=i.slice(m,v),b=t.getEntityAt(a.get("start")),_=VYe.getHTMLDirIfDifferent(KYe.getDirection(y),e.props.direction),w={contentState:e.props.contentState,decoratedText:y,dir:_,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return qYe.createElement(p,RYe({},h,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=YYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return qYe.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(qYe.Component),iJe=nJe;var rJe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},oJe=CW;function aJe(){return aJe=oJe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aJe.apply(this,arguments)}function sJe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){lJe(e,t,n[t])}))}return e}function lJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uJe=iJe,cJe=JWe,dJe=m.default,fJe=WHe,pJe=rJe,hJe=Wqe,gJe=function(e,t,n,i){return fJe({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},mJe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=hJe(a.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,y=null,b=0;b<g.length;b++){var _=g[b],w=_.getKey(),k=_.getType(),F=n(_),x=void 0,E=void 0,C=void 0;F&&(x=F.component,E=F.props,C=F.editable);var S=u||h.get(w),D=cJe.encode(w,0,0),P={contentState:c,block:_,blockProps:E,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:p,direction:S,forceSelection:f,offsetKey:D,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(k)||t.get("unstyled"),A=T.wrapper,L=T.element||t.get("unstyled").element,I=_.getDepth(),M="";if(i&&(M=i(_)),"li"===L)M=pJe(M,gJe(k,I,y!==A||null===v||I>v,S));var j=x||uJe,N={className:M,"data-block":!0,"data-editor":s,"data-offset-key":D,key:w};void 0!==C&&(N=sJe({},N,{contentEditable:C,suppressContentEditableWarning:!0}));var O=dJe.createElement(L,N,dJe.createElement(j,aJe({},P,{key:w})));m.push({block:O,wrapperTemplate:A,key:w,offsetKey:D}),v=A?_.getDepth():null,y=A}for(var R=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var U=dJe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);R.push(U)}else R.push(B.block),z++}return dJe.createElement("div",{"data-contents":"true"},R)},i}(dJe.Component),vJe=mJe,yJe=QUe("draft_tree_data_support")?NYe:vJe,bJe={isImage:function(e){return"image"===_Je(e)[0]},isJpeg:function(e){var t=_Je(e);return bJe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function _Je(e){return e.split("/")}var wJe=bJe,kJe=XBe;var FJe=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Array-like object expected"):kJe(!1)),"number"!=typeof t&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object needs a length property"):kJe(!1)),0===t||t-1 in e||("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object should have keys for indices"):kJe(!1)),"function"==typeof e.callee&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):kJe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function xJe(e){return function(){return e}}var EJe=function(){};EJe.thatReturns=xJe,EJe.thatReturnsFalse=xJe(!1),EJe.thatReturnsTrue=xJe(!0),EJe.thatReturnsNull=xJe(null),EJe.thatReturnsThis=function(){return this},EJe.thatReturnsArgument=function(e){return e};var CJe=EJe,SJe=wJe,DJe=FJe,PJe=CJe,TJe=new RegExp("\r\n","g"),AJe={"text/rtf":1,"text/html":1};function LJe(e){if("file"==e.kind)return e.getAsFile()}var IJe=function(){function e(e){this.data=e,this.types=e.types?DJe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return AJe[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(TJe,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!SJe.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(LJe).filter(PJe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),MJe=IJe,jJe=XBe,NJe=/\.textClipping$/,OJe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var RJe=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in OJe))return void t("");if(""===e.type){var n="";return NJe.test(e.name)&&(n=e.name.replace(NJe,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ma.env.NODE_ENV?jJe(!1,'We should be calling "FileReader.readAsText" which returns a string'):jJe(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var zJe=function(e){return"handled"===e||!0===e},BJe=MJe,GJe=_Ue,UJe=gHe,qJe=NWe,HJe=TWe,WJe=RJe,KJe=rKe,VJe=OWe,YJe=zJe,JJe=Wqe;var QJe={onDragEnd:function(e){e.exitCurrentMode(),ZJe(e)},onDrop:function(e,t){var n=new BJe(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=HJe(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=JJe(n),i=JJe(i);var a=JJe(qJe(n));return KJe(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&YJe(e.props.handleDroppedFiles(r,o)))return;WJe(o,(function(t){t&&e.update($Je(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&YJe(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=GJe.moveText(e.getCurrentContent(),e.getSelection(),t);return UJe.push(e,n,"insert-fragment")}(i,r)):e.update($Je(i,r,n.getText()))),ZJe(e)}}}};function ZJe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:VJe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function $Je(e,t,n){var i=GJe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return UJe.push(e,i,"insert-fragment")}var XJe=QJe;var eQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){ma.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var tQe=x.setImmediate,nQe=_Ue,iQe=gHe,rQe=xKe,oQe=zJe,aQe=eQe,sQe=Wqe,lQe=tQe,uQe=PWe.isBrowser("Firefox");function cQe(e,t,n,i,r){var o=nQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return iQe.push(e,o,"insert-characters",r)}var dQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&oQe(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(cQe(n,i,n.getCurrentInlineStyle(),rQe(n.getCurrentContent(),n.getSelection()),!0));var s,l=cQe(n,i,n.getCurrentInlineStyle(),rQe(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=aQe(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=uQe&&("'"==s||"/"==s)),u||(u=sQe(l.getDirectionMap()).get(a)!==sQe(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=iQe.set(l,{forceSelection:!0}),void e.update(l);l=iQe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,lQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},fQe=gHe,pQe=oVe,hQe=aVe;var gQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&hQe(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&pQe(r,i.anchorNode)&&pQe(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(fQe.acceptSelection(o,s))}},mQe=gHe;var vQe=function(e,t){e.setMode("composite"),e.update(mQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},yQe=wGe;var bQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:yQe(e.getCurrentContent(),t)},_Qe=bQe;var wQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(_Qe(e._latestEditorState))};var kQe=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},FQe=_Ue,xQe=gHe,EQe=QVe,CQe=bQe,SQe=rYe,DQe=kQe;var PQe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(DQe(o)){var a=o;n=SQe(EQe.getScrollParent(a))}var s=CQe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=FQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return xQe.push(e,t,"remove-range")}(i))}),0)}};var TQe=function(e,t){e.setMode("drag"),t.preventDefault()};var AQe=function(e){e._internalDrag=!0,e.setMode("drag")},LQe=gHe,IQe=PWe;var MQe=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),IQe.isBrowser("Chrome < 60.0.3081.0")?e.update(LQe.forceSelection(n,r)):e.update(LQe.acceptSelection(n,r))}},jQe=XBe,NQe=/[\uD800-\uDFFF]/;function OQe(e){return 55296<=e&&e<=57343}function RQe(e){return NQe.test(e)}function zQe(e,t){return 1+OQe(e.charCodeAt(t))}function BQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!RQe(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=zQe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=zQe(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=zQe(e,o);return e.substring(r,o)}var GQe={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:RQe,isCodeUnitInSurrogateRange:OQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ma.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),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!RQe(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 i=Math.abs(n-t);return BQe(e,t=t<n?t:n,i)},substr:BQe},UQe=GQe,qQe=CJe;function HQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var WQe="production"!==ma.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];HQe.apply(void 0,[t].concat(i))}}:qQe,KQe=WQe,VQe=KQe;var YQe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&VQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},JQe=_Ue,QQe=QUe("draft_tree_data_support");var ZQe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(QQe&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(QQe)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return JQe.removeRange(r,o,n)},$Qe=gHe,XQe=UQe,eZe=YQe,tZe=ZQe;var nZe=function(e){var t=tZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return eZe(e,o?XQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return $Qe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},iZe=_Ue,rZe=JWe,oZe=gHe,aZe=wKe.notEmptyKey,sZe=NWe,lZe=nZe,uZe=Wqe,cZe=PWe.isEngine("Gecko");var dZe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=uZe(sZe(i)),d=rZe.decode(c),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,g=u.getBlockTree(f).getIn([p,"leaves",h]),m=g.start,v=g.end,y=u.getCurrentContent(),b=y.getBlockForKey(f),_=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==_){var w,k,F,x,E=u.getSelection(),C=E.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),D=aZe(S)?y.getEntity(S):null,P="MUTABLE"===(null!=D?D.getMutability():null),T=P?"spellcheck-change":"apply-entity",A=iZe.replaceText(y,C,l,b.getInlineStyleAt(m),P?b.getEntityAt(m):null);if(cZe)w=n.anchorOffset,k=n.focusOffset,x=(F=m+Math.min(w,k))+Math.abs(w-k),w=F,k=x;else{var L=l.length-_.length;F=E.getStartOffset(),x=E.getEndOffset(),w=r?x+L:F,k=x+L}var I=A.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:E.merge({anchorOffset:w,focusOffset:k})});e.update(oZe.push(u,I,T))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?lZe(t):t}(M,u);if(j!==u)return e.restoreEditorDOM(),void e.update(j)}}}},fZe=QWe;var pZe=function(e){return e.which===fZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},hZe=pZe,gZe=PWe.isPlatform("Mac OS X"),mZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return gZe&&e.altKey},usesMacOSHeuristics:function(){return gZe},hasCommandModifier:function(e){return gZe?!!e.metaKey&&!e.altKey:mZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:hZe},vZe=mZe,yZe=_Ue,bZe=gHe,_Ze=wGe,wZe=Wqe,kZe=null,FZe={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=wZe(i),kZe=_Ze(t,i);var s=yZe.removeRange(t,i,"forward");return s===t?e:bZe.push(e,s,"remove-range")},paste:function(e){if(!kZe)return e;var t=yZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),kZe);return bZe.push(e,t,"insert-fragment")}},xZe=XBe;var EZe=PWe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ma.env.NODE_ENV?xZe(!1,"Found an unexpected detached subtree when getting range client rects."):xZe(!1)}:function(e){return Array.from(e.getClientRects())},CZe=UQe,SZe=TWe,DZe=EZe,PZe=XBe;function TZe(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function AZe(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 LZe=gHe,IZe=function(e){e.collapsed||("production"!==ma.env.NODE_ENV?PZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):PZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=SZe(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==ma.env.NODE_ENV?PZe(!1,"Missing document.body"):PZe(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);TZe(DZe(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ma.env.NODE_ENV?PZe(!1,"Found unexpected detached subtree when traversing."):PZe(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&CZe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!TZe(DZe(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=AZe(o=o.childNodes[l])}return e.setStart(i,r),e},MZe=pKe,jZe=YQe,NZe=ZQe;var OZe=function(e,t){var n=NZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return jZe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=IZe(i),MZe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:LZe.push(e,n,"remove-range")},RZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),zZe=new RegExp("^(?:"+RZe+")*(?:"+"['‘’]|(?!"+RZe+").)*(?:(?!"+RZe+").)"),BZe=new RegExp("(?:(?!"+RZe+").)(?:"+"['‘’]|(?!"+RZe+").)*(?:"+RZe+")*$");function GZe(e,t){var n=t?BZe.exec(e):zZe.exec(e);return n?n[0]:e}var UZe={getBackward:function(e){return GZe(e,!0)},getForward:function(e){return GZe(e,!1)}},qZe=UZe,HZe=gHe,WZe=YQe,KZe=ZQe;var VZe=KQe;var YZe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&VZe(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},JZe=UZe,QZe=gHe,ZZe=YZe,$Ze=ZQe;var XZe=_Ue,e$e=gHe;var t$e=gHe;var n$e=gHe;var i$e=gHe,r$e=UQe,o$e=YZe,a$e=ZQe;var s$e=_Ue,l$e=gHe,u$e=wGe;var c$e=gHe;var d$e=function(e,t,n){var i=c$e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(c$e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(c$e.set(i,{nativelyRenderedContent:r}))}},f$e=_Ue,p$e=gHe,h$e=QWe,g$e=FZe,m$e=PWe,v$e=zJe,y$e=OZe,b$e=function(e){var t=KZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return WZe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=qZe.getBackward(r);return WZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:HZe.push(e,t,"remove-range")},_$e=function(e){var t=$Ze(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=JZe.getForward(r);return ZZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:QZe.push(e,t,"remove-range")},w$e=function(e){var t=XZe.splitBlock(e.getCurrentContent(),e.getSelection());return e$e.push(e,t,"split-block")},k$e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return t$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},F$e=function(e){var t=e.getSelection(),n=t.getStartKey();return n$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},x$e=nZe,E$e=function(e){var t=a$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return o$e(e,o?r$e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return i$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},C$e=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=u$e(a,i),u=s$e.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,f=c.merge({anchorOffset:d,focusOffset:d}),p=s$e.replaceWithFragment(u,f,l),h=l$e.push(e,p,"insert-fragment");return l$e.acceptSelection(h,r)},S$e=d$e,D$e=vZe.isOptionKeyCommand,P$e=m$e.isBrowser("Chrome");var T$e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case h$e.RETURN:if(t.preventDefault(),e.props.handleReturn&&v$e(e.props.handleReturn(t,i)))return;break;case h$e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case h$e.TAB:if(r("onTab"))return;break;case h$e.UP:if(r("onUpArrow"))return;break;case h$e.RIGHT:if(r("onRightArrow"))return;break;case h$e.DOWN:if(r("onDownArrow"))return;break;case h$e.LEFT:if(r("onLeftArrow"))return;break;case h$e.SPACE:P$e&&D$e(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!v$e(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return p$e.redo(t);case"delete":return E$e(t);case"delete-word":return _$e(t);case"backspace":return x$e(t);case"backspace-word":return b$e(t);case"backspace-to-start-of-line":return y$e(t,n);case"split-block":return w$e(t);case"transpose-characters":return C$e(t);case"move-selection-to-start-of-block":return F$e(t);case"move-selection-to-end-of-block":return k$e(t);case"secondary-cut":return g$e.cut(t);case"secondary-paste":return g$e.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else S$e(t,i,e.update);else if(n===h$e.SPACE&&P$e&&D$e(t)){var s=f$e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(p$e.push(i,s,"insert-characters"))}};var A$e=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}(),L$e=A$e,I$e=XBe,M$e=PWe.isBrowser("IE <= 9");var j$e=function(e){var t,n=null;return!M$e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ma.env.NODE_ENV?I$e(!1,"Missing doc.documentElement"):I$e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},N$e=AWe;var O$e=function(e){return!(!e||!e.ownerDocument)&&(N$e(e)&&"A"===e.nodeName)},R$e=AWe;var z$e,B$e=function(e){return!(!e||!e.ownerDocument)&&(R$e(e)&&"IMG"===e.nodeName)};function G$e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){U$e(e,t,n[t])}))}return e}function U$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q$e=fBe,H$e=SBe,W$e=UBe,K$e=YHe,V$e=VUe,Y$e=L$e,J$e=WHe,Q$e=uGe,Z$e=j$e,$$e=QUe,X$e=Xze.exports,eXe=X$e.List,tXe=X$e.Map,nXe=X$e.OrderedSet,iXe=O$e,rXe=nVe,oXe=$We,aXe=B$e,sXe=$$e("draft_tree_data_support"),lXe=new RegExp("\r","g"),uXe=new RegExp("\n","g"),cXe=new RegExp("^\n","g"),dXe=new RegExp(" ","g"),fXe=new RegExp(" ?","g"),pXe=new RegExp("​?","g"),hXe=["bold","bolder","500","600","700","800","900"],gXe=["light","lighter","normal","100","200","300","400"],mXe=["className","href","rel","target","title"],vXe=["alt","className","height","src","width"],yXe=(U$e(z$e={},J$e("public/DraftStyleDefault/depth0"),0),U$e(z$e,J$e("public/DraftStyleDefault/depth1"),1),U$e(z$e,J$e("public/DraftStyleDefault/depth2"),2),U$e(z$e,J$e("public/DraftStyleDefault/depth3"),3),U$e(z$e,J$e("public/DraftStyleDefault/depth4"),4),z$e),bXe=tXe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),_Xe=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),tXe(t)},wXe=function(e){if(oXe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},kXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(yXe).some((function(n){e.classList.contains(n)&&(t=yXe[n])})),t},FXe=function(e){if(!iXe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},xXe=function(e){if(!aXe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},EXe=function(e,t){if(!oXe(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){hXe.indexOf(i)>=0?e.add("BOLD"):gXe.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},CXe=function(e){return"ul"===e||"ol"===e},SXe=function(){function e(e,t){U$e(this,"characterList",eXe()),U$e(this,"currentBlockType","unstyled"),U$e(this,"currentDepth",0),U$e(this,"currentEntity",null),U$e(this,"currentText",""),U$e(this,"wrapper",null),U$e(this,"blockConfigs",[]),U$e(this,"contentBlocks",[]),U$e(this,"entityMap",V$e),U$e(this,"blockTypeMap",void 0),U$e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=eXe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=V$e,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],nXe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(sXe?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||Q$e(),n=G$e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:eXe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=eXe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||CXe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;CXe(o)&&(this.wrapper=o,CXe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(xXe(r))this._addImgNode(r,t);else if(FXe(r))this._addAnchorNode(r,n,t);else{var u=t;bXe.has(o)&&(u=u.add(bXe.get(o))),u=EXe(r,u);var c=wXe(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!sXe&&oXe(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=kXe(p,this.currentDepth)}var h=Q$e(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=q$e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=eXe()):(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(cXe,"")).replace(uXe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){rXe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(aXe(e)){var n=e,i={};vXe.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),$$e("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(iXe(e)){var i=e,r={};mXe.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new Y$e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=eXe(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new W$e(G$e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return eXe(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new H$e(G$e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=eXe(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),DXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z$e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K$e,i=t(e=e.trim().replace(lXe,"").replace(dXe," ").replace(fXe,"").replace(pXe,""));if(!i)return null;var r=_Xe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new SXe(r,o).addDOMNode(i).getContentBlocks()};function PXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TXe=SBe,AXe=UBe,LXe=DXe,IXe=uGe,MXe=j$e,jXe=QUe,NXe=Xze.exports,OXe=$Ue,RXe=NXe.List,zXe=NXe.Repeat,BXe=jXe("draft_tree_data_support"),GXe=BXe?AXe:TXe,UXe={processHTML:function(e,t){return LXe(e,MXe,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=OXe(i);var o=IXe(),a={key:o,type:n,text:i,characterList:RXe(zXe(t,i.length))};if(BXe&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){PXe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new GXe(a)),e}),[])}};var qXe=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},HXe=_Ue,WXe=gHe,KXe=qXe,VXe=Wqe,YXe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return YXe.toggleInlineStyle(e,"BOLD");case"italic":return YXe.toggleInlineStyle(e,"ITALIC");case"underline":return YXe.toggleInlineStyle(e,"UNDERLINE");case"code":return YXe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return YXe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return YXe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=HXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=WXe.push(e,t,"insert-characters");return WXe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return WXe.push(e,a,"remove-range")}var s=YXe.tryToRemoveBlockStyle(e);return s?WXe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=HXe.removeRange(n,a,"forward");return s!==n?WXe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=KXe(o,i,e.shiftKey?-1:1,n);return WXe.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=VXe(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(i).getType()===t?"unstyled":t;return WXe.push(e,HXe.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?YXe.toggleBlockType(e,"code-block"):YXe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return WXe.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?HXe.removeInlineStyle(o,n,t):HXe.applyInlineStyle(o,n,t),WXe.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=HXe.applyEntity(e.getCurrentContent(),t,n);return WXe.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return HXe.setBlockType(r,t,"unstyled")}return null}},JXe=YXe,QXe=/\r\n?|\n/g;var ZXe=nBe,$Xe=fBe,XXe=MJe,e0e=_Ue,t0e=UXe,n0e=gHe,i0e=JXe,r0e=xKe,o0e=RJe,a0e=zJe,s0e=function(e){return e.split(QXe)};function l0e(e,t,n){var i=e0e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return n0e.push(e,i.set("entityMap",n),"insert-fragment")}var u0e=function(e,t){t.preventDefault();var n=new XXe(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&a0e(e.props.handlePastedFiles(i)))return;return void o0e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=s0e(t),o=$Xe.create({style:n.getCurrentInlineStyle(),entity:r0e(n.getCurrentContent(),n.getSelection())}),a=i0e.getCurrentBlockType(n),s=t0e.processText(i,o,a),l=ZXe.createFromArray(s),u=e0e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(n0e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!a0e(e.props.handlePastedText(a,s,l))){if(a&&(o=s0e(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(l0e(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,u))return void e.update(l0e(e._latestEditorState,u));if(s){var c=t0e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,f=c.entityMap;if(d){var p=ZXe.createFromArray(d);return void e.update(l0e(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=$Xe.create({style:l.getCurrentInlineStyle(),entity:r0e(l.getCurrentContent(),l.getSelection())}),g=i0e.getCurrentBlockType(l),m=t0e.processText(o,h,g),v=ZXe.createFromArray(m);e.update(l0e(e._latestEditorState,v))}}},c0e=PWe,d0e=dQe,f0e=gQe,p0e=vQe,h0e=wQe,g0e=PQe,m0e=TQe,v0e=AQe,y0e=MQe,b0e=dZe,_0e=T$e,w0e=u0e,k0e=_Ke,F0e=c0e.isBrowser("Chrome"),x0e=c0e.isBrowser("Firefox"),E0e=F0e||x0e?k0e:function(e){},C0e={onBeforeInput:d0e,onBlur:f0e,onCompositionStart:p0e,onCopy:h0e,onCut:g0e,onDragOver:m0e,onDragStart:v0e,onFocus:y0e,onInput:b0e,onKeyDown:_0e,onPaste:w0e,onSelect:k0e,onMouseUp:E0e,onKeyUp:E0e},S0e=b.default.unstable_flushControlled;var D0e=m.default,P0e=WHe,T0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=P0e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return D0e.createElement("div",{className:t},D0e.createElement("div",{className:P0e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(D0e.Component),A0e=T0e,L0e=vZe,I0e=QWe,M0e=PWe,j0e=M0e.isPlatform("Mac OS X"),N0e=j0e&&M0e.isBrowser("Firefox < 29"),O0e=L0e.hasCommandModifier,R0e=L0e.isCtrlKeyCommand;function z0e(e){return j0e&&e.altKey||R0e(e)}var B0e=function(e){switch(e.keyCode){case 66:return O0e(e)?"bold":null;case 68:return R0e(e)?"delete":null;case 72:return R0e(e)?"backspace":null;case 73:return O0e(e)?"italic":null;case 74:return O0e(e)?"code":null;case 75:return j0e&&R0e(e)?"secondary-cut":null;case 77:case 79:return R0e(e)?"split-block":null;case 84:return j0e&&R0e(e)?"transpose-characters":null;case 85:return O0e(e)?"underline":null;case 87:return j0e&&R0e(e)?"backspace-word":null;case 89:return R0e(e)?j0e?"secondary-paste":"redo":null;case 90:return function(e){return O0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case I0e.RETURN:return"split-block";case I0e.DELETE:return function(e){return!j0e&&e.shiftKey?null:z0e(e)?"delete-word":"delete"}(e);case I0e.BACKSPACE:return function(e){return O0e(e)&&j0e?"backspace-to-start-of-line":z0e(e)?"backspace-word":"backspace"}(e);case I0e.LEFT:return N0e&&O0e(e)?"move-selection-to-start-of-block":null;case I0e.RIGHT:return N0e&&O0e(e)?"move-selection-to-end-of-block":null;default:return null}},G0e=CW;function U0e(){return U0e=G0e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},U0e.apply(this,arguments)}function q0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){W0e(e,t,n[t])}))}return e}function H0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var V0e=YHe,Y0e=JHe,J0e=RKe,Q0e=yJe,Z0e=XJe,$0e=C0e,X0e=S0e,e1e=A0e,t1e=gHe,n1e=m.default,i1e=GVe,r1e=QVe,o1e=WHe,a1e=uGe,s1e=B0e,l1e=rYe,u1e=QUe,c1e=XBe,d1e=$We,f1e=Wqe,p1e=PWe.isBrowser("IE"),h1e=!p1e,g1e={edit:$0e,composite:J0e,drag:Z0e,cut:null,render:null},m1e=!1,v1e=function(e){function t(){return e.apply(this,arguments)||this}K0e(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}(n1e.Component),y1e=function(e){function t(t){var n;return W0e(H0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),W0e(H0e(n),"_clipboard",void 0),W0e(H0e(n),"_handler",void 0),W0e(H0e(n),"_dragCount",void 0),W0e(H0e(n),"_internalDrag",void 0),W0e(H0e(n),"_editorKey",void 0),W0e(H0e(n),"_placeholderAccessibilityID",void 0),W0e(H0e(n),"_latestEditorState",void 0),W0e(H0e(n),"_latestCommittedEditorState",void 0),W0e(H0e(n),"_pendingStateFromBeforeInput",void 0),W0e(H0e(n),"_onBeforeInput",void 0),W0e(H0e(n),"_onBlur",void 0),W0e(H0e(n),"_onCharacterData",void 0),W0e(H0e(n),"_onCompositionEnd",void 0),W0e(H0e(n),"_onCompositionStart",void 0),W0e(H0e(n),"_onCopy",void 0),W0e(H0e(n),"_onCut",void 0),W0e(H0e(n),"_onDragEnd",void 0),W0e(H0e(n),"_onDragOver",void 0),W0e(H0e(n),"_onDragStart",void 0),W0e(H0e(n),"_onDrop",void 0),W0e(H0e(n),"_onInput",void 0),W0e(H0e(n),"_onFocus",void 0),W0e(H0e(n),"_onKeyDown",void 0),W0e(H0e(n),"_onKeyPress",void 0),W0e(H0e(n),"_onKeyUp",void 0),W0e(H0e(n),"_onMouseDown",void 0),W0e(H0e(n),"_onMouseUp",void 0),W0e(H0e(n),"_onPaste",void 0),W0e(H0e(n),"_onSelect",void 0),W0e(H0e(n),"editor",void 0),W0e(H0e(n),"editorContainer",void 0),W0e(H0e(n),"focus",void 0),W0e(H0e(n),"blur",void 0),W0e(H0e(n),"setMode",void 0),W0e(H0e(n),"exitCurrentMode",void 0),W0e(H0e(n),"restoreEditorDOM",void 0),W0e(H0e(n),"setClipboard",void 0),W0e(H0e(n),"getClipboard",void 0),W0e(H0e(n),"getEditorKey",void 0),W0e(H0e(n),"update",void 0),W0e(H0e(n),"onDragEnter",void 0),W0e(H0e(n),"onDragLeave",void 0),W0e(H0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),W0e(H0e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=r1e.getScrollParent(r),a=e||l1e(o),s=a.x,l=a.y;d1e(r)||("production"!==ma.env.NODE_ENV?c1e(!1,"editorNode is not an HTMLElement"):c1e(!1)),r.focus(),o===window?window.scrollTo(s,l):i1e.setTop(o,l),i||n.update(t1e.forceSelection(t,t.getSelection()))}})),W0e(H0e(n),"blur",(function(){var e=n.editor;e&&(d1e(e)||("production"!==ma.env.NODE_ENV?c1e(!1,"editorNode is not an HTMLElement"):c1e(!1)),e.blur())})),W0e(H0e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=q0e({},g1e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=q0e({},g1e,{edit:a});n._handler=s[e]})),W0e(H0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),W0e(H0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),W0e(H0e(n),"setClipboard",(function(e){n._clipboard=e})),W0e(H0e(n),"getClipboard",(function(){return n._clipboard})),W0e(H0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),W0e(H0e(n),"onDragEnter",(function(){n._dragCount++})),W0e(H0e(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||a1e(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==ma.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}K0e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(X0e?X0e((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:f1e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n1e.createElement(e1e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=o1e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:q0e({},Y0e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return n1e.createElement("div",{className:d},this._renderPlaceholder(),n1e.createElement("div",{className:o1e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n1e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o1e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:f,spellCheck:h1e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n1e.createElement(v1e,{editor:this,editorState:a}),n1e.createElement(Q0e,U0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!m1e&&u1e("draft_ods_enabled")&&(m1e=!0),this.setMode("edit"),p1e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n1e.Component);W0e(y1e,"defaultProps",{blockRenderMap:V0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s1e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b1e=y1e,_1e=C(Object.freeze({__proto__:null})),w1e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},k1e=w1e,F1e=UQe.strlen;var x1e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:F1e(o.slice(0,i)),length:F1e(o.slice(i,r)),key:Number(t[k1e.stringify(a)])})})),n},E1e=UQe,C1e=pBe,S1e=function(e,t){return e===t},D1e=function(e){return!!e},P1e=[];var T1e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return C1e(r,S1e,D1e,(function(t,r){var o=e.getText();i.push({offset:E1e.strlen(o.slice(0,t)),length:E1e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(P1e,n.toJS())};function A1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L1e=SBe,I1e=UBe,M1e=w1e,j1e=x1e,N1e=T1e,O1e=XBe,R1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:N1e(e),entityRanges:j1e(e,t),data:e.getData().toObject()}},z1e=function(e,t,n,i){if(e instanceof L1e)n.push(R1e(e,t));else{e instanceof I1e||("production"!==ma.env.NODE_ENV?O1e(!1,"block is not a BlockNode"):O1e(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){A1e(e,t,n[t])}))}return e}({},R1e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},B1e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=M1e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),z1e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(M1e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function G1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){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 q1e=uGe,H1e=XBe,W1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},K1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ma.env.NODE_ENV?H1e(!1,"Invalid raw state"):H1e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==ma.env.NODE_ENV?H1e(!1,"Invalid tree raw block"):H1e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=G1e({},e);W1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?G1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,G1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=W1e(e),r=e.depth||0,o=G1e({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:q1e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),G1e({},e,{blocks:t})}},V1e=K1e,Y1e=KQe,J1e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==r&&r===o?("production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ma.env.NODE_ENV&&Y1e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ma.env.NODE_ENV&&Y1e(!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)}},Q1e=J1e,Z1e=fBe,$1e=Xze.exports.List;var X1e=function(e,t){var n=e.map((function(e,n){var i=t[n];return Z1e.create({style:e,entity:i})}));return $1e(n)},e2e=UQe.substr;var t2e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=e2e(e,0,t.offset).length,r=i+e2e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},n2e=UQe,i2e=Xze.exports.OrderedSet,r2e=n2e.substr,o2e=i2e();var a2e=function(e,t){var n=Array(e.length).fill(o2e);return t&&t.forEach((function(t){for(var i=r2e(e,0,t.offset).length,r=i+r2e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function s2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){l2e(e,t,n[t])}))}return e}function l2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u2e=SBe,c2e=UBe,d2e=_qe,f2e=VUe,p2e=V1e,h2e=Q1e,g2e=JUe,m2e=X1e,v2e=t2e,y2e=a2e,b2e=uGe,_2e=Xze.exports,w2e=XBe,k2e=QUe("draft_tree_data_support"),F2e=_2e.List,x2e=_2e.Map,E2e=_2e.OrderedMap,C2e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||b2e(),data:x2e(r),characterList:S2e(e,t)}},S2e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return m2e(y2e(n,r||[]),v2e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s2e({},e,{key:t[e.key]})}))))},D2e=function(e){return s2e({},e,{key:e.key||b2e()})},P2e=function(e,t,n){var i=t.map((function(e){return s2e({},e,{parentRef:n})}));return e.concat(i.reverse())},T2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=k2e&&!n?p2e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!k2e)return function(e,t){return E2e(e.map((function(e){var n=new u2e(C2e(e,t));return[n.getKey(),n]})))}(n?p2e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(D2e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):w2e(!1));var o=i.children.map(D2e),a=new c2e(s2e({},C2e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:F2e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=P2e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):w2e(!1));break}var p=l.children.map(D2e),h=new c2e(s2e({},C2e(l,t),{parent:u.getKey(),children:F2e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=P2e(s,p,h)}return n}),E2e())}(i,t);return"production"!==ma.env.NODE_ENV&&(h2e.isValidTree(r)||("production"!==ma.env.NODE_ENV?w2e(!1,"Should be a valid tree"):w2e(!1))),r},A2e=function(e){Array.isArray(e.blocks)||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentState"):w2e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=f2e.__create(r,o,a||{})})),n}(e),n=T2e(e,t),i=n.isEmpty()?new g2e:g2e.createEmpty(n.first().getKey());return new d2e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},L2e=EZe;var I2e=function(e){var t=L2e(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},M2e=I2e;var j2e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=M2e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},N2e={Editor:b1e,EditorBlock:iJe,EditorState:gHe,CompositeDecorator:qHe,Entity:VUe,EntityInstance:OUe,BlockMapBuilder:nBe,CharacterMetadata:fBe,ContentBlock:SBe,ContentState:_qe,RawDraftContentState:_1e,SelectionState:JUe,AtomicBlockUtils:BHe,KeyBindingUtil:vZe,Modifier:_Ue,RichUtils:JXe,DefaultDraftBlockRenderMap:YHe,DefaultDraftInlineStyle:JHe,convertFromHTML:DXe,convertFromRaw:A2e,convertToRaw:B1e,genKey:uGe,getDefaultKeyBinding:B0e,getVisibleSelectionRect:j2e};function O2e(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var R2e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},z2e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function B2e(e){return B2e="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},B2e(e)}var G2e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function U2e(e){if(-1!==G2e.indexOf(e.type))return k.default.renderToStaticMarkup(e);var t=k.default.renderToStaticMarkup(m.default.cloneElement(e,{},"\r")).split("\r");return zhe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),zhe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function q2e(e){return m.default.isValidElement(e)&&m.default.Children.count(e.props.children)>0}function H2e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(m.default.isValidElement(e)){if(q2e(e))return k.default.renderToStaticMarkup(e);var n=U2e(e);if(null!==t&&"object"===B2e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(zhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var W2e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(m.default.isValidElement(t)){var i=U2e(t);if("string"==typeof i)return 0;var r=i[n].length,o=m.default.Children.toArray(t.props.children)[0];return r+(o&&m.default.isValidElement(o)?e(o,n):0)}return"object"===B2e(t)&&t[n]?t[n].length:0},K2e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},V2e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K2e,i=YOe(e.text),r=n;if(n.__isMiddleware&&(r=n(K2e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(R2e),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=YOe(H2e(u,l)||l),d=W2e(u,"start"),f=W2e(u,"end"),p=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?O2e(t,n.offset,n.length,c.length,d,f):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=p(o),a=p(a),i=[].concat(YOe(i.slice(0,n.offset)),YOe(c),YOe(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},Y2e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},J2e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Q2e(e){switch(e){case"BOLD":return m.default.createElement("strong",null);case"ITALIC":return m.default.createElement("em",null);case"UNDERLINE":return m.default.createElement("u",null);case"CODE":return m.default.createElement("code",null);default:return{start:"",end:""}}}var Z2e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},$2e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return zhe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},X2e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},e3e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},t3e=function(e,t){return t.offset+t.length-(e.offset+e.length)},n3e=function(e,t){for(var n=0;n<e.length;){if(!t.every(e3e.bind(null,e[n])))return e.slice(n);n++}return[]},i3e=function(e,t,n){return t+H2e(e(n.style)).start},r3e=function(e,t,n){return H2e(e(n.style)).end+t},o3e=function(e){return function(t){return e(t)}};o3e.__isMiddleware=!0;var a3e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function s3e(e){return zhe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:m.default.isValidElement(e)?(t=e,m.default.isValidElement(t)&&m.default.Children.count(t.props.children)>0?k.default.renderToStaticMarkup(e):U2e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&m.default.isValidElement(e.element)?Object.assign({},e,U2e(e.element)):(zhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e);var t}function l3e(e,t){if(zhe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=U2e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(m.default.isValidElement(e.nest)){var o=U2e(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return zhe(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var u3e=["1","a","i"],c3e={unstyled:m.default.createElement("p",null),paragraph:m.default.createElement("p",null),"header-one":m.default.createElement("h1",null),"header-two":m.default.createElement("h2",null),"header-three":m.default.createElement("h3",null),"header-four":m.default.createElement("h4",null),"header-five":m.default.createElement("h5",null),"header-six":m.default.createElement("h6",null),blockquote:m.default.createElement("blockquote",null),"unordered-list-item":{element:m.default.createElement("li",null),nest:m.default.createElement("ul",null)},"ordered-list-item":{element:m.default.createElement("li",null),nest:function(e){var t=u3e[e%3];return m.default.createElement("ol",{type:t})}},media:m.default.createElement("figure",null),atomic:m.default.createElement("figure",null)},d3e=function(e,t){return t},f3e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?d3e:o;return function(e){var t;zhe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(a3e(c3e)):J2e(a3e(r),a3e(c3e));var i=N2e.convertToRaw(e),o=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=l3e(t(d),s).nestEnd,u+=l3e(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var f=o[o.length-1];l+=l3e(t(f),s).nestEnd,o=o.slice(0,-1)}else u+=l3e(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+l3e(t(n),s).nestEnd}),""),o=[];var p,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o3e;zhe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Q2e):J2e(Y2e(n),Y2e(Q2e));for(var i="",r=[],o=e.inlineStyleRanges.sort(R2e),a=YOe(e.text),s=0;s<a.length;s++){var l=X2e(s,o),u=Z2e(r,l),c=Z2e(l,r),d=Z2e(r,u),f=n3e(d,c),p=f.concat(c).sort(t3e),h=p.reduce(i3e.bind(null,t),"");i+=u.concat(f).reduce(r3e.bind(null,t),"")+h+a[s],r=(r=$2e(r,f.concat(u))).concat(p),zhe(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+H2e(t(n.style)).end}),i)}(V2e(function(e){for(var t=YOe(e.text),n=e.entityRanges.sort(R2e),i=e.inlineStyleRanges.sort(R2e),r="",o=function(e){var o=t[e];if(void 0!==z2e[o]){var a=z2e[o],s=YOe(r).length;r+=a;var l=function(e){return O2e(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),g=s3e(t(e));return p="string"==typeof g?g:g.start+h+g.end,0===h.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(p=m.default.isValidElement(g.empty)?k.default.renderToStaticMarkup(g.empty):g.empty),l+u+p})).join("");return s=o.reduce((function(e,n){return e+l3e(t(n),n.depth).nestEnd}),s)}},p3e={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:J(e)}function o(e){return a(e)&&!u(e)?e:Q(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function F(e){e&&(e.value=!0)}function x(){}function E(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return L(e,t,0)}function A(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",R=N||O;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function q(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[O]);if("function"==typeof t)return t}function K(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function J(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Q(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[R]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(J,V),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return de(this,e,t,!1)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Q,V),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=Q,V.Indexed=J;var Z,$,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 ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return K(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,J(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?J(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===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($)return $;$=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function ke(){throw TypeError("Abstract")}function Fe(){}function xe(){}function Ee(){}V.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,J),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,J),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,J),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 P(e,t,n)?this:new be(this._value,A(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,J),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(Fe,ke),t(xe,ke),t(Ee,ke),ke.Keyed=Fe,ke.Indexed=xe,ke.Set=Ee;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Se(n)}if("string"===t)return e.length>ze?Pe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Ae(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Oe,1073741824&Oe&&(Oe=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Re,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Oe=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,Fe),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return ot(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return ot(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return Ut(dn(this,e))},He.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ke,Ve="@@__IMMUTABLE_MAP__@@",Ye=He.prototype;function Je(e,t){this.ownerID=e,this.entries=t}function Qe(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 $e(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 it(e,t,n,i){var r=Object.create(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ke||(Ke=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Je(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(F(s),F(a),new Xe(t,i,[r,o]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Qe(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Xe(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Xe(e,De(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new Qe(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function ft(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}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,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:E(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function _t(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,Je.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Je.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Je(e,p)}},Qe.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+m,t,n,i)},Qe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=at(p,e,t+m,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=kt)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,_=c?h?yt(f,d,h,g):_t(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=_,this):new Qe(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+m,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<Ft)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(F(a),F(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(F(a),s?void F(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(F(o),lt(this,e,t,De(i),[i,r])))},Je.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,kt=v/2,Ft=v/4;function xt(e){var t=Mt();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return jt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return zt(this,0,-1)},xt.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])}))},xt.prototype.shift=function(){return zt(this,1)},xt.prototype.merge=function(){return Bt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},xt.prototype.setSize=function(e){return zt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,T(e,n),A(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===At?G():B(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=xt.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Dt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Ot(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-m,n))===o&&r===this.array.length-1)return this}var a=Ot(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Pt,Tt,At={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return At;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,o):r=Nt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,o);return c===u?e:((a=Ot(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(F(o),a=Ot(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Ot(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Rt(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=Ot(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Ot(g.array[b],i)}g.array[d>>>m&y]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var _=a>>>l&y;if(_!==f>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,h)}function Bt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Wt():qt(e)?e:Wt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=Ht(rt(),Mt()))}function Kt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Jt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(j,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(i,s,t.call(n,a[1],s,e),r)}))},i}function 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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():He()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var o=T(t,r),a=A(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(j,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===j?e:B(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(M,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?J(o):Q(o)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?J:Q).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=H(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function Fn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=He(o)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,He),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Ut.prototype.set=function(e,t){return Kt(this,e,t)},Ut.prototype.remove=function(e){return Kt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[h]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Yt,J),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Jt,Q),Jt.prototype.has=function(e){return this._iter.includes(e)},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Jt.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(Qt,Y),Qt.prototype.entrySeq=function(){return this._iter.toSeq()},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Qt.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 i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Jt.prototype.cacheResult=Qt.prototype.cacheResult=_n,t(Fn,Fe),Fn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},Fn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Fn.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},Fn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=En(this,rt()))},Fn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(this,n)},Fn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:En(this,t)},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Fn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=Fn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():Tn(e)&&!c(e)?e:Nn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Ln])}xn[g]=xn.remove,xn.deleteIn=xn.removeIn=Ye.removeIn,xn.merge=Ye.merge,xn.mergeWith=Ye.mergeWith,xn.mergeIn=Ye.mergeIn,xn.mergeDeep=Ye.mergeDeep,xn.mergeDeepWith=Ye.mergeDeepWith,xn.mergeDeepIn=Ye.mergeDeepIn,xn.setIn=Ye.setIn,xn.update=Ye.update,xn.updateIn=Ye.updateIn,xn.withMutations=Ye.withMutations,xn.asMutable=Ye.asMutable,xn.asImmutable=Ye.asImmutable,t(Pn,Ee),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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])},Pn.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)}))}))},Pn.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)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return On(dn(this,e))},Pn.prototype.sortBy=function(e,t){return On(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=Tn;var An,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return An||(An=jn(rt()))}function On(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(e){return Tn(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ye.withMutations,In.asMutable=Ye.asMutable,In.asImmutable=Ye.asImmutable,In.__empty=Nn,In.__make=jn,t(On,Pn),On.of=function(){return this(arguments)},On.fromKeys=function(e){return this(i(e).keySeq())},On.prototype.toString=function(){return this.__toString("OrderedSet {","}")},On.isOrderedSet=Rn;var zn,Bn=On.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Wt()))}function qn(e){return null==e?Jn():Hn(e)?e:Jn().unshiftAll(e)}function Hn(e){return!(!e||!e[Kn])}Bn[h]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Jn()},qn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Hn;var Wn,Kn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Jn(){return Wn||(Wn=Yn(0))}function Qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Kn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,Qn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return On(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Jt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Qt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=kn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(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?ni(e):oi)},minBy:function(e,t){return fn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Qn(i,{flip:function(){return gn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return E(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[R]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Qn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return gn(this,Xt(this,!1))},slice:function(e,t){return gn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=hn(this.toSeq(),J.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Qn(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,Qn(Y,i.prototype),Qn(J,r.prototype),Qn(Q,o.prototype),Qn(Fe,i.prototype),Qn(xe,r.prototype),Qn(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:He,OrderedMap:Ut,List:xt,Stack:qn,Set:Pn,OrderedSet:On,Record:Fn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(p3e);var h3e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function g3e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=h3e(e)):t=h3e(e);return t.body}var m3e=" ",v3e=new RegExp("\r","g"),y3e=new RegExp("\n","g"),b3e=new RegExp(" ","g"),_3e=new RegExp("\r","g"),w3e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],k3e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},F3e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},x3e=function(e,t,n){},E3e=function(e,t,n){return n},C3e=function(e,t){},S3e=function(e){return[]},D3e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function P3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p3e.exports.Map();return!0===n?{text:"\r",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function T3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p3e.exports.Map();return{text:"\r",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function A3e(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 L3e(e,t,n){return A3e(e,n)}function I3e(e,t,n){var i=k3e[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function M3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p3e.exports.OrderedSet();return I3e(e,t,n)}function j3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===m3e||"\n"===t.text)return e;i!==m3e&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function N3e(e,t,n,i,r,o,a,s,l,u,c,d,f,p,h,g){var m=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===m){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:m3e,inlines:[p3e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(y3e,m3e));var _=Array(b.length).fill(g),w=0;return l(b,c,d,f,p).sort(R2e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),_.splice.bind(_,o,i).apply(_,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:_,blocks:[]}}if("br"===m){var k=i;return null===k?P3e("unstyled",o,!0):P3e(k||"unstyled",o,h.flat)}var F={text:"",inlines:[],entities:[],blocks:[]};t=a(m,e,t=I3e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(o+=1),n=m,i=null);var x,E,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(x=C,E=p3e.exports.Map()):(x="string"==typeof C?C:C.type,E=C.data?p3e.exports.Map(C.data):p3e.exports.Map()),i||-1===r.indexOf(m)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,F=P3e(x,o,!0,E));else{var S=A3e(m,n);F=T3e(S,o),i=S,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else F=T3e(x||A3e(m,n),o,E),i=x||A3e(m,n),v=!0;var D=e.firstChild;null!=D||!g||"atomic"!==x&&"atomic"!==i||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var P=null;D;){P=s(m,D,c,d,f,p),F=j3e(F,N3e(D,t,n,i,r,o,a,s,l,u,c,d,f,p,h,P||g),h.flat);var T=D.nextSibling;if(T&&r.indexOf(m)>=0&&i){var A=u(m,D,n,i),L=void 0,I=void 0;!1!==A&&("string"==typeof(A=A||{})?(L=A,I=p3e.exports.Map()):(L=A.type||A3e(m,n),I=A.data?p3e.exports.Map(A.data):p3e.exports.Map()),F=j3e(F,P3e(L,o,h.flat,I),h.flat))}T&&(m=T.nodeName.toLowerCase()),D=T}return v&&(F=j3e(F,T3e(y,o,p3e.exports.Map()),h.flat)),F}function O3e(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(v3e,"").replace(b3e,m3e));if(!d)return null;var f=function(e){return w3e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?w3e.concat(["div"]):["div"],p=N3e(d,p3e.exports.OrderedSet(),"ul",null,f,-1,t,n,i,r,o,a,s,l,u);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:p3e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:p3e.exports.Map(),depth:0}),p}function R3e(e,t,n,i,r,o,a,s,l,u,c,d){var f=O3e(e,t,n,i,r,o,a,s,l,u,c);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(_3e,"");var n=p+e.length,i=D3e(f).inlines.slice(p,n),r=D3e(f).entities.slice(p,n),o=p3e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),N2e.CharacterMetadata.create(n)})));return p=n+1,new N2e.ContentBlock({key:d(),type:D3e(f).blocks[t].type,data:D3e(f).blocks[t].data,depth:D3e(f).blocks[t].depth,text:e,characterList:o})}))}var z3e=function(e){var t=e.htmlToStyle,n=void 0===t?E3e:t,i=e.htmlToEntity,r=void 0===i?C3e:i,o=e.textToEntity,a=void 0===o?S3e:o,s=e.htmlToBlock,l=void 0===s?x3e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g3e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N2e.genKey,s=N2e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():N2e.Entity.create.apply(N2e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):N2e.Entity.get.apply(N2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):N2e.Entity.mergeData.apply(N2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):N2e.Entity.replaceData.apply(N2e.Entity,arguments)},p=R3e(e,F3e(n,M3e),F3e(r,C3e),F3e(a,S3e),F3e(l,L3e),u,c,d,f,t,i,o),h=N2e.BlockMapBuilder.createFromArray(p),g=p[0].getKey();return s.merge({blockMap:h,selectionBefore:N2e.SelectionState.createEmpty(g),selectionAfter:N2e.SelectionState.createEmpty(g)})}},B3e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?z3e({}).apply(void 0,arguments):z3e.apply(void 0,arguments)};YK('/**\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 G3e=32,U3e=31,q3e={};function H3e(e){e&&(e.value=!0)}function W3e(){}function K3e(e){return void 0===e.size&&(e.size=e.__iterate(Y3e)),e.size}function V3e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?K3e(e)+t:t}function Y3e(){return!0}function J3e(e,t,n){return(0===e&&!X3e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Q3e(e,t){return $3e(e,t,0)}function Z3e(e,t){return $3e(e,t,t)}function $3e(e,t,n){return void 0===e?n:X3e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function X3e(e){return e<0||0===e&&1/e==-1/0}var e4e="@@__IMMUTABLE_ITERABLE__@@";function t4e(e){return Boolean(e&&e[e4e])}var n4e="@@__IMMUTABLE_KEYED__@@";function i4e(e){return Boolean(e&&e[n4e])}var r4e="@@__IMMUTABLE_INDEXED__@@";function o4e(e){return Boolean(e&&e[r4e])}function a4e(e){return i4e(e)||o4e(e)}var s4e=function(e){return t4e(e)?e:P4e(e)},l4e=function(e){function t(e){return i4e(e)?e:T4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e),u4e=function(e){function t(e){return o4e(e)?e:A4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e),c4e=function(e){function t(e){return t4e(e)&&!a4e(e)?e:L4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e);s4e.Keyed=l4e,s4e.Indexed=u4e,s4e.Set=c4e;var d4e="@@__IMMUTABLE_SEQ__@@";function f4e(e){return Boolean(e&&e[d4e])}function p4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function h4e(e){return t4e(e)||p4e(e)}var g4e="@@__IMMUTABLE_ORDERED__@@";function m4e(e){return Boolean(e&&e[g4e])}var v4e="function"==typeof Symbol&&Symbol.iterator,y4e="@@iterator",b4e=v4e||y4e,_4e=function(e){this.next=e};function w4e(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function k4e(){return{value:void 0,done:!0}}function F4e(e){return!!C4e(e)}function x4e(e){return e&&"function"==typeof e.next}function E4e(e){var t=C4e(e);return t&&t.call(e)}function C4e(e){var t=e&&(v4e&&e[v4e]||e["@@iterator"]);if("function"==typeof t)return t}_4e.prototype.toString=function(){return"[Iterator]"},_4e.KEYS=0,_4e.VALUES=1,_4e.ENTRIES=2,_4e.prototype.inspect=_4e.prototype.toSource=function(){return this.toString()},_4e.prototype[b4e]=function(){return this};var S4e=Object.prototype.hasOwnProperty;function D4e(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 P4e=function(e){function t(e){return null==e?O4e():h4e(e)?e.toSeq():function(e){var t=B4e(e);if(t)return t;if("object"==typeof e)return new M4e(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new _4e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return w4e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(s4e),T4e=function(e){function t(e){return null==e?O4e().toKeyedSeq():t4e(e)?i4e(e)?e.toSeq():e.fromEntrySeq():p4e(e)?e.toSeq():R4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(P4e),A4e=function(e){function t(e){return null==e?O4e():t4e(e)?i4e(e)?e.entrySeq():e.toIndexedSeq():p4e(e)?e.toSeq().entrySeq():z4e(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}(P4e),L4e=function(e){function t(e){return(t4e(e)&&!a4e(e)?e:A4e(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}(P4e);P4e.isSeq=f4e,P4e.Keyed=T4e,P4e.Set=L4e,P4e.Indexed=A4e,P4e.prototype[d4e]=!0;var I4e=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[V3e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new _4e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return w4e(e,o,n[o])}))},t}(A4e),M4e=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 S4e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new _4e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return w4e(e,a,n[a])}))},t}(T4e);M4e.prototype[g4e]=!0;var j4e,N4e=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=E4e(this._collection),i=0;if(x4e(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=E4e(this._collection);if(!x4e(n))return new _4e(k4e);var i=0;return new _4e((function(){var t=n.next();return t.done?t:w4e(e,i++,t.value)}))},t}(A4e);function O4e(){return j4e||(j4e=new I4e([]))}function R4e(e){var t=Array.isArray(e)?new I4e(e):F4e(e)?new N4e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new M4e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function z4e(e){var t=B4e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function B4e(e){return D4e(e)?new I4e(e):F4e(e)?new N4e(e):void 0}var G4e="@@__IMMUTABLE_MAP__@@";function U4e(e){return Boolean(e&&e[G4e])}function q4e(e){return U4e(e)&&m4e(e)}function H4e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function W4e(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!!(H4e(e)&&H4e(t)&&e.equals(t))}var K4e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function V4e(e){return e>>>1&1073741824|3221225471&e}var Y4e=Object.prototype.valueOf;function J4e(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 V4e(t)}(e);case"string":return e.length>i6e?function(e){var t=a6e[e];void 0===t&&(t=Q4e(e),o6e===r6e&&(o6e=0,a6e={}),o6e++,a6e[e]=t);return t}(e):Q4e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?V4e(e.hashCode(e)):(e.valueOf!==Y4e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(e6e&&void 0!==(t=X4e.get(e)))return t;if(void 0!==(t=e[n6e]))return t;if(!$4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[n6e]))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=++t6e,1073741824&t6e&&(t6e=0);if(e6e)X4e.set(e,t);else{if(void 0!==Z4e&&!1===Z4e(e))throw new Error("Non-extensible objects are not allowed as keys.");if($4e)Object.defineProperty(e,n6e,{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[n6e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[n6e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Q4e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Q4e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return V4e(t)}var Z4e=Object.isExtensible,$4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var X4e,e6e="function"==typeof WeakMap;e6e&&(X4e=new WeakMap);var t6e=0,n6e="__immutablehash__";"function"==typeof Symbol&&(n6e=Symbol(n6e));var i6e=16,r6e=255,o6e=0,a6e={},s6e=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=p6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=f6e(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(T4e);s6e.prototype[g4e]=!0;var l6e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&K3e(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&K3e(this),new _4e((function(){var o=i.next();return o.done?o:w4e(e,t?n.size-++r:r++,o.value,o)}))},t}(A4e),u6e=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 _4e((function(){var t=n.next();return t.done?t:w4e(e,t.value,t.value,t)}))},t}(L4e),c6e=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){x6e(t);var i=t4e(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _4e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){x6e(i);var r=t4e(i);return w4e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(T4e);function d6e(e){var t=C6e(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=S6e,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new _4e((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function f6e(e,t,n){var i=C6e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,q3e);return o===q3e?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new _4e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return w4e(i,s,t.call(n,a[1],s,e),r)}))},i}function p6e(e,t){var n=this,i=C6e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=d6e(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=S6e,i.__iterate=function(n,i){var r=this,o=0;return i&&K3e(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&K3e(e);var a=e.__iterator(2,!r);return new _4e((function(){var e=a.next();if(e.done)return e;var s=e.value;return w4e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function h6e(e,t,n,i){var r=C6e(e);return i&&(r.has=function(i){var r=e.get(i,q3e);return r!==q3e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,q3e);return o!==q3e&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new _4e((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return w4e(r,i?u:s++,c,o)}}))},r}function g6e(e,t,n,i){var r=e.size;if(J3e(t,n,r))return e;var o=Q3e(t,r),a=Z3e(n,r);if(o!=o||a!=a)return g6e(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=C6e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&f4e(e)&&s>=0&&(u.get=function(t,n){return(t=V3e(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new _4e(k4e);var r=e.__iterator(t,n),a=0,l=0;return new _4e((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:w4e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function m6e(e,t,n,i){var r=C6e(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new _4e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:w4e(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:w4e(r,o,c,e)}))},r}function v6e(e,t){var n=i4e(e),i=[e].concat(t).map((function(e){return t4e(e)?n&&(e=l4e(e)):e=n?R4e(e):z4e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&i4e(r)||o4e(e)&&o4e(r))return r}var o=new I4e(i);return n?o=o.toKeyedSeq():o4e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function y6e(e,t,n){var i=C6e(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&t4e(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new _4e((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!t4e(l))return n?e:w4e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function b6e(e,t,n){t||(t=D6e);var i=i4e(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?T4e(o):o4e(e)?A4e(o):L4e(o)}function _6e(e,t,n){if(t||(t=D6e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return w6e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return w6e(t,e,n)?n:e}))}function w6e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function k6e(e,t,n,i){var r=C6e(e),o=new I4e(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=s4e(e),E4e(r?e.reverse():e)})),a=0,s=!1;return new _4e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:w4e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function F6e(e,t){return e===t?e:f4e(e)?t:e.constructor(t)}function x6e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function E6e(e){return i4e(e)?l4e:o4e(e)?u4e:c4e}function C6e(e){return Object.create((i4e(e)?T4e:o4e(e)?A4e:L4e).prototype)}function S6e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):P4e.prototype.cacheResult.call(this)}function D6e(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 P6e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function T6e(e,t){if(!e)throw new Error(t)}function A6e(e){T6e(e!==1/0,"Cannot perform this action with an infinite size.")}function L6e(e){if(D4e(e)&&"string"!=typeof e)return e;if(m4e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function I6e(e){return"object"==typeof e&&(h4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function M6e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function j6e(e,t,n){return h4e(e)?e.get(t,n):function(e,t){return h4e(e)?e.has(t):I6e(e)&&S4e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function N6e(e){if(Array.isArray(e))return P6e(e);var t={};for(var n in e)S4e.call(e,n)&&(t[n]=e[n]);return t}function O6e(e,t,n,i){i||(i=n,n=void 0);var r=R6e(h4e(e),e,L6e(t),0,n,i);return r===q3e?n:r}function R6e(e,t,n,i,r,o){var a=t===q3e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!I6e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(M6e)+"]: "+t);var u=n[i],c=a?q3e:j6e(t,u,q3e),d=R6e(c===q3e?e:h4e(c),c,n,i+1,r,o);return d===c?t:d===q3e?function(e,t){if(!I6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(h4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!S4e.call(e,t))return e;var n=N6e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!I6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(h4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(S4e.call(e,t)&&n===e[t])return e;var i=N6e(e);return i[t]=n,i}(a?e?d5e():{}:t,u,d)}function z6e(e,t){return function(e,t,n){return O6e(e,t,q3e,(function(){return n}))}(this,e,t)}function B6e(e){return function(e,t){return O6e(e,t,(function(){return q3e}))}(this,e)}function G6e(e,t,n,i){return O6e(e,[t],n,i)}function U6e(e,t,n){return 1===arguments.length?e(this):G6e(this,e,t,n)}function q6e(e,t,n){return O6e(this,e,t,n)}function H6e(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=l4e(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){G6e(e,i,q3e,(function(e){return e===q3e?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function W6e(e,t,n){return K6e(e,t,function(e){function t(n,i,r){return I6e(n)&&I6e(i)?K6e(n,[i],t):e?e(n,i,r):i}return t}(n))}function K6e(e,t,n){if(!I6e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(h4e(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?u4e:l4e,a=i?function(t){r===e&&(r=N6e(r)),r.push(t)}:function(t,i){var o=S4e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=N6e(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function V6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O6e(this,e,d5e(),(function(e){return K6e(e,t)}))}function Y6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O6e(this,e,d5e(),(function(e){return W6e(e,t)}))}function J6e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Q6e(){return this.__ownerID?this:this.__ensureOwner(new W3e)}function Z6e(){return this.__ensureOwner()}function $6e(){return this.__altered}l6e.prototype.cacheResult=s6e.prototype.cacheResult=u6e.prototype.cacheResult=c6e.prototype.cacheResult=S6e;var X6e=function(e){function t(t){return null==t?d5e():U4e(t)&&!m4e(t)?t:d5e().withMutations((function(n){var i=e(t);A6e(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return d5e().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 f5e(this,e,t)},t.prototype.remove=function(e){return f5e(this,e,q3e)},t.prototype.deleteAll=function(e){var t=s4e(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):d5e()},t.prototype.sort=function(e){return O5e(b6e(this,e))},t.prototype.sortBy=function(e,t){return O5e(b6e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new s5e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?c5e(this.size,this._root,e,this.__hash):0===this.size?d5e():(this.__ownerID=e,this.__altered=!1,this)},t}(l4e);X6e.isMap=U4e;var e5e=X6e.prototype;e5e[G4e]=!0,e5e.delete=e5e.remove,e5e.removeAll=e5e.deleteAll,e5e.setIn=z6e,e5e.removeIn=e5e.deleteIn=B6e,e5e.update=U6e,e5e.updateIn=q6e,e5e.merge=e5e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return H6e(this,e)},e5e.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 H6e(this,t,e)},e5e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return W6e(this,e)},e5e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return W6e(this,t,e)},e5e.mergeIn=V6e,e5e.mergeDeepIn=Y6e,e5e.withMutations=J6e,e5e.wasAltered=$6e,e5e.asImmutable=Z6e,e5e["@@transducer/init"]=e5e.asMutable=Q6e,e5e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},e5e["@@transducer/result"]=function(e){return e.asImmutable()};var t5e=function(e,t){this.ownerID=e,this.entries=t};t5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(W4e(n,r[o][0]))return r[o][1];return i},t5e.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===q3e,l=this.entries,u=0,c=l.length;u<c&&!W4e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(H3e(a),(s||!d)&&H3e(o),!s||1!==l.length){if(!d&&!s&&l.length>=y5e)return function(e,t,n,i){e||(e=new W3e);for(var r=new o5e(e,J4e(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:P6e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new t5e(e,p)}};var n5e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};n5e.prototype.get=function(e,t,n,i){void 0===t&&(t=J4e(n));var r=1<<((0===e?t:t>>>e)&U3e),o=this.bitmap;return 0==(o&r)?i:this.nodes[m5e(o&r-1)].get(e+5,t,n,i)},n5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=(0===t?n:n>>>t)&U3e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===q3e)return this;var d=m5e(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=p5e(p,e,t+5,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=b5e)return function(e,t,n,i,r){for(var o=0,a=new Array(G3e),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new i5e(e,o+1,a)}(e,f,u,s,h);if(c&&!h&&2===f.length&&h5e(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&h5e(h))return h;var g=e&&e===this.ownerID,m=c?h?u:u^l:u|l,v=c?h?v5e(f,d,h,g):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(f,d,g):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,g);return g?(this.bitmap=m,this.nodes=v,this):new n5e(e,m,v)};var i5e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};i5e.prototype.get=function(e,t,n,i){void 0===t&&(t=J4e(n));var r=(0===e?t:t>>>e)&U3e,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},i5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=(0===t?n:n>>>t)&U3e,l=r===q3e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=p5e(c,e,t+5,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<_5e)return function(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new n5e(e,r,a)}(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=v5e(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new i5e(e,f,h)};var r5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};r5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(W4e(n,r[o][0]))return r[o][1];return i},r5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=r===q3e;if(n!==this.keyHash)return s?this:(H3e(a),H3e(o),g5e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!W4e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(H3e(a),(s||!d)&&H3e(o),s&&2===c)return new o5e(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:P6e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new r5e(e,this.keyHash,p)};var o5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};o5e.prototype.get=function(e,t,n,i){return W4e(n,this.entry[0])?this.entry[1]:i},o5e.prototype.update=function(e,t,n,i,r,o,a){var s=r===q3e,l=W4e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(H3e(a),s?void H3e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new o5e(e,this.keyHash,[i,r]):(H3e(o),g5e(this,e,t,J4e(i),[i,r])))},t5e.prototype.iterate=r5e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},n5e.prototype.iterate=i5e.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},o5e.prototype.iterate=function(e,t){return e(this.entry)};var a5e,s5e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&u5e(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return l5e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return l5e(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return l5e(e,o.entry);t=this._stack=u5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(_4e);function l5e(e,t){return w4e(e,t[0],t[1])}function u5e(e,t){return{node:e,index:0,__prev:t}}function c5e(e,t,n,i){var r=Object.create(e5e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function d5e(){return a5e||(a5e=c5e(0))}function f5e(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=p5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===q3e?-1:1:0)}else{if(n===q3e)return e;r=1,i=new t5e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?c5e(r,i):d5e()}function p5e(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===q3e?e:(H3e(s),H3e(a),new o5e(t,i,[r,o]))}function h5e(e){return e.constructor===o5e||e.constructor===r5e}function g5e(e,t,n,i,r){if(e.keyHash===i)return new r5e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&U3e,s=(0===n?i:i>>>n)&U3e,l=a===s?[g5e(e,t,n+5,i,r)]:(o=new o5e(t,i,r),a<s?[e,o]:[o,e]);return new n5e(t,1<<a|1<<s,l)}function m5e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function v5e(e,t,n,i){var r=i?e:P6e(e);return r[t]=n,r}var y5e=8,b5e=16,_5e=8,w5e="@@__IMMUTABLE_LIST__@@";function k5e(e){return Boolean(e&&e[w5e])}var F5e=function(e){function t(t){var n=T5e();if(null==t)return n;if(k5e(t))return t;var i=e(t),r=i.size;return 0===r?n:(A6e(r),r>0&&r<G3e?P5e(0,r,5,null,new E5e(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=V3e(this,e))>=0&&e<this.size){var n=I5e(this,e+=this._origin);return n&&n.array[e&U3e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=V3e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?M5e(e,t).set(0,n):M5e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=j5e(e._capacity)?i=A5e(i,e.__ownerID,0,t,n,o):r=A5e(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return P5e(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):T5e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){M5e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return M5e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){M5e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return M5e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&F4e(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return M5e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return J3e(e,t,n)?this:M5e(this,Q3e(e,n),Z3e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=D5e(this,t);return new _4e((function(){var r=i();return r===S5e?{value:void 0,done:!0}:w4e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=D5e(this,t);(n=r())!==S5e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?P5e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?T5e():(this.__ownerID=e,this.__altered=!1,this)},t}(u4e);F5e.isList=k5e;var x5e=F5e.prototype;x5e[w5e]=!0,x5e.delete=x5e.remove,x5e.merge=x5e.concat,x5e.setIn=z6e,x5e.deleteIn=x5e.removeIn=B6e,x5e.update=U6e,x5e.updateIn=q6e,x5e.mergeIn=V6e,x5e.mergeDeepIn=Y6e,x5e.withMutations=J6e,x5e.wasAltered=$6e,x5e.asImmutable=Z6e,x5e["@@transducer/init"]=x5e.asMutable=Q6e,x5e["@@transducer/step"]=function(e,t){return e.push(t)},x5e["@@transducer/result"]=function(e){return e.asImmutable()};var E5e=function(e,t){this.array=e,this.ownerID=t};E5e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&U3e;if(i>=this.array.length)return new E5e([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=L5e(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},E5e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&U3e;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=L5e(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var C5e,S5e={};function D5e(e,t){var n=e._origin,i=e._capacity,r=j5e(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>G3e&&(u=G3e);return function(){if(l===u)return S5e;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>G3e&&(c=G3e);return function(){for(;;){if(s){var e=s();if(e!==S5e)return e;s=null}if(u===c)return S5e;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function P5e(e,t,n,i,r,o,a){var s=Object.create(x5e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function T5e(){return C5e||(C5e=P5e(0,0,5))}function A5e(e,t,n,i,r,o){var a,s=i>>>n&U3e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=A5e(u,t,n-5,i,r,o);return c===u?e:((a=L5e(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&H3e(o),a=L5e(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function L5e(e,t){return t&&e&&t===e.ownerID?e:new E5e(e?e.array.slice():[],t)}function I5e(e,t){if(t>=j5e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&U3e],i-=5;return n}}function M5e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new W3e,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new E5e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=j5e(o),f=j5e(s);f>=1<<l+5;)u=new E5e(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,h=f<d?I5e(e,s-1):f>d?new E5e([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=L5e(u,i),m=l;m>5;m-=5){var v=d>>>m&U3e;g=g.array[v]=L5e(g.array[v],i)}g.array[d>>>5&U3e]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=5,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var y=a>>>l&U3e;if(y!==f>>>l&U3e)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):P5e(a,s,l,u,h)}function j5e(e){return e<G3e?0:e-1>>>5<<5}var N5e,O5e=function(e){function t(e){return null==e?z5e():q4e(e)?e:z5e().withMutations((function(t){var n=l4e(e);A6e(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):z5e()},t.prototype.set=function(e,t){return B5e(this,e,t)},t.prototype.remove=function(e){return B5e(this,e,q3e)},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?R5e(t,n,e,this.__hash):0===this.size?z5e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(X6e);function R5e(e,t,n,i){var r=Object.create(O5e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function z5e(){return N5e||(N5e=R5e(d5e(),T5e()))}function B5e(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===q3e){if(!l)return e;a.size>=G3e&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):R5e(i,r)}O5e.isOrderedMap=q4e,O5e.prototype[g4e]=!0,O5e.prototype.delete=O5e.prototype.remove;var G5e="@@__IMMUTABLE_STACK__@@";function U5e(e){return Boolean(e&&e[G5e])}var q5e=function(e){function t(e){return null==e?V5e():U5e(e)?e:V5e().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=V3e(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):K5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&U5e(t))return t;A6e(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):K5e(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):V5e()},t.prototype.slice=function(t,n){if(J3e(t,n,this.size))return this;var i=Q3e(t,this.size);if(Z3e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):K5e(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?K5e(this.size,this._head,e,this.__hash):0===this.size?V5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new I4e(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new I4e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new _4e((function(){if(i){var t=i.value;return i=i.next,w4e(e,n++,t)}return{value:void 0,done:!0}}))},t}(u4e);q5e.isStack=U5e;var H5e,W5e=q5e.prototype;function K5e(e,t,n,i){var r=Object.create(W5e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function V5e(){return H5e||(H5e=K5e(0))}W5e[G5e]=!0,W5e.shift=W5e.pop,W5e.unshift=W5e.push,W5e.unshiftAll=W5e.pushAll,W5e.withMutations=J6e,W5e.wasAltered=$6e,W5e.asImmutable=Z6e,W5e["@@transducer/init"]=W5e.asMutable=Q6e,W5e["@@transducer/step"]=function(e,t){return e.unshift(t)},W5e["@@transducer/result"]=function(e){return e.asImmutable()};var Y5e="@@__IMMUTABLE_SET__@@";function J5e(e){return Boolean(e&&e[Y5e])}function Q5e(e){return J5e(e)&&m4e(e)}function Z5e(e,t){if(e===t)return!0;if(!t4e(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||i4e(e)!==i4e(t)||o4e(e)!==o4e(t)||m4e(e)!==m4e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!a4e(e);if(m4e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&W4e(r[1],e)&&(n||W4e(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!W4e(t,e.get(i,q3e)):!W4e(e.get(i,q3e),t))return a=!1,!1}));return a&&e.size===s}function $5e(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 X5e(e){if(!e||"object"!=typeof e)return e;if(!t4e(e)){if(!I6e(e))return e;e=P4e(e)}if(i4e(e)){var t={};return e.__iterate((function(e,n){t[n]=X5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(X5e(e))})),n}var e9e=function(e){function t(t){return null==t?o9e():J5e(t)&&!m4e(t)?t:o9e().withMutations((function(n){var i=e(t);A6e(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(l4e(e).keySeq())},t.intersect=function(e){return(e=s4e(e).toArray()).length?n9e.intersect.apply(t(e.pop()),e):o9e()},t.union=function(e){return(e=s4e(e).toArray()).length?n9e.union.apply(t(e.pop()),e):o9e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return i9e(this,this._map.set(e,e))},t.prototype.remove=function(e){return i9e(this,this._map.remove(e))},t.prototype.clear=function(){return i9e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return w9e(b6e(this,e))},t.prototype.sortBy=function(e,t){return w9e(b6e(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}(c4e);e9e.isSet=J5e;var t9e,n9e=e9e.prototype;function i9e(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 r9e(e,t){var n=Object.create(n9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function o9e(){return t9e||(t9e=r9e(d5e()))}n9e[Y5e]=!0,n9e.delete=n9e.remove,n9e.merge=n9e.concat=n9e.union,n9e.withMutations=J6e,n9e.asImmutable=Z6e,n9e["@@transducer/init"]=n9e.asMutable=Q6e,n9e["@@transducer/step"]=function(e,t){return e.add(t)},n9e["@@transducer/result"]=function(e){return e.asImmutable()},n9e.__empty=o9e,n9e.__make=r9e;var a9e,s9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(T6e(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(a9e)return a9e;a9e=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+V3e(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 J3e(e,n,this.size)?this:(e=Q3e(e,this.size),(n=Z3e(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new _4e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,w4e(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:Z5e(this,e)},t}(A4e);function l9e(e,t,n){for(var i=L6e(t),r=0;r!==i.length;)if((e=j6e(e,i[r++],q3e))===q3e)return n;return e}function u9e(){A6e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}s4e.isIterable=t4e,s4e.isKeyed=i4e,s4e.isIndexed=o4e,s4e.isAssociative=a4e,s4e.isOrdered=m4e,s4e.Iterator=_4e,$5e(s4e,{toArray:function(){A6e(this.size);var e=new Array(this.size||0),t=i4e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new l6e(this)},toJS:function(){return X5e(this)},toKeyedSeq:function(){return new s6e(this,!0)},toMap:function(){return X6e(this.toKeyedSeq())},toObject:u9e,toOrderedMap:function(){return O5e(this.toKeyedSeq())},toOrderedSet:function(){return w9e(i4e(this)?this.valueSeq():this)},toSet:function(){return e9e(i4e(this)?this.valueSeq():this)},toSetSeq:function(){return new u6e(this)},toSeq:function(){return o4e(this)?this.toIndexedSeq():i4e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return q5e(i4e(this)?this.valueSeq():this)},toList:function(){return F5e(i4e(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 F6e(this,v6e(this,e))},includes:function(e){return this.some((function(t){return W4e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){A6e(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return F6e(this,h6e(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return A6e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){A6e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return F6e(this,f6e(this,e,t))},reduce:function(e,t,n){return p9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return p9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return F6e(this,p6e(this,!0))},slice:function(e,t){return F6e(this,g6e(this,e,t,!0))},some:function(e,t){return!this.every(m9e(e),t)},sort:function(e){return F6e(this,b6e(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 K3e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=X6e().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Z5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new I4e(e._cache);var t=e.toSeq().map(g9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(m9e(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(Y3e,null,e)},flatMap:function(e,t){return F6e(this,function(e,t,n){var i=E6e(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return F6e(this,y6e(this,e,!0))},fromEntrySeq:function(){return new c6e(this)},get:function(e,t){return this.find((function(t,n){return W4e(n,e)}),void 0,t)},getIn:function(e,t){return l9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=i4e(e),r=(m4e(e)?O5e():X6e()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=E6e(e);return r.map((function(t){return F6e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,q3e)!==q3e},hasIn:function(e){return function(e,t){return l9e(e,t,q3e)!==q3e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:s4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:s4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return W4e(t,e)}))},keySeq:function(){return this.toSeq().map(h9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return _6e(this,e)},maxBy:function(e,t){return _6e(this,t,e)},min:function(e){return _6e(this,e?v9e(e):b9e)},minBy:function(e,t){return _6e(this,t?v9e(t):b9e,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 F6e(this,m6e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(m9e(e),t)},sortBy:function(e,t){return F6e(this,b6e(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 F6e(this,function(e,t,n){var i=C6e(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new _4e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:w4e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(m9e(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=m4e(e),n=i4e(e),i=t?1:0;return function(e,t){return t=K4e(t,3432918353),t=K4e(t<<15|t>>>-15,461845907),t=K4e(t<<13|t>>>-13,5),t=K4e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=V4e((t=K4e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+_9e(J4e(e),J4e(t))|0}:function(e,t){i=i+_9e(J4e(e),J4e(t))|0}:t?function(e){i=31*i+J4e(e)|0}:function(e){i=i+J4e(e)|0}),i)}(this))}});var c9e=s4e.prototype;c9e[e4e]=!0,c9e[b4e]=c9e.values,c9e.toJSON=c9e.toArray,c9e.__toStringMapper=M6e,c9e.inspect=c9e.toSource=function(){return this.toString()},c9e.chain=c9e.flatMap,c9e.contains=c9e.includes,$5e(l4e,{flip:function(){return F6e(this,d6e(this))},mapEntries:function(e,t){var n=this,i=0;return F6e(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return F6e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var d9e=l4e.prototype;d9e[n4e]=!0,d9e[b4e]=c9e.entries,d9e.toJSON=u9e,d9e.__toStringMapper=function(e,t){return M6e(t)+": "+M6e(e)},$5e(u4e,{toKeyedSeq:function(){return new s6e(this,!1)},filter:function(e,t){return F6e(this,h6e(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 F6e(this,p6e(this,!1))},slice:function(e,t){return F6e(this,g6e(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=Q3e(e,e<0?this.count():this.size);var i=this.slice(0,e);return F6e(this,1===n?i:i.concat(P6e(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 F6e(this,y6e(this,e,!1))},get:function(e,t){return(e=V3e(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=V3e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return F6e(this,function(e,t){var n=C6e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new _4e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?w4e(n,a++,t):w4e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(P6e(arguments)),t=k6e(this.toSeq(),A4e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),F6e(this,n)},keySeq:function(){return s9e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return F6e(this,m6e(this,e,t,!1))},zip:function(){var e=[this].concat(P6e(arguments));return F6e(this,k6e(this,y9e,e))},zipAll:function(){var e=[this].concat(P6e(arguments));return F6e(this,k6e(this,y9e,e,!0))},zipWith:function(e){var t=P6e(arguments);return t[0]=this,F6e(this,k6e(this,e,t))}});var f9e=u4e.prototype;function p9e(e,t,n,i,r,o){return A6e(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function h9e(e,t){return t}function g9e(e,t){return[t,e]}function m9e(e){return function(){return!e.apply(this,arguments)}}function v9e(e){return function(){return-e.apply(this,arguments)}}function y9e(){return P6e(arguments)}function b9e(e,t){return e<t?1:e>t?-1:0}function _9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}f9e[r4e]=!0,f9e[g4e]=!0,$5e(c4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),c4e.prototype.has=c9e.includes,c4e.prototype.contains=c4e.prototype.includes,$5e(T4e,l4e.prototype),$5e(A4e,u4e.prototype),$5e(L4e,c4e.prototype);var w9e=function(e){function t(e){return null==e?E9e():Q5e(e)?e:E9e().withMutations((function(t){var n=c4e(e);A6e(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(l4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(e9e);w9e.isOrderedSet=Q5e;var k9e,F9e=w9e.prototype;function x9e(e,t){var n=Object.create(F9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function E9e(){return k9e||(k9e=x9e(z5e()))}F9e[g4e]=!0,F9e.zip=f9e.zip,F9e.zipWith=f9e.zipWith,F9e.__empty=E9e,F9e.__make=x9e;var C9e={exports:{}};
|
|
163
|
+
*/function fNe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var pNe=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,r=fNe(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))cNe.call(n,a)&&(r[a]=n[a]);if(uNe){i=uNe(n);for(var s=0;s<i.length;s++)dNe.call(n,i[s])&&(r[i[s]]=n[i[s]])}}return r},hNe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gNe=function(){};if("production"!==process.env.NODE_ENV){var mNe=hNe,vNe={},yNe=Function.call.bind(Object.prototype.hasOwnProperty);gNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function bNe(e,t,n,i,r){if("production"!==process.env.NODE_ENV)for(var o in e)if(yNe(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((i||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,i,n,null,mNe)}catch(e){a=e}if(!a||a instanceof Error||gNe((i||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in vNe)){vNe[a.message]=!0;var l=r?r():"";gNe("Failed "+n+" type: "+a.message+(null!=l?l:""))}}}bNe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(vNe={})};var _Ne=bNe,wNe=w.default,kNe=pNe,FNe=hNe,xNe=_Ne,ENe=Function.call.bind(Object.prototype.hasOwnProperty),CNe=function(){};function SNe(){return null}"production"!==process.env.NODE_ENV&&(CNe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function DNe(){}function PNe(){}PNe.resetWarningCache=DNe;if("production"!==process.env.NODE_ENV){var TNe=w.default;lNe.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,i="<<anonymous>>",r={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:s(SNe),arrayOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new a("Invalid "+r+" `"+o+"` of type `"+c(s)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,i,r,o+"["+l+"]",FNe);if(u instanceof Error)return u}return null}))},element:s((function(t,n,i,r,o){var s=t[n];return e(s)?null:new a("Invalid "+r+" `"+o+"` of type `"+c(s)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:s((function(e,t,n,i,r){var o=e[t];return wNe.isValidElementType(o)?null:new a("Invalid "+i+" `"+r+"` of type `"+c(o)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return s((function(t,n,r,o,s){if(!(t[n]instanceof e)){var l=e.name||i;return new a("Invalid "+o+" `"+s+"` of type `"+((u=t[n]).constructor&&u.constructor.name?u.constructor.name:i)+"` supplied to `"+r+"`, expected instance of `"+l+"`.")}var u;return null}))},node:s((function(e,t,n,i,r){return u(e[t])?null:new a("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return s((function(t,n,i,r,o){if("function"!=typeof e)return new a("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(ENe(s,u)){var d=e(s,u,i,r,o+"."+u,FNe);if(d instanceof Error)return d}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&CNe(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."),SNe;function t(t,n,i,r,s){for(var l=t[n],u=0;u<e.length;u++)if(o(l,e[u]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===d(t)?String(t):t}));return new a("Invalid "+r+" `"+s+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+c+".")}return s(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&CNe("Invalid argument supplied to oneOfType, expected an instance of array."),SNe;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return CNe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),SNe}return s((function(t,n,i,r,o){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,n,i,r,o,FNe))return null;return new a("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var d=e[u];if(d){var f=d(s,u,i,r,o+"."+u,FNe);if(f)return f}}return null}))},exact:function(e){return s((function(t,n,i,r,o){var s=t[n],l=c(s);if("object"!==l)return new a("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=kNe({},t[n],e);for(var d in u){var f=e[d];if(!f)return new a("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=f(s,d,i,r,o+"."+d,FNe);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={},r=0;function o(o,s,l,u,c,d,f){if(u=u||i,d=d||l,f!==FNe){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=u+":"+l;!n[h]&&r<3&&(CNe("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[h]=!0,r++)}}return null==s[l]?o?null===s[l]?new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new a("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,l,u,c,d)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function l(e){return s((function(t,n,i,r,o,s){var l=t[n];return c(l)!==e?new a("Invalid "+r+" `"+o+"` of type `"+d(l)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!i)return!1;var r,o=i.call(t);if(i!==t.entries){for(;!(r=o.next()).done;)if(!u(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function d(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function 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,r.checkPropTypes=xNe,r.resetWarningCache=xNe.resetWarningCache,r.PropTypes=r,r}(TNe.isElement,!0)}else lNe.exports=function(){function e(e,t,n,i,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:PNe,resetWarningCache:DNe};return n.PropTypes=n,n}();var ANe=lNe.exports,LNe=Object.freeze({__proto__:null,useCurrentUser:g0,useAccountApi:o1,useAuthenticationContext:Hk,useEnvironmentConfig:Lg,useNotificationContext:W5,usePromise:Ok,LinkContext:bE,TextLink:cTe,logger:rm,createId:am,ResourceContext:SE,usePluginSettings:function(){var e=i.useContext(D4).settings;return null!=e?e:{}},usePluginStorage:L4,usePluginDeviceStore:L4,usePluginSubscriptionStore:function(){return i.useContext(D4).subscriptionStore},usePluginSubscriptionStoreValue:function(e,t){var n=this,r=i.useContext(D4).subscriptionStore,o=Ok((function(){return r.get(e).catch(M4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return pV(n,void 0,void 0,(function(){var n;return hV(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),M4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return pV(n,void 0,void 0,(function(){var t;return hV(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),M4(e)}))];case 1:return[2,n.sent()]}}))}))}}},usePluginUserStore:function(){return i.useContext(D4).userStore},usePluginUserStoreValue:function(e,t){var n=this,r=i.useContext(D4).userStore,o=Ok((function(){return r.get(e).catch(M4)}),void 0,gV(gV([],t||[]),[e])),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4];return{data:a,set:function(t){return pV(n,void 0,void 0,(function(){var n;return hV(this,(function(i){switch(i.label){case 0:return n=a?JSON.parse(JSON.stringify(a)):void 0,u(t),[4,r.set(e,t).catch((function(e){return u(n),M4(e)}))];case 1:return[2,i.sent()]}}))}))},isLoading:s,error:l,refresh:c,remove:function(){return pV(n,void 0,void 0,(function(){var t;return hV(this,(function(n){switch(n.label){case 0:return t=a?JSON.parse(JSON.stringify(a)):void 0,u(void 0),[4,r.delete(e).catch((function(e){return u(t),M4(e)}))];case 1:return[2,n.sent()]}}))}))}}},useReachApiEndPoints:function(){return{apiEndpoint:Ag().apiEndpoint}},AccountType:$X,PeoplePicker:owe,GutterToggle:J_e,EditorSettingsDialog:V_e,Spinner:a.Spinner,SelectionMode:a.SelectionMode,EditorHighlight:I_e,useTheme:function(){return i.useContext(y5).theme},useSubscriptionHandlePathBuilder:x4,useSubscriptionWebAppUrl:E4});var INe,MNe=[{name:"@reach/core",packageDefinition:Ghe({default:{}},LNe)}],jNe=[{name:"react",packageDefinition:Ghe(Ghe({},m.default),{default:m.default})},{name:"react-dom",packageDefinition:Ghe(Ghe({},_),{default:_})},{name:"react-is",packageDefinition:Ghe(Ghe({},w.default),{default:w.default})},{name:"prop-types",packageDefinition:Ghe({default:ANe},ANe)},{name:"react-router-dom",packageDefinition:Ghe({},v)},{name:"styled-components",packageDefinition:{default:y.default,createGlobalStyle:o.createGlobalStyle,css:o.css,useTheme:o.useTheme,isStyledComponent:o.isStyledComponent,keyframes:o.keyframes,withTheme:o.withTheme,ThemeProvider:o.ThemeProvider,ThemeContext:o.ThemeContext,ThemeConsumer:o.ThemeConsumer}},{name:"office-ui-fabric-react",packageDefinition:{default:{},Checkbox:a.Checkbox,Label:a.Label,PrimaryButton:a.PrimaryButton,Icon:a.Icon,Link:a.Link,TextField:a.TextField,ActionButton:a.ActionButton,IconButton:a.IconButton,DefaultButton:a.DefaultButton,Spinner:a.Spinner,Dropdown:a.Dropdown,ProgressIndicator:a.ProgressIndicator,Shimmer:a.Shimmer,ShimmerElementsGroup:a.ShimmerElementsGroup,ShimmerElementType:a.ShimmerElementType,DirectionalHint:a.DirectionalHint,PersonaSize:a.PersonaSize,TooltipHost:a.TooltipHost,DialogType:a.DialogType,Dialog:Yhe}},{name:"react-intl",packageDefinition:{default:{},FormattedMessage:hE,useIntl:Yx,FormattedDate:gE,FormattedTime:mE,IntlProvider:iE}},{name:"@apollo/client",packageDefinition:{default:{},gql:VM,useQuery:function(e,t){return fj(e,t,!1)},ApolloClient:zM,ApolloProvider:ij,from:hL,ApolloLink:pL,fromPromise:sL,split:gL,HttpLink:FL,InMemoryCache:bM,useLazyQuery:function(e,t){return fj(e,t,!0)},useMutation:function(e,t){var n=i.useContext(tj()),r=i.useState({called:!1,loading:!1}),o=r[0],a=r[1],s=t?xo(xo({},t),{mutation:e}):{mutation:e},l=i.useRef(),u=(l.current||(l.current=new uj({options:s,context:n,result:o,setResult:a})),l.current);return u.setOptions(s),u.context=n,i.useEffect((function(){return u.afterExecute()})),u.execute(o)},ApolloError:wM,useApolloClient:rj,useSubscription:function(e,t){var n=i.useReducer((function(e){return e+1}),0)[1],r=i.useContext(tj()),o=t?xo(xo({},t),{subscription:e}):{subscription:e},a=i.useState({loading:!o.skip,error:void 0,data:void 0}),s=a[0],l=a[1],u=i.useRef(),c=(u.current||(u.current=new lj({options:o,context:r,setResult:l})),u.current);return c.setOptions(o,!0),c.context=r,__DEV__&&dj(n),i.useEffect((function(){return c.afterExecute()})),i.useEffect((function(){return function(){c.cleanup(),u.current=void 0}}),[]),c.execute(s)}}},{name:"subscriptions-transport-ws",packageDefinition:{default:{},SubscriptionClient:gN}},{name:"@apollo/client/link/ws",packageDefinition:{default:{},WebSocketLink:PN}},{name:"@apollo/client/utilities",packageDefinition:{default:{},getMainDefinition:tA}},{name:"@apollo/client/link/context",packageDefinition:{default:{},setContext:pj}}],NNe=function(e){var n=e.color,r=e.onColorChange,o=e.className,s=i.useState(n),l=s[0],u=s[1];return i.useEffect((function(){u(n)}),[n]),t.jsx(ONe,Ghe({className:o},{children:t.jsx(a.ColorPicker,{alphaType:"none",color:l,onChange:function(e,t){return function(e){u(e),null==r||r(e)}(t.str)}},void 0)}),void 0)},ONe=y.default.div.withConfig({displayName:"ColorEditor__Host",componentId:"sc-add00t-0"})(INe||(INe=Khe(["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"],["\n .ms-ColorPicker-panel {\n padding: 0;\n }\n .ms-ColorPicker-table {\n table-layout: fixed;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n margin-top: ","px;\n margin-left: 0;\n }\n"])),k5),RNe=function(e){var n=e.onRequestToken,r=e.children,o=e.subscriptionId,a=i.useState(null),s=a[0],l=a[1],u=i.useMemo((function(){return{onRequestToken:null!=n?n:function(){return Promise.resolve(s)},getIsAuthenticated:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null!=n||null!=s]}))}))},getCurrentEmail:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},setToken:l,onHandleError:function(e,t){return Co(void 0,void 0,void 0,(function(){return So(this,(function(n){return rm.error(e,t),[2,Promise.reject(e)]}))}))}}}),[o,s]);return t.jsx(qk.Provider,xo({value:u},{children:r}),void 0)},zNe="0.4.0-preview.593",BNe="104212",GNe="4835ecd414d607c2007929d31d6d4bf8ddbc0fe2",UNe=V,qNe=z,HNe=Cn("match"),WNe=function(e){var t;return UNe(e)&&(void 0!==(t=e[HNe])?!!t:"RegExp"==qNe(e))},KNe=Cn("match"),VNe=function(e){if(WNe(e))throw TypeError("The method doesn't accept regular expressions");return e},YNe=q,JNe=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[KNe]=!1,"/./"[e](t)}catch(e){}}return!1};dn({target:"String",proto:!0,forced:!JNe("includes")},{includes:function(e){return!!~String(YNe(this)).indexOf(VNe(e),arguments.length>1?arguments[1]:void 0)}});var QNe,ZNe,$Ne={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"}},XNe={configType:"production",authentication:{azuread:{clientId:"d492530a-8cff-481c-90da-9c3c3f1be7da",apiScope:"api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",extraScopes:["https://graph.microsoft.com/User.Read","https://graph.microsoft.com/User.ReadBasic.All"]},b2c:{clientId:"cc9987a7-c666-4be1-a81c-f80dba7ef2e9",basePolicyUrl:"https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",signInPolicy:"B2C_1_SignInSignUpPolicy",forgotPasswordPolicy:"B2C_1_ResetPasswordPolicy",apiScope:"https://condenseappexternal.onmicrosoft.com/web/access_as_user"},teams:{clientId:"a7c1920d-3ac0-42db-9757-078a2b321fd8"}},apiEndpoint:"https://api.reach.livetiles.io/api/v1",api2Endpoint:"https://api.reach.livetiles.io/api/v2",api3Endpoint:"https://api.reach.livetiles.io/api/v3",webSocketsEndpoint:"wss://ws.reach.livetiles.io/api/v2",webAppUrl:"https://reach.livetiles.io",additionalWebAppUrls:["https://app.reach.livetiles.io","https://app.condense.ch"],appInsightsKey:"c4758fee-1409-47a9-a508-03efd775256c",canva:{apiKey:"mYnapNU5aDqD-1xEMFZkpdzT"},giphy:{apiKey:"jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"},oneSignal:{appId:"47a684a5-e9e0-4aaf-84b8-9f3e6585b292"}},eOe=["//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"],tOe=function(e){var n=e.children,r=Ag().apiEndpoint,o=i.useMemo((function(){return function(e){return"number"!=typeof e.maxFileSizeInMb&&(e.maxFileSizeInMb=parseInt(e.maxFileSizeInMb)),e}(function(){var e=!eOe.some((function(e){return r.toLowerCase().includes(e)}));if(!e)return rm.info("Will use non prod client config..."),xo({},$Ne);return xo(xo({},$Ne),XNe)}())}),[r]);return t.jsx(Hg.Provider,xo({value:o},{children:n}),void 0)},nOe=function(){function e(){this.storage={}}return e.prototype.remove=function(e){return delete this.storage[e],Promise.resolve()},e.prototype.clearAll=function(){return this.storage={},Promise.resolve()},e.prototype.getObject=function(e){var t;return Promise.resolve(null!==(t=this.storage[e])&&void 0!==t?t:null)},e.prototype.set=function(e,t){return this.storage[e]=t,Promise.resolve()},e.prototype.getString=function(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){switch(t.label){case 0:return[4,this.getObject(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.setString=function(e,t){return Co(this,void 0,void 0,(function(){return So(this,(function(n){switch(n.label){case 0:return[4,this.set(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.getAllKeys=function(){return Promise.resolve(Object.keys(this.storage))},e}(),iOe=new nOe,rOe=function(e){var n=e.subscriptionId,i=e.children;return e.shouldUsePublicAccess?t.jsx(oOe,xo({subscriptionId:n},{children:i}),void 0):t.jsx(t.Fragment,{children:i},void 0)},oOe=function(e){var n=e.subscriptionId,r=e.children,o=i.useContext(qk).setToken,a=wE(),s=function(){var e=rq().fetchFromApi,t=oq();return i.useMemo((function(){return{getSubscriptionBySubscriptionIdentifier:function(t){return e("/subscriptions/"+t).then((function(e){return e.status<=200?e.json():Promise.reject(e.status)}))},getTermsAndConditions:function(){return t.custom("subscriptions/current/terms_and_conditions").get().then((function(e){return e.body().data()}))}}}),[e,t])}().getSubscriptionBySubscriptionIdentifier,l=rq().fetchFromApi,u=i.useContext(yE),c=u.handleFatalError,d=u.handleAccessDeniedError,f=Ok((function(){return Co(this,void 0,void 0,(function(){var e,t,i;return So(this,(function(r){switch(r.label){case 0:return e="Reach::PublicAccessToken::"+n,[4,a.getString(e)];case 1:return(t=r.sent())?(o(t),[2,!0]):[4,s(n)];case 2:return r.sent().allowPublicAccess?[4,v(n)]:[3,5];case 3:return i=r.sent(),o(i),[4,a.setString(e,i)];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))}),!1,[n]),p=f[0],h=f[1],g=f[2];if(g)return rm.error(g),c({error:g}),null;if(h)return null;if(!p){var m={message:"Public access is not enabled for the subscription "+n+"!"};return rm.error(m.message),d({error:m}),null}return t.jsx(t.Fragment,{children:r},void 0);function v(e){return l("/subscriptions/"+e+"/public_access_token").then((function(e){return e.status<=200?e.text():Promise.reject(e.status)}))}},aOe=function(e){var n=e.children,r=i.useState(),o=r[0],a=r[1],s=i.useState(),l=s[0],u=s[1],c=i.useState(),d=c[0],f=c[1],p=i.useMemo((function(){return{handleFatalError:a,handleAccessDeniedError:u,handleNotFoundError:f}}),[a,u,f]);return t.jsx(yE.Provider,xo({value:p},{children:t.jsx(sOe,xo({fatalError:o,notFoundError:d,accessDeniedError:l},{children:n}),void 0)}),void 0)},sOe=function(e){var n=e.fatalError,i=e.accessDeniedError,r=e.notFoundError,o=e.children;return n?t.jsx(lOe,{messageId:n.messageId,error:n.error},void 0):i?t.jsx(lOe,{messageId:"AccessDenied.genericMessage",error:i.error},void 0):r?t.jsx(lOe,{messageId:"NotFound.message"},void 0):t.jsx(t.Fragment,{children:o},void 0)},lOe=function(e){var n=e.messageId,r=e.error,o=Yx().formatMessage,a=i.useState(!1),s=a[0],l=a[1];return t.jsx(Qje,xo({errorType:Yje.GenericError,alertText:o({id:n||"FatalError.genericMessage"}),onClick:function(){return l(!s)}},{children:s&&t.jsxs(uOe,{children:[t.jsx(hE,{id:"Generic.error.details"},void 0),t.jsx(cOe,{children:JSON.stringify(r)||"Not provided"},void 0)]},void 0)}),void 0)},uOe=y.default.div.withConfig({displayName:"ReachErrorProvider__DetailsContainer",componentId:"sc-15225g3-0"})(QNe||(QNe=jo(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),k5),cOe=y.default.p.withConfig({displayName:"ReachErrorProvider__Details",componentId:"sc-15225g3-1"})(ZNe||(ZNe=jo(["\n opacity: 0.4;\n font-size: small;\n"],["\n opacity: 0.4;\n font-size: small;\n"]))),dOe=function(e){var n=e.children,r=E4(),o=i.useMemo((function(){return{onShare:function(){return Co(void 0,void 0,void 0,(function(){return So(this,(function(e){return[2,null]}))}))},onOpenExternalLink:a,tryGetInternalLink:function(){return null},changeHistory:s}}),[]);return t.jsx(bE.Provider,xo({value:o},{children:n}),void 0);function a(e){window.open(e,"_blank")}function s(e){window.open(""+r+e)}},fOe=function(){return null},pOe=Object.freeze({__proto__:null,Page:fOe,NavLinkSidebarItem:fOe,PageMenuActionItem:fOe});!function(){if(window.__is_reach_app)return;if(console.info("Reach Component Library: "+zNe+" ("+BNe+") ["+GNe+"]"),window.__did_initialize_reach_context)return;a.initializeIcons()}();var hOe=function(e){var n,r=e.children,o=i.useContext(y5).setTheme,a=i.useContext(SE).changeSettings,s=a1().getCurrentUser,l=Ok((function(){var e,t;return Co(this,void 0,void 0,(function(){var n,i,r,l;return So(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,s()];case 1:return n=u.sent(),(null===(e=null==n?void 0:n.subscription)||void 0===e?void 0:e.theme)&&o(n.subscription.theme),i=hk(n.preferredUiLanguage,pk(),null===(t=n.subscription)||void 0===t?void 0:t.defaultLanguage),r=AIe(n),a(i,r).then((function(){return null}),rm.error),[2,n];case 2:throw l=u.sent(),rm.error(l),l;case 3:return[2]}}))}))})),u=l[0],c=l[1],d=l[2],f=l[3],p=i.useContext(yE),h=p.handleFatalError,g=p.handleNotFoundError,m=p.handleAccessDeniedError,v=i.useMemo((function(){return{user:u,refreshUser:function(e){return Promise.resolve(e&&f(e))}}}),[u]);return d?(403===(null===(n=null==d?void 0:d.response)||void 0===n?void 0:n.statusCode)?m({error:d}):h({error:d}),null):c?null:null==u?(g({}),null):t.jsx(p0.Provider,xo({value:v},{children:r}),void 0)},gOe=function(){return i.useEffect((function(){var e=document.createElement("style");e.innerHTML="@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');",document.head.appendChild(e)}),[]),t.jsxs(t.Fragment,{children:[t.jsx(wV,{},void 0),t.jsx(xV,{},void 0)]},void 0)};var mOe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,vOe=/[\0-\x1F\x7F-\x9F]/,yOe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,bOe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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 _Oe(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 wOe(e){return Object.prototype.toString.call(e)}function kOe(e){return"[object Function]"===wOe(e)}function FOe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var xOe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var EOe={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},COe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function SOe(e){var t=e.re=function(e){var t={};return t.src_Any=mOe.source,t.src_Cc=vOe.source,t.src_Z=yOe.source,t.src_P=bOe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var r=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};if(e.__compiled__[t]=i,function(e){return"[object Object]"===wOe(e)}(n))return!function(e){return"[object RegExp]"===wOe(e)}(n.validate)?kOe(n.validate)?i.validate=n.validate:o(t,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(kOe(n.normalize)?i.normalize=n.normalize:n.normalize?o(t,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===wOe(e)}(n)?o(t,n):r.push(t)}})),r.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(FOe).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 DOe(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function POe(e,t){var n=new DOe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function TOe(e,t){if(!(this instanceof TOe))return new TOe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(e,t){return e||xOe.hasOwnProperty(t)}),!1)}(e)&&(t=e,e={}),this.__opts__=_Oe({},xOe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=_Oe({},EOe,e),this.__compiled__={},this.__tlds__=COe,this.__tlds_replaced__=!1,this.re={},SOe(this)}TOe.prototype.add=function(e,t){return this.__schemas__[e]=t,SOe(this),this},TOe.prototype.set=function(e){return this.__opts__=_Oe(this.__opts__,e),this},TOe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},TOe.prototype.pretest=function(e){return this.re.pretest.test(e)},TOe.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},TOe.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(POe(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(POe(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},TOe.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(),SOe(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,SOe(this),this)},TOe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},TOe.prototype.onCompile=function(){};var AOe=TOe;function LOe(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 IOe(){return IOe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IOe.apply(this,arguments)}function MOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jOe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function NOe(e,t,n){return t&&jOe(e.prototype,t),n&&jOe(e,n),e}function OOe(e){return OOe="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},OOe(e)}function ROe(e){return ROe="function"==typeof Symbol&&"symbol"===OOe(Symbol.iterator)?function(e){return OOe(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":OOe(e)},ROe(e)}function zOe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BOe(e,t){return!t||"object"!==ROe(t)&&"function"!=typeof t?zOe(e):t}function GOe(e){return GOe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},GOe(e)}function UOe(e,t){return UOe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},UOe(e,t)}function qOe(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&&UOe(e,t)}function HOe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WOe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function KOe(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function VOe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function YOe(e){return function(e){if(Array.isArray(e))return VOe(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 VOe(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)?VOe(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 JOe=function(e){return e===Object(e)?Object.keys(e):[]},QOe=function(e){return e===Object(e)?Object.values(e):[]};function ZOe(e,t){var n=Object.assign({},e);return eRe(e)&&eRe(t)&&JOe(t).forEach((function(i){eRe(t[i])&&i in e?n[i]=ZOe(e[i],t[i]):Object.assign(n,g8({},i,t[i]))})),n}var $Oe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return ZOe(e,t)}),e)},XOe=function(e,t){var n=Object.assign({},e);if(t)for(var i=0;i<t.length;i++)delete n[t[i]];return n},eRe=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},tRe=function(e){return(e||[]).filter(Boolean)},nRe=function(e){return"&"===e[0]},iRe=function(e){return!nRe(e)},rRe=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},oRe=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=JOe(e),i={},r=0,o=n.length;r<o;r+=1){var a=n[r],s="[object Object]"!==Object.prototype.toString.call(e[a])||":"===a[0]||"@"===a[0]||t.indexOf(a)>=0;s&&(i[a]=e[a])}return i},aRe=function(e,t){for(var n=t.map(rRe),i=JOe(e),r={},o=0,a=i.length;o<a;o+=1){var s=i[o];(t.indexOf(s)>=0||n.indexOf(rRe(s))>=0)&&(r[s]=e[s])}return r},sRe=function e(t,n){for(var i=$Oe.apply(void 0,[{},XOe(t,n)].concat(YOe(QOe(aRe(t,n))))),r=JOe(i).filter(nRe),o=0,a=r.length;o<a;o+=1){var s=r[o],l=e(i[s],n);n.indexOf(s)>=0?(delete i[s],i=$Oe({},i,l)):i[s]=l}return i};function lRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function uRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cRe=["animationName"],dRe=function(e){var t=e.style,n=e.className;return uRe(uRe({},t?{style:oRe(t,cRe)}:{}),n?{className:n}:{})},fRe=i.createContext(dRe);fRe.Provider;var pRe=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return JOe(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e},hRe={},gRe=function(e){return function(t,n){var i,r=n||hRe;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?i=e.memoize.get(r):(i={},e.memoize.set(r,i));var o=pRe(t).join(" ");return o in i?i[o]:i[o]=e(t||[],n)}};function mRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yRe=function(e){var t=e&&JOe(e)[0];return t&&t.split("__")[0].split("--")[0]},bRe=function(e,t,n){if(e){var i=e.split(" ")[0],r=[].concat(YOe(0===t.length?n.map((function(e){return"".concat(i,"--").concat(e.substring(1))})):[]),YOe(t.map((function(e){return"".concat(i,"__").concat(e)}))));return 0===t.length?[e].concat(YOe(r)):r}};function _Re(e){var t=e.style,n=e.className,i=e.classNames,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dRe,o=n||yRe(i)||(null==t?void 0:t.className),a="function"==typeof t?t:gRe((function(e,n){var a=pRe(e);zhe(Array.isArray(a),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),zhe(!n||eRe(n),"Optional second parameter must be a plain object.");var s=a.filter(nRe),l=a.filter(iRe),u=l.length>0?function(e){return QOe(aRe(e,l))}:function(e){return[e]},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u(sRe(e,s))},d=bRe(o,l,s);return _Re(vRe(vRe(vRe({},(t||n)&&{style:$Oe.apply(void 0,[{}].concat(YOe(c(n)),YOe(c(t))))}),d&&{className:d.join(" ")}),i&&{classNames:i}),r)})),s=vRe({},"function"==typeof t?t:{style:t}),l=YOe(new Set([].concat(YOe(s.className?s.className.split(" "):[]),YOe(o?o.split(" "):[])))),u=i?tRe(l.map((function(e){return i[e]}))):l,c=r(vRe(vRe({},s),u.length>0?{className:u.join(" ")}:{}));return Object.assign(a,c),a}function wRe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function kRe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wRe(Object(n),!0).forEach((function(t){g8(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wRe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var FRe=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 kRe(kRe(kRe({},e),"function"==typeof t?t:{}),{},{style:kRe(kRe({},e.style),"function"==typeof t?t.style:t)})}),{})},xRe=function(e,t,n){var r=t.style,o=t.className,a=t.classNames,s=i.useContext(fRe);return i.useMemo((function(){return _Re({style:r,className:o,classNames:a},s)}),[r,o,a,s])(n,e)},ERe=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},CRe="__id__",SRe="__display__",DRe=function(e,t){zhe("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(SRe),i=e.indexOf(CRe);return n<0&&(n=null),i<0&&(i=null),zhe(null!==n||null!==i,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==i?"id"===t&&i<=n||"display"===t&&n<=i?0:1:0},PRe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n=WOe(t.exec(e.toString()),3),i=n[1],r=n[2];return zhe(!r,"RegExp flags are not supported. Change /".concat(i,"/").concat(r," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},TRe=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ARe=function(){},LRe=function(e,t,n){for(var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ARe,o=PRe(t.map((function(e){return e.regex}))),a=2,s=t.map((function(e){var t=e.markup,n=a;return a+=TRe(t)+1,n})),l=0,u=0;null!==(i=o.exec(e));){var c=s.find((function(e){return!!i[e]})),d=s.indexOf(c),f=t[d],p=f.markup,h=f.displayTransform,g=c+DRe(p,"id"),m=c+DRe(p,"display"),v=i[g],y=h(v,i[m]),b=e.substring(l,i.index);r(b,l,u),u+=b.length,n(i[0],i.index,u,v,y,d,l),u+=y.length,l=o.lastIndex}l<e.length&&r(e.substring(l),l,u)},IRe=function(e,t){var n="";return LRe(e,t,(function(e,t,i,r,o){n+=o}),(function(e){n+=e})),n},MRe=function(e,t,n){var i,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===i&&r+e.length>=n&&(i=t+n-r)},a=function(e,t,o,a,s,l,u){void 0===i&&o+s.length>n&&(i="NULL"===r?null:t+("END"===r?e.length:0))};return LRe(e,t,a,o),void 0===i?e.length:i},jRe=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},NRe=function(e,t){var n=[];return LRe(e,t,(function(e,t,i,r,o,a,s){n.push({id:r,display:o,childIndex:a,index:t,plainTextIndex:i})})),n},ORe=function(e,t){return"".concat(e,"-").concat(t)},RRe=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},zRe=function(e){var t=ERe(e),n=e[e.indexOf(SRe)+SRe.length],i=e[e.indexOf(CRe)+CRe.length];return new RegExp(t.replace(SRe,"([^".concat(ERe(n||""),"]+?)")).replace(CRe,"([^".concat(ERe(i||""),"]+?)")))},BRe=function(e){return i.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,i=t.regex,r=t.displayTransform;return{markup:n,regex:i?GRe(i,n):zRe(n),displayTransform:r||function(e,t){return t||e}}}))},GRe=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,i=TRe(t);return zhe(n===i,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(i,")")),e},URe=[{base:"A",letters:/(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(Ꜳ|[\uA732])/g},{base:"AE",letters:/(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(Ꜵ|[\uA734])/g},{base:"AU",letters:/(Ꜷ|[\uA736])/g},{base:"AV",letters:/(Ꜹ|Ꜻ|[\uA738\uA73A])/g},{base:"AY",letters:/(Ꜽ|[\uA73C])/g},{base:"B",letters:/(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(DZ|DŽ|[\u01F1\u01C4])/g},{base:"Dz",letters:/(Dz|Dž|[\u01F2\u01C5])/g},{base:"E",letters:/(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(LJ|[\u01C7])/g},{base:"Lj",letters:/(Lj|[\u01C8])/g},{base:"M",letters:/(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(NJ|[\u01CA])/g},{base:"Nj",letters:/(Nj|[\u01CB])/g},{base:"O",letters:/(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(Œ|[\u0152])/g},{base:"OI",letters:/(Ƣ|[\u01A2])/g},{base:"OO",letters:/(Ꝏ|[\uA74E])/g},{base:"OU",letters:/(Ȣ|[\u0222])/g},{base:"P",letters:/(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(Þ|[\u00DE])/g},{base:"TZ",letters:/(Ꜩ|[\uA728])/g},{base:"U",letters:/(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(Ꝡ|[\uA760])/g},{base:"W",letters:/(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(ꜳ|[\uA733])/g},{base:"ae",letters:/(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(ꜵ|[\uA735])/g},{base:"au",letters:/(ꜷ|[\uA737])/g},{base:"av",letters:/(ꜹ|ꜻ|[\uA739\uA73B])/g},{base:"ay",letters:/(ꜽ|[\uA73D])/g},{base:"b",letters:/(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(dz|dž|[\u01F3\u01C6])/g},{base:"e",letters:/(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(ƕ|[\u0195])/g},{base:"i",letters:/(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(ij|[\u0133])/g},{base:"j",letters:/(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(lj|[\u01C9])/g},{base:"m",letters:/(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(nj|[\u01CC])/g},{base:"o",letters:/(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(œ|[\u0153])/g},{base:"oi",letters:/(ƣ|[\u01A3])/g},{base:"ou",letters:/(ȣ|[\u0223])/g},{base:"oo",letters:/(ꝏ|[\uA74F])/g},{base:"p",letters:/(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(ß|[\u00DF])/g},{base:"t",letters:/(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(þ|[\u00FE])/g},{base:"tz",letters:/(ꜩ|[\uA729])/g},{base:"u",letters:/(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(ꝡ|[\uA761])/g},{base:"w",letters:/(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],qRe=function(e){return function(e){var t=e;return URe.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},HRe=function(e,t,n){return n?qRe(e).indexOf(qRe(t)):e.toLowerCase().indexOf(t.toLowerCase())},WRe=function(e){return"number"==typeof e},KRe=function(e){return e===Object(e)?Object.keys(e):[]},VRe=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=(t=[]).concat.apply(t,i);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function YRe(e,t){return function(n){var i=function(i){var r=i.style,o=i.className,a=i.classNames,s=KOe(i,["style","className","classNames"]),l=t?t(s):void 0,u=xRe(e,{style:r,className:o,classNames:a},l);return m.default.createElement(n,IOe({},s,{style:u}))},r=n.displayName||n.name||"Component";return i.displayName="defaultStyle(".concat(r,")"),i}}var JRe=function(e){function t(){var e;return MOe(this,t),HOe(zOe(e=BOe(this,GOe(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return qOe(t,e),NOe(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var i={left:t,top:n};this.setState(i),this.props.onCaretPositionChange(i)}}}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.selectionStart,r=n.selectionEnd,o=n.value,a=n.style,s=n.children,l=n.containerRef,u=BRe(s);i===r&&(e=MRe(o,u,i,"START"));var c=[],d={},f=c,p=0;return LRe(o,u,(function(e,n,i,r,o,a,s){var l=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(d,r);f.push(t.getMentionComponentForMatch(r,o,a,l))}),(function(n,i,r){if(WRe(e)&&e>=i&&e<=i+n.length){var o=e-i;f.push(t.renderSubstring(n.substring(0,o),p)),f=[t.renderSubstring(n.substring(o),p)]}else f.push(t.renderSubstring(n,p));p++})),f.push(" "),f!==c&&c.push(this.renderHighlighterCaret(f)),m.default.createElement("div",IOe({},a,{ref:l}),c)}},{key:"renderSubstring",value:function(e,t){return m.default.createElement("span",IOe({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,r){var o={id:e,display:t,key:r},a=i.Children.toArray(this.props.children)[n];return m.default.cloneElement(a,o)}},{key:"renderHighlighterCaret",value:function(e){return m.default.createElement("span",IOe({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(i.Component);HOe(JRe,"propTypes",{selectionStart:HW.number,selectionEnd:HW.number,value:HW.string.isRequired,onCaretPositionChange:HW.func.isRequired,containerRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired}),HOe(JRe,"defaultProps",{value:""});var QRe=YRe({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}}))(JRe),ZRe=function(e){function t(){return MOe(this,t),BOe(this,GOe(t).apply(this,arguments))}return qOe(t,e),NOe(t,[{key:"render",value:function(){var e=VRe(this.props,["style","classNames","className"],KRe(t.propTypes));return m.default.createElement("li",IOe({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,i=e.suggestion,r=e.index,o=e.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,t);return n?n(i,t,s,r,o):s}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,i=t.query,r=t.style,o=HRe(e,i,n);return-1===o?m.default.createElement("span",r("display"),e):m.default.createElement("span",r("display"),e.substring(0,o),m.default.createElement("b",r("highlight"),e.substring(o,o+i.length)),e.substring(o+i.length))}}]),t}(i.Component);HOe(ZRe,"propTypes",{id:HW.string.isRequired,query:HW.string.isRequired,index:HW.number.isRequired,ignoreAccents:HW.bool,suggestion:HW.oneOfType([HW.string,HW.shape({id:HW.oneOfType([HW.string,HW.number]).isRequired,display:HW.string})]).isRequired,renderSuggestion:HW.func,focused:HW.bool});var $Re=YRe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(ZRe);function XRe(){var e=xRe(),t=e("spinner");return m.default.createElement("div",e,m.default.createElement("div",t,m.default.createElement("div",t(["element","element1"])),m.default.createElement("div",t(["element","element2"])),m.default.createElement("div",t(["element","element3"])),m.default.createElement("div",t(["element","element4"])),m.default.createElement("div",t(["element","element5"]))))}var eze=function(e){function t(){var e,n;MOe(this,t);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return HOe(zOe(n=BOe(this,(e=GOe(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),HOe(zOe(n),"select",(function(e,t){n.props.onSelect(e,t)})),HOe(zOe(n),"setUlElement",(function(e){n.ulElement=e})),n}return qOe(t,e),NOe(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,i=t.bottom,r=this.ulElement.getBoundingClientRect().top;i=i-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:i>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=i-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,i=e.isOpened,r=e.style,o=e.onMouseDown,a=e.containerRef,s=e.position,l=e.left,u=e.top;return i?m.default.createElement("div",IOe({},FRe({position:s||"absolute",left:l,top:u},r),{onMouseDown:o,ref:a}),m.default.createElement("ul",IOe({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},r("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var i=n.results,r=n.queryInfo;return[].concat(LOe(t),LOe(i.map((function(n,i){return e.renderSuggestion(n,r,t.length+i)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var r=this,o=n===this.props.focusIndex,a=t.childIndex,s=t.query,l=i.Children.toArray(this.props.children)[a].props.renderSuggestion,u=this.props.ignoreAccents;return m.default.createElement($Re,{style:this.props.style("item"),key:"".concat(a,"-").concat(tze(e)),id:ORe(this.props.id,n),query:s,index:n,ignoreAccents:u,renderSuggestion:l,suggestion:e,focused:o,onClick:function(){return r.select(e,t)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return m.default.createElement(XRe,{style:this.props.style("loadingIndicator")})}}]),t}(i.Component);HOe(eze,"propTypes",{id:HW.string.isRequired,suggestions:HW.object.isRequired,a11ySuggestionsListLabel:HW.string,focusIndex:HW.number,position:HW.string,left:HW.number,top:HW.number,scrollFocusedIntoView:HW.bool,isLoading:HW.bool,isOpened:HW.bool.isRequired,onSelect:HW.func,ignoreAccents:HW.bool,containerRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired}),HOe(eze,"defaultProps",{suggestions:{},onSelect:function(){return null}});var tze=function(e){return"string"==typeof e?e:e.id},nze=YRe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(eze);function ize(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function rze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ize(n,!0).forEach((function(t){HOe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ize(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oze={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},aze=!1,sze={singleLine:HW.bool,allowSpaceInQuery:HW.bool,allowSuggestionsAboveCursor:HW.bool,forceSuggestionsAboveCursor:HW.bool,ignoreAccents:HW.bool,a11ySuggestionsListLabel:HW.string,value:HW.string,onKeyDown:HW.func,onSelect:HW.func,onBlur:HW.func,onChange:HW.func,suggestionsPortalHost:"undefined"==typeof Element?HW.any:HW.PropTypes.instanceOf(Element),inputRef:HW.oneOfType([HW.func,HW.shape({current:"undefined"==typeof Element?HW.any:HW.instanceOf(Element)})]),children:HW.oneOfType([HW.element,HW.arrayOf(HW.element)]).isRequired},lze=function(e){function t(e){var n;return MOe(this,t),HOe(zOe(n=BOe(this,GOe(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),HOe(zOe(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,i=e.disabled,r=e.style;return rze({},VRe(n.props,["style","classNames","className"],KRe(sze)),{},r("input"),{value:n.getPlainText()},!t&&!i&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":ORe(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),HOe(zOe(n),"renderControl",(function(){var e=n.props,t=e.singleLine,i=e.style,r=n.getInputProps();return m.default.createElement("div",i("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),HOe(zOe(n),"renderInput",(function(e){return m.default.createElement("input",IOe({type:"text",ref:n.setInputRef},e))})),HOe(zOe(n),"renderTextarea",(function(e){return m.default.createElement("textarea",IOe({ref:n.setInputRef},e))})),HOe(zOe(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),HOe(zOe(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),HOe(zOe(n),"renderSuggestionsOverlay",(function(){if(!WRe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,i=e.left,r=e.top,o=m.default.createElement(nze,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:i,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?b.default.createPortal(o,n.props.suggestionsPortalHost):o})),HOe(zOe(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,i=e.selectionEnd,r=n.props,o=r.singleLine,a=r.children,s=r.value,l=r.style;return m.default.createElement(QRe,{containerRef:n.setHighlighterElement,style:l("highlighter"),value:s,singleLine:o,selectionStart:t,selectionEnd:i,onCaretPositionChange:n.handleCaretPositionChange},a)})),HOe(zOe(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),HOe(zOe(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),HOe(zOe(n),"getPlainText",(function(){return IRe(n.props.value||"",BRe(n.props.children))})),HOe(zOe(n),"executeOnChange",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];var o,a;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(i)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[e.target.value].concat(i)):void 0})),HOe(zOe(n),"handleChange",(function(e){if(aze=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",i=BRe(n.props.children),r=e.target.value,o=function(e,t,n,i){var r=n.selectionStartBefore,o=n.selectionEndBefore,a=n.selectionEndAfter,s=IRe(e,i),l=s.length-t.length;"undefined"===r&&(r=a+l),"undefined"===o&&(o=r),r===o&&o===a&&s.length===t.length&&(r-=1);var u=t.slice(r,a),c=Math.min(r,a),d=o;r===a&&(d=Math.max(o,r+l));var f=MRe(e,i,c,"START"),p=MRe(e,i,d,"END"),h=MRe(e,i,c,"NULL"),g=MRe(e,i,d,"NULL"),m=null===h||null===g,v=jRe(e,f,p,u);if(!m){var y=IRe(v,i);if(y!==t){for(c=0;t[c]===y[c];)c++;u=t.slice(c,a),d=s.lastIndexOf(t.substring(a)),f=MRe(e,i,c,"START"),p=MRe(e,i,d,"END"),v=jRe(e,f,p,u)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},i);r=IRe(o,i);var a=e.target.selectionStart,s=e.target.selectionEnd,l=!1,u=function(e,t,n){var i=n,r=!1;if(LRe(e,t,(function(e,t,o,a,s,l,u){o<=n&&o+s.length>n&&(i=o,r=!0)})),r)return i}(t,i,a);void 0!==u&&n.state.selectionEnd>u&&(s=a=u,l=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:l});var c=NRe(o,i),d={target:{value:o}};n.executeOnChange(d,o,r,c)}})),HOe(zOe(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!aze){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)}})),HOe(zOe(n),"handleKeyDown",(function(e){if(0!==RRe(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(oze).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case oze.ESC:return void n.clearSuggestions();case oze.DOWN:return void n.shiftFocus(1);case oze.UP:return void n.shiftFocus(-1);case oze.RETURN:case oze.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),HOe(zOe(n),"shiftFocus",(function(e){var t=RRe(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),HOe(zOe(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,i=e.focusIndex,r=Object.values(t).reduce((function(e,t){var n=t.results,i=t.queryInfo;return[].concat(LOe(e),LOe(n.map((function(e){return{result:e,queryInfo:i}}))))}),[])[i],o=r.result,a=r.queryInfo;n.addMention(o,a),n.setState({focusIndex:0})})),HOe(zOe(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)})),HOe(zOe(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),HOe(zOe(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),HOe(zOe(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,i=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,l=s.getBoundingClientRect(),u=uze(s,"font-size"),c={left:l.left+e.left,top:l.top+e.top+u},d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(i){f.position="fixed";var p=c.left,h=c.top;p-=uze(a,"margin-left"),h-=uze(a,"margin-top"),p-=s.scrollLeft,h-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);p+a.offsetWidth>g?f.left=Math.max(0,g-a.offsetWidth):f.left=p,r&&h+a.offsetHeight>d&&a.offsetHeight<h-u||o?f.top=Math.max(0,h-a.offsetHeight-u):f.top=h}else{var m=e.left-s.scrollLeft,v=e.top-s.scrollTop;m+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=m,r&&c.top-s.scrollTop+a.offsetHeight>d&&a.offsetHeight<l.top-u-s.scrollTop?f.top=v-a.offsetHeight-u: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})}}})),HOe(zOe(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),HOe(zOe(n),"handleCompositionStart",(function(){aze=!0})),HOe(zOe(n),"handleCompositionEnd",(function(){aze=!1})),HOe(zOe(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var i=n.inputElement;if(i.setSelectionRange)i.setSelectionRange(e,t);else if(i.createTextRange){var r=i.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),HOe(zOe(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var i=n.props.value||"",r=n.props.children,o=BRe(r),a=MRe(i,o,t,"NULL");if(null!==a){var s=function(e,t){var n=NRe(e,t),i=n[n.length-1];return i?i.plainTextIndex+i.display.length:0}(i.substring(0,a),o),l=e.substring(s,t);m.default.Children.forEach(r,(function(t,i){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,i=ERe(e);return new RegExp("(?:^|\\s)(".concat(i,"([^").concat(n?"":"\\s").concat(i,"]*))$"))}(t.props.trigger,n.props),o=l.match(r);if(o){var a=s+l.indexOf(o[1],o.index);n.queryData(o[2],i,a,a+o[1].length,e)}}}))}})),HOe(zOe(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),HOe(zOe(n),"queryData",(function(e,t,r,o,a){var s=n.props,l=s.children,u=s.ignoreAccents,c=function(e,t){return e instanceof Array?function(n,i){for(var r=[],o=0,a=e.length;o<a;++o){var s=e[o].display||e[o].id;HRe(s,n,t)>=0&&r.push(e[o])}return r}:e}(i.Children.toArray(l)[t].props.data,u),d=c(e,n.updateSuggestions.bind(null,n._queryId,t,e,r,o,a));d instanceof Array&&n.updateSuggestions(n._queryId,t,e,r,o,a,d)})),HOe(zOe(n),"updateSuggestions",(function(e,t,i,r,o,a,s){if(e===n._queryId){n.suggestions=rze({},n.suggestions,HOe({},t,{queryInfo:{childIndex:t,query:i,querySequenceStart:r,querySequenceEnd:o,plainTextValue:a},results:s}));var l=n.state.focusIndex,u=RRe(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:l>=u?Math.max(u-1,0):l})}})),HOe(zOe(n),"addMention",(function(e,t){var r=e.id,o=e.display,a=t.childIndex,s=t.querySequenceStart,l=t.querySequenceEnd,u=t.plainTextValue,c=n.props.value||"",d=BRe(n.props.children),f=i.Children.toArray(n.props.children)[a].props,p=f.markup,h=f.displayTransform,g=f.appendSpaceOnAdd,m=f.onAdd,v=MRe(c,d,s,"START"),y=v+l-s,b=function(e,t,n){return e.replace(CRe,t).replace(SRe,n)}(p,r,o);g&&(b+=" ");var _=jRe(c,v,y,b);n.inputElement.focus();var w=h(r,o);g&&(w+=" ");var k=s+w.length;n.setState({selectionStart:k,selectionEnd:k,setSelectionAfterMentionChange:!0});var F={target:{value:_}},x=NRe(_,d),E=jRe(u,s,l,w);n.executeOnChange(F,_,E,x),m&&m(r,o,v,y),n.clearSuggestions()})),HOe(zOe(n),"isLoading",(function(){var e=!1;return m.default.Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),HOe(zOe(n),"isOpened",(function(){return WRe(n.state.selectionStart)&&(0!==RRe(n.state.suggestions)||n.isLoading())})),HOe(zOe(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(zOe(n)),n.handleCut=n.handleCut.bind(zOe(n)),n.handlePaste=n.handlePaste.bind(zOe(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return qOe(t,e),NOe(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return m.default.createElement("div",IOe({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.value,a=r.children,s=BRe(a),l=MRe(o,s,n,"START"),u=MRe(o,s,i,"END"),c=e.clipboardData.getData("text/react-mentions"),d=e.clipboardData.getData("text/plain"),f=jRe(o,l,u,c||d).replace(/\r/g,""),p=IRe(f,s),h={target:rze({},e.target,{value:f})};this.executeOnChange(h,f,p,NRe(f,s))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=BRe(o),l=MRe(a,s,n,"START"),u=MRe(a,s,i,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,i)),e.clipboardData.setData("text/react-mentions",a.slice(l,u))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,i=t.selectionEnd,r=this.props,o=r.children,a=r.value,s=BRe(o),l=MRe(a,s,n,"START"),u=MRe(a,s,i,"END"),c=[a.slice(0,l),a.slice(u)].join(""),d=IRe(c,s),f={target:rze({},e.target,{value:d})};this.executeOnChange(f,c,d,NRe(a,s))}}}]),t}(m.default.Component);HOe(lze,"propTypes",sze),HOe(lze,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var uze=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},cze=YRe({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:rze({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}}))(lze),dze={fontWeight:"inherit"},fze=function(e){var t=e.display,n=e.style,i=e.className,r=e.classNames,o=xRe(dze,{style:n,className:i,classNames:r});return m.default.createElement("strong",o,t)};fze.propTypes={onAdd:HW.func,onRemove:HW.func,renderSuggestion:HW.func,trigger:HW.oneOfType([HW.string,HW.instanceOf(RegExp)]),markup:HW.string,displayTransform:HW.func,allowSpaceInQuery:HW.bool,isLoading:HW.bool},fze.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 pze=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 hze(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),i=pze.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var i=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var gze=[".DS_Store","Thumbs.db"];function mze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?yze(e.dataTransfer,e.type):vze(e))];var n}))}))}function vze(e){return(null!==e.target&&e.target.files?_ze(e.target.files):[]).map((function(e){return hze(e)}))}function yze(e,t){return Co(this,void 0,void 0,(function(){var n;return So(this,(function(i){switch(i.label){case 0:return e.items?(n=_ze(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(wze))]):[3,2];case 1:return[2,bze(kze(i.sent()))];case 2:return[2,bze(_ze(e.files).map((function(e){return hze(e)})))]}}))}))}function bze(e){return e.filter((function(e){return-1===gze.indexOf(e.name)}))}function _ze(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i)}return t}function wze(e){if("function"!=typeof e.webkitGetAsEntry)return Fze(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Eze(t):Fze(e)}function kze(e){return e.reduce((function(e,t){return Ao(e,Array.isArray(t)?kze(t):[t])}),[])}function Fze(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=hze(t);return Promise.resolve(n)}function xze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,e.isDirectory?Eze(e):Cze(e)]}))}))}function Eze(e){var t=e.createReader();return new Promise((function(e,n){var i=[];!function r(){var o=this;t.readEntries((function(t){return Co(o,void 0,void 0,(function(){var o,a,s;return So(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return o=l.sent(),e(o),[3,4];case 3:return a=l.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(xze)),i.push(s),r(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function Cze(e){return Co(this,void 0,void 0,(function(){return So(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var i=hze(n,e.fullPath);t(i)}),(function(e){n(e)}))}))]}))}))}function Sze(e,t){return"application/x-moz-file"===e.type||function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?o===t.replace(/\/.*$/,""):r===t}))}return!0}(e,t)}function Dze(e,t,n){if(Pze(e.size)){if(Pze(t)&&Pze(n))return e.size>=t&&e.size<=n;if(Pze(t))return e.size>=t;if(Pze(n))return e.size<=n}return!0}function Pze(e){return null!=e}function Tze(e,t,n,i){return e.every((function(e){return Sze(e,t)&&Dze(e,n,i)}))}function Aze(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Lze(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 Ize(e){e.preventDefault()}function Mze(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function jze(e){return-1!==e.indexOf("Edge/")}function Nze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Mze(e)||jze(e)}function Oze(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t.some((function(t){return!Aze(e)&&t&&t.apply(void 0,[e].concat(i)),Aze(e)}))}}function Rze(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 zze(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Bze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Gze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bze(n,!0).forEach((function(t){Uze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bze(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qze(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Hze=i.forwardRef((function(e,t){var n=e.children,r=Kze(qze(e,["children"])),o=r.open,a=qze(r,["open"]);return i.useImperativeHandle(t,(function(){return{open:o}}),[o]),m.default.createElement(i.Fragment,null,n(Gze({},a,{open:o})))}));Hze.displayName="Dropzone",Hze.propTypes={children:HW.func,accept:HW.oneOfType([HW.string,HW.arrayOf(HW.string)]),multiple:HW.bool,preventDropOnDocument:HW.bool,noClick:HW.bool,noKeyboard:HW.bool,noDrag:HW.bool,noDragEventsBubbling:HW.bool,minSize:HW.number,maxSize:HW.number,disabled:HW.bool,getFilesFromEvent:HW.func,onFileDialogCancel:HW.func,onDragEnter:HW.func,onDragLeave:HW.func,onDragOver:HW.func,onDrop:HW.func,onDropAccepted:HW.func,onDropRejected:HW.func};var Wze={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],rejectedFiles:[]};function Kze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accept,n=e.disabled,r=void 0!==n&&n,o=e.getFilesFromEvent,a=void 0===o?mze:o,s=e.maxSize,l=void 0===s?1/0:s,u=e.minSize,c=void 0===u?0:u,d=e.multiple,f=void 0===d||d,p=e.onDragEnter,h=e.onDragLeave,g=e.onDragOver,m=e.onDrop,v=e.onDropAccepted,y=e.onDropRejected,b=e.onFileDialogCancel,_=e.preventDropOnDocument,w=void 0===_||_,k=e.noClick,F=void 0!==k&&k,x=e.noKeyboard,E=void 0!==x&&x,C=e.noDrag,S=void 0!==C&&C,D=e.noDragEventsBubbling,P=void 0!==D&&D,T=i.useRef(null),A=i.useRef(null),L=i.useReducer(Vze,Wze),I=zze(L,2),M=I[0],j=I[1],N=M.isFocused,O=M.isFileDialogActive,R=M.draggedFiles,z=i.useCallback((function(){A.current&&(j({type:"openDialog"}),A.current.value=null,A.current.click())}),[j]),B=function(){O&&setTimeout((function(){A.current&&(A.current.files.length||(j({type:"closeDialog"}),"function"==typeof b&&b()))}),300)};i.useEffect((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[A,O,b]);var G=i.useCallback((function(e){T.current&&T.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),z()))}),[T,A]),U=i.useCallback((function(){j({type:"focus"})}),[]),q=i.useCallback((function(){j({type:"blur"})}),[]),H=i.useCallback((function(){F||(Nze()?setTimeout(z,0):z())}),[A,F]),W=i.useRef([]),K=function(e){T.current&&T.current.contains(e.target)||(e.preventDefault(),W.current=[])};i.useEffect((function(){return w&&(document.addEventListener("dragover",Ize,!1),document.addEventListener("drop",K,!1)),function(){w&&(document.removeEventListener("dragover",Ize),document.removeEventListener("drop",K))}}),[T,w]);var V=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),-1===W.current.indexOf(e.target)&&(W.current=[].concat(Rze(W.current),[e.target])),Lze(e)&&Promise.resolve(a(e)).then((function(t){Aze(e)&&!P||(j({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),p&&p(e))}))}),[a,p,P]),Y=i.useCallback((function(e){if(e.preventDefault(),e.persist(),ee(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return Lze(e)&&g&&g(e),!1}),[g,P]),J=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e);var t=W.current.filter((function(t){return t!==e.target&&T.current&&T.current.contains(t)}));W.current=t,t.length>0||(j({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Lze(e)&&h&&h(e))}),[T,h,P]),Q=i.useCallback((function(e){e.preventDefault(),e.persist(),ee(e),W.current=[],j({type:"reset"}),Lze(e)&&Promise.resolve(a(e)).then((function(n){if(!Aze(e)||P){var i=[],r=[];n.forEach((function(e){Sze(e,t)&&Dze(e,c,l)?i.push(e):r.push(e)})),!f&&i.length>1&&r.push.apply(r,Rze(i.splice(0))),j({acceptedFiles:i,rejectedFiles:r,type:"setFiles"}),m&&m(i,r,e),r.length>0&&y&&y(r,e),i.length>0&&v&&v(i,e)}}))}),[f,t,c,l,a,m,v,y,P]),Z=function(e){return r?null:e},$=function(e){return E?null:Z(e)},X=function(e){return S?null:Z(e)},ee=function(e){P&&e.stopPropagation()},te=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,i=e.onKeyDown,o=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=qze(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return Gze(Uze({onKeyDown:$(Oze(i,G)),onFocus:$(Oze(o,U)),onBlur:$(Oze(a,q)),onClick:Z(Oze(s,H)),onDragEnter:X(Oze(l,V)),onDragOver:X(Oze(u,Y)),onDragLeave:X(Oze(c,J)),onDrop:X(Oze(d,Q))},n,T),r||E?{}:{tabIndex:0},{},f)}}),[T,G,U,q,H,V,Y,J,Q,E,S,r]),ne=i.useCallback((function(e){e.stopPropagation()}),[]),ie=i.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refKey,i=void 0===n?"ref":n,r=e.onChange,o=e.onClick,a=qze(e,["refKey","onChange","onClick"]),s=Uze({accept:t,multiple:f,type:"file",style:{display:"none"},onChange:Z(Oze(r,Q)),onClick:Z(Oze(o,ne)),autoComplete:"off",tabIndex:-1},i,A);return Gze({},s,{},a)}}),[A,t,f,Q,r]),re=R.length,oe=f||re<=1,ae=re>0&&Tze(R,t,c,l),se=re>0&&(!ae||!oe);return Gze({},M,{isDragAccept:ae,isDragReject:se,isFocused:N&&!r,getRootProps:te,getInputProps:ie,rootRef:T,inputRef:A,open:Z(z)})}function Vze(e,t){switch(t.type){case"focus":return Gze({},e,{isFocused:!0});case"blur":return Gze({},e,{isFocused:!1});case"openDialog":return Gze({},e,{isFileDialogActive:!0});case"closeDialog":return Gze({},e,{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive;return Gze({},e,{draggedFiles:t.draggedFiles,isDragActive:n});case"setFiles":return Gze({},e,{acceptedFiles:t.acceptedFiles,rejectedFiles:t.rejectedFiles});case"reset":return Gze({},e,{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[]});default:return e}}var Yze={exports:{}};!function(e,t){!function(t,n,i){e.exports=i(),e.exports.default=i()}(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,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},o=i.replacement||"-",a=n.split("").reduce((function(t,n){return t+(r[n]||e[n]||n)}),"").replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return i.lower&&(a=a.toLowerCase()),i.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(t){for(var n in t)e[n]=t[n]},n}))}(Yze);var Jze,Qze=Yze.exports;!function(e){e.BOTH="both",e.MOUSE="mouse",e.TOUCH="touch"}(Jze||(Jze={}));var Zze={exports:{}};!function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=i.default,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function r(e){return e&&e.__esModule?e:{default:e}}t.default=u;var o=n(3),a=r(n(4)),s=n(14),l=r(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,a=void 0===r?-1:r,u=e.activeStyle,c=e.autoEscape,d=e.caseSensitive,f=void 0!==d&&d,p=e.className,h=e.findChunks,g=e.highlightClassName,m=void 0===g?"":g,v=e.highlightStyle,y=void 0===v?{}:v,b=e.highlightTag,_=void 0===b?"mark":b,w=e.sanitize,k=e.searchWords,F=e.textToHighlight,x=e.unhighlightClassName,E=void 0===x?"":x,C=e.unhighlightStyle,S=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),D=(0,o.findAll)({autoEscape:c,caseSensitive:f,findChunks:h,sanitize:w,searchWords:k,textToHighlight:F}),P=_,T=-1,A="",L=void 0,I=(0,l.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:p},S,{children:D.map((function(e,t){var i=F.substr(e.start,e.end-e.start);if(e.highlight){T++;var r=void 0;r="object"==typeof m?f?m[i]:(m=I(m))[i.toLowerCase()]:m;var o=T===+a;A=r+" "+(o?n:""),L=!0===o&&null!=u?Object.assign({},y,u):y;var l={children:i,className:A,key:t,style:L};return"string"!=typeof P&&(l.highlightIndex=T),(0,s.createElement)(P,l)}return(0,s.createElement)("span",{children:i,className:E,key:t,style:C})}))}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,a=void 0!==o&&o,s=e.findChunks,l=void 0===s?i:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,r=void 0===i?o:i,a=e.searchWords,s=e.textToHighlight;return s=r(s),a.filter((function(e){return e})).reduce((function(e,i){i=r(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,u=o.lastIndex;u>l&&e.push({start:l,end:u}),a.index==o.lastIndex&&o.lastIndex++}return e}),[])};t.findChunks=i;var r=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],r=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)r(0,n,!1);else{var o=0;t.forEach((function(e){r(o,e.start,!1),r(e.start,e.end,!0),o=e.end})),r(o,n,!1)}return i};function o(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){(function(t){var i=n(7),r=n(8),o=n(9),a=n(10),s=n(11),l=n(12);e.exports=function(e,n){var u="function"==typeof Symbol&&Symbol.iterator;var c="<<anonymous>>",d={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:h(i.thatReturnsNull),arrayOf:function(e){return h((function(t,n,i,r,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new p("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var u=e(a,l,i,r,o+"["+l+"]",s);if(u instanceof Error)return u}return null}))},element:h((function(t,n,i,r,o){var a=t[n];return e(a)?null:new p("Invalid "+r+" `"+o+"` of type `"+v(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return h((function(t,n,i,r,o){if(!(t[n]instanceof e)){var a=e.name||c;return new p("Invalid "+r+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,i,r){return m(e[t])?null:new p("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,n,i,r,o){if("function"!=typeof e)return new p("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=e(a,u,i,r,o+"."+u,s);if(c instanceof Error)return c}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return h((function(t,n,i,r,o){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;return new p("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var r=e[n];if("function"!=typeof r)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return h((function(t,n,i,r,o){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,r,o,s))return null;return new p("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(e){return h((function(t,n,i,r,o){var a=t[n],l=v(a);if("object"!==l)return new p("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var d=c(a,u,i,r,o+"."+u,s);if(d)return d}}return null}))},exact:function(e){return h((function(t,n,i,r,o){var l=t[n],u=v(l);if("object"!==u)return new p("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var c=a({},t[n],e);for(var d in c){var f=e[d];if(!f)return new p("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(l,d,i,r,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 i={},a=0;function l(l,u,d,f,h,g,m){if(f=f||c,g=g||d,m!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=f+":"+d;!i[v]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",g,f),i[v]=!0,a++)}return null==u[d]?l?null===u[d]?new p("The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `null`."):new p("The "+h+" `"+g+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(u,d,f,h,g)}var u=l.bind(null,!1);return u.isRequired=l.bind(null,!0),u}function g(e){return h((function(t,n,i,r,o,a){var s=t[n];return v(s)!==e?new p("Invalid "+r+" `"+o+"` of type `"+y(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,r=n.call(t);if(n!==t.entries){for(;!(i=r.next()).done;)if(!m(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!m(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,d.checkPropTypes=l,d.PropTypes=d,d}}).call(t,n(5))},function(e,t){function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,r,o,a,s,l){if(n(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,o,a,s,l],d=0;(u=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}).call(t,n(5))},function(e,t,n){(function(t){var i=n(7);if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))i.call(a,c)&&(l[c]=a[c]);if(n){s=n(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV)var i=n(8),r=n(9),o=n(11),a={};e.exports=function(e,n,s,l,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var d;try{i("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,c,typeof e[c]),d=e[c](n,c,l,s,null,o)}catch(e){d=e}if(r(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,c,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=u?u():"";r(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}).call(t,n(5))},function(e,t,n){var i=n(7),r=n(8),o=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==o&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=m.default},function(e,t){var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,r=[],o=void 0,a=!1,s=function(e,n){return t(e,r[n])},l=function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&i===this&&n.length===r.length&&n.every(s)?o:(a=!0,i=this,r=n,o=e.apply(this,n))};return l}}])}(Zze);var $ze=E(Zze.exports),Xze={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:J(e)}function o(e){return a(e)&&!u(e)?e:Q(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function F(e){e&&(e.value=!0)}function x(){}function E(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return L(e,t,0)}function A(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",R=N||O;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function q(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[O]);if("function"==typeof t)return t}function K(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function J(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Q(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[R]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(J,V),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return de(this,e,t,!1)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Q,V),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=Q,V.Indexed=J;var Z,$,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 ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return K(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,J(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?J(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===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($)return $;$=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function ke(){throw TypeError("Abstract")}function Fe(){}function xe(){}function Ee(){}V.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,J),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,J),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,J),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 P(e,t,n)?this:new be(this._value,A(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,J),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(Fe,ke),t(xe,ke),t(Ee,ke),ke.Keyed=Fe,ke.Indexed=xe,ke.Set=Ee;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Se(n)}if("string"===t)return e.length>ze?Pe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Ae(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Oe,1073741824&Oe&&(Oe=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Re,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Oe=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,Fe),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return ot(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return ot(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return Ut(dn(this,e))},He.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ke,Ve="@@__IMMUTABLE_MAP__@@",Ye=He.prototype;function Je(e,t){this.ownerID=e,this.entries=t}function Qe(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 $e(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 it(e,t,n,i){var r=Object.create(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ke||(Ke=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Je(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(F(s),F(a),new Xe(t,i,[r,o]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Qe(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Xe(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Xe(e,De(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new Qe(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function ft(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}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,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:E(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function _t(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,Je.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Je.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Je(e,p)}},Qe.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+m,t,n,i)},Qe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=at(p,e,t+m,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=kt)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,_=c?h?yt(f,d,h,g):_t(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=_,this):new Qe(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+m,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<Ft)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(F(a),F(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(F(a),s?void F(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(F(o),lt(this,e,t,De(i),[i,r])))},Je.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,kt=v/2,Ft=v/4;function xt(e){var t=Mt();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return jt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return zt(this,0,-1)},xt.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])}))},xt.prototype.shift=function(){return zt(this,1)},xt.prototype.merge=function(){return Bt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},xt.prototype.setSize=function(e){return zt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,T(e,n),A(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===At?G():B(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=xt.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Dt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Ot(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-m,n))===o&&r===this.array.length-1)return this}var a=Ot(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Pt,Tt,At={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return At;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,o):r=Nt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,o);return c===u?e:((a=Ot(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(F(o),a=Ot(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Ot(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Rt(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=Ot(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Ot(g.array[b],i)}g.array[d>>>m&y]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var _=a>>>l&y;if(_!==f>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,h)}function Bt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Wt():qt(e)?e:Wt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=Ht(rt(),Mt()))}function Kt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Jt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(j,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(i,s,t.call(n,a[1],s,e),r)}))},i}function 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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():He()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var o=T(t,r),a=A(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(j,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===j?e:B(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(M,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?J(o):Q(o)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?J:Q).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=H(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function Fn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=He(o)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,He),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Ut.prototype.set=function(e,t){return Kt(this,e,t)},Ut.prototype.remove=function(e){return Kt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[h]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Yt,J),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Jt,Q),Jt.prototype.has=function(e){return this._iter.includes(e)},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Jt.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(Qt,Y),Qt.prototype.entrySeq=function(){return this._iter.toSeq()},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Qt.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 i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Jt.prototype.cacheResult=Qt.prototype.cacheResult=_n,t(Fn,Fe),Fn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},Fn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Fn.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},Fn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=En(this,rt()))},Fn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(this,n)},Fn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:En(this,t)},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Fn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=Fn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():Tn(e)&&!c(e)?e:Nn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Ln])}xn[g]=xn.remove,xn.deleteIn=xn.removeIn=Ye.removeIn,xn.merge=Ye.merge,xn.mergeWith=Ye.mergeWith,xn.mergeIn=Ye.mergeIn,xn.mergeDeep=Ye.mergeDeep,xn.mergeDeepWith=Ye.mergeDeepWith,xn.mergeDeepIn=Ye.mergeDeepIn,xn.setIn=Ye.setIn,xn.update=Ye.update,xn.updateIn=Ye.updateIn,xn.withMutations=Ye.withMutations,xn.asMutable=Ye.asMutable,xn.asImmutable=Ye.asImmutable,t(Pn,Ee),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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])},Pn.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)}))}))},Pn.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)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return On(dn(this,e))},Pn.prototype.sortBy=function(e,t){return On(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=Tn;var An,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return An||(An=jn(rt()))}function On(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(e){return Tn(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ye.withMutations,In.asMutable=Ye.asMutable,In.asImmutable=Ye.asImmutable,In.__empty=Nn,In.__make=jn,t(On,Pn),On.of=function(){return this(arguments)},On.fromKeys=function(e){return this(i(e).keySeq())},On.prototype.toString=function(){return this.__toString("OrderedSet {","}")},On.isOrderedSet=Rn;var zn,Bn=On.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Wt()))}function qn(e){return null==e?Jn():Hn(e)?e:Jn().unshiftAll(e)}function Hn(e){return!(!e||!e[Kn])}Bn[h]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Jn()},qn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Hn;var Wn,Kn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Jn(){return Wn||(Wn=Yn(0))}function Qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Kn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,Qn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return On(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Jt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Qt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=kn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(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?ni(e):oi)},minBy:function(e,t){return fn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Qn(i,{flip:function(){return gn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return E(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[R]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Qn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return gn(this,Xt(this,!1))},slice:function(e,t){return gn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=hn(this.toSeq(),J.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Qn(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,Qn(Y,i.prototype),Qn(J,r.prototype),Qn(Q,o.prototype),Qn(Fe,i.prototype),Qn(xe,r.prototype),Qn(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:He,OrderedMap:Ut,List:xt,Stack:qn,Set:Pn,OrderedSet:On,Record:Fn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(Xze);var eBe=Xze.exports.OrderedMap,tBe={createFromArray:function(e){return eBe(e.map((function(e){return[e.getKey(),e]})))}},nBe=tBe;var iBe=Xze.exports,rBe=iBe.Map,oBe=iBe.OrderedSet,aBe=iBe.Record,sBe=oBe(),lBe={style:sBe,entity:null},uBe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(e){return this.getStyle().includes(e)},i.applyStyle=function(e,t){var n=e.set("style",e.getStyle().add(t));return i.create(n)},i.removeStyle=function(e,t){var n=e.set("style",e.getStyle().remove(t));return i.create(n)},i.applyEntity=function(e,t){var n=e.getEntity()===t?e:e.set("entity",t);return i.create(n)},i.create=function(e){if(!e)return cBe;var t=rBe({style:sBe,entity:null}).merge(e),n=dBe.get(t);if(n)return n;var r=new i(t);return dBe=dBe.set(t,r),r},i.fromJS=function(e){var t=e.style,n=e.entity;return new i({style:Array.isArray(t)?oBe(t):t,entity:Array.isArray(n)?oBe(n):n})},i}(aBe(lBe)),cBe=new uBe,dBe=rBe([[rBe(lBe),cBe]]);uBe.EMPTY=cBe;var fBe=uBe;var pBe=function(e,t,n,i){if(e.size){var r=0;e.reduce((function(e,o,a){return t(e,o)||(n(e)&&i(r,a),r=a),o})),n(e.last())&&i(r,e.count())}};var hBe=fBe,gBe=pBe,mBe=Xze.exports,vBe=mBe.List,yBe=mBe.Map,bBe=mBe.OrderedSet,_Be=mBe.Record,wBe=mBe.Repeat,kBe=bBe(),FBe=_Be({key:"",type:"unstyled",text:"",characterList:vBe(),depth:0,data:yBe()}),xBe=function(e){var t,n;function i(t){return e.call(this,function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=vBe(wBe(hBe.EMPTY,n.length))),e}(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():kBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.findStyleRanges=function(e,t){gBe(this.getCharacterList(),EBe,e,t)},r.findEntityRanges=function(e,t){gBe(this.getCharacterList(),CBe,e,t)},i}(FBe);function EBe(e,t){return e.getStyle()===t.getStyle()}function CBe(e,t){return e.getEntity()===t.getEntity()}var SBe=xBe;var DBe=fBe,PBe=pBe,TBe=Xze.exports,ABe=TBe.List,LBe=TBe.Map,IBe=TBe.OrderedSet,MBe=TBe.Record,jBe=TBe.Repeat,NBe=IBe(),OBe={parent:null,characterList:ABe(),data:LBe(),depth:0,key:"",text:"",type:"unstyled",children:ABe(),prevSibling:null,nextSibling:null},RBe=function(e,t){return e.getStyle()===t.getStyle()},zBe=function(e,t){return e.getEntity()===t.getEntity()},BBe=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=ABe(jBe(DBe.EMPTY,n.length))),e},GBe=function(e){var t,n;function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:OBe;return e.call(this,BBe(t))||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():NBe},r.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(e,t){PBe(this.getCharacterList(),RBe,e,t)},r.findEntityRanges=function(e,t){PBe(this.getCharacterList(),zBe,e,t)},i}(MBe(OBe)),UBe=GBe,qBe=fBe,HBe=Xze.exports.Map;function WBe(e,t,n,i){var r=e.getBlockMap(),o=t.getStartKey(),a=t.getStartOffset(),s=t.getEndKey(),l=t.getEndOffset(),u=r.skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===s})).concat(HBe([[s,r.get(s)]])).map((function(e,t){var r,u;o===s?(r=a,u=l):(r=t===o?a:0,u=t===s?l:e.getLength());for(var c,d=e.getCharacterList();r<u;)c=d.get(r),d=d.set(r,i?qBe.applyStyle(c,n):qBe.removeStyle(c,n)),r++;return e.set("characterList",d)}));return e.merge({blockMap:r.merge(u),selectionBefore:t,selectionAfter:t})}var KBe={add:function(e,t,n){return WBe(e,t,n,!0)},remove:function(e,t,n){return WBe(e,t,n,!1)}},VBe=fBe;var YBe=function(e,t,n,i){for(var r=t,o=e.getCharacterList();r<n;)o=o.set(r,VBe.applyEntity(o.get(r),i)),r++;return e.set("characterList",o)},JBe=Xze.exports;var QBe=function(e,t,n){var i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).toOrderedMap().merge(JBe.OrderedMap([[a,i.get(a)]])).map((function(e,t){var i=t===r?o:0,l=t===a?s:e.getLength();return YBe(e,i,l,n)}));return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})},ZBe={getRemovalRange:function(e,t,n,i,r){var o=n.split(" ");o=o.map((function(e,t){if("forward"===r){if(t>0)return" "+e}else if(t<o.length-1)return e+" ";return e}));for(var a,s=i,l=null,u=null,c=0;c<o.length;c++){if(e<(a=s+o[c].length)&&s<t)null!==l||(l=s),u=a;else if(null!==l)break;s=a}var d=i+n.length,f=l===i,p=u===d;return(!f&&p||f&&!p)&&("forward"===r?u!==d&&u++:l!==i&&l--),{start:l,end:u}}},$Be="production"!==ma.env.NODE_ENV?function(e){}:function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};var XBe=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];if($Be(t),!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,(function(){return String(i[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}},eGe=XBe;var tGe=function(e,t){var n=[];return e.findEntityRanges((function(e){return e.getEntity()===t}),(function(e,t){n.push({start:e,end:t})})),n.length||("production"!==ma.env.NODE_ENV?eGe(!1,"Entity key not found in this range."):eGe(!1)),n},nGe=ZBe,iGe=tGe,rGe=XBe;function oGe(e,t,n,i,r,o,a){var s=n.getStartOffset(),l=n.getEndOffset(),u=e.__get(r).getMutability(),c=a?s:l;if("MUTABLE"===u)return n;var d=iGe(t,r).filter((function(e){return c<=e.end&&c>=e.start}));1!=d.length&&("production"!==ma.env.NODE_ENV?rGe(!1,"There should only be one entity range within this removal range."):rGe(!1));var f=d[0];if("IMMUTABLE"===u)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});o||(a?l=f.end:s=f.start);var p=nGe.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,i);return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1})}var aGe=function(e,t,n,i,r){var o=i.getStartOffset(),a=i.getEndOffset(),s=t.getEntityAt(o),l=n.getEntityAt(a-1);if(!s&&!l)return i;var u=i;if(s&&s===l)u=oGe(e,t,u,r,s,!0,!0);else if(s&&l){var c=oGe(e,t,u,r,s,!1,!0),d=oGe(e,n,u,r,l,!1,!1);u=u.merge({anchorOffset:c.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(s){var f=oGe(e,t,u,r,s,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(l){var p=oGe(e,n,u,r,l,!1,!1);u=u.merge({focusOffset:p.getEndOffset(),isBackward:!1})}return u},sGe={},lGe=Math.pow(2,24);var uGe=function(){for(var e;void 0===e||sGe.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*lGe).toString(32);return sGe[e]=!0,e},cGe=UBe,dGe=uGe,fGe=Xze.exports.OrderedMap,pGe=function(e){return e.first()instanceof cGe?function(e){var t,n={};return fGe(e.withMutations((function(e){e.forEach((function(i,r){var o=i.getKey(),a=i.getNextSiblingKey(),s=i.getPrevSiblingKey(),l=i.getChildKeys(),u=i.getParentKey(),c=dGe();if(n[o]=c,a&&(e.get(a)?e.setIn([a,"prevSibling"],c):e.setIn([o,"nextSibling"],null)),s&&(e.get(s)?e.setIn([s,"nextSibling"],c):e.setIn([o,"prevSibling"],null)),u&&e.get(u)){var d=e.get(u).getChildKeys();e.setIn([u,"children"],d.set(d.indexOf(i.getKey()),c))}else e.setIn([o,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],c),e.setIn([o,"prevSibling"],n[t.getKey()])),t=e.get(o);l.forEach((function(t){e.get(t)?e.setIn([t,"parent"],c):e.setIn([o,"children"],i.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return fGe(e.toArray().map((function(e){var t=dGe();return[t,e.set("key",t)]})))}(e)},hGe=fBe,gGe=pBe,mGe=XBe;function vGe(e,t,n){var i=t.getCharacterList(),r=n>0?i.get(n-1):void 0,o=n<i.count()?i.get(n):void 0,a=r?r.getEntity():void 0,s=o?o.getEntity():void 0;if(s&&s===a&&"MUTABLE"!==e.__get(s).getMutability()){for(var l,u=function(e,t,n){var i;return gGe(e,(function(e,t){return e.getEntity()===t.getEntity()}),(function(e){return e.getEntity()===t}),(function(e,t){e<=n&&t>=n&&(i={start:e,end:t})})),"object"!=typeof i&&("production"!==ma.env.NODE_ENV?mGe(!1,"Removal range must exist within character list."):mGe(!1)),i}(i,s,n),c=u.start,d=u.end;c<d;)l=i.get(c),i=i.set(c,hGe.applyEntity(l,null)),c++;return t.set("characterList",i)}return t}var yGe=function(e,t){var n=e.getBlockMap(),i=e.getEntityMap(),r={},o=t.getStartKey(),a=t.getStartOffset(),s=n.get(o),l=vGe(i,s,a);l!==s&&(r[o]=l);var u=t.getEndKey(),c=t.getEndOffset(),d=n.get(u);o===u&&(d=l);var f=vGe(i,d,c);return f!==d&&(r[u]=f),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)},bGe=pGe,_Ge=yGe,wGe=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=t.getEndKey(),o=t.getEndOffset(),a=_Ge(e,t).getBlockMap(),s=a.keySeq(),l=s.indexOf(n),u=s.indexOf(r)+1;return bGe(a.slice(l,u).map((function(e,t){var a=e.getText(),s=e.getCharacterList();return n===r?e.merge({text:a.slice(i,o),characterList:s.slice(i,o)}):t===n?e.merge({text:a.slice(i),characterList:s.slice(i)}):t===r?e.merge({text:a.slice(0,o),characterList:s.slice(0,o)}):e})))};var kGe=function(e,t,n){var i=e;if(n===i.count())t.forEach((function(e){i=i.push(e)}));else if(0===n)t.reverse().forEach((function(e){i=i.unshift(e)}));else{var r=i.slice(0,n),o=i.slice(n);i=r.concat(t,o).toList()}return i},FGe=nBe,xGe=UBe,EGe=kGe,CGe=XBe,SGe=pGe,DGe=Xze.exports.List,PGe=function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=n.get(r),l=s.getText(),u=s.getCharacterList(),c=r,d=o+i.getText().length,f=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":f=i.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":f=i.getData()}var p=s.getType();l&&"unstyled"===p&&(p=i.getType());var h=s.merge({text:l.slice(0,o)+i.getText()+l.slice(o),characterList:EGe(u,i.getCharacterList(),o),type:p,data:f});return e.merge({blockMap:n.set(r,h),selectionBefore:t,selectionAfter:t.merge({anchorKey:c,anchorOffset:d,focusKey:c,focusOffset:d,isBackward:!1})})},TGe=function(e,t,n,i,r,o){var a=n.first()instanceof xGe,s=[],l=i.size,u=n.get(r),c=i.first(),d=i.last(),f=d.getLength(),p=d.getKey(),h=a&&(!u.getChildKeys().isEmpty()||!c.getChildKeys().isEmpty());n.forEach((function(e,t){t===r?(h?s.push(e):s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.slice(0,t),a=r.slice(0,t),s=n.first();return e.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?e.getType():s.getType(),data:s.getData()})}(e,o,i)),i.slice(h?0:1,l-1).forEach((function(e){return s.push(e)})),s.push(function(e,t,n){var i=e.getText(),r=e.getCharacterList(),o=i.length,a=i.slice(t,o),s=r.slice(t,o),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,o,i))):s.push(e)}));var g=FGe.createFromArray(s);return a&&(g=function(e,t,n,i){return e.withMutations((function(t){var r=n.getKey(),o=i.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),i=e,r=[];for(t.get(n)&&r.push(n);i&&i.getNextSiblingKey();){var o=i.getNextSiblingKey();if(!o)break;r.push(o),i=t.get(o)}return r}(i,e),u=l[l.length-1];if(t.get(o)?(t.setIn([r,"nextSibling"],o),t.setIn([o,"prevSibling"],r)):(t.setIn([r,"nextSibling"],i.getNextSiblingKey()),t.setIn([i.getNextSiblingKey(),"prevSibling"],r)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var c=e.get(s).getChildKeys(),d=c.indexOf(r)+1,f=c.toArray();f.splice.apply(f,[d,0].concat(l)),t.setIn([s,"children"],DGe(f))}}))}(g,0,u,c)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})},AGe=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||("production"!==ma.env.NODE_ENV?CGe(!1,"`insertFragment` should only be called with a collapsed selection state."):CGe(!1));var r=e.getBlockMap(),o=SGe(n),a=t.getStartKey(),s=t.getStartOffset(),l=r.get(a);return l instanceof xGe&&(l.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?CGe(!1,"`insertFragment` should not be called when a container node is selected."):CGe(!1))),1===o.size?PGe(e,t,r,o.first(),a,s,i):TGe(e,t,r,o,a,s)},LGe=kGe,IGe=XBe,MGe=Xze.exports.Repeat;var jGe=function(e,t,n,i){t.isCollapsed()||("production"!==ma.env.NODE_ENV?IGe(!1,"`insertText` should only be called with a collapsed range."):IGe(!1));var r=null;if(null!=n&&(r=n.length),null==r||0===r)return e;var o=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),l=o.get(a),u=l.getText(),c=l.merge({text:u.slice(0,s)+n+u.slice(s,l.getLength()),characterList:LGe(l.getCharacterList(),MGe(i,r).toList(),s)}),d=s+r;return e.merge({blockMap:o.set(a,c),selectionAfter:t.merge({anchorOffset:d,focusOffset:d})})},NGe=Xze.exports.Map;var OGe=function(e,t,n){var i=t.getStartKey(),r=t.getEndKey(),o=e.getBlockMap(),a=o.toSeq().skipUntil((function(e,t){return t===i})).takeUntil((function(e,t){return t===r})).concat(NGe([[r,o.get(r)]])).map(n);return e.merge({blockMap:o.merge(a),selectionBefore:t,selectionAfter:t})},RGe=UBe,zGe=function(e,t){if(!(e instanceof RGe))return null;var n=e.getNextSiblingKey();if(n)return n;var i=e.getParentKey();if(!i)return null;for(var r=t.get(i);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?t.get(o):null}return r?r.getNextSiblingKey():null},BGe=UBe,GGe=zGe,UGe=Xze.exports;UGe.List;var qGe=UGe.Map,HGe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},WGe=function(e,t){var n=[];if(!e)return n;for(var i=t.get(e);i&&i.getParentKey();){var r=i.getParentKey();r&&n.push(r),i=r?t.get(r):null}return n},KGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getNextSiblingKey();i&&!t.get(i);)i=n.get(i).getNextSiblingKey()||null;return i},VGe=function(e,t,n){if(!e)return null;for(var i=n.get(e.getKey()).getPrevSiblingKey();i&&!t.get(i);)i=n.get(i).getPrevSiblingKey()||null;return i},YGe=function(e,t,n,i){return e.withMutations((function(r){if(HGe(t.getKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})})),HGe(n.getKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})})),WGe(t.getKey(),i).forEach((function(e){return HGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),HGe(t.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),HGe(t.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:KGe(e,r,i)})})),HGe(n.getNextSiblingKey(),r,(function(e){return e.merge({prevSibling:VGe(e,r,i)})})),HGe(n.getPrevSiblingKey(),r,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),WGe(n.getKey(),i).forEach((function(e){HGe(e,r,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return r.get(e)})),nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),function(e,t){var n=[];if(!e)return n;for(var i=GGe(e,t);i&&t.get(i);){var r=t.get(i);n.push(i),i=r.getParentKey()?GGe(r,t):null}return n}(n,i).forEach((function(e){return HGe(e,r,(function(e){return e.merge({nextSibling:KGe(e,r,i),prevSibling:VGe(e,r,i)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var o=t.getPrevSiblingKey();HGe(n.getKey(),r,(function(e){return e.merge({prevSibling:o})})),HGe(o,r,(function(e){return e.merge({nextSibling:n.getKey()})}));var a=o?e.get(o):null,s=a?a.getParentKey():null;if(t.getChildKeys().forEach((function(e){HGe(e,r,(function(e){return e.merge({parent:s})}))})),null!=s){var l=e.get(s);HGe(s,r,(function(e){return e.merge({children:l.getChildKeys().concat(t.getChildKeys())})}))}HGe(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),r,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))},JGe=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var i=e.slice(0,t),r=e.slice(n);e=i.concat(r).toList()}return e},QGe=function(e,t){if(t.isCollapsed())return e;var n,i=e.getBlockMap(),r=t.getStartKey(),o=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i.get(r),u=i.get(a),c=l instanceof BGe,d=[];if(c){var f=u.getChildKeys(),p=WGe(a,i);u.getNextSiblingKey()&&(d=d.concat(p)),f.isEmpty()||(d=d.concat(p.concat([a]))),d=d.concat(WGe(GGe(u,i),i))}n=l===u?JGe(l.getCharacterList(),o,s):l.getCharacterList().slice(0,o).concat(u.getCharacterList().slice(s));var h=l.merge({text:l.getText().slice(0,o)+u.getText().slice(s),characterList:n}),g=c&&0===o&&0===s&&u.getParentKey()===r&&null==u.getPrevSiblingKey()?qGe([[r,null]]):i.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===a})).filter((function(e,t){return-1===d.indexOf(t)})).concat(qGe([[a,null]])).map((function(e,t){return t===r?h:null})),m=i.merge(g).filter((function(e){return!!e}));return c&&l!==u&&(m=YGe(m,l,u,i)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},ZGe=UBe,$Ge=uGe,XGe=Xze.exports,eUe=XBe,tUe=OGe,nUe=XGe.List,iUe=XGe.Map,rUe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},oUe=function(e,t){t.isCollapsed()||("production"!==ma.env.NODE_ENV?eUe(!1,"Selection range must be collapsed."):eUe(!1));var n=t.getAnchorKey(),i=e.getBlockMap(),r=i.get(n),o=r.getText();if(!o){var a=r.getType();if("unordered-list-item"===a||"ordered-list-item"===a)return tUe(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var s=t.getAnchorOffset(),l=r.getCharacterList(),u=$Ge(),c=r instanceof ZGe,d=r.merge({text:o.slice(0,s),characterList:l.slice(0,s)}),f=d.merge({key:u,text:o.slice(s),characterList:l.slice(s),data:iUe()}),p=i.toSeq().takeUntil((function(e){return e===r})),h=i.toSeq().skipUntil((function(e){return e===r})).rest(),g=p.concat([[n,d],[u,f]],h).toOrderedMap();return c&&(r.getChildKeys().isEmpty()||("production"!==ma.env.NODE_ENV?eUe(!1,"ContentBlockNode must not have children"):eUe(!1)),g=function(e,t,n){return e.withMutations((function(e){var i=t.getKey(),r=n.getKey();rUe(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(i)+1,o=t.toArray();return o.splice(n,0,r),e.merge({children:nUe(o)})})),rUe(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:r})})),rUe(i,e,(function(e){return e.merge({nextSibling:r})})),rUe(r,e,(function(e){return e.merge({prevSibling:i})}))}))}(g,d,f)),e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:u,anchorOffset:0,focusKey:u,focusOffset:0,isBackward:!1})})},aUe=fBe,sUe=KBe,lUe=QBe,uUe=aGe,cUe=wGe,dUe=AGe,fUe=jGe,pUe=XBe,hUe=OGe,gUe=yGe,mUe=QGe,vUe=oUe,yUe=Xze.exports.OrderedSet,bUe={replaceText:function(e,t,n,i,r){var o=gUe(e,t),a=mUe(o,t),s=aUe.create({style:i||yUe(),entity:r||null});return fUe(a,a.getSelectionAfter(),n,s)},insertText:function(e,t,n,i,r){return t.isCollapsed()||("production"!==ma.env.NODE_ENV?pUe(!1,"Target range must be collapsed for `insertText`."):pUe(!1)),bUe.replaceText(e,t,n,i,r)},moveText:function(e,t,n){var i=cUe(e,t),r=bUe.removeRange(e,t,"backward");return bUe.replaceWithFragment(r,n,i)},replaceWithFragment:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=gUe(e,t),o=mUe(r,t);return dUe(o,o.getSelectionAfter(),n,i)},removeRange:function(e,t,n){var i,r,o,a;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),i=t.getAnchorKey(),r=t.getFocusKey(),o=e.getBlockForKey(i),a=e.getBlockForKey(r);var s=t.getStartOffset(),l=t.getEndOffset(),u=o.getEntityAt(s),c=a.getEntityAt(l-1);if(i===r&&u&&u===c){var d=uUe(e.getEntityMap(),o,a,t,n);return mUe(e,d)}var f=gUe(e,t);return mUe(f,t)},splitBlock:function(e,t){var n=gUe(e,t),i=mUe(n,t);return vUe(i,i.getSelectionAfter())},applyInlineStyle:function(e,t,n){return sUe.add(e,t,n)},removeInlineStyle:function(e,t,n){return sUe.remove(e,t,n)},setBlockType:function(e,t,n){return hUe(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return hUe(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return hUe(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var i=gUe(e,t);return lUe(i,t,n)}},_Ue=bUe;var wUe=function(e){return Object.keys(e).map((function(t){return e[t]}))};function kUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FUe=pBe,xUe=wUe,EUe=Xze.exports,CUe=EUe.List,SUe=EUe.Repeat,DUe=EUe.Record,PUe=function(){return!0},TUe=DUe({start:null,end:null}),AUe=DUe({start:null,end:null,decoratorKey:null,leaves:null}),LUe={generate:function(e,t,n){var i=t.getLength();if(!i)return CUe.of(new AUe({start:0,end:0,decoratorKey:null,leaves:CUe.of(new TUe({start:0,end:0}))}));var r=[],o=n?n.getDecorations(t,e):CUe(SUe(null,i)),a=t.getCharacterList();return FUe(o,MUe,PUe,(function(e,t){r.push(new AUe({start:e,end:t,decoratorKey:o.get(e),leaves:IUe(a.slice(e,t).toList(),e)}))})),CUe(r)},fromJS:function(e){var t=e.leaves,n=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["leaves"]);return new AUe(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){kUe(e,t,n[t])}))}return e}({},n,{leaves:null!=t?CUe(Array.isArray(t)?t:xUe(t)).map((function(e){return TUe(e)})):null}))}};function IUe(e,t){var n=[],i=e.map((function(e){return e.getStyle()})).toList();return FUe(i,MUe,PUe,(function(e,i){n.push(new TUe({start:e+t,end:i+t}))})),CUe(n)}function MUe(e,t){return e===t}var jUe=LUe;var NUe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},i}((0,Xze.exports.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),OUe=NUe;var RUe=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 zUe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BUe=OUe,GUe=XBe,UUe=RUe,qUe=(0,Xze.exports.Map)(),HUe=UUe();function WUe(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var KUe={getLastCreatedEntityKey:function(){return WUe("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),KUe.__getLastCreatedEntityKey()},create:function(e,t,n){return WUe("DraftEntity.create","contentState.createEntity"),KUe.__create(e,t,n)},add:function(e){return WUe("DraftEntity.add","contentState.addEntity"),KUe.__add(e)},get:function(e){return WUe("DraftEntity.get","contentState.getEntity"),KUe.__get(e)},__getAll:function(){return qUe},__loadWithEntities:function(e){qUe=e,HUe=UUe()},mergeData:function(e,t){return WUe("DraftEntity.mergeData","contentState.mergeEntityData"),KUe.__mergeData(e,t)},replaceData:function(e,t){return WUe("DraftEntity.replaceData","contentState.replaceEntityData"),KUe.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return HUe},__create:function(e,t,n){return KUe.__add(new BUe({type:e,mutability:t,data:n||{}}))},__add:function(e){return HUe=UUe(),qUe=qUe.set(HUe,e),HUe},__get:function(e){var t=qUe.get(e);return t||("production"!==ma.env.NODE_ENV?GUe(!1,"Unknown DraftEntity key: %s.",e):GUe(!1)),t},__mergeData:function(e,t){var n=KUe.__get(e),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){zUe(e,t,n[t])}))}return e}({},n.getData(),t),r=n.set("data",i);return qUe=qUe.set(e,r),r},__replaceData:function(e,t){var n=KUe.__get(e).set("data",t);return qUe=qUe.set(e,n),n}},VUe=KUe;var YUe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(e,t,n){var i=this.getAnchorKey(),r=this.getFocusKey();if(i===r&&i===e){var o=this.getStartOffset(),a=this.getEndOffset();return t<=o&&o<=n||t<=a&&a<=n}if(e!==i&&e!==r)return!1;var s=e===i?this.getAnchorOffset():this.getFocusOffset();return t<=s&&n>=s},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},i.createEmpty=function(e){return new i({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},i}((0,Xze.exports.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),JUe=YUe,QUe=function(e){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[e]},ZUe=new RegExp("\r","g");var $Ue=function(e){return e.replace(ZUe,"")};function XUe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){eqe(e,t,n[t])}))}return e}function eqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tqe=nBe,nqe=fBe,iqe=SBe,rqe=UBe,oqe=VUe,aqe=JUe,sqe=uGe,lqe=wUe,uqe=QUe,cqe=Xze.exports,dqe=$Ue,fqe=cqe.List,pqe=cqe.Record,hqe=cqe.Repeat,gqe=cqe.Map,mqe=cqe.OrderedMap,vqe=pqe({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),yqe=uqe("draft_tree_data_support")?rqe:iqe,bqe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.getEntityMap=function(){return oqe},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(e){return this.getBlockMap().get(e)},r.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil((function(t){return t===e})).skip(1).first()},r.getBlockAfter=function(e){return this.getBlockMap().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(e){return this.getBlockMap().map((function(e){return e?e.getText():""})).join(e||"\n")},r.getLastCreatedEntityKey=function(){return oqe.__getLastCreatedEntityKey()},r.hasText=function(){var e=this.getBlockMap();return e.size>1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(e,t,n){return oqe.__create(e,t,n),this},r.mergeEntityData=function(e,t){return oqe.__mergeData(e,t),this},r.replaceEntityData=function(e,t){return oqe.__replaceData(e,t),this},r.addEntity=function(e){return oqe.__add(e),this},r.getEntity=function(e){return oqe.__get(e)},r.getAllEntities=function(){return oqe.__getAll()},r.loadWithEntities=function(e){return oqe.__loadWithEntities(e)},i.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=tqe.createFromArray(n),o=r.isEmpty()?new aqe:aqe.createEmpty(r.first().getKey());return new i({blockMap:r,entityMap:t||oqe,selectionBefore:o,selectionAfter:o})},i.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=dqe(e),new yqe({key:sqe(),text:e,type:"unstyled",characterList:fqe(hqe(nqe.EMPTY,e.length))})}));return i.createFromBlockArray(r)},i.fromJS=function(e){return new i(XUe({},e,{blockMap:mqe(e.blockMap).map(i.createContentBlockFromJS),selectionBefore:new aqe(e.selectionBefore),selectionAfter:new aqe(e.selectionAfter)}))},i.createContentBlockFromJS=function(e){var t=e.characterList;return new yqe(XUe({},e,{data:gqe(e.data),characterList:null!=t?fqe((Array.isArray(t)?t:lqe(t)).map((function(e){return nqe.fromJS(e)}))):void 0}))},i}(vqe),_qe=bqe,wqe=XBe,kqe="LTR",Fqe=null;function xqe(e){return e===kqe||"RTL"===e}function Eqe(e){return xqe(e)||("production"!==ma.env.NODE_ENV?wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),e===kqe?"ltr":"rtl"}function Cqe(e){Fqe=e}var Sqe={NEUTRAL:"NEUTRAL",LTR:kqe,RTL:"RTL",isStrong:xqe,getHTMLDir:Eqe,getHTMLDirIfDifferent:function(e,t){return xqe(e)||("production"!==ma.env.NODE_ENV?wqe(!1,"`dir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),xqe(t)||("production"!==ma.env.NODE_ENV?wqe(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):wqe(!1)),e===t?null:Eqe(e)},setGlobalDir:Cqe,initGlobalDir:function(){Cqe(kqe)},getGlobalDir:function(){return Fqe||this.initGlobalDir(),Fqe||("production"!==ma.env.NODE_ENV?wqe(!1,"Global direction not set."):wqe(!1)),Fqe}},Dqe=Sqe,Pqe=XBe,Tqe="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",Aqe="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",Lqe=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+Tqe+Aqe+"]"),Iqe=new RegExp("["+Tqe+Aqe+"]");function Mqe(e){var t=Lqe.exec(e);return null==t?null:t[0]}function jqe(e){var t=Mqe(e);return null==t?Dqe.NEUTRAL:Iqe.exec(t)?Dqe.RTL:Dqe.LTR}function Nqe(e,t){if(t=t||Dqe.NEUTRAL,!e.length)return t;var n=jqe(e);return n===Dqe.NEUTRAL?t:n}function Oqe(e,t){return t||(t=Dqe.getGlobalDir()),Dqe.isStrong(t)||("production"!==ma.env.NODE_ENV?Pqe(!1,"Fallback direction must be a strong direction"):Pqe(!1)),Nqe(e,t)}var Rqe={firstStrongChar:Mqe,firstStrongCharDir:jqe,resolveBlockDir:Nqe,getDirection:Oqe,isDirectionLTR:function(e,t){return Oqe(e,t)===Dqe.LTR},isDirectionRTL:function(e,t){return Oqe(e,t)===Dqe.RTL}};function zqe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bqe,Gqe=Rqe,Uqe=Sqe,qqe=XBe,Hqe=function(){function e(e){zqe(this,"_defaultDir",void 0),zqe(this,"_lastDir",void 0),e?Uqe.isStrong(e)||("production"!==ma.env.NODE_ENV?qqe(!1,"Default direction must be a strong direction (LTR or RTL)"):qqe(!1)):e=Uqe.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=Gqe.getDirection(e,this._lastDir),this._lastDir},e}(),Wqe=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")},Kqe=Hqe,Vqe=Xze.exports,Yqe=Wqe,Jqe=Vqe.OrderedMap,Qqe={getDirectionMap:function(e,t){Bqe?Bqe.reset():Bqe=new Kqe;var n=e.getBlockMap(),i=n.valueSeq().map((function(e){return Yqe(Bqe).getDirection(e.getText())})),r=Jqe(n.keySeq().zip(i));return null!=t&&Vqe.is(t,r)?t:r}};function Zqe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){$qe(e,t,n[t])}))}return e}function $qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xqe=jUe,eHe=_qe,tHe=Qqe,nHe=JUe,iHe=Xze.exports,rHe=iHe.OrderedSet,oHe=iHe.Record,aHe=iHe.Stack,sHe=iHe.OrderedMap,lHe=iHe.List,uHe=oHe({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:aHe(),selection:null,treeMap:null,undoStack:aHe()}),cHe=function(){t.createEmpty=function(e){return t.createWithContent(eHe.createFromText(""),e)},t.createWithContent=function(e,n){if(0===e.getBlockMap().count())return t.createEmpty(n);var i=e.getBlockMap().first().getKey();return t.create({currentContent:e,undoStack:aHe(),redoStack:aHe(),decorator:n||null,selection:nHe.createEmpty(i)})},t.create=function(e){var n=e.currentContent,i=Zqe({},e,{treeMap:fHe(n,e.decorator),directionMap:tHe.getDirectionMap(n)});return new t(new uHe(i))},t.fromJS=function(e){return new t(new uHe(Zqe({},e,{directionMap:null!=e.directionMap?sHe(e.directionMap):e.directionMap,inlineStyleOverride:null!=e.inlineStyleOverride?rHe(e.inlineStyleOverride):e.inlineStyleOverride,nativelyRenderedContent:null!=e.nativelyRenderedContent?eHe.fromJS(e.nativelyRenderedContent):e.nativelyRenderedContent,redoStack:null!=e.redoStack?aHe(e.redoStack.map((function(e){return eHe.fromJS(e)}))):e.redoStack,selection:null!=e.selection?new nHe(e.selection):e.selection,treeMap:null!=e.treeMap?sHe(e.treeMap).map((function(e){return lHe(e).map((function(e){return Xqe.fromJS(e)}))})):e.treeMap,undoStack:null!=e.undoStack?aHe(e.undoStack.map((function(e){return eHe.fromJS(e)}))):e.undoStack,currentContent:eHe.fromJS(e.currentContent)})))},t.set=function(e,n){var i=e.getImmutable().withMutations((function(t){var i=t.get("decorator"),r=i;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||e.getCurrentContent();if(r!==i){var a,s=t.get("treeMap");return a=r&&i?function(e,t,n,i,r){return n.merge(t.toSeq().filter((function(t){return i.getDecorations(t,e)!==r.getDecorations(t,e)})).map((function(t){return Xqe.generate(e,t,i)})))}(o,o.getBlockMap(),s,r,i):fHe(o,r),void t.merge({decorator:r,treeMap:a,nativelyRenderedContent:null})}o!==e.getCurrentContent()&&t.set("treeMap",function(e,t,n,i){var r=e.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter((function(e,t){return e!==o.get(t)})).map((function(e){return Xqe.generate(r,e,i)})))}(e,o.getBlockMap(),o.getEntityMap(),r)),t.merge(n)}));return new t(i)};var e=t.prototype;function t(e){$qe(this,"_immutable",void 0),this._immutable=e}return e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(e,n){return t.set(e,{inlineStyleOverride:n})},e.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i>0)return r.getInlineStyleAt(i-1);if(r.getLength())return r.getInlineStyleAt(0);return hHe(e,n)}(t,n):function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),r=e.getBlockForKey(n);if(i<r.getLength())return r.getInlineStyleAt(i);if(i>0)return r.getInlineStyleAt(i-1);return hHe(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 dHe(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),dHe(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),i=n.getKey(),r=n.getLength();return t.acceptSelection(e,new nHe({anchorKey:i,anchorOffset:r,focusKey:i,focusOffset:r,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var o=tHe.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:o,lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var a=e.getSelection(),s=e.getCurrentContent(),l=e.getUndoStack(),u=n;a!==s.getSelectionAfter()||pHe(e,i)?(l=l.push(s),u=u.set("selectionBefore",a)):"insert-characters"!==i&&"backspace-character"!==i&&"delete-character"!==i||(u=u.set("selectionBefore",s.getSelectionBefore()));var c=e.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(i)&&(c=null);var f={currentContent:u,directionMap:o,undoStack:l,redoStack:aHe(),lastChangeType:i,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:c};return t.set(e,f)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:n.shift(),redoStack:e.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),i=n.peek();if(!i)return e;var r=e.getCurrentContent(),o=tHe.getDirectionMap(i,e.getDirectionMap());return t.set(e,{currentContent:i,directionMap:o,undoStack:e.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function dHe(e,t,n){return cHe.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function fHe(e,t){return e.getBlockMap().map((function(n){return Xqe.generate(e,n,t)})).toOrderedMap()}function pHe(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function hHe(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):rHe()}var gHe=cHe,mHe=UBe,vHe=zGe,yHe=Xze.exports,bHe=XBe,_He=yHe.OrderedMap,wHe=yHe.List,kHe=function(e,t,n){if(e){var i=t.get(e);i&&t.set(e,n(i))}},FHe=function(e,t,n,i,r){if(!r)return e;var o="after"===i,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),u=t.getNextSiblingKey(),c=t.getPrevSiblingKey(),d=n.getParentKey(),f=o?n.getNextSiblingKey():s,p=o?s:n.getPrevSiblingKey();return e.withMutations((function(e){kHe(l,e,(function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})})),kHe(c,e,(function(e){return e.merge({nextSibling:u})})),kHe(u,e,(function(e){return e.merge({prevSibling:c})})),kHe(f,e,(function(e){return e.merge({prevSibling:a})})),kHe(p,e,(function(e){return e.merge({nextSibling:a})})),kHe(d,e,(function(e){var t=e.getChildKeys(),n=t.indexOf(s),i=o?n+1:0!==n?n-1:0,r=t.toArray();return r.splice(i,0,a),e.merge({children:wHe(r)})})),kHe(a,e,(function(e){return e.merge({nextSibling:f,prevSibling:p,parent:d})}))}))},xHe=function(e,t,n,i){"replace"===i&&("production"!==ma.env.NODE_ENV?bHe(!1,"Replacing blocks is not supported."):bHe(!1));var r=n.getKey(),o=t.getKey();o===r&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1));var a=e.getBlockMap(),s=t instanceof mHe,l=[t],u=a.delete(o);s&&(l=[],u=a.withMutations((function(e){var n=t.getNextSiblingKey(),i=vHe(t,e);e.toSeq().skipUntil((function(e){return e.getKey()===o})).takeWhile((function(e){var t=e.getKey(),r=t===o,a=n&&t!==n,s=!n&&e.getParentKey()&&(!i||t!==i);return!!(r||a||s)})).forEach((function(t){l.push(t),e.delete(t.getKey())}))})));var c=u.toSeq().takeUntil((function(e){return e===n})),d=u.toSeq().skipUntil((function(e){return e===n})).skip(1),f=l.map((function(e){return[e.getKey(),e]})),p=_He();if("before"===i){var h=e.getBlockBefore(r);h&&h.getKey()===t.getKey()&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([].concat(f,[[r,n]]),d).toOrderedMap()}else if("after"===i){var g=e.getBlockAfter(r);g&&g.getKey()===o&&("production"!==ma.env.NODE_ENV?bHe(!1,"Block cannot be moved next to itself."):bHe(!1)),p=c.concat([[r,n]].concat(f),d).toOrderedMap()}return e.merge({blockMap:FHe(p,t,n,i,s),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function EHe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){CHe(e,t,n[t])}))}return e}function CHe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SHe=nBe,DHe=fBe,PHe=SBe,THe=UBe,AHe=_Ue,LHe=gHe,IHe=uGe,MHe=Xze.exports,jHe=xHe,NHe=QUe("draft_tree_data_support"),OHe=NHe?THe:PHe,RHe=MHe.List,zHe=MHe.Repeat,BHe={insertAtomicBlock:function(e,t,n){var i=e.getCurrentContent(),r=e.getSelection(),o=AHe.removeRange(i,r,"backward"),a=o.getSelectionAfter(),s=AHe.splitBlock(o,a),l=s.getSelectionAfter(),u=AHe.setBlockType(s,l,"atomic"),c=DHe.create({entity:t}),d={key:IHe(),type:"atomic",text:n,characterList:RHe(zHe(c,n.length))},f={key:IHe(),type:"unstyled"};NHe&&(d=EHe({},d,{nextSibling:f.key}),f=EHe({},f,{prevSibling:d.key}));var p=[new OHe(d),new OHe(f)],h=SHe.createFromArray(p),g=AHe.replaceWithFragment(u,l,h),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return LHe.push(e,m,"insert-fragment")},moveAtomicBlock:function(e,t,n,i){var r,o=e.getCurrentContent(),a=e.getSelection();if("before"===i||"after"===i){var s=o.getBlockForKey("before"===i?n.getStartKey():n.getEndKey());r=jHe(o,t,s,i)}else{var l=AHe.removeRange(o,n,"backward"),u=l.getSelectionAfter(),c=l.getBlockForKey(u.getFocusKey());if(0===u.getStartOffset())r=jHe(l,t,c,"before");else if(u.getEndOffset()===c.getLength())r=jHe(l,t,c,"after");else{var d=AHe.splitBlock(l,u),f=d.getSelectionAfter(),p=d.getBlockForKey(f.getFocusKey());r=jHe(d,t,p,"before")}}var h=r.merge({selectionBefore:a,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return LHe.push(e,h,"move-block")}};var GHe=Xze.exports.List,UHe=function(){function e(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_decorators",void 0),this._decorators=e.slice()}var t=e.prototype;return t.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach((function(i,r){var o=0;(0,i.strategy)(e,(function(e,t){(function(e,t,n){for(var i=t;i<n;i++)if(null!=e[i])return!1;return!0})(n,e,t)&&(!function(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}(n,e,t,r+"."+o),o++)}),t)})),GHe(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 qHe=UHe;function HHe(e){return e.replace(/\//g,"-")}var WHe=function(e){return"object"==typeof e?Object.keys(e).filter((function(t){return e[t]})).map(HHe).join(" "):Array.prototype.map.call(arguments,HHe).join(" ")},KHe=m.default,VHe=WHe,YHe=(0,Xze.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:KHe.createElement("ul",{className:VHe("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:KHe.createElement("ol",{className:VHe("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:KHe.createElement("pre",{className:VHe("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),JHe={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},QHe={exports:{}};!function(e,t){!function(n,i){var r="function",o="undefined",a="object",s="string",l="model",u="name",c="type",d="vendor",f="version",p="architecture",h="console",g="mobile",m="tablet",v="smarttv",y="wearable",b="embedded",_="Amazon",w="Apple",k="ASUS",F="BlackBerry",x="Firefox",E="Google",C="Huawei",S="LG",D="Microsoft",P="Motorola",T="Opera",A="Samsung",L="Sony",I="Xiaomi",M="Zebra",j="Facebook",N=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},O=function(e,t){return typeof e===s&&-1!==R(t).indexOf(R(e))},R=function(e){return e.toLowerCase()},z=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,255)},B=function(e,t){for(var n,o,s,l,u,c,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=o=0;n<f.length&&!u;)if(u=f[n++].exec(e))for(s=0;s<p.length;s++)c=u[++o],typeof(l=p[s])===a&&l.length>0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):i:this[l[0]]=c?l[1].call(this,c,l[2]):i:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):i):this[l]=c||i;d+=2}},G=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(O(t[n][r],e))return"?"===n?i:n}else if(O(t[n],e))return"?"===n?i:n;return e},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,f],[/opios[\/ ]+([\w\.]+)/i],[f,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[u,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[f,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[u,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,f],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[f,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[f,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[f,G,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,R]],[/((?: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/,"",R]],[/(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,R]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,A],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,A],[c,g]],[/\((ip(?:hone|od)[\w ]*);/i],[l,[d,w],[c,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[d,C],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[l,[d,C],[c,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[d,I],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,"OPPO"],[c,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[c,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[c,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,P],[c,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,S],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,S],[c,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[d,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[d,"Nokia"],[c,g]],[/(pixel c)\b/i],[l,[d,E],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,E],[c,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,L],[c,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,L],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,"OnePlus"],[c,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,_],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,_],[c,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,F],[c,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,k],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,k],[c,g]],[/(nexus 9)/i],[l,[d,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[c,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[c,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,"Sharp"],[c,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[c,g]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[c,m]],[/(surface duo)/i],[l,[d,D],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[c,g]],[/(u304aa)/i],[l,[d,"AT&T"],[c,g]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[c,g]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[c,m]],[/\b(k88) b/i],[l,[d,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[c,g]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[c,g]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[c,m]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[c,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[c,g]],[/\b(ph-1) /i],[l,[d,"Essential"],[c,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[l,[d,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[d,l,[c,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,D],[c,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,M],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,M],[c,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[c,h]],[/droid.+; (shield) bui/i],[l,[d,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[l,[d,L],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,D],[c,h]],[/smart-tv.+(samsung)/i],[d,[c,v]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,A],[c,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,S],[c,v]],[/(apple) ?tv/i],[d,[l,"Apple TV"],[c,v]],[/crkey/i],[[l,"Chromecast"],[d,E],[c,v]],[/droid.+aft(\w)( bui|\))/i],[l,[d,_],[c,v]],[/\(dtv[\);].+(aquos)/i],[l,[d,"Sharp"],[c,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,z],[l,z],[c,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,v]],[/((pebble))app/i],[d,l,[c,y]],[/droid.+; (glass) \d/i],[l,[d,E],[c,y]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,M],[c,y]],[/(quest( 2)?)/i],[l,[d,j],[c,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[c,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[c,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[f,G,U]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[f,G,U]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[f,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,f],[/\(bb(10);/i],[f,[u,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"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],[u,f],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,f]]},H=function(e,t){if(typeof e===a&&(t=e,e=i),!(this instanceof H))return new H(e,t).getResult();var r=e||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),l=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(q,t):q;return this.getBrowser=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.browser),e.major=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:i}(e.version),e},this.getCPU=function(){var e={};return e.architecture=i,B.call(e,r,l.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,B.call(e,r,l.device),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,B.call(e,r,l.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===s&&e.length>255?z(e,255):e,this},this.setUA(r),this};H.VERSION="0.7.31",H.BROWSER=N([u,f,"major"]),H.CPU=N([p]),H.DEVICE=N([l,d,c,h,g,v,m,y,b]),H.ENGINE=H.OS=N([u,f]),e.exports&&(t=e.exports=H),t.UAParser=H;var W=typeof n!==o&&(n.jQuery||n.Zepto);if(W&&!W.ua){var K=new H;W.ua=K.getResult(),W.ua.get=function(){return K.getUA()},W.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var n in t)W.ua[n]=t[n]}}}("object"==typeof window?window:x)}(QHe,QHe.exports);var ZHe="Unknown",$He={"Mac OS":"Mac OS X"};var XHe=(new(0,QHe.exports)).getResult(),eWe=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(XHe.browser.version),tWe={browserArchitecture:XHe.cpu.architecture||ZHe,browserFullVersion:XHe.browser.version||ZHe,browserMinorVersion:eWe.minor||ZHe,browserName:XHe.browser.name||ZHe,browserVersion:XHe.browser.major||ZHe,deviceName:XHe.device.model||ZHe,engineName:XHe.engine.name||ZHe,engineVersion:XHe.engine.version||ZHe,platformArchitecture:XHe.cpu.architecture||ZHe,platformName:function(e){return $He[e]||e}(XHe.os.name)||ZHe,platformVersion:XHe.os.version||ZHe,platformFullVersion:XHe.os.version||ZHe},nWe=tWe,iWe=XBe,rWe=/\./,oWe=/\|\|/,aWe=/\s+\-\s+/,sWe=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,lWe=/^(\d*)(.*)/;function uWe(e,t){var n=e.split(oWe);return n.length>1?n.some((function(e){return _We.contains(e,t)})):function(e,t){var n=e.split(aWe);if(n.length>0&&n.length<=2||("production"!==ma.env.NODE_ENV?iWe(!1,'the "-" operator expects exactly 2 operands'):iWe(!1)),1===n.length)return cWe(n[0],t);var i=n[0],r=n[1];return gWe(i)&&gWe(r)||("production"!==ma.env.NODE_ENV?iWe(!1,'operands to the "-" operator must be simple (no modifiers)'):iWe(!1)),cWe(">="+i,t)&&cWe("<="+r,t)}(e=n[0].trim(),t)}function cWe(e,t){if(""===(e=e.trim()))return!0;var n=t.split(rWe),i=pWe(e),r=i.modifier,o=i.rangeComponents;switch(r){case"<":return dWe(n,o);case"<=":return function(e,t){var n=bWe(e,t);return-1===n||0===n}(n,o);case">=":return fWe(n,o);case">":return function(e,t){return 1===bWe(e,t)}(n,o);case"~":case"~>":return function(e,t){var n=t.slice(),i=t.slice();i.length>1&&i.pop();var r=i.length-1,o=parseInt(i[r],10);hWe(o)&&(i[r]=o+1+"");return fWe(e,n)&&dWe(e,i)}(n,o);default:return function(e,t){return 0===bWe(e,t)}(n,o)}}function dWe(e,t){return-1===bWe(e,t)}function fWe(e,t){var n=bWe(e,t);return 1===n||0===n}function pWe(e){var t=e.split(rWe),n=t[0].match(sWe);return n||("production"!==ma.env.NODE_ENV?iWe(!1,"expected regex to match but it did not"):iWe(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function hWe(e){return!isNaN(e)&&isFinite(e)}function gWe(e){return!pWe(e).modifier}function mWe(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function vWe(e,t){var n=e.match(lWe)[1],i=t.match(lWe)[1],r=parseInt(n,10),o=parseInt(i,10);return hWe(r)&&hWe(o)&&r!==o?yWe(r,o):yWe(e,t)}function yWe(e,t){return typeof e!=typeof t&&("production"!==ma.env.NODE_ENV?iWe(!1,'"a" and "b" must be of the same type'):iWe(!1)),e>t?1:e<t?-1:0}function bWe(e,t){for(var n=function(e,t){mWe(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var i=t[n].match(/^[x*]$/i);if(i&&(t[n]=e[n]="0","*"===i[0]&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return mWe(t,e.length),[e,t]}(e,t),i=n[0],r=n[1],o=0;o<r.length;o++){var a=vWe(i[o],r[o]);if(a)return a}return 0}var _We={contains:function(e,t){return uWe(e.trim(),t.trim())}},wWe=_We,kWe=Object.prototype.hasOwnProperty;var FWe=function(e,t,n){if(!e)return null;var i={};for(var r in e)kWe.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i};var xWe=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}},EWe=nWe,CWe=wWe;function SWe(e,t,n,i){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return!!t&&(r=i?i(r):r,CWe.contains(r,t))}function DWe(e){return"Windows"===EWe.platformName?e.replace(/^\s*NT/,""):e}var PWe=FWe({isBrowser:function(e){return SWe(EWe.browserName,EWe.browserFullVersion,e)},isBrowserArchitecture:function(e){return SWe(EWe.browserArchitecture,null,e)},isDevice:function(e){return SWe(EWe.deviceName,null,e)},isEngine:function(e){return SWe(EWe.engineName,EWe.engineVersion,e)},isPlatform:function(e){return SWe(EWe.platformName,EWe.platformFullVersion,e,DWe)},isPlatformArchitecture:function(e){return SWe(EWe.platformArchitecture,null,e)}},xWe);var TWe=function(e){return e&&e.ownerDocument?e.ownerDocument:document};var AWe=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE},LWe=AWe;var IWe=function e(t){if(LWe(t)){var n=t,i=n.getAttribute("data-offset-key");if(i)return i;for(var r=0;r<n.childNodes.length;r++){var o=e(n.childNodes[r]);if(o)return o}}return null},MWe=TWe,jWe=IWe;var NWe=function(e){for(var t=e;t&&t!==MWe(e).documentElement;){var n=jWe(t);if(null!=n)return n;t=t.parentNode}return null};var OWe=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window};function RWe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zWe=PWe,BWe=NWe,GWe=OWe,UWe=XBe,qWe=Wqe,HWe=Xze.exports.Map,WWe={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},KWe=zWe.isBrowser("IE <= 11"),VWe=function(){function e(e){var t=this;RWe(this,"observer",void 0),RWe(this,"container",void 0),RWe(this,"mutations",void 0),RWe(this,"onCharData",void 0),this.container=e,this.mutations=HWe();var n=GWe(e);n.MutationObserver&&!KWe?this.observer=new n.MutationObserver((function(e){return t.registerMutations(e)})):this.onCharData=function(e){e.target instanceof Node||("production"!==ma.env.NODE_ENV?UWe(!1,"Expected target to be an instance of Node"):UWe(!1)),t.registerMutation({type:"characterData",target:e.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,WWe):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=HWe(),t},t.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},t.getMutationTextContent=function(e){var t=e.type,n=e.target,i=e.removedNodes;if("characterData"===t){if(""!==n.textContent)return KWe?n.textContent.replace("\n",""):n.textContent}else if("childList"===t){if(i&&i.length)return"";if(""!==n.textContent)return n.textContent}return null},t.registerMutation=function(e){var t=this.getMutationTextContent(e);if(null!=t){var n=qWe(BWe(e.target));this.mutations=this.mutations.set(n,t)}},e}(),YWe="-",JWe={encode:function(e,t,n){return e+YWe+t+YWe+n},decode:function(e){var t=e.split(YWe).reverse(),n=t[0],i=t[1];return{blockKey:t.slice(2).reverse().join(YWe),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}},QWe={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},ZWe={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};var $We=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)},XWe=XBe,eKe=$We;var tKe=function(e){var t=e.editorContainer;return t||("production"!==ma.env.NODE_ENV?XWe(!1,"Missing editorNode"):XWe(!1)),eKe(t.firstChild)||("production"!==ma.env.NODE_ENV?XWe(!1,"editorNode.firstChild is not an HTMLElement"):XWe(!1)),t.firstChild},nKe=JWe,iKe=Wqe;var rKe=function(e,t,n,i,r){var o=iKe(e.getSelection());if(!t||!i)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var a=nKe.decode(t),s=a.blockKey,l=e.getBlockTree(s),u=l&&l.getIn([a.decoratorKey,"leaves",a.leafKey]),c=nKe.decode(i),d=c.blockKey,f=e.getBlockTree(d),p=f&&f.getIn([c.decoratorKey,"leaves",c.leafKey]);if(!u||!p)return"production"!==ma.env.NODE_ENV&&console.warn("Invalid selection state.",arguments,e.toJS()),o;var h=u.get("start"),g=p.get("start"),m=u?h+n:null,v=p?g+r:null,y=o.getAnchorKey()===s&&o.getAnchorOffset()===m&&o.getFocusKey()===d&&o.getFocusOffset()===v;if(y)return o;var b=!1;if(s===d){var _=u.get("end"),w=p.get("end");b=g===h&&w===_?r<n:g<h}else{var k=e.getCurrentContent().getBlockMap().keySeq().skipUntil((function(e){return e===s||e===d})).first();b=k===d}return o.merge({anchorKey:s,anchorOffset:m,focusKey:d,focusOffset:v,isBackward:b})},oKe=NWe,aKe=IWe,sKe=rKe,lKe=XBe,uKe=AWe,cKe=Wqe;function dKe(e,t,n){var i=t,r=oKe(i);(null!=r||e&&(e===i||e.firstChild===i)||("production"!==ma.env.NODE_ENV?lKe(!1,"Unknown node in selection range."):lKe(!1)),e===i)&&(i=i.firstChild,uKe(i)||("production"!==ma.env.NODE_ENV?lKe(!1,"Invalid DraftEditorContents node."):lKe(!1)),"true"!==(i=i).getAttribute("data-contents")&&("production"!==ma.env.NODE_ENV?lKe(!1,"Invalid DraftEditorContents structure."):lKe(!1)),n>0&&(n=i.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var a=function(e){for(;e.firstChild&&(uKe(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||aKe(e.firstChild));)e=e.firstChild;return e}(i);o=cKe(aKe(a))}return{key:o,offset:0}}var s=i.childNodes[n-1],l=null,u=null;if(aKe(s)){var c=function(e){for(;e.lastChild&&(uKe(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||aKe(e.lastChild));)e=e.lastChild;return e}(s);l=cKe(aKe(c)),u=fKe(c)}else l=cKe(r),u=fKe(s);return{key:l,offset:u}}function fKe(e){var t=e.textContent;return"\n"===t?0:t.length}var pKe=function(e,t,n,i,r,o){var a=n.nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE;if(a&&s)return{selectionState:sKe(e,cKe(oKe(n)),i,cKe(oKe(r)),o),needsRecovery:!1};var l=null,u=null,c=!0;return a?(l={key:cKe(oKe(n)),offset:i},u=dKe(t,r,o)):s?(u={key:cKe(oKe(r)),offset:o},l=dKe(t,n,i)):(l=dKe(t,n,i),u=dKe(t,r,o),n===r&&i===o&&(c=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:sKe(e,l.key,l.offset,u.key,u.offset),needsRecovery:c}},hKe=pKe;var gKe=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.anchorOffset,o=n.focusNode,a=n.focusOffset;return 0===n.rangeCount||null==i||null==o?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:hKe(e,t,i,r,o,a)},mKe=ZWe,vKe=gHe,yKe=tKe,bKe=gKe;var _Ke=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();mKe.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,i=bKe(n,yKe(e)),r=i.selectionState;r!==n.getSelection()&&(n=i.needsRecovery?vKe.forceSelection(n,r):vKe.acceptSelection(n,r),e.update(n))}};var wKe={notEmptyKey:function(e){return null!=e&&""!=e}},kKe=wKe.notEmptyKey;function FKe(e,t){return kKe(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}var xKe=function(e,t){var n;if(t.isCollapsed()){var i=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(i).getEntityAt(r-1))!==e.getBlockForKey(i).getEntityAt(r)?null:FKe(e.getEntityMap(),n):null}var o=t.getStartKey(),a=t.getStartOffset(),s=e.getBlockForKey(o);return n=a===s.getLength()?null:s.getEntityAt(a),FKe(e.getEntityMap(),n)},EKe=VWe,CKe=_Ue,SKe=JWe,DKe=gHe,PKe=QWe,TKe=tKe,AKe=gKe,LKe=xKe,IKe=Wqe,MKe=!1,jKe=!1,NKe=null;var OKe={onCompositionStart:function(e){jKe=!0,function(e){NKe||(NKe=new EKe(TKe(e))).start()}(e)},onCompositionEnd:function(e){MKe=!1,jKe=!1,setTimeout((function(){MKe||OKe.resolveComposition(e)}),20)},onSelect:_Ke,onKeyDown:function(e,t){if(!jKe)return OKe.resolveComposition(e),void e._onKeyDown(t);t.which!==PKe.RIGHT&&t.which!==PKe.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===PKe.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!jKe){var t=IKe(NKe).stopAndFlushMutations();NKe=null,MKe=!0;var n=DKe.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var i=n.getCurrentContent();t.forEach((function(e,t){var r=SKe.decode(t),o=r.blockKey,a=r.decoratorKey,s=r.leafKey,l=n.getBlockTree(o).getIn([a,"leaves",s]),u=l.start,c=l.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:u,focusOffset:c,isBackward:!1}),f=LKe(i,d),p=i.getBlockForKey(o).getInlineStyleAt(u);i=CKe.replaceText(i,d,e,p,f),n=DKe.set(n,{currentContent:i})}));var r=AKe(n,TKe(e)).selectionState;e.restoreEditorDOM();var o=DKe.acceptSelection(n,r);e.update(DKe.push(o,i,"insert-characters"))}else e.update(n)}}},RKe=OKe,zKe=CW;function BKe(){return BKe=zKe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BKe.apply(this,arguments)}var GKe=JWe,UKe=m.default,qKe=Rqe,HKe=Sqe,WKe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.children,i=e.contentState,r=e.decorator,o=e.decoratorKey,a=e.direction,s=e.leafSet,l=e.text,u=t.getKey(),c=s.get("leaves"),d=r.getComponentForKey(o),f=r.getPropsForKey(o),p=GKe.encode(u,parseInt(o,10),0),h=l.slice(c.first().get("start"),c.last().get("end")),g=HKe.getHTMLDirIfDifferent(qKe.getDirection(h),a);return UKe.createElement(d,BKe({},f,{contentState:i,decoratedText:h,dir:g,key:p,entityKey:t.getEntityAt(s.get("start")),offsetKey:p}),n)},i}(UKe.Component),KKe=WKe;function VKe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YKe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JKe=m.default,QKe=XBe,ZKe=AWe,$Ke=PWe.isBrowser("IE <= 11");var XKe=function(e){var t,n;function i(t){var n;return YKe(VKe(n=e.call(this,t)||this),"_forceFlag",void 0),YKe(VKe(n),"_node",void 0),n._forceFlag=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this._node,n=""===e.children;ZKe(t)||("production"!==ma.env.NODE_ENV?QKe(!1,"node is not an Element"):QKe(!1));var i=t;return n?!function(e){return $Ke?"\n"===e.textContent:"BR"===e.tagName}(i):i.textContent!==e.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var e,t=this;return""===this.props.children?this._forceFlag?(e=function(e){return t._node=e},$Ke?JKe.createElement("span",{key:"A","data-text":"true",ref:e},"\n"):JKe.createElement("br",{key:"A","data-text":"true",ref:e})):function(e){return $Ke?JKe.createElement("span",{key:"B","data-text":"true",ref:e},"\n"):JKe.createElement("br",{key:"B","data-text":"true",ref:e})}((function(e){return t._node=e})):JKe.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},i}(JKe.Component),eVe=XKe,tVe=AWe;var nVe=function(e){return!(!e||!e.ownerDocument)&&(tVe(e)&&"BR"===e.nodeName)};var iVe=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 rVe=function(e){return iVe(e)&&3==e.nodeType};var oVe=function e(t,n){return!(!t||!n)&&(t===n||!rVe(t)&&(rVe(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))};var aVe=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}},sVe=ZWe,lVe=oVe,uVe=aVe,cVe=TWe,dVe=XBe,fVe=AWe,pVe=PWe.isBrowser("IE");function hVe(e,t){if(!e)return"[empty]";var n=gVe(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(fVe(n)||("production"!==ma.env.NODE_ENV?dVe(!1,"Node must be an Element if it is not a text node."):dVe(!1)),n.outerHTML)}function gVe(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return cVe(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=e.childNodes,a=0;a<o.length;a++)r.appendChild(gVe(o[a],t));return r}function mVe(e,t){for(var n=e,i=n;n;){if(fVe(n)&&i.hasAttribute("contenteditable"))return hVe(n,t);i=n=n.parentNode}return"Could not find contentEditable parent of node"}function vVe(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function yVe(e,t,n,i){var r=uVe();if(e.extend&&null!=t&&lVe(r,t)){n>vVe(t)&&sVe.logSelectionStateFailure({anonymizedDom:mVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())});var o=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw sVe.logSelectionStateFailure({anonymizedDom:mVe(t,(function(t){var n=[];return t===r&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:o,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(i.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var a=e.getRangeAt(0);a.setEnd(t,n),e.addRange(a.cloneRange())}}function bVe(e,t,n,i){var r=cVe(t).createRange();if(n>vVe(t)&&sVe.logSelectionStateFailure({anonymizedDom:mVe(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.setStart(t,n),pVe)try{e.addRange(r)}catch(e){"production"!==ma.env.NODE_ENV&&console.warn("Call to selection.addRange() threw exception: ",e)}else e.addRange(r)}var _Ve=function(e,t,n,i,r){var o=cVe(t);if(lVe(o.documentElement,t)){var a=o.defaultView.getSelection(),s=e.getAnchorKey(),l=e.getAnchorOffset(),u=e.getFocusKey(),c=e.getFocusOffset(),d=e.getIsBackward();if(!a.extend&&d){var f=s,p=l;s=u,l=c,u=f,c=p,d=!1}var h=s===n&&i<=l&&r>=l,g=u===n&&i<=c&&r>=c;if(h&&g)return a.removeAllRanges(),bVe(a,t,l-i,e),void yVe(a,t,c-i,e);if(d){if(g&&(a.removeAllRanges(),bVe(a,t,c-i,e)),h){var m=a.focusNode,v=a.focusOffset;a.removeAllRanges(),bVe(a,t,l-i,e),yVe(a,m,v,e)}}else h&&(a.removeAllRanges(),bVe(a,t,l-i,e)),g&&yVe(a,t,c-i,e)}},wVe=CW;function kVe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FVe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xVe=eVe,EVe=m.default,CVe=XBe,SVe=nVe,DVe=_Ve,PVe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return FVe(kVe(t=e.call.apply(e,[this].concat(i))||this),"leaf",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,i=t.start,r=t.text,o=n.getKey(),a=i+r.length;if(e.hasEdgeWithin(o,i,a)){var s=this.leaf;s||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing node"):CVe(!1));var l,u=s.firstChild;u||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing child"):CVe(!1)),u.nodeType===Node.TEXT_NODE?l=u:SVe(u)?l=s:(l=u.firstChild)||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing targetNode"):CVe(!1)),DVe(e,l,o,i,a)}}},r.shouldComponentUpdate=function(e){var t=this.leaf;return t||("production"!==ma.env.NODE_ENV?CVe(!1,"Missing leafNode"):CVe(!1)),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var i=this.props,r=i.customStyleMap,o=i.customStyleFn,a=i.offsetKey,s=i.styleSet,l=s.reduce((function(e,t){var n={},i=r[t];return void 0!==i&&e.textDecoration!==i.textDecoration&&(n.textDecoration=[e.textDecoration,i.textDecoration].join(" ").trim()),wVe(e,i,n)}),{});if(o){var u=o(s,t);l=wVe(l,u)}return EVe.createElement("span",{"data-offset-key":a,ref:function(t){return e.leaf=t},style:l},EVe.createElement(xVe,null,n))},i}(EVe.Component),TVe=PVe;var AVe=KKe,LVe=TVe,IVe=JWe,MVe=Xze.exports,jVe=m.default,NVe=WHe;MVe.List;var OVe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this.props,t=e.block,n=e.contentState,i=e.customStyleFn,r=e.customStyleMap,o=e.decorator,a=e.direction,s=e.forceSelection,l=e.hasSelection,u=e.selection,c=e.tree,d=t.getKey(),f=t.getText(),p=c.size-1,h=this.props.children||c.map((function(e,c){var h=e.get("decoratorKey"),g=e.get("leaves"),m=g.size-1,v=g.map((function(e,n){var o=IVe.encode(d,c,n),a=e.get("start"),g=e.get("end");return jVe.createElement(LVe,{key:o,offsetKey:o,block:t,start:a,selection:l?u:null,forceSelection:s,text:f.slice(a,g),styleSet:t.getInlineStyleAt(a),customStyleMap:r,customStyleFn:i,isLast:h===p&&n===m})})).toArray();return h&&o?jVe.createElement(AVe,{block:t,children:v,contentState:n,decorator:o,decoratorKey:h,direction:a,leafSet:e,text:f,key:c}):v})).toArray();return jVe.createElement("div",{"data-offset-key":IVe.encode(d,0,0),className:NVe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===a,"public/DraftStyleDefault/rtl":"RTL"===a})},h)},i}(jVe.Component),RVe=OVe;function zVe(e,t){return!!t&&(e===t.documentElement||e===t.body)}var BVe={getTop:function(e){var t=e.ownerDocument;return zVe(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;zVe(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return zVe(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;zVe(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}},GVe=BVe,UVe=/-(.)/g;var qVe=/([A-Z])/g;var HVe=function(e){return e.replace(UVe,(function(e,t){return t.toUpperCase()}))},WVe=function(e){return e.replace(qVe,"-$1").toLowerCase()};function KVe(e){return null==e?e:String(e)}var VVe=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return KVe(n.getPropertyValue(WVe(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return KVe(n.getPropertyValue(WVe(t)));if("display"===t)return"none"}return e.currentStyle?KVe("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[HVe(t)]):KVe(e.style&&e.style[HVe(t)])};function YVe(e,t){var n=JVe.get(e,t);return"auto"===n||"scroll"===n}var JVe={get:VVe,getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(YVe(e,"overflow")||YVe(e,"overflowY")||YVe(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}},QVe=JVe,ZVe=oVe;var $Ve=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!ZVe(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 XVe=function(e){var t=$Ve(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}},eYe="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var tYe=function(e){return(e=e||document).scrollingElement?e.scrollingElement:eYe||"CSS1Compat"!==e.compatMode?e.body:e.documentElement};var nYe=tYe,iYe=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}};var rYe=function(e){var t=nYe(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=iYe(e),i=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-i.clientWidth,o=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function oYe(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function aYe(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function sYe(){return{width:window.innerWidth||oYe(),height:window.innerHeight||aYe()}}sYe.withoutScrollbars=function(){return{width:oYe(),height:aYe()}};var lYe=sYe,uYe=CW;function cYe(){return cYe=uYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cYe.apply(this,arguments)}function dYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fYe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){pYe(e,t,n[t])}))}return e}function pYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hYe=RVe,gYe=JWe,mYe=m.default,vYe=GVe,yYe=QVe,bYe=XVe,_Ye=rYe,wYe=lYe,kYe=XBe,FYe=$We;Xze.exports.List;var xYe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},EYe=function(e,t){var n=t.get(e.getType())||t.get("unstyled"),i=n.wrapper;return{Element:n.element||t.get("unstyled").element,wrapperTemplate:i}},CYe=function(e,t){var n=t(e);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},SYe=function(e,t,n,i,r,o){var a={"data-block":!0,"data-editor":t,"data-offset-key":n,key:e.getKey(),ref:o},s=i(e);return s&&(a.className=s),void 0!==r.customEditable&&(a=fYe({},a,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),a},DYe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return pYe(dYe(t=e.call.apply(e,[this].concat(i))||this),"wrapperRef",mYe.createRef()),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props,n=t.block,i=t.direction,r=t.tree,o=!n.getChildKeys().isEmpty(),a=n!==e.block||r!==e.tree||i!==e.direction||xYe(e.selection,e.block.getKey())&&e.forceSelection;return o||a},r.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var i,r=yYe.getScrollParent(n),o=_Ye(r);if(r===window){var a=bYe(n);(i=a.y+a.height-wYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{FYe(n)||("production"!==ma.env.NODE_ENV?kYe(!1,"blockNode is not an HTMLElement"):kYe(!1));var s=n;(i=s.offsetHeight+s.offsetTop-(r.offsetHeight+o.y))>0&&vYe.setTop(r,vYe.getTop(r)+i+10)}}}},r.render=function(){var e=this,t=this.props,n=t.block,r=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,s=t.contentState,l=t.decorator,u=t.editorKey,c=t.editorState,d=t.customStyleFn,f=t.customStyleMap,p=t.direction,h=t.forceSelection,g=t.selection,m=t.tree,v=null;n.children.size&&(v=n.children.reduce((function(t,n){var l=gYe.encode(n,0,0),d=s.getBlockForKey(n),f=CYe(d,o),p=f.CustomComponent||i,h=EYe(d,r),g=h.Element,m=h.wrapperTemplate,v=SYe(d,u,l,a,f,null),y=fYe({},e.props,{tree:c.getBlockTree(n),blockProps:f.customProps,offsetKey:l,block:d});return t.push(mYe.createElement(g,v,mYe.createElement(p,y))),!m||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(d,s)||function(e,t,n){var i=[],r=!0,o=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var u=s.value;if(u.type!==t)break;i.push(u)}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}n.splice(n.indexOf(i[0]),i.length+1);var c=i.reverse(),d=c[0].key;n.push(mYe.cloneElement(e,{key:"".concat(d,"-wrap"),"data-offset-key":gYe.encode(d,0,0)},c))}(m,g,t),t}),[]));var y=n.getKey(),b=gYe.encode(y,0,0),_=CYe(n,o),w=_.CustomComponent,k=null!=w?mYe.createElement(w,cYe({},this.props,{tree:c.getBlockTree(y),blockProps:_.customProps,offsetKey:b,block:n})):mYe.createElement(hYe,{block:n,children:v,contentState:s,customStyleFn:d,customStyleMap:f,decorator:l,direction:p,forceSelection:h,hasSelection:xYe(g,y),selection:g,tree:m});if(n.getParentKey())return k;var F=EYe(n,r).Element,x=SYe(n,u,b,a,_,this.wrapperRef);return mYe.createElement(F,x,k)},i}(mYe.Component),PYe=CW;function TYe(){return TYe=PYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TYe.apply(this,arguments)}var AYe=DYe,LYe=JWe,IYe=m.default,MYe=Wqe,jYe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.textDirectionality,u=a.getCurrentContent(),c=a.getSelection(),d=a.mustForceSelection(),f=a.getDecorator(),p=MYe(a.getDirectionMap()),h=[],g=u.getBlocksAsArray()[0];g;){var m=g.getKey(),v={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,contentState:u,customStyleFn:o,customStyleMap:r,decorator:f,editorKey:s,editorState:a,forceSelection:d,selection:c,block:g,direction:l||p.get(m),tree:a.getBlockTree(m)},y=(t.get(g.getType())||t.get("unstyled")).wrapper;h.push({block:IYe.createElement(AYe,TYe({key:m},v)),wrapperTemplate:y,key:m,offsetKey:LYe.encode(m,0,0)});var b=g.getNextSiblingKey();g=b?u.getBlockForKey(b):null}for(var _=[],w=0;w<h.length;){var k=h[w];if(k.wrapperTemplate){var F=[];do{F.push(h[w].block),w++}while(w<h.length&&h[w].wrapperTemplate===k.wrapperTemplate);var x=IYe.cloneElement(k.wrapperTemplate,{key:k.key+"-wrap","data-offset-key":k.offsetKey},F);_.push(x)}else _.push(k.block),w++}return IYe.createElement("div",{"data-contents":"true"},_)},i}(IYe.Component),NYe=jYe,OYe=CW;function RYe(){return RYe=OYe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},RYe.apply(this,arguments)}function zYe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BYe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GYe=TVe,UYe=JWe,qYe=m.default,HYe=GVe,WYe=QVe,KYe=Rqe,VYe=Sqe,YYe=WHe,JYe=XVe,QYe=rYe,ZYe=lYe,$Ye=XBe,XYe=$We,eJe=Wqe,tJe=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},nJe=function(e){var t,n;function i(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return BYe(zYe(t=e.call.apply(e,[this].concat(i))||this),"_node",void 0),t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||tJe(e.selection,e.block.getKey())&&e.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=this._node;if(null!=n){var i,r=WYe.getScrollParent(n),o=QYe(r);if(r===window){var a=JYe(n);(i=a.y+a.height-ZYe().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{XYe(n)||("production"!==ma.env.NODE_ENV?$Ye(!1,"blockNode is not an HTMLElement"):$Ye(!1)),(i=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&HYe.setTop(r,HYe.getTop(r)+i+10)}}}}},r._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),i=t.getText(),r=this.props.tree.size-1,o=tJe(this.props.selection,n);return this.props.tree.map((function(a,s){var l=a.get("leaves");if(0===l.size)return null;var u=l.size-1,c=l.map((function(a,l){var c=UYe.encode(n,s,l),d=a.get("start"),f=a.get("end");return qYe.createElement(GYe,{key:c,offsetKey:c,block:t,start:d,selection:o?e.props.selection:null,forceSelection:e.props.forceSelection,text:i.slice(d,f),styleSet:t.getInlineStyleAt(d),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===r&&l===u})})).toArray(),d=a.get("decoratorKey");if(null==d)return c;if(!e.props.decorator)return c;var f=eJe(e.props.decorator),p=f.getComponentForKey(d);if(!p)return c;var h=f.getPropsForKey(d),g=UYe.encode(n,s,0),m=l.first().get("start"),v=l.last().get("end"),y=i.slice(m,v),b=t.getEntityAt(a.get("start")),_=VYe.getHTMLDirIfDifferent(KYe.getDirection(y),e.props.direction),w={contentState:e.props.contentState,decoratedText:y,dir:_,start:m,end:v,blockKey:n,entityKey:b,offsetKey:g};return qYe.createElement(p,RYe({},h,w,{key:g}),c)})).toArray()},r.render=function(){var e=this,t=this.props,n=t.direction,i=t.offsetKey,r=YYe({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return qYe.createElement("div",{"data-offset-key":i,className:r,ref:function(t){return e._node=t}},this._renderChildren())},i}(qYe.Component),iJe=nJe;var rJe=function(e){var t=e||"",n=arguments.length;if(n>1)for(var i=1;i<n;i++){var r=arguments[i];r&&(t=(t?t+" ":"")+r)}return t},oJe=CW;function aJe(){return aJe=oJe||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aJe.apply(this,arguments)}function sJe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){lJe(e,t,n[t])}))}return e}function lJe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uJe=iJe,cJe=JWe,dJe=m.default,fJe=WHe,pJe=rJe,hJe=Wqe,gJe=function(e,t,n,i){return fJe({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":t>=4,"public/DraftStyleDefault/listLTR":"LTR"===i,"public/DraftStyleDefault/listRTL":"RTL"===i})},mJe=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var i=n.getNativelyRenderedContent(),r=t.isInCompositionMode(),o=n.isInCompositionMode();if(t===n||null!==i&&n.getCurrentContent()===i||r&&o)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),u=n.getDecorator();return r!==o||a!==s||l!==u||n.mustForceSelection()},r.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleMap,o=e.customStyleFn,a=e.editorState,s=e.editorKey,l=e.preventScroll,u=e.textDirectionality,c=a.getCurrentContent(),d=a.getSelection(),f=a.mustForceSelection(),p=a.getDecorator(),h=hJe(a.getDirectionMap()),g=c.getBlocksAsArray(),m=[],v=null,y=null,b=0;b<g.length;b++){var _=g[b],w=_.getKey(),k=_.getType(),F=n(_),x=void 0,E=void 0,C=void 0;F&&(x=F.component,E=F.props,C=F.editable);var S=u||h.get(w),D=cJe.encode(w,0,0),P={contentState:c,block:_,blockProps:E,blockStyleFn:i,customStyleMap:r,customStyleFn:o,decorator:p,direction:S,forceSelection:f,offsetKey:D,preventScroll:l,selection:d,tree:a.getBlockTree(w)},T=t.get(k)||t.get("unstyled"),A=T.wrapper,L=T.element||t.get("unstyled").element,I=_.getDepth(),M="";if(i&&(M=i(_)),"li"===L)M=pJe(M,gJe(k,I,y!==A||null===v||I>v,S));var j=x||uJe,N={className:M,"data-block":!0,"data-editor":s,"data-offset-key":D,key:w};void 0!==C&&(N=sJe({},N,{contentEditable:C,suppressContentEditableWarning:!0}));var O=dJe.createElement(L,N,dJe.createElement(j,aJe({},P,{key:w})));m.push({block:O,wrapperTemplate:A,key:w,offsetKey:D}),v=A?_.getDepth():null,y=A}for(var R=[],z=0;z<m.length;){var B=m[z];if(B.wrapperTemplate){var G=[];do{G.push(m[z].block),z++}while(z<m.length&&m[z].wrapperTemplate===B.wrapperTemplate);var U=dJe.cloneElement(B.wrapperTemplate,{key:B.key+"-wrap","data-offset-key":B.offsetKey},G);R.push(U)}else R.push(B.block),z++}return dJe.createElement("div",{"data-contents":"true"},R)},i}(dJe.Component),vJe=mJe,yJe=QUe("draft_tree_data_support")?NYe:vJe,bJe={isImage:function(e){return"image"===_Je(e)[0]},isJpeg:function(e){var t=_Je(e);return bJe.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function _Je(e){return e.split("/")}var wJe=bJe,kJe=XBe;var FJe=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Array-like object expected"):kJe(!1)),"number"!=typeof t&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object needs a length property"):kJe(!1)),0===t||t-1 in e||("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object should have keys for indices"):kJe(!1)),"function"==typeof e.callee&&("production"!==ma.env.NODE_ENV?kJe(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):kJe(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),i=0;i<t;i++)n[i]=e[i];return n}(e):[e]};function xJe(e){return function(){return e}}var EJe=function(){};EJe.thatReturns=xJe,EJe.thatReturnsFalse=xJe(!1),EJe.thatReturnsTrue=xJe(!0),EJe.thatReturnsNull=xJe(null),EJe.thatReturnsThis=function(){return this},EJe.thatReturnsArgument=function(e){return e};var CJe=EJe,SJe=wJe,DJe=FJe,PJe=CJe,TJe=new RegExp("\r\n","g"),AJe={"text/rtf":1,"text/html":1};function LJe(e){if("file"==e.kind)return e.getAsFile()}var IJe=function(){function e(e){this.data=e,this.types=e.types?DJe(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return AJe[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(TJe,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var i=t[n].type;if(!SJe.isImage(i))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(LJe).filter(PJe.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),MJe=IJe,jJe=XBe,NJe=/\.textClipping$/,OJe={"text/plain":!0,"text/html":!0,"text/rtf":!0};var RJe=function(e,t){var n=0,i=[];e.forEach((function(r){!function(e,t){if(!x.FileReader||e.type&&!(e.type in OJe))return void t("");if(""===e.type){var n="";return NJe.test(e.name)&&(n=e.name.replace(NJe,"")),void t(n)}var i=new FileReader;i.onload=function(){var e=i.result;"string"!=typeof e&&("production"!==ma.env.NODE_ENV?jJe(!1,'We should be calling "FileReader.readAsText" which returns a string'):jJe(!1)),t(e)},i.onerror=function(){t("")},i.readAsText(e)}(r,(function(r){n++,r&&i.push(r.slice(0,5e3)),n==e.length&&t(i.join("\r"))}))}))};var zJe=function(e){return"handled"===e||!0===e},BJe=MJe,GJe=_Ue,UJe=gHe,qJe=NWe,HJe=TWe,WJe=RJe,KJe=rKe,VJe=OWe,YJe=zJe,JJe=Wqe;var QJe={onDragEnd:function(e){e.exitCurrentMode(),ZJe(e)},onDrop:function(e,t){var n=new BJe(t.nativeEvent.dataTransfer),i=e._latestEditorState,r=function(e,t){var n=null,i=null,r=HJe(e.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(e.x,e.y);n=o.startContainer,i=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,i=e.rangeOffset}n=JJe(n),i=JJe(i);var a=JJe(qJe(n));return KJe(t,a,i,a,i)}(t.nativeEvent,i);if(t.preventDefault(),e._dragCount=0,e.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(e.props.handleDroppedFiles&&YJe(e.props.handleDroppedFiles(r,o)))return;WJe(o,(function(t){t&&e.update($Je(i,r,t))}))}else{var a=e._internalDrag?"internal":"external";e.props.handleDrop&&YJe(e.props.handleDrop(r,n,a))||(e._internalDrag?e.update(function(e,t){var n=GJe.moveText(e.getCurrentContent(),e.getSelection(),t);return UJe.push(e,n,"insert-fragment")}(i,r)):e.update($Je(i,r,n.getText()))),ZJe(e)}}}};function ZJe(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:VJe(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function $Je(e,t,n){var i=GJe.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return UJe.push(e,i,"insert-fragment")}var XJe=QJe;var eQe=function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=e.getBlockTree(n),r=t.getStartOffset(),o=!1;return i.some((function(e){return r===e.get("start")?(o=!0,!0):r<e.get("end")&&e.get("leaves").some((function(e){var t=e.get("start");return r===t&&(o=!0,!0)}))})),o};!function(e,t){if(!e.setImmediate){var n,i,r,o=1,a={},s=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){ma.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",r=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){d(e.data)},n=function(t){e.port2.postMessage(t)}}():l&&"onreadystatechange"in l.createElement("script")?function(){var e=l.documentElement;n=function(t){var n=l.createElement("script");n.onreadystatechange=function(){d(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():n=function(e){setTimeout(d,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return a[o]=r,n(o),o++},u.clearImmediate=c}function c(e){delete a[e]}function d(e){if(s)setTimeout(d,0,e);else{var t=a[e];if(t){s=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{c(e),s=!1}}}}}("undefined"==typeof self?x:self);var tQe=x.setImmediate,nQe=_Ue,iQe=gHe,rQe=xKe,oQe=zJe,aQe=eQe,sQe=Wqe,lQe=tQe,uQe=PWe.isBrowser("Firefox");function cQe(e,t,n,i,r){var o=nQe.replaceText(e.getCurrentContent(),e.getSelection(),t,n,i);return iQe.push(e,o,"insert-characters",r)}var dQe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,i=t.data;if(i)if(e.props.handleBeforeInput&&oQe(e.props.handleBeforeInput(i,n,t.timeStamp)))t.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),a=r.getAnchorKey();if(!r.isCollapsed())return t.preventDefault(),void e.update(cQe(n,i,n.getCurrentInlineStyle(),rQe(n.getCurrentContent(),n.getSelection()),!0));var s,l=cQe(n,i,n.getCurrentInlineStyle(),rQe(n.getCurrentContent(),n.getSelection()),!1),u=!1;if(u||(u=aQe(e._latestCommittedEditorState)),!u){var c=n.getBlockTree(a),d=l.getBlockTree(a);u=c.size!==d.size||c.zip(d).some((function(e){var t=e[0],n=e[1],r=t.get("start"),a=r+(r>=o?i.length:0),s=t.get("end"),l=s+(s>=o?i.length:0),u=n.get("start"),c=n.get("end"),d=n.get("decoratorKey");return t.get("decoratorKey")!==d||t.get("leaves").size!==n.get("leaves").size||a!==u||l!==c||null!=d&&c-u!=s-r}))}if(u||(s=i,u=uQe&&("'"==s||"/"==s)),u||(u=sQe(l.getDirectionMap()).get(a)!==sQe(n.getDirectionMap()).get(a)),u)return t.preventDefault(),l=iQe.set(l,{forceSelection:!0}),void e.update(l);l=iQe.set(l,{nativelyRenderedContent:l.getCurrentContent()}),e._pendingStateFromBeforeInput=l,lQe((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}},fQe=gHe,pQe=oVe,hQe=aVe;var gQe=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&hQe(n)===n.body){var i=n.defaultView.getSelection(),r=e.editor;1===i.rangeCount&&pQe(r,i.anchorNode)&&pQe(r,i.focusNode)&&i.removeAllRanges()}var o=e._latestEditorState,a=o.getSelection();if(a.getHasFocus()){var s=a.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(fQe.acceptSelection(o,s))}},mQe=gHe;var vQe=function(e,t){e.setMode("composite"),e.update(mQe.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)},yQe=wGe;var bQe=function(e){var t=e.getSelection();return t.isCollapsed()?null:yQe(e.getCurrentContent(),t)},_Qe=bQe;var wQe=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(_Qe(e._latestEditorState))};var kQe=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},FQe=_Ue,xQe=gHe,EQe=QVe,CQe=bQe,SQe=rYe,DQe=kQe;var PQe=function(e,t){var n,i=e._latestEditorState,r=i.getSelection(),o=t.target;if(r.isCollapsed())t.preventDefault();else{if(DQe(o)){var a=o;n=SQe(EQe.getScrollParent(a))}var s=CQe(i);e.setClipboard(s),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=FQe.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return xQe.push(e,t,"remove-range")}(i))}),0)}};var TQe=function(e,t){e.setMode("drag"),t.preventDefault()};var AQe=function(e){e._internalDrag=!0,e.setMode("drag")},LQe=gHe,IQe=PWe;var MQe=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var r=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),IQe.isBrowser("Chrome < 60.0.3081.0")?e.update(LQe.forceSelection(n,r)):e.update(LQe.acceptSelection(n,r))}},jQe=XBe,NQe=/[\uD800-\uDFFF]/;function OQe(e){return 55296<=e&&e<=57343}function RQe(e){return NQe.test(e)}function zQe(e,t){return 1+OQe(e.charCodeAt(t))}function BQe(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!RQe(e))return e.substr(t,n);var i=e.length;if(i<=0||t>i||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<i;t--)r+=zQe(e,r);if(r>=i)return""}else if(t<0){for(r=i;t<0&&0<r;t++)r-=zQe(e,r-1);r<0&&(r=0)}var o=i;if(n<i)for(o=r;n>0&&o<i;n--)o+=zQe(e,o);return e.substring(r,o)}var GQe={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:RQe,isCodeUnitInSurrogateRange:OQe,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||("production"!==ma.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),i=e.charCodeAt(t+1);return 55296<=n&&n<=56319&&56320<=i&&i<=57343},strlen:function(e){if(!RQe(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 i=Math.abs(n-t);return BQe(e,t=t<n?t:n,i)},substr:BQe},UQe=GQe,qQe=CJe;function HQe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(e){}}var WQe="production"!==ma.env.NODE_ENV?function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];HQe.apply(void 0,[t].concat(i))}}:qQe,KQe=WQe,VQe=KQe;var YQe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&VQe(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var i=e.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),a=r,s=0;if(t>o){var l=i.getKeyBefore(r);if(null==l)a=r;else a=l,s=i.getBlockForKey(l).getText().length}else s=o-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})},JQe=_Ue,QQe=QUe("draft_tree_data_support");var ZQe=function(e,t,n){var i=e.getSelection(),r=e.getCurrentContent(),o=i,a=i.getAnchorKey(),s=i.getFocusKey(),l=r.getBlockForKey(a);if(QQe&&"forward"===n&&a!==s)return r;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return r;if(QQe)if(i.getAnchorOffset()===r.getBlockForKey(a).getLength()){var u=r.getBlockForKey(l.nextSibling);if(!u||0===u.getLength())return r}}else if(e.isSelectionAtStartOfContent())return r;if((o=t(e))===i)return r}return JQe.removeRange(r,o,n)},$Qe=gHe,XQe=UQe,eZe=YQe,tZe=ZQe;var nZe=function(e){var t=tZe(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r-1];return eZe(e,o?XQe.getUTF16Length(o,0):1)}),"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return $Qe.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},iZe=_Ue,rZe=JWe,oZe=gHe,aZe=wKe.notEmptyKey,sZe=NWe,lZe=nZe,uZe=Wqe,cZe=PWe.isEngine("Gecko");var dZe=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),i=n.anchorNode,r=n.isCollapsed,o=(null==i?void 0:i.nodeType)!==Node.TEXT_NODE&&(null==i?void 0:i.nodeType)!==Node.ELEMENT_NODE;if(null!=i&&!o){if(i.nodeType===Node.TEXT_NODE&&(null!==i.previousSibling||null!==i.nextSibling)){var a=i.parentNode;if(null==a)return;i.nodeValue=a.textContent;for(var s=a.firstChild;null!=s;s=s.nextSibling)s!==i&&a.removeChild(s)}var l=i.textContent,u=e._latestEditorState,c=uZe(sZe(i)),d=rZe.decode(c),f=d.blockKey,p=d.decoratorKey,h=d.leafKey,g=u.getBlockTree(f).getIn([p,"leaves",h]),m=g.start,v=g.end,y=u.getCurrentContent(),b=y.getBlockForKey(f),_=b.getText().slice(m,v);if(l.endsWith("\n\n")&&(l=l.slice(0,-1)),l!==_){var w,k,F,x,E=u.getSelection(),C=E.merge({anchorOffset:m,focusOffset:v,isBackward:!1}),S=b.getEntityAt(m),D=aZe(S)?y.getEntity(S):null,P="MUTABLE"===(null!=D?D.getMutability():null),T=P?"spellcheck-change":"apply-entity",A=iZe.replaceText(y,C,l,b.getInlineStyleAt(m),P?b.getEntityAt(m):null);if(cZe)w=n.anchorOffset,k=n.focusOffset,x=(F=m+Math.min(w,k))+Math.abs(w-k),w=F,k=x;else{var L=l.length-_.length;F=E.getStartOffset(),x=E.getEndOffset(),w=r?x+L:F,k=x+L}var I=A.merge({selectionBefore:y.getSelectionAfter(),selectionAfter:E.merge({anchorOffset:w,focusOffset:k})});e.update(oZe.push(u,I,T))}else{var M=t.nativeEvent.inputType;if(M){var j=function(e,t){return"deleteContentBackward"===e?lZe(t):t}(M,u);if(j!==u)return e.restoreEditorDOM(),void e.update(j)}}}},fZe=QWe;var pZe=function(e){return e.which===fZe.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))},hZe=pZe,gZe=PWe.isPlatform("Mac OS X"),mZe={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return gZe&&e.altKey},usesMacOSHeuristics:function(){return gZe},hasCommandModifier:function(e){return gZe?!!e.metaKey&&!e.altKey:mZe.isCtrlKeyCommand(e)},isSoftNewlineEvent:hZe},vZe=mZe,yZe=_Ue,bZe=gHe,_Ze=wGe,wZe=Wqe,kZe=null,FZe={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),i=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=t.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var a=t.getKeyAfter(r);if(null==a)return e;i=n.set("focusKey",a).set("focusOffset",0)}else i=n.set("focusOffset",o)}else i=n;i=wZe(i),kZe=_Ze(t,i);var s=yZe.removeRange(t,i,"forward");return s===t?e:bZe.push(e,s,"remove-range")},paste:function(e){if(!kZe)return e;var t=yZe.replaceWithFragment(e.getCurrentContent(),e.getSelection(),kZe);return bZe.push(e,t,"insert-fragment")}},xZe=XBe;var EZe=PWe.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],i=e.endContainer;null!=i;i=i.parentNode){var r=i===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var o,a=Array.from(t.getClientRects());if(n.push(a),r)return n.reverse(),(o=[]).concat.apply(o,n);t.setEndBefore(i)}"production"!==ma.env.NODE_ENV?xZe(!1,"Found an unexpected detached subtree when getting range client rects."):xZe(!1)}:function(e){return Array.from(e.getClientRects())},CZe=UQe,SZe=TWe,DZe=EZe,PZe=XBe;function TZe(e,t){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),i=Math.min(i,s.bottom),r=Math.max(r,s.top),o=Math.max(o,s.bottom))}return r<=i&&r-n<t&&o-i<t}function AZe(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 LZe=gHe,IZe=function(e){e.collapsed||("production"!==ma.env.NODE_ENV?PZe(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):PZe(!1));var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=SZe(e),i=n.createElement("div");i.style.fontFamily=t.fontFamily,i.style.fontSize=t.fontSize,i.style.fontStyle=t.fontStyle,i.style.fontWeight=t.fontWeight,i.style.lineHeight=t.lineHeight,i.style.position="absolute",i.textContent="M";var r=n.body;r||("production"!==ma.env.NODE_ENV?PZe(!1,"Missing document.body"):PZe(!1)),r.appendChild(i);var o=i.getBoundingClientRect();return r.removeChild(i),o.height}(t),i=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);TZe(DZe(e),n)&&(i=e.startContainer,r=e.startOffset,i.parentNode||("production"!==ma.env.NODE_ENV?PZe(!1,"Found unexpected detached subtree when traversing."):PZe(!1)),e.setStartBefore(i),1!==i.nodeType||"inline"===getComputedStyle(i).display););for(var o=i,a=r-1;;){for(var s=o.nodeValue,l=a;l>=0;l--)if(!(null!=s&&l>0&&CZe.isSurrogatePair(s,l-1))){if(e.setStart(o,l),!TZe(DZe(e),n))break;i=o,r=l}if(-1===l||0===o.childNodes.length)break;a=AZe(o=o.childNodes[l])}return e.setStart(i,r),e},MZe=pKe,jZe=YQe,NZe=ZQe;var OZe=function(e,t){var n=NZe(e,(function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return jZe(e,1);var i=t.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return i=IZe(i),MZe(e,null,i.endContainer,i.endOffset,i.startContainer,i.startOffset).selectionState}),"backward");return n===e.getCurrentContent()?e:LZe.push(e,n,"remove-range")},RZe="\\s|(?![_])"+{getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}.getPunctuation(),zZe=new RegExp("^(?:"+RZe+")*(?:"+"['‘’]|(?!"+RZe+").)*(?:(?!"+RZe+").)"),BZe=new RegExp("(?:(?!"+RZe+").)(?:"+"['‘’]|(?!"+RZe+").)*(?:"+RZe+")*$");function GZe(e,t){var n=t?BZe.exec(e):zZe.exec(e);return n?n[0]:e}var UZe={getBackward:function(e){return GZe(e,!0)},getForward:function(e){return GZe(e,!1)}},qZe=UZe,HZe=gHe,WZe=YQe,KZe=ZQe;var VZe=KQe;var YZe=function(e,t){var n=e.getSelection();"production"!==ma.env.NODE_ENV&&VZe(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var i,r=n.getStartKey(),o=n.getStartOffset(),a=e.getCurrentContent(),s=r;return t>a.getBlockForKey(r).getText().length-o?(s=a.getKeyAfter(r),i=0):i=o+t,n.merge({focusKey:s,focusOffset:i})},JZe=UZe,QZe=gHe,ZZe=YZe,$Ze=ZQe;var XZe=_Ue,e$e=gHe;var t$e=gHe;var n$e=gHe;var i$e=gHe,r$e=UQe,o$e=YZe,a$e=ZQe;var s$e=_Ue,l$e=gHe,u$e=wGe;var c$e=gHe;var d$e=function(e,t,n){var i=c$e.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(c$e.set(t,{nativelyRenderedContent:null})),setTimeout((function(){n(i)}),0)):n(i);else{var r=i.getCurrentContent();n(c$e.set(i,{nativelyRenderedContent:r}))}},f$e=_Ue,p$e=gHe,h$e=QWe,g$e=FZe,m$e=PWe,v$e=zJe,y$e=OZe,b$e=function(e){var t=KZe(e,(function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return WZe(e,1);var i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(0,n),o=qZe.getBackward(r);return WZe(e,o.length||1)}),"backward");return t===e.getCurrentContent()?e:HZe.push(e,t,"remove-range")},_$e=function(e){var t=$Ze(e,(function(e){var t=e.getSelection(),n=t.getStartOffset(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i).getText().slice(n),o=JZe.getForward(r);return ZZe(e,o.length||1)}),"forward");return t===e.getCurrentContent()?e:QZe.push(e,t,"remove-range")},w$e=function(e){var t=XZe.splitBlock(e.getCurrentContent(),e.getSelection());return e$e.push(e,t,"split-block")},k$e=function(e){var t=e.getSelection(),n=t.getEndKey(),i=e.getCurrentContent().getBlockForKey(n).getLength();return t$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}),forceSelection:!0})},F$e=function(e){var t=e.getSelection(),n=t.getStartKey();return n$e.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})},x$e=nZe,E$e=function(e){var t=a$e(e,(function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=t.getAnchorKey(),r=t.getAnchorOffset(),o=n.getBlockForKey(i).getText()[r];return o$e(e,o?r$e.getUTF16Length(o,0):1)}),"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return i$e.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")},C$e=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var i,r,o=t.getAnchorKey(),a=e.getCurrentContent(),s=a.getBlockForKey(o).getLength();if(s<=1)return e;n===s?(i=t.set("anchorOffset",n-1),r=t):r=(i=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var l=u$e(a,i),u=s$e.removeRange(a,i,"backward"),c=u.getSelectionAfter(),d=c.getAnchorOffset()-1,f=c.merge({anchorOffset:d,focusOffset:d}),p=s$e.replaceWithFragment(u,f,l),h=l$e.push(e,p,"insert-fragment");return l$e.acceptSelection(h,r)},S$e=d$e,D$e=vZe.isOptionKeyCommand,P$e=m$e.isBrowser("Chrome");var T$e=function(e,t){var n=t.which,i=e._latestEditorState;function r(n){var i=e.props[n];return!!i&&(i(t),!0)}switch(n){case h$e.RETURN:if(t.preventDefault(),e.props.handleReturn&&v$e(e.props.handleReturn(t,i)))return;break;case h$e.ESC:if(t.preventDefault(),r("onEscape"))return;break;case h$e.TAB:if(r("onTab"))return;break;case h$e.UP:if(r("onUpArrow"))return;break;case h$e.RIGHT:if(r("onRightArrow"))return;break;case h$e.DOWN:if(r("onDownArrow"))return;break;case h$e.LEFT:if(r("onLeftArrow"))return;break;case h$e.SPACE:P$e&&D$e(t)&&t.preventDefault()}var o=e.props.keyBindingFn(t);if(null!=o&&""!==o)if("undo"!==o){if(t.preventDefault(),!e.props.handleKeyCommand||!v$e(e.props.handleKeyCommand(o,i,t.timeStamp))){var a=function(e,t,n){switch(e){case"redo":return p$e.redo(t);case"delete":return E$e(t);case"delete-word":return _$e(t);case"backspace":return x$e(t);case"backspace-word":return b$e(t);case"backspace-to-start-of-line":return y$e(t,n);case"split-block":return w$e(t);case"transpose-characters":return C$e(t);case"move-selection-to-start-of-block":return F$e(t);case"move-selection-to-end-of-block":return k$e(t);case"secondary-cut":return g$e.cut(t);case"secondary-paste":return g$e.paste(t);default:return t}}(o,i,t);a!==i&&e.update(a)}}else S$e(t,i,e.update);else if(n===h$e.SPACE&&P$e&&D$e(t)){var s=f$e.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(p$e.push(i,s,"insert-characters"))}};var A$e=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}(),L$e=A$e,I$e=XBe,M$e=PWe.isBrowser("IE <= 9");var j$e=function(e){var t,n=null;return!M$e&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||("production"!==ma.env.NODE_ENV?I$e(!1,"Missing doc.documentElement"):I$e(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n},N$e=AWe;var O$e=function(e){return!(!e||!e.ownerDocument)&&(N$e(e)&&"A"===e.nodeName)},R$e=AWe;var z$e,B$e=function(e){return!(!e||!e.ownerDocument)&&(R$e(e)&&"IMG"===e.nodeName)};function G$e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){U$e(e,t,n[t])}))}return e}function U$e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q$e=fBe,H$e=SBe,W$e=UBe,K$e=YHe,V$e=VUe,Y$e=L$e,J$e=WHe,Q$e=uGe,Z$e=j$e,$$e=QUe,X$e=Xze.exports,eXe=X$e.List,tXe=X$e.Map,nXe=X$e.OrderedSet,iXe=O$e,rXe=nVe,oXe=$We,aXe=B$e,sXe=$$e("draft_tree_data_support"),lXe=new RegExp("\r","g"),uXe=new RegExp("\n","g"),cXe=new RegExp("^\n","g"),dXe=new RegExp(" ","g"),fXe=new RegExp(" ?","g"),pXe=new RegExp("​?","g"),hXe=["bold","bolder","500","600","700","800","900"],gXe=["light","lighter","normal","100","200","300","400"],mXe=["className","href","rel","target","title"],vXe=["alt","className","height","src","width"],yXe=(U$e(z$e={},J$e("public/DraftStyleDefault/depth0"),0),U$e(z$e,J$e("public/DraftStyleDefault/depth1"),1),U$e(z$e,J$e("public/DraftStyleDefault/depth2"),2),U$e(z$e,J$e("public/DraftStyleDefault/depth3"),3),U$e(z$e,J$e("public/DraftStyleDefault/depth4"),4),z$e),bXe=tXe({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),_Xe=function(e){var t={};return e.mapKeys((function(e,n){var i=[n.element];void 0!==n.aliasedElements&&i.push.apply(i,n.aliasedElements),i.forEach((function(n){void 0===t[n]?t[n]=e:"string"==typeof t[n]?t[n]=[t[n],e]:t[n].push(e)}))})),tXe(t)},wXe=function(e){if(oXe(e)&&e.style.fontFamily.includes("monospace"))return"CODE";return null},kXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(yXe).some((function(n){e.classList.contains(n)&&(t=yXe[n])})),t},FXe=function(e){if(!iXe(e))return!1;var t=e;return!(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)},xXe=function(e){if(!aXe(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},EXe=function(e,t){if(!oXe(e))return t;var n=e,i=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return t.withMutations((function(e){hXe.indexOf(i)>=0?e.add("BOLD"):gXe.indexOf(i)>=0&&e.remove("BOLD"),"italic"===r?e.add("ITALIC"):"normal"===r&&e.remove("ITALIC"),"underline"===o&&e.add("UNDERLINE"),"line-through"===o&&e.add("STRIKETHROUGH"),"none"===o&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},CXe=function(e){return"ul"===e||"ol"===e},SXe=function(){function e(e,t){U$e(this,"characterList",eXe()),U$e(this,"currentBlockType","unstyled"),U$e(this,"currentDepth",0),U$e(this,"currentEntity",null),U$e(this,"currentText",""),U$e(this,"wrapper",null),U$e(this,"blockConfigs",[]),U$e(this,"contentBlocks",[]),U$e(this,"entityMap",V$e),U$e(this,"blockTypeMap",void 0),U$e(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=eXe(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=V$e,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],nXe())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(sXe?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||Q$e(),n=G$e({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:eXe(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=eXe(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],i=0;i<e.length;i++){var r=e[i],o=r.nodeName.toLowerCase();if("body"===o||CXe(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;CXe(o)&&(this.wrapper=o,CXe(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),t)),this.currentDepth=a,this.wrapper=s}else{var l=this.blockTypeMap.get(o);if(void 0===l)if("#text"!==o)if("br"!==o)if(xXe(r))this._addImgNode(r,t);else if(FXe(r))this._addAnchorNode(r,n,t);else{var u=t;bXe.has(o)&&(u=u.add(bXe.get(o))),u=EXe(r,u);var c=wXe(r);null!=c&&(u=u.add(c)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),u))}else this._addBreakNode(r,t);else this._addTextNode(r,t);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof l&&(l=this.disambiguate(o,this.wrapper)||l[0]||"unstyled"),!sXe&&oXe(r)&&("unordered-list-item"===l||"ordered-list-item"===l)){var p=r;this.currentDepth=kXe(p,this.currentDepth)}var h=Q$e(),g=this._toBlockConfigs(Array.from(r.childNodes),t);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:l})),this.currentDepth=d,this.wrapper=f}}}return n},t._appendText=function(e,t){var n;this.currentText+=e;var i=q$e.create({style:t,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(e.length).fill(i))},t._trimCurrentText=function(){var e=this.currentText.length,t=e-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,i=this.characterList.findEntry((function(e){return null!==e.getEntity()}));(t=void 0!==i?Math.min(t,i[0]):t)>(n=void 0!==(i=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-i[0]):n)?(this.currentText="",this.characterList=eXe()):(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(cXe,"")).replace(uXe," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){rXe(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(aXe(e)){var n=e,i={};vXe.forEach((function(e){var t=n.getAttribute(e);t&&(i[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",i),$$e("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(iXe(e)){var i=e,r={};mXe.forEach((function(e){var t=i.getAttribute(e);t&&(r[e]=t)})),r.url=new Y$e(i.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,i=0;i<=n;i++){var r=e[i];r.parent=t,r.prevSibling=i>0?e[i-1].key:null,r.nextSibling=i<n?e[i+1].key:null,r.children=eXe(r.childConfigs.map((function(e){return e.key}))),this.contentBlocks.push(new W$e(G$e({},r))),this._toContentBlocks(r.childConfigs,r.key)}},t._hoistContainersInBlockConfigs=function(e){var t=this;return eXe(e).flatMap((function(e){return"unstyled"!==e.type||""!==e.text?[e]:t._hoistContainersInBlockConfigs(e.childConfigs)}))},t._toFlatContentBlocks=function(e){var t=this;this._hoistContainersInBlockConfigs(e).forEach((function(e){var n=t._extractTextFromBlockConfigs(e.childConfigs),i=n.text,r=n.characterList;t.contentBlocks.push(new H$e(G$e({},e,{text:e.text+i,characterList:e.characterList.concat(r)})))}))},t._extractTextFromBlockConfigs=function(e){for(var t=e.length-1,n="",i=eXe(),r=0;r<=t;r++){var o=e[r];n+=o.text,i=i.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",i=i.push(i.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);n+=a.text,i=i.concat(a.characterList)}return{text:n,characterList:i}},e}(),DXe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z$e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K$e,i=t(e=e.trim().replace(lXe,"").replace(dXe," ").replace(fXe,"").replace(pXe,""));if(!i)return null;var r=_Xe(n),o=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new SXe(r,o).addDOMNode(i).getContentBlocks()};function PXe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TXe=SBe,AXe=UBe,LXe=DXe,IXe=uGe,MXe=j$e,jXe=QUe,NXe=Xze.exports,OXe=$Ue,RXe=NXe.List,zXe=NXe.Repeat,BXe=jXe("draft_tree_data_support"),GXe=BXe?AXe:TXe,UXe={processHTML:function(e,t){return LXe(e,MXe,t)},processText:function(e,t,n){return e.reduce((function(e,i,r){i=OXe(i);var o=IXe(),a={key:o,type:n,text:i,characterList:RXe(zXe(t,i.length))};if(BXe&&0!==r){var s=r-1;a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){PXe(e,t,n[t])}))}return e}({},a,{prevSibling:(e[s]=e[s].merge({nextSibling:o})).getKey()})}return e.push(new GXe(a)),e}),[])}};var qXe=function(e,t,n,i){var r=t.getStartKey(),o=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===r})).takeUntil((function(e,t){return t===o})).concat([[o,a.get(o)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,i)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})},HXe=_Ue,WXe=gHe,KXe=qXe,VXe=Wqe,YXe={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),i=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===i.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return YXe.toggleInlineStyle(e,"BOLD");case"italic":return YXe.toggleInlineStyle(e,"ITALIC");case"underline":return YXe.toggleInlineStyle(e,"UNDERLINE");case"code":return YXe.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return YXe.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return YXe.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=HXe.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=WXe.push(e,t,"insert-characters");return WXe.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockBefore(i);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),a=n.merge({blockMap:o,selectionAfter:t});if(a!==n)return WXe.push(e,a,"remove-range")}var s=YXe.tryToRemoveBlockStyle(e);return s?WXe.push(e,s,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),r=n.getBlockForKey(i).getLength();if(t.getStartOffset()<r)return null;var o=n.getBlockAfter(i);if(!o||"atomic"!==o.getType())return null;var a=t.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),s=HXe.removeRange(n,a,"forward");return s!==n?WXe.push(e,s,"remove-range"):null},onTab:function(e,t,n){var i=t.getSelection(),r=i.getAnchorKey();if(r!==i.getFocusKey())return t;var o=t.getCurrentContent(),a=o.getBlockForKey(r),s=a.getType();if("unordered-list-item"!==s&&"ordered-list-item"!==s)return t;e.preventDefault();var l=a.getDepth();if(!e.shiftKey&&l===n)return t;var u=KXe(o,i,e.shiftKey?-1:1,n);return WXe.push(t,u,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),r=n.getEndKey(),o=e.getCurrentContent(),a=n;if(i!==r&&0===n.getEndOffset()){var s=VXe(o.getBlockBefore(r));r=s.getKey(),a=a.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:s.getLength(),isBackward:!1})}if(o.getBlockMap().skipWhile((function(e,t){return t!==i})).reverse().skipWhile((function(e,t){return t!==r})).some((function(e){return"atomic"===e.getType()})))return e;var l=o.getBlockForKey(i).getType()===t?"unstyled":t;return WXe.push(e,HXe.setBlockType(o,a,l),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),i=t.getFocusKey();return t.isCollapsed()||n!==i?YXe.toggleBlockType(e,"code-block"):YXe.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return WXe.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var r,o=e.getCurrentContent();return r=i.has(t)?HXe.removeInlineStyle(o,n,t):HXe.applyInlineStyle(o,n,t),WXe.push(e,r,"change-inline-style")},toggleLink:function(e,t,n){var i=HXe.applyEntity(e.getCurrentContent(),t,n);return WXe.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var i=t.getAnchorKey(),r=e.getCurrentContent(),o=r.getBlockForKey(i).getType(),a=r.getBlockBefore(i);if("code-block"===o&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==o)return HXe.setBlockType(r,t,"unstyled")}return null}},JXe=YXe,QXe=/\r\n?|\n/g;var ZXe=nBe,$Xe=fBe,XXe=MJe,e0e=_Ue,t0e=UXe,n0e=gHe,i0e=JXe,r0e=xKe,o0e=RJe,a0e=zJe,s0e=function(e){return e.split(QXe)};function l0e(e,t,n){var i=e0e.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return n0e.push(e,i.set("entityMap",n),"insert-fragment")}var u0e=function(e,t){t.preventDefault();var n=new XXe(t.clipboardData);if(!n.isRichText()){var i=n.getFiles(),r=n.getText();if(i.length>0){if(e.props.handlePastedFiles&&a0e(e.props.handlePastedFiles(i)))return;return void o0e(i,(function(t){if(t=t||r){var n=e._latestEditorState,i=s0e(t),o=$Xe.create({style:n.getCurrentInlineStyle(),entity:r0e(n.getCurrentContent(),n.getSelection())}),a=i0e.getCurrentBlockType(n),s=t0e.processText(i,o,a),l=ZXe.createFromArray(s),u=e0e.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(n0e.push(n,u,"insert-fragment"))}}))}}var o=[],a=n.getText(),s=n.getHTML(),l=e._latestEditorState;if(!e.props.handlePastedText||!a0e(e.props.handlePastedText(a,s,l))){if(a&&(o=s0e(a)),!e.props.stripPastedStyles){var u=e.getClipboard();if(n.isRichText()&&u){if(-1!==s.indexOf(e.getEditorKey())||1===o.length&&1===u.size&&u.first().getText()===a)return void e.update(l0e(e._latestEditorState,u))}else if(u&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(o,u))return void e.update(l0e(e._latestEditorState,u));if(s){var c=t0e.processHTML(s,e.props.blockRenderMap);if(c){var d=c.contentBlocks,f=c.entityMap;if(d){var p=ZXe.createFromArray(d);return void e.update(l0e(e._latestEditorState,p,f))}}}e.setClipboard(null)}if(o.length){var h=$Xe.create({style:l.getCurrentInlineStyle(),entity:r0e(l.getCurrentContent(),l.getSelection())}),g=i0e.getCurrentBlockType(l),m=t0e.processText(o,h,g),v=ZXe.createFromArray(m);e.update(l0e(e._latestEditorState,v))}}},c0e=PWe,d0e=dQe,f0e=gQe,p0e=vQe,h0e=wQe,g0e=PQe,m0e=TQe,v0e=AQe,y0e=MQe,b0e=dZe,_0e=T$e,w0e=u0e,k0e=_Ke,F0e=c0e.isBrowser("Chrome"),x0e=c0e.isBrowser("Firefox"),E0e=F0e||x0e?k0e:function(e){},C0e={onBeforeInput:d0e,onBlur:f0e,onCompositionStart:p0e,onCopy:h0e,onCut:g0e,onDragOver:m0e,onDragStart:v0e,onFocus:y0e,onInput:b0e,onKeyDown:_0e,onPaste:w0e,onSelect:k0e,onMouseUp:E0e,onKeyUp:E0e},S0e=b.default.unstable_flushControlled;var D0e=m.default,P0e=WHe,T0e=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=i.prototype;return r.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},r.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=P0e({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return D0e.createElement("div",{className:t},D0e.createElement("div",{className:P0e("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(D0e.Component),A0e=T0e,L0e=vZe,I0e=QWe,M0e=PWe,j0e=M0e.isPlatform("Mac OS X"),N0e=j0e&&M0e.isBrowser("Firefox < 29"),O0e=L0e.hasCommandModifier,R0e=L0e.isCtrlKeyCommand;function z0e(e){return j0e&&e.altKey||R0e(e)}var B0e=function(e){switch(e.keyCode){case 66:return O0e(e)?"bold":null;case 68:return R0e(e)?"delete":null;case 72:return R0e(e)?"backspace":null;case 73:return O0e(e)?"italic":null;case 74:return O0e(e)?"code":null;case 75:return j0e&&R0e(e)?"secondary-cut":null;case 77:case 79:return R0e(e)?"split-block":null;case 84:return j0e&&R0e(e)?"transpose-characters":null;case 85:return O0e(e)?"underline":null;case 87:return j0e&&R0e(e)?"backspace-word":null;case 89:return R0e(e)?j0e?"secondary-paste":"redo":null;case 90:return function(e){return O0e(e)?e.shiftKey?"redo":"undo":null}(e)||null;case I0e.RETURN:return"split-block";case I0e.DELETE:return function(e){return!j0e&&e.shiftKey?null:z0e(e)?"delete-word":"delete"}(e);case I0e.BACKSPACE:return function(e){return O0e(e)&&j0e?"backspace-to-start-of-line":z0e(e)?"backspace-word":"backspace"}(e);case I0e.LEFT:return N0e&&O0e(e)?"move-selection-to-start-of-block":null;case I0e.RIGHT:return N0e&&O0e(e)?"move-selection-to-end-of-block":null;default:return null}},G0e=CW;function U0e(){return U0e=G0e||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},U0e.apply(this,arguments)}function q0e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){W0e(e,t,n[t])}))}return e}function H0e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W0e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K0e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var V0e=YHe,Y0e=JHe,J0e=RKe,Q0e=yJe,Z0e=XJe,$0e=C0e,X0e=S0e,e1e=A0e,t1e=gHe,n1e=m.default,i1e=GVe,r1e=QVe,o1e=WHe,a1e=uGe,s1e=B0e,l1e=rYe,u1e=QUe,c1e=XBe,d1e=$We,f1e=Wqe,p1e=PWe.isBrowser("IE"),h1e=!p1e,g1e={edit:$0e,composite:J0e,drag:Z0e,cut:null,render:null},m1e=!1,v1e=function(e){function t(){return e.apply(this,arguments)||this}K0e(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}(n1e.Component),y1e=function(e){function t(t){var n;return W0e(H0e(n=e.call(this,t)||this),"_blockSelectEvents",void 0),W0e(H0e(n),"_clipboard",void 0),W0e(H0e(n),"_handler",void 0),W0e(H0e(n),"_dragCount",void 0),W0e(H0e(n),"_internalDrag",void 0),W0e(H0e(n),"_editorKey",void 0),W0e(H0e(n),"_placeholderAccessibilityID",void 0),W0e(H0e(n),"_latestEditorState",void 0),W0e(H0e(n),"_latestCommittedEditorState",void 0),W0e(H0e(n),"_pendingStateFromBeforeInput",void 0),W0e(H0e(n),"_onBeforeInput",void 0),W0e(H0e(n),"_onBlur",void 0),W0e(H0e(n),"_onCharacterData",void 0),W0e(H0e(n),"_onCompositionEnd",void 0),W0e(H0e(n),"_onCompositionStart",void 0),W0e(H0e(n),"_onCopy",void 0),W0e(H0e(n),"_onCut",void 0),W0e(H0e(n),"_onDragEnd",void 0),W0e(H0e(n),"_onDragOver",void 0),W0e(H0e(n),"_onDragStart",void 0),W0e(H0e(n),"_onDrop",void 0),W0e(H0e(n),"_onInput",void 0),W0e(H0e(n),"_onFocus",void 0),W0e(H0e(n),"_onKeyDown",void 0),W0e(H0e(n),"_onKeyPress",void 0),W0e(H0e(n),"_onKeyUp",void 0),W0e(H0e(n),"_onMouseDown",void 0),W0e(H0e(n),"_onMouseUp",void 0),W0e(H0e(n),"_onPaste",void 0),W0e(H0e(n),"_onSelect",void 0),W0e(H0e(n),"editor",void 0),W0e(H0e(n),"editorContainer",void 0),W0e(H0e(n),"focus",void 0),W0e(H0e(n),"blur",void 0),W0e(H0e(n),"setMode",void 0),W0e(H0e(n),"exitCurrentMode",void 0),W0e(H0e(n),"restoreEditorDOM",void 0),W0e(H0e(n),"setClipboard",void 0),W0e(H0e(n),"getClipboard",void 0),W0e(H0e(n),"getEditorKey",void 0),W0e(H0e(n),"update",void 0),W0e(H0e(n),"onDragEnter",void 0),W0e(H0e(n),"onDragLeave",void 0),W0e(H0e(n),"_handleEditorContainerRef",(function(e){n.editorContainer=e,n.editor=null!==e?e.firstChild:null})),W0e(H0e(n),"focus",(function(e){var t=n.props.editorState,i=t.getSelection().getHasFocus(),r=n.editor;if(r){var o=r1e.getScrollParent(r),a=e||l1e(o),s=a.x,l=a.y;d1e(r)||("production"!==ma.env.NODE_ENV?c1e(!1,"editorNode is not an HTMLElement"):c1e(!1)),r.focus(),o===window?window.scrollTo(s,l):i1e.setTop(o,l),i||n.update(t1e.forceSelection(t,t.getSelection()))}})),W0e(H0e(n),"blur",(function(){var e=n.editor;e&&(d1e(e)||("production"!==ma.env.NODE_ENV?c1e(!1,"editorNode is not an HTMLElement"):c1e(!1)),e.blur())})),W0e(H0e(n),"setMode",(function(e){var t=n.props,i=t.onPaste,r=t.onCut,o=t.onCopy,a=q0e({},g1e.edit);i&&(a.onPaste=i),r&&(a.onCut=r),o&&(a.onCopy=o);var s=q0e({},g1e,{edit:a});n._handler=s[e]})),W0e(H0e(n),"exitCurrentMode",(function(){n.setMode("edit")})),W0e(H0e(n),"restoreEditorDOM",(function(e){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(e)}))})),W0e(H0e(n),"setClipboard",(function(e){n._clipboard=e})),W0e(H0e(n),"getClipboard",(function(){return n._clipboard})),W0e(H0e(n),"update",(function(e){n._latestEditorState=e,n.props.onChange(e)})),W0e(H0e(n),"onDragEnter",(function(){n._dragCount++})),W0e(H0e(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||a1e(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=t.editorState,n._latestCommittedEditorState=t.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},"production"!==ma.env.NODE_ENV&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach((function(e){t.hasOwnProperty(e)&&console.warn("Supplying an `".concat(e,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")})),n.state={contentsKey:0},n}K0e(t,e);var n=t.prototype;return n._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var i=t._handler&&t._handler[e];i&&(X0e?X0e((function(){return i(t,n)})):i(t,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:f1e(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return n1e.createElement(e1e,e)}return null},n.render=function(){var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,i=e.blockStyleFn,r=e.customStyleFn,o=e.customStyleMap,a=e.editorState,s=e.preventScroll,l=e.readOnly,u=e.textAlignment,c=e.textDirectionality,d=o1e({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),f=this.props.role||"textbox",p="combobox"===f?!!this.props.ariaExpanded:null,h={blockRenderMap:t,blockRendererFn:n,blockStyleFn:i,customStyleMap:q0e({},Y0e,o),customStyleFn:r,editorKey:this._editorKey,editorState:a,preventScroll:s,textDirectionality:c};return n1e.createElement("div",{className:d},this._renderPlaceholder(),n1e.createElement("div",{className:o1e("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},n1e.createElement("div",{"aria-activedescendant":l?null:this.props.ariaActiveDescendantID,"aria-autocomplete":l?null:this.props.ariaAutoComplete,"aria-controls":l?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":l?null:p,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":l?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:o1e({notranslate:!l,"public/DraftEditor/content":!0}),contentEditable:!l,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:l?null:f,spellCheck:h1e&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},n1e.createElement(v1e,{editor:this,editorState:a}),n1e.createElement(Q0e,U0e({},h,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!m1e&&u1e("draft_ods_enabled")&&(m1e=!0),this.setMode("edit"),p1e&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):x.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(n1e.Component);W0e(y1e,"defaultProps",{blockRenderMap:V0e,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:s1e,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var b1e=y1e,_1e=C(Object.freeze({__proto__:null})),w1e={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}},k1e=w1e,F1e=UQe.strlen;var x1e=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,r){var o=e.getText(),a=e.getEntityAt(i);n.push({offset:F1e(o.slice(0,i)),length:F1e(o.slice(i,r)),key:Number(t[k1e.stringify(a)])})})),n},E1e=UQe,C1e=pBe,S1e=function(e,t){return e===t},D1e=function(e){return!!e},P1e=[];var T1e=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var i=[],r=t.map((function(e){return e.has(n)})).toList();return C1e(r,S1e,D1e,(function(t,r){var o=e.getText();i.push({offset:E1e.strlen(o.slice(0,t)),length:E1e.strlen(o.slice(t,r)),style:n})})),i}(e,t,n)}));return Array.prototype.concat.apply(P1e,n.toJS())};function A1e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L1e=SBe,I1e=UBe,M1e=w1e,j1e=x1e,N1e=T1e,O1e=XBe,R1e=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:N1e(e),entityRanges:j1e(e,t),data:e.getData().toObject()}},z1e=function(e,t,n,i){if(e instanceof L1e)n.push(R1e(e,t));else{e instanceof I1e||("production"!==ma.env.NODE_ENV?O1e(!1,"block is not a BlockNode"):O1e(!1));var r=e.getParentKey(),o=i[e.getKey()]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){A1e(e,t,n[t])}))}return e}({},R1e(e,t),{children:[]});r?i[r].children.push(o):n.push(o)}},B1e=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.entityMap,i=[],r={},o={},a=0;return e.getBlockMap().forEach((function(e){e.findEntityRanges((function(e){return null!==e.getEntity()}),(function(t){var i=e.getEntityAt(t),r=M1e.stringify(i);o[r]||(o[r]=i,n[r]="".concat(a),a++)})),z1e(e,n,i,r)})),{blocks:i,entityMap:n}}(e,t),t=function(e,t){var n=t.blocks,i=t.entityMap,r={};return Object.keys(i).forEach((function(t,n){var i=e.getEntity(M1e.unstringify(t));r[n]={type:i.getType(),mutability:i.getMutability(),data:i.getData()}})),{blocks:n,entityMap:r}}(e,t),t};function G1e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){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 q1e=uGe,H1e=XBe,W1e=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},K1e={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||("production"!==ma.env.NODE_ENV?H1e(!1,"Invalid raw state"):H1e(!1)),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var i=n.pop();t(i);var r=i.children;Array.isArray(r)||("production"!==ma.env.NODE_ENV?H1e(!1,"Invalid tree raw block"):H1e(!1)),n=n.concat([].concat(r.reverse()))}}(t,(function(e){var t=G1e({},e);W1e(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map((function(t){return t.type===e.type?G1e({},t,{depth:(e.depth||0)+1}):t})))}(e),null!=e.children&&e.children.length>0)||(delete t.children,n.push(t))})),e.blocks=n,G1e({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var i=W1e(e),r=e.depth||0,o=G1e({},e,{children:[]});if(i){var a=n[0];if(null==a&&0===r)t.push(o);else if(null==a||a.depth<r-1){var s={key:q1e(),text:"",depth:r-1,type:e.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(s),1===r?t.push(s):null!=a&&a.children.push(s),s.children.push(o)}else if(a.depth===r-1)a.children.push(o);else{for(;null!=a&&a.depth>=r;)n.shift(),a=n[0];r>0?a.children.push(o):t.push(o)}}else t.push(o)})),G1e({},e,{blocks:t})}},V1e=K1e,Y1e=KQe,J1e={isValidBlock:function(e,t){var n=e.getKey(),i=e.getParentKey();if(null!=i&&!t.get(i).getChildKeys().includes(n))return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing parent -> child pointer on %s",n),!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing child -> parent pointer on %s",n),!1;var r=e.getPrevSiblingKey();if(null!=r&&t.get(r).getNextSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing nextSibling pointer on %s's prevSibling",n),!1;var o=e.getNextSiblingKey();if(null!=o&&t.get(o).getPrevSiblingKey()!==n)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is missing prevSibling pointer on %s's nextSibling",n),!1;return null!==o&&null!==r&&r===o?("production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree has a two-node cycle at %s",n),!1):!(""!=e.text&&e.getChildKeys().size>0)||("production"!==ma.env.NODE_ENV&&Y1e(!0,"Leaf node %s has children",n),!1)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"Tree is not connected. More or less than one first node"),!1;for(var n=0,i=t.shift().getKey(),r=[];null!=i;){var o=e.get(i),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&r.unshift(s);var l=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return"production"!==ma.env.NODE_ENV&&Y1e(!0,"%s has no first child",i),!1;i=l.getKey()}else i=null!=o.getNextSiblingKey()?o.getNextSiblingKey():r.shift();n++}return n===e.size||("production"!==ma.env.NODE_ENV&&Y1e(!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)}},Q1e=J1e,Z1e=fBe,$1e=Xze.exports.List;var X1e=function(e,t){var n=e.map((function(e,n){var i=t[n];return Z1e.create({style:e,entity:i})}));return $1e(n)},e2e=UQe.substr;var t2e=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var i=e2e(e,0,t.offset).length,r=i+e2e(e,t.offset,t.length).length,o=i;o<r;o++)n[o]=t.key})),n},n2e=UQe,i2e=Xze.exports.OrderedSet,r2e=n2e.substr,o2e=i2e();var a2e=function(e,t){var n=Array(e.length).fill(o2e);return t&&t.forEach((function(t){for(var i=r2e(e,0,t.offset).length,r=i+r2e(e,t.offset,t.length).length;i<r;)n[i]=n[i].add(t.style),i++})),n};function s2e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){l2e(e,t,n[t])}))}return e}function l2e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u2e=SBe,c2e=UBe,d2e=_qe,f2e=VUe,p2e=V1e,h2e=Q1e,g2e=JUe,m2e=X1e,v2e=t2e,y2e=a2e,b2e=uGe,_2e=Xze.exports,w2e=XBe,k2e=QUe("draft_tree_data_support"),F2e=_2e.List,x2e=_2e.Map,E2e=_2e.OrderedMap,C2e=function(e,t){var n=e.key,i=e.type,r=e.data;return{text:e.text,depth:e.depth||0,type:i||"unstyled",key:n||b2e(),data:x2e(r),characterList:S2e(e,t)}},S2e=function(e,t){var n=e.text,i=e.entityRanges,r=e.inlineStyleRanges,o=i||[];return m2e(y2e(n,r||[]),v2e(n,o.filter((function(e){return t.hasOwnProperty(e.key)})).map((function(e){return s2e({},e,{key:t[e.key]})}))))},D2e=function(e){return s2e({},e,{key:e.key||b2e()})},P2e=function(e,t,n){var i=t.map((function(e){return s2e({},e,{parentRef:n})}));return e.concat(i.reverse())},T2e=function(e,t){var n=e.blocks.find((function(e){return Array.isArray(e.children)&&e.children.length>0})),i=k2e&&!n?p2e.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!k2e)return function(e,t){return E2e(e.map((function(e){var n=new u2e(C2e(e,t));return[n.getKey(),n]})))}(n?p2e.fromRawTreeStateToRawState(e).blocks:i,t);var r=function(e,t){return e.map(D2e).reduce((function(n,i,r){Array.isArray(i.children)||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):w2e(!1));var o=i.children.map(D2e),a=new c2e(s2e({},C2e(i,t),{prevSibling:0===r?null:e[r-1].key,nextSibling:r===e.length-1?null:e[r+1].key,children:F2e(o.map((function(e){return e.key})))}));n=n.set(a.getKey(),a);for(var s=P2e([],o,a);s.length>0;){var l=s.pop(),u=l.parentRef,c=u.getChildKeys(),d=c.indexOf(l.key),f=Array.isArray(l.children);if(!f){f||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):w2e(!1));break}var p=l.children.map(D2e),h=new c2e(s2e({},C2e(l,t),{parent:u.getKey(),children:F2e(p.map((function(e){return e.key}))),prevSibling:0===d?null:c.get(d-1),nextSibling:d===c.size-1?null:c.get(d+1)}));n=n.set(h.getKey(),h),s=P2e(s,p,h)}return n}),E2e())}(i,t);return"production"!==ma.env.NODE_ENV&&(h2e.isValidTree(r)||("production"!==ma.env.NODE_ENV?w2e(!1,"Should be a valid tree"):w2e(!1))),r},A2e=function(e){Array.isArray(e.blocks)||("production"!==ma.env.NODE_ENV?w2e(!1,"invalid RawDraftContentState"):w2e(!1));var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach((function(e){var i=t[e],r=i.type,o=i.mutability,a=i.data;n[e]=f2e.__create(r,o,a||{})})),n}(e),n=T2e(e,t),i=n.isEmpty()?new g2e:g2e.createEmpty(n.first().getKey());return new d2e({blockMap:n,entityMap:t,selectionBefore:i,selectionAfter:i})},L2e=EZe;var I2e=function(e){var t=L2e(e),n=0,i=0,r=0,o=0;if(t.length){if(t.length>1&&0===t[0].width){var a=t[1];n=a.top,i=a.right,r=a.bottom,o=a.left}else{var s=t[0];n=s.top,i=s.right,r=s.bottom,o=s.left}for(var l=1;l<t.length;l++){var u=t[l];0!==u.height&&0!==u.width&&(n=Math.min(n,u.top),i=Math.max(i,u.right),r=Math.max(r,u.bottom),o=Math.min(o,u.left))}}return{top:n,right:i,bottom:r,left:o,width:i-o,height:r-n}},M2e=I2e;var j2e=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),i=M2e(n),r=i.top,o=i.right,a=i.bottom,s=i.left;return 0===r&&0===o&&0===a&&0===s?null:i},N2e={Editor:b1e,EditorBlock:iJe,EditorState:gHe,CompositeDecorator:qHe,Entity:VUe,EntityInstance:OUe,BlockMapBuilder:nBe,CharacterMetadata:fBe,ContentBlock:SBe,ContentState:_qe,RawDraftContentState:_1e,SelectionState:JUe,AtomicBlockUtils:BHe,KeyBindingUtil:vZe,Modifier:_Ue,RichUtils:JXe,DefaultDraftBlockRenderMap:YHe,DefaultDraftInlineStyle:JHe,convertFromHTML:DXe,convertFromRaw:A2e,convertToRaw:B1e,genKey:uGe,getDefaultKeyBinding:B0e,getVisibleSelectionRect:j2e};function O2e(e,t,n,i,r,o){var a=i-n;return t+n<=e.offset?Object.assign({},e,{offset:e.offset+a}):t>=e.offset&&t+n<=e.offset+e.length?Object.assign({},e,{length:e.length+a}):e.offset>=t&&e.offset+e.length<=t+n&&r>0?Object.assign({},e,{offset:e.offset+r}):e.offset<t&&e.offset+e.length<=t+n&&e.offset+e.length>t&&r>0?[Object.assign({},e,{length:t-e.offset}),Object.assign({},e,{offset:t+r,length:e.offset-t+e.length})]:e.offset>=t&&e.offset+e.length>t+n&&t+n>e.offset&&o>0?[Object.assign({},e,{offset:e.offset+r,length:t+n-e.offset}),Object.assign({},e,{offset:t+n+r+o,length:e.offset+e.length-(t+n)})]:e}var R2e=function(e,t){return e.offset===t.offset?t.length-e.length:e.offset-t.offset},z2e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"};function B2e(e){return B2e="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},B2e(e)}var G2e=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function U2e(e){if(-1!==G2e.indexOf(e.type))return k.default.renderToStaticMarkup(e);var t=k.default.renderToStaticMarkup(m.default.cloneElement(e,{},"\r")).split("\r");return zhe(t.length>1,"convertToHTML: Element of type ".concat(e.type," must render children")),zhe(t.length<3,"convertToHTML: Element of type ".concat(e.type," cannot use carriage return character")),{start:t[0],end:t[1]}}function q2e(e){return m.default.isValidElement(e)&&m.default.Children.count(e.props.children)>0}function H2e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return e;if("string"==typeof e)return e;if(m.default.isValidElement(e)){if(q2e(e))return k.default.renderToStaticMarkup(e);var n=U2e(e);if(null!==t&&"object"===B2e(n)){var i=n.start,r=n.end;return i+t+r}return n}if(zhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==t){var o=e.start,a=e.end;return o+t+a}return e}var W2e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(m.default.isValidElement(t)){var i=U2e(t);if("string"==typeof i)return 0;var r=i[n].length,o=m.default.Children.toArray(t.props.children)[0];return r+(o&&m.default.isValidElement(o)?e(o,n):0)}return"object"===B2e(t)&&t[n]?t[n].length:0},K2e=function(){var e=arguments.length>1?arguments[1]:void 0;return e},V2e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K2e,i=YOe(e.text),r=n;if(n.__isMiddleware&&(r=n(K2e)),Object.prototype.hasOwnProperty.call(e,"entityRanges")&&e.entityRanges.length>0){for(var o=e.entityRanges.sort(R2e),a=e.inlineStyleRanges,s=function(e){var n=o[e],s=t[n.key],l=i.slice(n.offset,n.offset+n.length).join(""),u=r(s,l),c=YOe(H2e(u,l)||l),d=W2e(u,"start"),f=W2e(u,"end"),p=function(t){return t.reduce((function(t,i,r){var o=function(t,i){return i>e||Object.prototype.hasOwnProperty.call(t,"style")?O2e(t,n.offset,n.length,c.length,d,f):t}(i,r);return Array.isArray(o)?t.concat(o):t.concat([o])}),[])};o=p(o),a=p(a),i=[].concat(YOe(i.slice(0,n.offset)),YOe(c),YOe(i.slice(n.offset+n.length)))},l=0;l<o.length;l++)s(l);return Object.assign({},e,{text:i.join(""),inlineStyleRanges:a,entityRanges:o})}return e},Y2e=function(e){return function(t){return"function"==typeof e?e(t):e[t]}},J2e=function(e,t){return function(){var n=e.apply(void 0,arguments);return null!=n?n:t.apply(void 0,arguments)}};function Q2e(e){switch(e){case"BOLD":return m.default.createElement("strong",null);case"ITALIC":return m.default.createElement("em",null);case"UNDERLINE":return m.default.createElement("u",null);case"CODE":return m.default.createElement("code",null);default:return{start:"",end:""}}}var Z2e=function(e,t){return e.filter((function(e){return!t.some((function(t){return t.style===e.style}))}))},$2e=function(e,t){return t.reduceRight((function(e,t){var n=e[e.length-1];return zhe(n.style===t.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(t.style)),e.slice(0,-1)}),e)},X2e=function(e,t){return t.filter((function(t){return e>=t.offset&&e<t.offset+t.length}))},e3e=function(e,t){var n=e.offset<=t.offset,i=e.offset+e.length>=t.offset+t.length;return n&&i},t3e=function(e,t){return t.offset+t.length-(e.offset+e.length)},n3e=function(e,t){for(var n=0;n<e.length;){if(!t.every(e3e.bind(null,e[n])))return e.slice(n);n++}return[]},i3e=function(e,t,n){return t+H2e(e(n.style)).start},r3e=function(e,t,n){return H2e(e(n.style)).end+t},o3e=function(e){return function(t){return e(t)}};o3e.__isMiddleware=!0;var a3e=function(e){return function(t){return"function"==typeof e?e(t):e[t.type]}};function s3e(e){return zhe(null!=e,"Expected block HTML value to be non-null"),"string"==typeof e?e:m.default.isValidElement(e)?(t=e,m.default.isValidElement(t)&&m.default.Children.count(t.props.children)>0?k.default.renderToStaticMarkup(e):U2e(e)):Object.prototype.hasOwnProperty.call(e,"element")&&m.default.isValidElement(e.element)?Object.assign({},e,U2e(e.element)):(zhe(Object.prototype.hasOwnProperty.call(e,"start")&&Object.prototype.hasOwnProperty.call(e,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e);var t}function l3e(e,t){if(zhe(null!=e,"Expected block HTML value to be non-null"),"function"==typeof e.nest){var n=U2e(e.nest(t)),i=n.start,r=n.end;return Object.assign({},e,{nestStart:i,nestEnd:r})}if(m.default.isValidElement(e.nest)){var o=U2e(e.nest),a=o.start,s=o.end;return Object.assign({},e,{nestStart:a,nestEnd:s})}return zhe(Object.prototype.hasOwnProperty.call(e,"nestStart")&&Object.prototype.hasOwnProperty.call(e,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),e}var u3e=["1","a","i"],c3e={unstyled:m.default.createElement("p",null),paragraph:m.default.createElement("p",null),"header-one":m.default.createElement("h1",null),"header-two":m.default.createElement("h2",null),"header-three":m.default.createElement("h3",null),"header-four":m.default.createElement("h4",null),"header-five":m.default.createElement("h5",null),"header-six":m.default.createElement("h6",null),blockquote:m.default.createElement("blockquote",null),"unordered-list-item":{element:m.default.createElement("li",null),nest:m.default.createElement("ul",null)},"ordered-list-item":{element:m.default.createElement("li",null),nest:function(e){var t=u3e[e%3];return m.default.createElement("ol",{type:t})}},media:m.default.createElement("figure",null),atomic:m.default.createElement("figure",null)},d3e=function(e,t){return t},f3e=function(e){var t=e.styleToHTML,n=void 0===t?{}:t,i=e.blockToHTML,r=void 0===i?{}:i,o=e.entityToHTML,a=void 0===o?d3e:o;return function(e){var t;zhe(null!=e,"Expected contentState to be non-null"),t=!0===r.__isMiddleware?r(a3e(c3e)):J2e(a3e(r),a3e(c3e));var i=N2e.convertToRaw(e),o=[],s=i.blocks.map((function(e){var r=e.type,s=e.depth,l="",u="",c=t(e);if(!c)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(e.type));if(c.nest)for(;s+1!==o.length||r!==o[s].type;)if(s+1===o.length){var d=o[s];l+=l3e(t(d),s).nestEnd,u+=l3e(t(e),s).nestStart,o[s]=e}else if(s+1<o.length){var f=o[o.length-1];l+=l3e(t(f),s).nestEnd,o=o.slice(0,-1)}else u+=l3e(t(e),s).nestStart,o.push(e);else l=o.reduceRight((function(e,n){return e+l3e(t(n),s).nestEnd}),""),o=[];var p,h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o3e;zhe(null!=e,"Expected raw block to be non-null"),t=!0===n.__isMiddleware?n(Q2e):J2e(Y2e(n),Y2e(Q2e));for(var i="",r=[],o=e.inlineStyleRanges.sort(R2e),a=YOe(e.text),s=0;s<a.length;s++){var l=X2e(s,o),u=Z2e(r,l),c=Z2e(l,r),d=Z2e(r,u),f=n3e(d,c),p=f.concat(c).sort(t3e),h=p.reduce(i3e.bind(null,t),"");i+=u.concat(f).reduce(r3e.bind(null,t),"")+h+a[s],r=(r=$2e(r,f.concat(u))).concat(p),zhe(r.length===l.length,"Character ".concat(s,": ").concat(r.length-l.length," styles left on stack that should no longer be there"))}return r.reduceRight((function(e,n){return e+H2e(t(n.style)).end}),i)}(V2e(function(e){for(var t=YOe(e.text),n=e.entityRanges.sort(R2e),i=e.inlineStyleRanges.sort(R2e),r="",o=function(e){var o=t[e];if(void 0!==z2e[o]){var a=z2e[o],s=YOe(r).length;r+=a;var l=function(e){return O2e(e,s,o.length,a.length,0,0)};n=n.map(l),i=i.map(l)}else r+=o},a=0;a<t.length;a++)o(a);return Object.assign({},e,{text:r,inlineStyleRanges:i,entityRanges:n})}(e),i.entityMap,a),n),g=s3e(t(e));return p="string"==typeof g?g:g.start+h+g.end,0===h.length&&Object.prototype.hasOwnProperty.call(g,"empty")&&(p=m.default.isValidElement(g.empty)?k.default.renderToStaticMarkup(g.empty):g.empty),l+u+p})).join("");return s=o.reduce((function(e,n){return e+l3e(t(n),n.depth).nestEnd}),s)}},p3e={exports:{}};!function(e,t){e.exports=function(){var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:V(e)}function i(e){return s(e)?e:Y(e)}function r(e){return l(e)?e:J(e)}function o(e){return a(e)&&!u(e)?e:Q(e)}function a(e){return!(!e||!e[d])}function s(e){return!(!e||!e[f])}function l(e){return!(!e||!e[p])}function u(e){return s(e)||l(e)}function c(e){return!(!e||!e[h])}t(i,n),t(r,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=u,n.isOrdered=c,n.Keyed=i,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,v=1<<m,y=v-1,b={},_={value:!1},w={value:!1};function k(e){return e.value=!1,e}function F(e){e&&(e.value=!0)}function x(){}function E(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function C(e){return void 0===e.size&&(e.size=e.__iterate(D)),e.size}function S(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function D(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return L(e,t,0)}function A(e,t){return L(e,t,t)}function L(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var I=0,M=1,j=2,N="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",R=N||O;function z(e){this.next=e}function B(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function G(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function q(e){return e&&"function"==typeof e.next}function H(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(N&&e[N]||e[O]);if("function"==typeof t)return t}function K(e){return e&&"number"==typeof e.length}function V(e){return null==e?ae():a(e)?e.toSeq():ue(e)}function Y(e){return null==e?ae().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():se(e)}function J(e){return null==e?ae():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Q(e){return(null==e?ae():a(e)?s(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=I,z.VALUES=M,z.ENTRIES=j,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[R]=function(){return this},t(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(e,t){return de(this,e,t,!0)},V.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},t(Y,V),Y.prototype.toKeyedSeq=function(){return this},t(J,V),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return de(this,e,t,!1)},J.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},t(Q,V),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},V.isSeq=oe,V.Keyed=Y,V.Set=Q,V.Indexed=J;var Z,$,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 ie(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ae(){return Z||(Z=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():q(e)?new re(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function ce(e){return K(e)?new te(e):q(e)?new re(e):U(e)?new ie(e):void 0}function de(e,t,n,i){var r=e._cache;if(r){for(var o=r.length-1,a=0;a<=o;a++){var s=r[n?o-a:a];if(!1===t(s[1],i?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function fe(e,t,n,i){var r=e._cache;if(r){var o=r.length-1,a=0;return new z((function(){var e=r[n?o-a:a];return a++>o?G():B(t,i?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function pe(e,t){return t?he(t,e,"",{"":e}):ge(e)}function he(e,t,n,i){return Array.isArray(t)?e.call(i,n,J(t).map((function(n,i){return he(e,n,i,t)}))):me(t)?e.call(i,n,Y(t).map((function(n,i){return he(e,n,i,t)}))):t}function ge(e){return Array.isArray(e)?J(e).map(ge).toList():me(e)?Y(e).map(ge).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ve(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&ve(r[1],e)&&(n||ve(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var d=!0,f=t.__iterate((function(t,i){if(n?!e.has(t):r?!ve(t,e.get(i,b)):!ve(e.get(i,b),t))return d=!1,!1}));return d&&e.size===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($)return $;$=this}}function _e(e,t){if(!e)throw new Error(t)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(X)return X;X=this}}function ke(){throw TypeError("Abstract")}function Fe(){}function xe(){}function Ee(){}V.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[S(this,e)]:t},te.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length-1,r=0;r<=i;r++)if(!1===e(n[t?i-r:r],r,this))return r+1;return r},te.prototype.__iterator=function(e,t){var n=this._array,i=n.length-1,r=0;return new z((function(){return r>i?G():B(e,r,n[t?i-r++:r++])}))},t(ne,Y),ne.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},ne.prototype.has=function(e){return this._object.hasOwnProperty(e)},ne.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length-1,o=0;o<=r;o++){var a=i[t?r-o:o];if(!1===e(n[a],a,this))return o+1}return o},ne.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length-1,o=0;return new z((function(){var a=i[t?r-o:o];return o++>r?G():B(e,a,n[a])}))},ne.prototype[h]=!0,t(ie,J),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),i=0;if(q(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!q(n))return new z(G);var i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value)}))},t(re,J),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,i=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(;!(n=i.next()).done;){var a=n.value;if(r[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,i=this._iteratorCache,r=0;return new z((function(){if(r>=i.length){var t=n.next();if(t.done)return t;i[r]=t.value}return B(e,r,i[r++])}))},t(be,J),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 P(e,t,n)?this:new be(this._value,A(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return ve(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return ve(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},be.prototype.__iterator=function(e,t){var n=this,i=0;return new z((function(){return i<n.size?B(e,i++,n._value):G()}))},be.prototype.equals=function(e){return e instanceof be?ve(this._value,e._value):ye(e)},t(we,J),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+S(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=T(e,this.size),(t=A(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;o<=n;o++){if(!1===e(r,o,this))return o+1;r+=t?-i:i}return o},we.prototype.__iterator=function(e,t){var n=this.size-1,i=this._step,r=t?this._start+n*i:this._start,o=0;return new z((function(){var a=r;return r+=t?-i:i,o>n?G():B(e,o++,a)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(ke,n),t(Fe,ke),t(xe,ke),t(Ee,ke),ke.Keyed=Fe,ke.Indexed=xe,ke.Set=Ee;var Ce="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function Se(e){return e>>>1&1073741824|3221225471&e}function De(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Se(n)}if("string"===t)return e.length>ze?Pe(e):Te(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return Ae(e);if("function"==typeof e.toString)return Te(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Pe(e){var t=Ue[e];return void 0===t&&(t=Te(e),Ge===Be&&(Ge=0,Ue={}),Ge++,Ue[e]=t),t}function Te(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Se(t)}function Ae(e){var t;if(Ne&&void 0!==(t=je.get(e)))return t;if(void 0!==(t=e[Re]))return t;if(!Ie){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Re]))return t;if(void 0!==(t=Me(e)))return t}if(t=++Oe,1073741824&Oe&&(Oe=0),Ne)je.set(e,t);else{if(void 0!==Le&&!1===Le(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ie)Object.defineProperty(e,Re,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Re]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Re]=t}}return t}var Le=Object.isExtensible,Ie=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,Ne="function"==typeof WeakMap;Ne&&(je=new WeakMap);var Oe=0,Re="__immutablehash__";"function"==typeof Symbol&&(Re=Symbol(Re));var ze=16,Be=255,Ge=0,Ue={};function qe(e){_e(e!==1/0,"Cannot perform this action with an infinite size.")}function He(e){return null==e?rt():We(e)&&!c(e)?e:rt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function We(e){return!(!e||!e[Ve])}t(He,Fe),He.prototype.toString=function(){return this.__toString("Map {","}")},He.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},He.prototype.set=function(e,t){return ot(this,e,t)},He.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},He.prototype.remove=function(e){return ot(this,e,b)},He.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},He.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},He.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var i=mt(this,kn(e),t,n);return i===b?void 0:i},He.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rt()},He.prototype.merge=function(){return ft(this,void 0,arguments)},He.prototype.mergeWith=function(t){return ft(this,t,e.call(arguments,1))},He.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},He.prototype.mergeDeep=function(){return ft(this,pt,arguments)},He.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return ft(this,ht(t),n)},He.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,rt(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},He.prototype.sort=function(e){return Ut(dn(this,e))},He.prototype.sortBy=function(e,t){return Ut(dn(this,t,e))},He.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},He.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},He.prototype.asImmutable=function(){return this.__ensureOwner()},He.prototype.wasAltered=function(){return this.__altered},He.prototype.__iterator=function(e,t){return new et(this,e,t)},He.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},He.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?it(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},He.isMap=We;var Ke,Ve="@@__IMMUTABLE_MAP__@@",Ye=He.prototype;function Je(e,t){this.ownerID=e,this.entries=t}function Qe(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 $e(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 it(e,t,n,i){var r=Object.create(Ye);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function rt(){return Ke||(Ke=it(0))}function ot(e,t,n){var i,r;if(e._root){var o=k(_),a=k(w);if(i=at(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===b?-1:1:0)}else{if(n===b)return e;r=1,i=new Je(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?it(r,i):rt()}function at(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===b?e:(F(s),F(a),new Xe(t,i,[r,o]))}function st(e){return e.constructor===Xe||e.constructor===$e}function lt(e,t,n,i,r){if(e.keyHash===i)return new $e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?i:i>>>n)&y;return new Qe(t,1<<a|1<<s,a===s?[lt(e,t,n+m,i,r)]:(o=new Xe(t,i,r),a<s?[e,o]:[o,e]))}function ut(e,t,n,i){e||(e=new x);for(var r=new Xe(e,De(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}function ct(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new Qe(e,r,a)}function dt(e,t,n,i,r){for(var o=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new Ze(e,o+1,a)}function ft(e,t,n){for(var r=[],o=0;o<n.length;o++){var s=n[o],l=i(s);a(s)||(l=l.map((function(e){return pe(e)}))),r.push(l)}return gt(e,t,r)}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,i){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var r=e(t,n,i);return ve(t,r)?t:r}}function gt(e,t,n){return 0===(n=n.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations((function(e){for(var i=t?function(n,i){e.update(i,b,(function(e){return e===b?n:t(e,n,i)}))}:function(t,n){e.set(n,t)},r=0;r<n.length;r++)n[r].forEach(i)})):e.constructor(n[0])}function mt(e,t,n,i){var r=e===b,o=t.next();if(o.done){var a=r?n:e,s=i(a);return s===a?e:s}_e(r||e&&e.set,"invalid keyPath");var l=o.value,u=r?b:e.get(l,b),c=mt(u,t,n,i);return c===u?e:c===b?e.remove(l):(r?rt():e).set(l,c)}function vt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function yt(e,t,n,i){var r=i?e:E(e);return r[t]=n,r}function bt(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}function _t(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}Ye[Ve]=!0,Ye[g]=Ye.remove,Ye.removeIn=Ye.deleteIn,Je.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},Je.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===b,l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),!s||1!==l.length){if(!d&&!s&&l.length>=wt)return ut(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new Je(e,p)}},Qe.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=1<<((0===e?t:t>>>e)&y),o=this.bitmap;return 0==(o&r)?i:this.nodes[vt(o&r-1)].get(e+m,t,n,i)},Qe.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===b)return this;var d=vt(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=at(p,e,t+m,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=kt)return dt(e,f,u,s,h);if(c&&!h&&2===f.length&&st(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&st(h))return h;var g=e&&e===this.ownerID,v=c?h?u:u^l:u|l,_=c?h?yt(f,d,h,g):_t(f,d,g):bt(f,d,h,g);return g?(this.bitmap=v,this.nodes=_,this):new Qe(e,v,_)},Ze.prototype.get=function(e,t,n,i){void 0===t&&(t=De(n));var r=(0===e?t:t>>>e)&y,o=this.nodes[r];return o?o.get(e+m,t,n,i):i},Ze.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=(0===t?n:n>>>t)&y,l=r===b,u=this.nodes,c=u[s];if(l&&!c)return this;var d=at(c,e,t+m,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<Ft)return ct(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=yt(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new Ze(e,f,h)},$e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(ve(n,r[o][0]))return r[o][1];return i},$e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=De(i));var s=r===b;if(n!==this.keyHash)return s?this:(F(a),F(o),lt(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!ve(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(F(a),(s||!d)&&F(o),s&&2===c)return new Xe(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:E(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new $e(e,this.keyHash,p)},Xe.prototype.get=function(e,t,n,i){return ve(n,this.entry[0])?this.entry[1]:i},Xe.prototype.update=function(e,t,n,i,r,o,a){var s=r===b,l=ve(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(F(a),s?void F(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new Xe(e,this.keyHash,[i,r]):(F(o),lt(this,e,t,De(i),[i,r])))},Je.prototype.iterate=$e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},Qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},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,i=t.node,r=t.index++;if(i.entry){if(0===r)return tt(e,i.entry)}else if(i.entries){if(r<=(n=i.entries.length-1))return tt(e,i.entries[this._reverse?n-r:r])}else if(r<=(n=i.nodes.length-1)){var o=i.nodes[this._reverse?n-r:r];if(o){if(o.entry)return tt(e,o.entry);t=this._stack=nt(o,t)}continue}t=this._stack=this._stack.__prev}return G()};var wt=v/4,kt=v/2,Ft=v/4;function xt(e){var t=Mt();if(null==e)return t;if(Et(e))return e;var n=r(e),i=n.size;return 0===i?t:(qe(i),i>0&&i<v?It(0,i,m,null,new Dt(n.toArray())):t.withMutations((function(e){e.setSize(i),n.forEach((function(t,n){return e.set(n,t)}))})))}function Et(e){return!(!e||!e[Ct])}t(xt,xe),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(e,t){if((e=S(this,e))>=0&&e<this.size){var n=Rt(this,e+=this._origin);return n&&n.array[e&y]}return t},xt.prototype.set=function(e,t){return jt(this,e,t)},xt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},xt.prototype.insert=function(e,t){return this.splice(e,0,t)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Mt()},xt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){zt(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},xt.prototype.pop=function(){return zt(this,0,-1)},xt.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])}))},xt.prototype.shift=function(){return zt(this,1)},xt.prototype.merge=function(){return Bt(this,void 0,arguments)},xt.prototype.mergeWith=function(t){return Bt(this,t,e.call(arguments,1))},xt.prototype.mergeDeep=function(){return Bt(this,pt,arguments)},xt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Bt(this,ht(t),n)},xt.prototype.setSize=function(e){return zt(this,0,e)},xt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:zt(this,T(e,n),A(t,n))},xt.prototype.__iterator=function(e,t){var n=0,i=Lt(this,t);return new z((function(){var t=i();return t===At?G():B(e,n++,t)}))},xt.prototype.__iterate=function(e,t){for(var n,i=0,r=Lt(this,t);(n=r())!==At&&!1!==e(n,i++,this););return i},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?It(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},xt.isList=Et;var Ct="@@__IMMUTABLE_LIST__@@",St=xt.prototype;function Dt(e,t){this.array=e,this.ownerID=t}St[Ct]=!0,St[g]=St.remove,St.setIn=Ye.setIn,St.deleteIn=St.removeIn=Ye.removeIn,St.update=Ye.update,St.updateIn=Ye.updateIn,St.mergeIn=Ye.mergeIn,St.mergeDeepIn=Ye.mergeDeepIn,St.withMutations=Ye.withMutations,St.asMutable=Ye.asMutable,St.asImmutable=Ye.asImmutable,St.wasAltered=Ye.wasAltered,Dt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&y;if(i>=this.array.length)return new Dt([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-m,n))===a&&o)return this}if(o&&!r)return this;var s=Ot(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},Dt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&y;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-m,n))===o&&r===this.array.length-1)return this}var a=Ot(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Pt,Tt,At={};function Lt(e,t){var n=e._origin,i=e._capacity,r=Gt(i),o=e._tail;return a(e._root,e._level,0);function a(e,t,n){return 0===t?s(e,n):l(e,t,n)}function s(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;return u>v&&(u=v),function(){if(l===u)return At;var e=t?--u:l++;return s&&s[e]}}function l(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);return c>v&&(c=v),function(){for(;;){if(s){var e=s();if(e!==At)return e;s=null}if(u===c)return At;var n=t?--c:u++;s=a(l&&l[n],r-m,o+(n<<r))}}}}function It(e,t,n,i,r,o,a){var s=Object.create(St);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Mt(){return Pt||(Pt=It(0,0,m))}function jt(e,t,n){if((t=S(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?zt(e,t).set(0,n):zt(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o=k(w);return t>=Gt(e._capacity)?i=Nt(i,e.__ownerID,0,t,n,o):r=Nt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e):It(e._origin,e._capacity,e._level,r,i):e}function Nt(e,t,n,i,r,o){var a,s=i>>>n&y,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=Nt(u,t,n-m,i,r,o);return c===u?e:((a=Ot(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(F(o),a=Ot(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function Ot(e,t){return t&&e&&t===e.ownerID?e:new Dt(e?e.array.slice():[],t)}function Rt(e,t){if(t>=Gt(e._capacity))return e._tail;if(t<1<<e._level+m){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&y],i-=m;return n}}function zt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new x,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Dt(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=m);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=Gt(o),f=Gt(s);f>=1<<l+m;)u=new Dt(u&&u.array.length?[u]:[],i),l+=m;var p=e._tail,h=f<d?Rt(e,s-1):f>d?new Dt([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=Ot(u,i),v=l;v>m;v-=m){var b=d>>>v&y;g=g.array[b]=Ot(g.array[b],i)}g.array[d>>>m&y]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=m,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var _=a>>>l&y;if(_!==f>>>l&y)break;_&&(c+=(1<<l)*_),l-=m,u=u.array[_]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):It(a,s,l,u,h)}function Bt(e,t,n){for(var i=[],o=0,s=0;s<n.length;s++){var l=n[s],u=r(l);u.size>o&&(o=u.size),a(l)||(u=u.map((function(e){return pe(e)}))),i.push(u)}return o>e.size&&(e=e.setSize(o)),gt(e,t,i)}function Gt(e){return e<v?0:e-1>>>m<<m}function Ut(e){return null==e?Wt():qt(e)?e:Wt().withMutations((function(t){var n=i(e);qe(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function qt(e){return We(e)&&c(e)}function Ht(e,t,n,i){var r=Object.create(Ut.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function Wt(){return Tt||(Tt=Ht(rt(),Mt()))}function Kt(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===b){if(!l)return e;a.size>=v&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):Ht(i,r)}function Vt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Yt(e){this._iter=e,this.size=e.size}function Jt(e){this._iter=e,this.size=e.size}function Qt(e){this._iter=e,this.size=e.size}function Zt(e){var t=bn(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=_n,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(t===j){var i=e.__iterator(t,n);return new z((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===M?I:M,n)},t}function $t(e,t,n){var i=bn(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,b);return o===b?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(j,r);return new z((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return B(i,s,t.call(n,a[1],s,e),r)}))},i}function 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,i){return e.get(t?n:-1-n,i)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=_n,n.__iterate=function(t,n){var i=this;return e.__iterate((function(e,n){return t(e,n,i)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function en(e,t,n,i){var r=bn(e);return i&&(r.has=function(i){var r=e.get(i,b);return r!==b&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,b);return o!==b&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(j,o),s=0;return new z((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return B(r,i?u:s++,c,o)}}))},r}function tn(e,t,n){var i=He().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}function nn(e,t,n){var i=s(e),r=(c(e)?Ut():He()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=yn(e);return r.map((function(t){return gn(e,o(t))}))}function rn(e,t,n,i){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,r))return e;var o=T(t,r),a=A(n,r);if(o!=o||a!=a)return rn(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=bn(e);return u.size=0===s?s:e.size&&s||void 0,!i&&oe(e)&&s>=0&&(u.get=function(t,n){return(t=S(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var r=0!==s&&e.__iterator(t,n),a=0,l=0;return new z((function(){for(;a++<o;)r.next();if(++l>s)return G();var e=r.next();return i||t===M?e:B(t,l-1,t===I?void 0:e.value[1],e)}))},u}function on(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(j,r),s=!0;return new z((function(){if(!s)return G();var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?i===j?e:B(i,l,u,e):(s=!1,G())}))},i}function an(e,t,n,i){var r=bn(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(j,o),l=!0,u=0;return new z((function(){var e,o,c;do{if((e=s.next()).done)return i||r===M?e:B(r,u++,r===I?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return r===j?e:B(r,o,c,e)}))},r}function sn(e,t){var n=s(e),r=[e].concat(t).map((function(e){return a(e)?n&&(e=i(e)):e=n?se(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&s(o)||l(e)&&l(o))return o}var u=new te(r);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function ln(e,t,n){var i=bn(e);return i.__iterateUncached=function(i,r){var o=0,s=!1;function l(e,u){var c=this;e.__iterate((function(e,r){return(!t||u<t)&&a(e)?l(e,u+1):!1===i(e,n?r:o++,c)&&(s=!0),!s}),r)}return l(e,0),o},i.__iteratorUncached=function(i,r){var o=e.__iterator(i,r),s=[],l=0;return new z((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(i===j&&(u=u[1]),t&&!(s.length<t)||!a(u))return n?e:B(i,l++,u,e);s.push(o),o=u.__iterator(i,r)}else o=s.pop()}return G()}))},i}function un(e,t,n){var i=yn(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}function cn(e,t){var n=bn(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e,i){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(M,i),a=0;return new z((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?B(n,a++,t):B(n,a++,r.value,r)}))},n}function dn(e,t,n){t||(t=wn);var i=s(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?Y(o):l(e)?J(o):Q(o)}function fn(e,t,n){if(t||(t=wn),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return pn(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return pn(t,e,n)?n:e}))}function pn(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function hn(e,t,i){var r=bn(e);return r.size=new te(i).map((function(e){return e.size})).min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(M,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=i.map((function(e){return e=n(e),H(r?e.reverse():e)})),a=0,s=!1;return new z((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?G():B(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function gn(e,t){return oe(e)?t:e.constructor(t)}function mn(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function vn(e){return qe(e.size),C(e)}function yn(e){return s(e)?i:l(e)?r:o}function bn(e){return Object.create((s(e)?Y:l(e)?J:Q).prototype)}function _n(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function wn(e,t){return e>t?1:e<t?-1:0}function kn(e){var t=H(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=H(n(e))}return t}function Fn(e,t){var n,i=function(o){if(o instanceof i)return o;if(!(this instanceof i))return new i(o);if(!n){n=!0;var a=Object.keys(e);Sn(r,a),r.size=a.length,r._name=t,r._keys=a,r._defaultValues=e}this._map=He(o)},r=i.prototype=Object.create(xn);return r.constructor=i,i}t(Ut,He),Ut.of=function(){return this(arguments)},Ut.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ut.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Wt()},Ut.prototype.set=function(e,t){return Kt(this,e,t)},Ut.prototype.remove=function(e){return Kt(this,e,b)},Ut.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ut.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},Ut.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ut.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Ht(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ut.isOrderedMap=qt,Ut.prototype[h]=!0,Ut.prototype[g]=Ut.prototype.remove,t(Vt,Y),Vt.prototype.get=function(e,t){return this._iter.get(e,t)},Vt.prototype.has=function(e){return this._iter.has(e)},Vt.prototype.valueSeq=function(){return this._iter.valueSeq()},Vt.prototype.reverse=function(){var e=this,t=Xt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Vt.prototype.map=function(e,t){var n=this,i=$t(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},Vt.prototype.__iterate=function(e,t){var n,i=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,i)}:(n=t?vn(this):0,function(r){return e(r,t?--n:n++,i)}),t)},Vt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(M,t),i=t?vn(this):0;return new z((function(){var r=n.next();return r.done?r:B(e,t?--i:i++,r.value,r)}))},Vt.prototype[h]=!0,t(Yt,J),Yt.prototype.includes=function(e){return this._iter.includes(e)},Yt.prototype.__iterate=function(e,t){var n=this,i=0;return this._iter.__iterate((function(t){return e(t,i++,n)}),t)},Yt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(M,t),i=0;return new z((function(){var t=n.next();return t.done?t:B(e,i++,t.value,t)}))},t(Jt,Q),Jt.prototype.has=function(e){return this._iter.includes(e)},Jt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},Jt.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(Qt,Y),Qt.prototype.entrySeq=function(){return this._iter.toSeq()},Qt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){mn(t);var i=a(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},Qt.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 i=t.value;if(i){mn(i);var r=a(i);return B(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},Yt.prototype.cacheResult=Vt.prototype.cacheResult=Jt.prototype.cacheResult=Qt.prototype.cacheResult=_n,t(Fn,Fe),Fn.prototype.toString=function(){return this.__toString(Cn(this)+" {","}")},Fn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Fn.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},Fn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=En(this,rt()))},Fn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Cn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:En(this,n)},Fn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:En(this,t)},Fn.prototype.wasAltered=function(){return this._map.wasAltered()},Fn.prototype.__iterator=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterator(e,t)},Fn.prototype.__iterate=function(e,t){var n=this;return i(this._defaultValues).map((function(e,t){return n.get(t)})).__iterate(e,t)},Fn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?En(this,t,e):(this.__ownerID=e,this._map=t,this)};var xn=Fn.prototype;function En(e,t,n){var i=Object.create(Object.getPrototypeOf(e));return i._map=t,i.__ownerID=n,i}function Cn(e){return e._name||e.constructor.name||"Record"}function Sn(e,t){try{t.forEach(Dn.bind(void 0,e))}catch(e){}}function Dn(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){_e(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Pn(e){return null==e?Nn():Tn(e)&&!c(e)?e:Nn().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Tn(e){return!(!e||!e[Ln])}xn[g]=xn.remove,xn.deleteIn=xn.removeIn=Ye.removeIn,xn.merge=Ye.merge,xn.mergeWith=Ye.mergeWith,xn.mergeIn=Ye.mergeIn,xn.mergeDeep=Ye.mergeDeep,xn.mergeDeepWith=Ye.mergeDeepWith,xn.mergeDeepIn=Ye.mergeDeepIn,xn.setIn=Ye.setIn,xn.update=Ye.update,xn.updateIn=Ye.updateIn,xn.withMutations=Ye.withMutations,xn.asMutable=Ye.asMutable,xn.asImmutable=Ye.asImmutable,t(Pn,Ee),Pn.of=function(){return this(arguments)},Pn.fromKeys=function(e){return this(i(e).keySeq())},Pn.prototype.toString=function(){return this.__toString("Set {","}")},Pn.prototype.has=function(e){return this._map.has(e)},Pn.prototype.add=function(e){return Mn(this,this._map.set(e,!0))},Pn.prototype.remove=function(e){return Mn(this,this._map.remove(e))},Pn.prototype.clear=function(){return Mn(this,this._map.clear())},Pn.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])},Pn.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)}))}))},Pn.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)}))}))},Pn.prototype.merge=function(){return this.union.apply(this,arguments)},Pn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},Pn.prototype.sort=function(e){return On(dn(this,e))},Pn.prototype.sortBy=function(e,t){return On(dn(this,t,e))},Pn.prototype.wasAltered=function(){return this._map.wasAltered()},Pn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t,i){return e(i,i,n)}),t)},Pn.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},Pn.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)},Pn.isSet=Tn;var An,Ln="@@__IMMUTABLE_SET__@@",In=Pn.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(In);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Nn(){return An||(An=jn(rt()))}function On(e){return null==e?Un():Rn(e)?e:Un().withMutations((function(t){var n=o(e);qe(n.size),n.forEach((function(e){return t.add(e)}))}))}function Rn(e){return Tn(e)&&c(e)}In[Ln]=!0,In[g]=In.remove,In.mergeDeep=In.merge,In.mergeDeepWith=In.mergeWith,In.withMutations=Ye.withMutations,In.asMutable=Ye.asMutable,In.asImmutable=Ye.asImmutable,In.__empty=Nn,In.__make=jn,t(On,Pn),On.of=function(){return this(arguments)},On.fromKeys=function(e){return this(i(e).keySeq())},On.prototype.toString=function(){return this.__toString("OrderedSet {","}")},On.isOrderedSet=Rn;var zn,Bn=On.prototype;function Gn(e,t){var n=Object.create(Bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Un(){return zn||(zn=Gn(Wt()))}function qn(e){return null==e?Jn():Hn(e)?e:Jn().unshiftAll(e)}function Hn(e){return!(!e||!e[Kn])}Bn[h]=!0,Bn.__empty=Un,Bn.__make=Gn,t(qn,xe),qn.of=function(){return this(arguments)},qn.prototype.toString=function(){return this.__toString("Stack [","]")},qn.prototype.get=function(e,t){var n=this._head;for(e=S(this,e);n&&e--;)n=n.next;return n?n.value:t},qn.prototype.peek=function(){return this._head&&this._head.value},qn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yn(e,t)},qn.prototype.pushAll=function(e){if(0===(e=r(e)).size)return this;qe(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(t,n)},qn.prototype.pop=function(){return this.slice(1)},qn.prototype.unshift=function(){return this.push.apply(this,arguments)},qn.prototype.unshiftAll=function(e){return this.pushAll(e)},qn.prototype.shift=function(){return this.pop.apply(this,arguments)},qn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Jn()},qn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=T(e,this.size);if(A(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t);for(var i=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=i,this._head=r,this.__hash=void 0,this.__altered=!0,this):Yn(i,r)},qn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},qn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},qn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,i=this._head;return new z((function(){if(i){var t=i.value;return i=i.next,B(e,n++,t)}return G()}))},qn.isStack=Hn;var Wn,Kn="@@__IMMUTABLE_STACK__@@",Vn=qn.prototype;function Yn(e,t,n,i){var r=Object.create(Vn);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function Jn(){return Wn||(Wn=Yn(0))}function Qn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}Vn[Kn]=!0,Vn.withMutations=Ye.withMutations,Vn.asMutable=Ye.asMutable,Vn.asImmutable=Ye.asImmutable,Vn.wasAltered=Ye.wasAltered,n.Iterator=z,Qn(n,{toArray:function(){qe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new Yt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Vt(this,!0)},toMap:function(){return He(this.toKeyedSeq())},toObject:function(){qe(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Ut(this.toKeyedSeq())},toOrderedSet:function(){return On(s(this)?this.valueSeq():this)},toSet:function(){return Pn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Jt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qn(s(this)?this.valueSeq():this)},toList:function(){return xt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return gn(this,sn(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ve(t,e)}))},entries:function(){return this.__iterator(j)},every:function(e,t){qe(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return gn(this,en(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(i,r,o){if(e.call(t,i,r,o))return n=[r,i],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return qe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){qe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(I)},map:function(e,t){return gn(this,$t(this,e,t))},reduce:function(e,t,n){var i,r;return qe(this.size),arguments.length<2?r=!0:i=t,this.__iterate((function(t,o,a){r?(r=!1,i=t):i=e.call(n,i,t,o,a)})),i},reduceRight:function(e,t,n){var i=this.toKeyedSeq().reverse();return i.reduce.apply(i,arguments)},reverse:function(){return gn(this,Xt(this,!0))},slice:function(e,t){return gn(this,rn(this,e,t,!0))},some:function(e,t){return!this.every(ti(e),t)},sort:function(e){return gn(this,dn(this,e))},values:function(){return this.__iterator(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 C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return tn(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(ei).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ti(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(D)},flatMap:function(e,t){return gn(this,un(this,e,t))},flatten:function(e){return gn(this,ln(this,e,!0))},fromEntrySeq:function(){return new Qt(this)},get:function(e,t){return this.find((function(t,n){return ve(n,e)}),void 0,t)},getIn:function(e,t){for(var n,i=this,r=kn(e);!(n=r.next()).done;){var o=n.value;if((i=i&&i.get?i.get(o,b):b)===b)return t}return i},groupBy:function(e,t){return nn(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(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?ni(e):oi)},minBy:function(e,t){return fn(this,t?ni(t):oi,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return gn(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return gn(this,an(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ti(e),t)},sortBy:function(e,t){return gn(this,dn(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return gn(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return gn(this,on(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ti(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ai(this))}});var Zn=n.prototype;Zn[d]=!0,Zn[R]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ii,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,function(){try{Object.defineProperty(Zn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Qn(i,{flip:function(){return gn(this,Zt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return ve(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return ve(t,e)}))},mapEntries:function(e,t){var n=this,i=0;return gn(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return gn(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var $n=i.prototype;function Xn(e,t){return t}function ei(e,t){return[t,e]}function ti(e){return function(){return!e.apply(this,arguments)}}function ni(e){return function(){return-e.apply(this,arguments)}}function ii(e){return"string"==typeof e?JSON.stringify(e):e}function ri(){return E(arguments)}function oi(e,t){return e<t?1:e>t?-1:0}function ai(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),i=t?1:0;return si(e.__iterate(n?t?function(e,t){i=31*i+li(De(e),De(t))|0}:function(e,t){i=i+li(De(e),De(t))|0}:t?function(e){i=31*i+De(e)|0}:function(e){i=i+De(e)|0}),i)}function si(e,t){return t=Ce(t,3432918353),t=Ce(t<<15|t>>>-15,461845907),t=Ce(t<<13|t>>>-13,5),t=Ce((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Se((t=Ce(t^t>>>13,3266489909))^t>>>16)}function li(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return $n[f]=!0,$n[R]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+ii(e)},Qn(r,{toKeyedSeq:function(){return new Vt(this,!1)},filter:function(e,t){return gn(this,en(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return gn(this,Xt(this,!1))},slice:function(e,t){return gn(this,rn(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var i=this.slice(0,e);return gn(this,1===n?i:i.concat(E(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return gn(this,ln(this,e,!1))},get:function(e,t){return(e=S(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=S(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return gn(this,cn(this,e))},interleave:function(){var e=[this].concat(E(arguments)),t=hn(this.toSeq(),J.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return gn(this,an(this,e,t,!1))},zip:function(){return gn(this,hn(this,ri,[this].concat(E(arguments))))},zipWith:function(e){var t=E(arguments);return t[0]=this,gn(this,hn(this,e,t))}}),r.prototype[p]=!0,r.prototype[h]=!0,Qn(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,Qn(Y,i.prototype),Qn(J,r.prototype),Qn(Q,o.prototype),Qn(Fe,i.prototype),Qn(xe,r.prototype),Qn(Ee,o.prototype),{Iterable:n,Seq:V,Collection:ke,Map:He,OrderedMap:Ut,List:xt,Stack:qn,Set:Pn,OrderedSet:On,Record:Fn,Range:we,Repeat:be,is:ve,fromJS:pe}}()}(p3e);var h3e=function(e){var t=document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,t};function g3e(e){var t;"undefined"!=typeof DOMParser?null!==(t=(new DOMParser).parseFromString(e,"text/html"))&&null!==t.body||(t=h3e(e)):t=h3e(e);return t.body}var m3e=" ",v3e=new RegExp("\r","g"),y3e=new RegExp("\n","g"),b3e=new RegExp(" ","g"),_3e=new RegExp("\r","g"),w3e=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],k3e={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},F3e=function(e,t){return e&&!0===e.__isMiddleware?e(t):e},x3e=function(e,t,n){},E3e=function(e,t,n){return n},C3e=function(e,t){},S3e=function(e){return[]},D3e=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")};function P3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p3e.exports.Map();return!0===n?{text:"\r",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:i,depth:Math.max(0,Math.min(4,t))}],isNewline:!0}:{text:"\n",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[]}}function T3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p3e.exports.Map();return{text:"\r",inlines:[p3e.exports.OrderedSet()],entities:new Array(1),blocks:[{type:e,data:n,depth:Math.max(0,Math.min(4,t))}]}}function A3e(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 L3e(e,t,n){return A3e(e,n)}function I3e(e,t,n){var i=k3e[e];if(i)n=n.add(i).toOrderedSet();else if(t instanceof HTMLElement){var r=t;n=n.withMutations((function(e){"bold"===r.style.fontWeight&&e.add("BOLD"),"italic"===r.style.fontStyle&&e.add("ITALIC"),"underline"===r.style.textDecoration&&e.add("UNDERLINE"),"line-through"===r.style.textDecoration&&e.add("STRIKETHROUGH")})).toOrderedSet()}return n}function M3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p3e.exports.OrderedSet();return I3e(e,t,n)}function j3e(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.text.slice(0,1),r=e.text.slice(-1),o="\r"===r&&"\r"===i,a="\r"!==e.text&&"\r"!==t.text,s="\r"===e.text&&!e.isNewline&&t.isNewline;if(o&&(a||s)&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===e.text.slice(-1)&&!0===n){if(t.text===m3e||"\n"===t.text)return e;i!==m3e&&"\n"!==i||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}var l=0===e.text.length&&t.isNewline;return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks),isNewline:l}}function N3e(e,t,n,i,r,o,a,s,l,u,c,d,f,p,h,g){var m=e.nodeName.toLowerCase(),v=!1,y="unstyled";if("#text"===m){var b=e.textContent;if(""===b.trim()&&null===i)return{text:"",inlines:[],entities:[],blocks:[]};if(""===b.trim()&&"code-block"!==i)return function(e){var t=new Array(1);return e&&(t[0]=e),{text:m3e,inlines:[p3e.exports.OrderedSet()],entities:t,blocks:[]}}(g);"code-block"!==i&&(b=b.replace(y3e,m3e));var _=Array(b.length).fill(g),w=0;return l(b,c,d,f,p).sort(R2e).forEach((function(e){var t=e.entity,n=e.offset,i=e.length,r=e.result,o=n+w;null==r&&(r=b.substr(o,i));var a=b.split("");a.splice.bind(a,o,i).apply(a,r.split("")),b=a.join(""),_.splice.bind(_,o,i).apply(_,Array(r.length).fill(t)),w+=r.length-i})),{text:b,inlines:Array(b.length).fill(t),entities:_,blocks:[]}}if("br"===m){var k=i;return null===k?P3e("unstyled",o,!0):P3e(k||"unstyled",o,h.flat)}var F={text:"",inlines:[],entities:[],blocks:[]};t=a(m,e,t=I3e(m,e,t)),"ul"!==m&&"ol"!==m||(n&&(o+=1),n=m,i=null);var x,E,C=u(m,e,n,i);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(x=C,E=p3e.exports.Map()):(x="string"==typeof C?C:C.type,E=C.data?p3e.exports.Map(C.data):p3e.exports.Map()),i||-1===r.indexOf(m)&&!x)if(!n||"ordered-list-item"!==i&&"unordered-list-item"!==i||"li"!==m)i&&"atomic"!==i&&"atomic"===x&&(i=x,v=!0,F=P3e(x,o,!0,E));else{var S=A3e(m,n);F=T3e(S,o),i=S,v=!0,y="ul"===n?"unordered-list-item":"ordered-list-item"}else F=T3e(x||A3e(m,n),o,E),i=x||A3e(m,n),v=!0;var D=e.firstChild;null!=D||!g||"atomic"!==x&&"atomic"!==i||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var P=null;D;){P=s(m,D,c,d,f,p),F=j3e(F,N3e(D,t,n,i,r,o,a,s,l,u,c,d,f,p,h,P||g),h.flat);var T=D.nextSibling;if(T&&r.indexOf(m)>=0&&i){var A=u(m,D,n,i),L=void 0,I=void 0;!1!==A&&("string"==typeof(A=A||{})?(L=A,I=p3e.exports.Map()):(L=A.type||A3e(m,n),I=A.data?p3e.exports.Map(A.data):p3e.exports.Map()),F=j3e(F,P3e(L,o,h.flat,I),h.flat))}T&&(m=T.nodeName.toLowerCase()),D=T}return v&&(F=j3e(F,T3e(y,o,p3e.exports.Map()),h.flat)),F}function O3e(e,t,n,i,r,o,a,s,l,u,c){var d=c(e=e.trim().replace(v3e,"").replace(b3e,m3e));if(!d)return null;var f=function(e){return w3e.some((function(t){return-1!==e.indexOf("<".concat(t))}))}(e)?w3e.concat(["div"]):["div"],p=N3e(d,p3e.exports.OrderedSet(),"ul",null,f,-1,t,n,i,r,o,a,s,l,u);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:p3e.exports.Map(),depth:0}),p.text.split("\r").length===p.blocks.length+1&&p.blocks.unshift({type:"unstyled",data:p3e.exports.Map(),depth:0}),p}function R3e(e,t,n,i,r,o,a,s,l,u,c,d){var f=O3e(e,t,n,i,r,o,a,s,l,u,c);if(null==f)return[];var p=0;return f.text.split("\r").map((function(e,t){e=e.replace(_3e,"");var n=p+e.length,i=D3e(f).inlines.slice(p,n),r=D3e(f).entities.slice(p,n),o=p3e.exports.List(i.map((function(e,t){var n={style:e,entity:null};return r[t]&&(n.entity=r[t]),N2e.CharacterMetadata.create(n)})));return p=n+1,new N2e.ContentBlock({key:d(),type:D3e(f).blocks[t].type,data:D3e(f).blocks[t].data,depth:D3e(f).blocks[t].depth,text:e,characterList:o})}))}var z3e=function(e){var t=e.htmlToStyle,n=void 0===t?E3e:t,i=e.htmlToEntity,r=void 0===i?C3e:i,o=e.textToEntity,a=void 0===o?S3e:o,s=e.htmlToBlock,l=void 0===s?x3e:s;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g3e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N2e.genKey,s=N2e.ContentState.createFromText(""),u=function(){var e;return s.createEntity?(s=(e=s).createEntity.apply(e,arguments)).getLastCreatedEntityKey():N2e.Entity.create.apply(N2e.Entity,arguments)},c=function(){var e;return s.getEntity?(e=s).getEntity.apply(e,arguments):N2e.Entity.get.apply(N2e.Entity,arguments)},d=function(){var e;s.mergeEntityData?s=(e=s).mergeEntityData.apply(e,arguments):N2e.Entity.mergeData.apply(N2e.Entity,arguments)},f=function(){var e;s.replaceEntityData?s=(e=s).replaceEntityData.apply(e,arguments):N2e.Entity.replaceData.apply(N2e.Entity,arguments)},p=R3e(e,F3e(n,M3e),F3e(r,C3e),F3e(a,S3e),F3e(l,L3e),u,c,d,f,t,i,o),h=N2e.BlockMapBuilder.createFromArray(p),g=p[0].getKey();return s.merge({blockMap:h,selectionBefore:N2e.SelectionState.createEmpty(g),selectionAfter:N2e.SelectionState.createEmpty(g)})}},B3e=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?z3e({}).apply(void 0,arguments):z3e.apply(void 0,arguments)};YK('/**\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 G3e=32,U3e=31,q3e={};function H3e(e){e&&(e.value=!0)}function W3e(){}function K3e(e){return void 0===e.size&&(e.size=e.__iterate(Y3e)),e.size}function V3e(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?K3e(e)+t:t}function Y3e(){return!0}function J3e(e,t,n){return(0===e&&!X3e(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function Q3e(e,t){return $3e(e,t,0)}function Z3e(e,t){return $3e(e,t,t)}function $3e(e,t,n){return void 0===e?n:X3e(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function X3e(e){return e<0||0===e&&1/e==-1/0}var e4e="@@__IMMUTABLE_ITERABLE__@@";function t4e(e){return Boolean(e&&e[e4e])}var n4e="@@__IMMUTABLE_KEYED__@@";function i4e(e){return Boolean(e&&e[n4e])}var r4e="@@__IMMUTABLE_INDEXED__@@";function o4e(e){return Boolean(e&&e[r4e])}function a4e(e){return i4e(e)||o4e(e)}var s4e=function(e){return t4e(e)?e:P4e(e)},l4e=function(e){function t(e){return i4e(e)?e:T4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e),u4e=function(e){function t(e){return o4e(e)?e:A4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e),c4e=function(e){function t(e){return t4e(e)&&!a4e(e)?e:L4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(s4e);s4e.Keyed=l4e,s4e.Indexed=u4e,s4e.Set=c4e;var d4e="@@__IMMUTABLE_SEQ__@@";function f4e(e){return Boolean(e&&e[d4e])}function p4e(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function h4e(e){return t4e(e)||p4e(e)}var g4e="@@__IMMUTABLE_ORDERED__@@";function m4e(e){return Boolean(e&&e[g4e])}var v4e="function"==typeof Symbol&&Symbol.iterator,y4e="@@iterator",b4e=v4e||y4e,_4e=function(e){this.next=e};function w4e(e,t,n,i){var r=0===e?t:1===e?n:[t,n];return i?i.value=r:i={value:r,done:!1},i}function k4e(){return{value:void 0,done:!0}}function F4e(e){return!!C4e(e)}function x4e(e){return e&&"function"==typeof e.next}function E4e(e){var t=C4e(e);return t&&t.call(e)}function C4e(e){var t=e&&(v4e&&e[v4e]||e["@@iterator"]);if("function"==typeof t)return t}_4e.prototype.toString=function(){return"[Iterator]"},_4e.KEYS=0,_4e.VALUES=1,_4e.ENTRIES=2,_4e.prototype.inspect=_4e.prototype.toSource=function(){return this.toString()},_4e.prototype[b4e]=function(){return this};var S4e=Object.prototype.hasOwnProperty;function D4e(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 P4e=function(e){function t(e){return null==e?O4e():h4e(e)?e.toSeq():function(e){var t=B4e(e);if(t)return t;if("object"==typeof e)return new M4e(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var i=n.length,r=0;r!==i;){var o=n[t?i-++r:r++];if(!1===e(o[1],o[0],this))break}return r}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var i=n.length,r=0;return new _4e((function(){if(r===i)return{value:void 0,done:!0};var o=n[t?i-++r:r++];return w4e(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(s4e),T4e=function(e){function t(e){return null==e?O4e().toKeyedSeq():t4e(e)?i4e(e)?e.toSeq():e.fromEntrySeq():p4e(e)?e.toSeq():R4e(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(P4e),A4e=function(e){function t(e){return null==e?O4e():t4e(e)?i4e(e)?e.entrySeq():e.toIndexedSeq():p4e(e)?e.toSeq().entrySeq():z4e(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}(P4e),L4e=function(e){function t(e){return(t4e(e)&&!a4e(e)?e:A4e(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}(P4e);P4e.isSeq=f4e,P4e.Keyed=T4e,P4e.Set=L4e,P4e.Indexed=A4e,P4e.prototype[d4e]=!0;var I4e=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[V3e(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,i=n.length,r=0;r!==i;){var o=t?i-++r:r++;if(!1===e(n[o],o,this))break}return r},t.prototype.__iterator=function(e,t){var n=this._array,i=n.length,r=0;return new _4e((function(){if(r===i)return{value:void 0,done:!0};var o=t?i-++r:r++;return w4e(e,o,n[o])}))},t}(A4e),M4e=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 S4e.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,i=this._keys,r=i.length,o=0;o!==r;){var a=i[t?r-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,i=this._keys,r=i.length,o=0;return new _4e((function(){if(o===r)return{value:void 0,done:!0};var a=i[t?r-++o:o++];return w4e(e,a,n[a])}))},t}(T4e);M4e.prototype[g4e]=!0;var j4e,N4e=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=E4e(this._collection),i=0;if(x4e(n))for(var r;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=E4e(this._collection);if(!x4e(n))return new _4e(k4e);var i=0;return new _4e((function(){var t=n.next();return t.done?t:w4e(e,i++,t.value)}))},t}(A4e);function O4e(){return j4e||(j4e=new I4e([]))}function R4e(e){var t=Array.isArray(e)?new I4e(e):F4e(e)?new N4e(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new M4e(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function z4e(e){var t=B4e(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function B4e(e){return D4e(e)?new I4e(e):F4e(e)?new N4e(e):void 0}var G4e="@@__IMMUTABLE_MAP__@@";function U4e(e){return Boolean(e&&e[G4e])}function q4e(e){return U4e(e)&&m4e(e)}function H4e(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function W4e(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!!(H4e(e)&&H4e(t)&&e.equals(t))}var K4e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),i=65535&(t|=0);return n*i+((e>>>16)*i+n*(t>>>16)<<16>>>0)|0};function V4e(e){return e>>>1&1073741824|3221225471&e}var Y4e=Object.prototype.valueOf;function J4e(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 V4e(t)}(e);case"string":return e.length>i6e?function(e){var t=a6e[e];void 0===t&&(t=Q4e(e),o6e===r6e&&(o6e=0,a6e={}),o6e++,a6e[e]=t);return t}(e):Q4e(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?V4e(e.hashCode(e)):(e.valueOf!==Y4e&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(e6e&&void 0!==(t=X4e.get(e)))return t;if(void 0!==(t=e[n6e]))return t;if(!$4e){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[n6e]))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=++t6e,1073741824&t6e&&(t6e=0);if(e6e)X4e.set(e,t);else{if(void 0!==Z4e&&!1===Z4e(e))throw new Error("Non-extensible objects are not allowed as keys.");if($4e)Object.defineProperty(e,n6e,{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[n6e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[n6e]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return Q4e(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function Q4e(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return V4e(t)}var Z4e=Object.isExtensible,$4e=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var X4e,e6e="function"==typeof WeakMap;e6e&&(X4e=new WeakMap);var t6e=0,n6e="__immutablehash__";"function"==typeof Symbol&&(n6e=Symbol(n6e));var i6e=16,r6e=255,o6e=0,a6e={},s6e=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=p6e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,i=f6e(this,e,t);return this._useKeys||(i.valueSeq=function(){return n._iter.toSeq().map(e,t)}),i},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,i){return e(t,i,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(T4e);s6e.prototype[g4e]=!0;var l6e=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,i=0;return t&&K3e(this),this._iter.__iterate((function(r){return e(r,t?n.size-++i:i++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,i=this._iter.__iterator(1,t),r=0;return t&&K3e(this),new _4e((function(){var o=i.next();return o.done?o:w4e(e,t?n.size-++r:r++,o.value,o)}))},t}(A4e),u6e=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 _4e((function(){var t=n.next();return t.done?t:w4e(e,t.value,t.value,t)}))},t}(L4e),c6e=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){x6e(t);var i=t4e(t);return e(i?t.get(1):t[1],i?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _4e((function(){for(;;){var t=n.next();if(t.done)return t;var i=t.value;if(i){x6e(i);var r=t4e(i);return w4e(e,r?i.get(0):i[0],r?i.get(1):i[1],t)}}}))},t}(T4e);function d6e(e){var t=C6e(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=S6e,t.__iterateUncached=function(t,n){var i=this;return e.__iterate((function(e,n){return!1!==t(n,e,i)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var i=e.__iterator(t,n);return new _4e((function(){var e=i.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function f6e(e,t,n){var i=C6e(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,r){var o=e.get(i,q3e);return o===q3e?r:t.call(n,o,i,e)},i.__iterateUncached=function(i,r){var o=this;return e.__iterate((function(e,r,a){return!1!==i(t.call(n,e,r,a),r,o)}),r)},i.__iteratorUncached=function(i,r){var o=e.__iterator(2,r);return new _4e((function(){var r=o.next();if(r.done)return r;var a=r.value,s=a[0];return w4e(i,s,t.call(n,a[1],s,e),r)}))},i}function p6e(e,t){var n=this,i=C6e(e);return i._iter=e,i.size=e.size,i.reverse=function(){return e},e.flip&&(i.flip=function(){var t=d6e(e);return t.reverse=function(){return e.flip()},t}),i.get=function(n,i){return e.get(t?n:-1-n,i)},i.has=function(n){return e.has(t?n:-1-n)},i.includes=function(t){return e.includes(t)},i.cacheResult=S6e,i.__iterate=function(n,i){var r=this,o=0;return i&&K3e(e),e.__iterate((function(e,a){return n(e,t?a:i?r.size-++o:o++,r)}),!i)},i.__iterator=function(i,r){var o=0;r&&K3e(e);var a=e.__iterator(2,!r);return new _4e((function(){var e=a.next();if(e.done)return e;var s=e.value;return w4e(i,t?s[0]:r?n.size-++o:o++,s[1],e)}))},i}function h6e(e,t,n,i){var r=C6e(e);return i&&(r.has=function(i){var r=e.get(i,q3e);return r!==q3e&&!!t.call(n,r,i,e)},r.get=function(i,r){var o=e.get(i,q3e);return o!==q3e&&t.call(n,o,i,e)?o:r}),r.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,l){if(t.call(n,e,o,l))return s++,r(e,i?o:s-1,a)}),o),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new _4e((function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return w4e(r,i?u:s++,c,o)}}))},r}function g6e(e,t,n,i){var r=e.size;if(J3e(t,n,r))return e;var o=Q3e(t,r),a=Z3e(n,r);if(o!=o||a!=a)return g6e(e.toSeq().cacheResult(),t,n,i);var s,l=a-o;l==l&&(s=l<0?0:l);var u=C6e(e);return u.size=0===s?s:e.size&&s||void 0,!i&&f4e(e)&&s>=0&&(u.get=function(t,n){return(t=V3e(this,t))>=0&&t<s?e.get(t+o,n):n}),u.__iterateUncached=function(t,n){var r=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,u=0;return e.__iterate((function(e,n){if(!l||!(l=a++<o))return u++,!1!==t(e,i?n:u-1,r)&&u!==s})),u},u.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new _4e(k4e);var r=e.__iterator(t,n),a=0,l=0;return new _4e((function(){for(;a++<o;)r.next();if(++l>s)return{value:void 0,done:!0};var e=r.next();return i||1===t||e.done?e:w4e(t,l-1,0===t?void 0:e.value[1],e)}))},u}function m6e(e,t,n,i){var r=C6e(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var s=!0,l=0;return e.__iterate((function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,r(e,i?o:l-1,a)})),l},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(2,o),l=!0,u=0;return new _4e((function(){var e,o,c;do{if((e=s.next()).done)return i||1===r?e:w4e(r,u++,0===r?void 0:e.value[1],e);var d=e.value;o=d[0],c=d[1],l&&(l=t.call(n,c,o,a))}while(l);return 2===r?e:w4e(r,o,c,e)}))},r}function v6e(e,t){var n=i4e(e),i=[e].concat(t).map((function(e){return t4e(e)?n&&(e=l4e(e)):e=n?R4e(e):z4e(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===i.length)return e;if(1===i.length){var r=i[0];if(r===e||n&&i4e(r)||o4e(e)&&o4e(r))return r}var o=new I4e(i);return n?o=o.toKeyedSeq():o4e(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function y6e(e,t,n){var i=C6e(e);return i.__iterateUncached=function(r,o){if(o)return this.cacheResult().__iterate(r,o);var a=0,s=!1;return function e(l,u){l.__iterate((function(o,l){return(!t||u<t)&&t4e(o)?e(o,u+1):(a++,!1===r(o,n?l:a-1,i)&&(s=!0)),!s}),o)}(e,0),a},i.__iteratorUncached=function(i,r){if(r)return this.cacheResult().__iterator(i,r);var o=e.__iterator(i,r),a=[],s=0;return new _4e((function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===i&&(l=l[1]),t&&!(a.length<t)||!t4e(l))return n?e:w4e(i,s++,l,e);a.push(o),o=l.__iterator(i,r)}else o=a.pop()}return{value:void 0,done:!0}}))},i}function b6e(e,t,n){t||(t=D6e);var i=i4e(e),r=0,o=e.toSeq().map((function(t,i){return[i,t,r++,n?n(t,i,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(i?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),i?T4e(o):o4e(e)?A4e(o):L4e(o)}function _6e(e,t,n){if(t||(t=D6e),n){var i=e.toSeq().map((function(t,i){return[t,n(t,i,e)]})).reduce((function(e,n){return w6e(t,e[1],n[1])?n:e}));return i&&i[0]}return e.reduce((function(e,n){return w6e(t,e,n)?n:e}))}function w6e(e,t,n){var i=e(n,t);return 0===i&&n!==t&&(null==n||n!=n)||i>0}function k6e(e,t,n,i){var r=C6e(e),o=new I4e(n).map((function(e){return e.size}));return r.size=i?o.max():o.min(),r.__iterate=function(e,t){for(var n,i=this.__iterator(1,t),r=0;!(n=i.next()).done&&!1!==e(n.value,r++,this););return r},r.__iteratorUncached=function(e,r){var o=n.map((function(e){return e=s4e(e),E4e(r?e.reverse():e)})),a=0,s=!1;return new _4e((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=i?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:w4e(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},r}function F6e(e,t){return e===t?e:f4e(e)?t:e.constructor(t)}function x6e(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function E6e(e){return i4e(e)?l4e:o4e(e)?u4e:c4e}function C6e(e){return Object.create((i4e(e)?T4e:o4e(e)?A4e:L4e).prototype)}function S6e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):P4e.prototype.cacheResult.call(this)}function D6e(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 P6e(e,t){t=t||0;for(var n=Math.max(0,e.length-t),i=new Array(n),r=0;r<n;r++)i[r]=e[r+t];return i}function T6e(e,t){if(!e)throw new Error(t)}function A6e(e){T6e(e!==1/0,"Cannot perform this action with an infinite size.")}function L6e(e){if(D4e(e)&&"string"!=typeof e)return e;if(m4e(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function I6e(e){return"object"==typeof e&&(h4e(e)||Array.isArray(e)||function(e){return e&&("function"!=typeof e.constructor||"Object"===e.constructor.name)}(e))}function M6e(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function j6e(e,t,n){return h4e(e)?e.get(t,n):function(e,t){return h4e(e)?e.has(t):I6e(e)&&S4e.call(e,t)}(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function N6e(e){if(Array.isArray(e))return P6e(e);var t={};for(var n in e)S4e.call(e,n)&&(t[n]=e[n]);return t}function O6e(e,t,n,i){i||(i=n,n=void 0);var r=R6e(h4e(e),e,L6e(t),0,n,i);return r===q3e?n:r}function R6e(e,t,n,i,r,o){var a=t===q3e;if(i===n.length){var s=a?r:t,l=o(s);return l===s?t:l}if(!a&&!I6e(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(M6e)+"]: "+t);var u=n[i],c=a?q3e:j6e(t,u,q3e),d=R6e(c===q3e?e:h4e(c),c,n,i+1,r,o);return d===c?t:d===q3e?function(e,t){if(!I6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(h4e(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!S4e.call(e,t))return e;var n=N6e(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}(t,u):function(e,t,n){if(!I6e(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(h4e(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(S4e.call(e,t)&&n===e[t])return e;var i=N6e(e);return i[t]=n,i}(a?e?d5e():{}:t,u,d)}function z6e(e,t){return function(e,t,n){return O6e(e,t,q3e,(function(){return n}))}(this,e,t)}function B6e(e){return function(e,t){return O6e(e,t,(function(){return q3e}))}(this,e)}function G6e(e,t,n,i){return O6e(e,[t],n,i)}function U6e(e,t,n){return 1===arguments.length?e(this):G6e(this,e,t,n)}function q6e(e,t,n){return O6e(this,e,t,n)}function H6e(e,t,n){for(var i=[],r=0;r<t.length;r++){var o=l4e(t[r]);0!==o.size&&i.push(o)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){G6e(e,i,q3e,(function(e){return e===q3e?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},r=0;r<i.length;r++)i[r].forEach(t)})):e.constructor(i[0])}function W6e(e,t,n){return K6e(e,t,function(e){function t(n,i,r){return I6e(n)&&I6e(i)?K6e(n,[i],t):e?e(n,i,r):i}return t}(n))}function K6e(e,t,n){if(!I6e(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(h4e(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var i=Array.isArray(e),r=e,o=i?u4e:l4e,a=i?function(t){r===e&&(r=N6e(r)),r.push(t)}:function(t,i){var o=S4e.call(r,i),a=o&&n?n(r[i],t,i):t;o&&a===r[i]||(r===e&&(r=N6e(r)),r[i]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return r}function V6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O6e(this,e,d5e(),(function(e){return K6e(e,t)}))}function Y6e(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return O6e(this,e,d5e(),(function(e){return W6e(e,t)}))}function J6e(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Q6e(){return this.__ownerID?this:this.__ensureOwner(new W3e)}function Z6e(){return this.__ensureOwner()}function $6e(){return this.__altered}l6e.prototype.cacheResult=s6e.prototype.cacheResult=u6e.prototype.cacheResult=c6e.prototype.cacheResult=S6e;var X6e=function(e){function t(t){return null==t?d5e():U4e(t)&&!m4e(t)?t:d5e().withMutations((function(n){var i=e(t);A6e(i.size),i.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return d5e().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 f5e(this,e,t)},t.prototype.remove=function(e){return f5e(this,e,q3e)},t.prototype.deleteAll=function(e){var t=s4e(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):d5e()},t.prototype.sort=function(e){return O5e(b6e(this,e))},t.prototype.sortBy=function(e,t){return O5e(b6e(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(i,r){n.set(r,e.call(t,i,r,n))}))}))},t.prototype.__iterator=function(e,t){return new s5e(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,i=0;return this._root&&this._root.iterate((function(t){return i++,e(t[1],t[0],n)}),t),i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?c5e(this.size,this._root,e,this.__hash):0===this.size?d5e():(this.__ownerID=e,this.__altered=!1,this)},t}(l4e);X6e.isMap=U4e;var e5e=X6e.prototype;e5e[G4e]=!0,e5e.delete=e5e.remove,e5e.removeAll=e5e.deleteAll,e5e.setIn=z6e,e5e.removeIn=e5e.deleteIn=B6e,e5e.update=U6e,e5e.updateIn=q6e,e5e.merge=e5e.concat=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return H6e(this,e)},e5e.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 H6e(this,t,e)},e5e.mergeDeep=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return W6e(this,e)},e5e.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return W6e(this,t,e)},e5e.mergeIn=V6e,e5e.mergeDeepIn=Y6e,e5e.withMutations=J6e,e5e.wasAltered=$6e,e5e.asImmutable=Z6e,e5e["@@transducer/init"]=e5e.asMutable=Q6e,e5e["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},e5e["@@transducer/result"]=function(e){return e.asImmutable()};var t5e=function(e,t){this.ownerID=e,this.entries=t};t5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(W4e(n,r[o][0]))return r[o][1];return i},t5e.prototype.update=function(e,t,n,i,r,o,a){for(var s=r===q3e,l=this.entries,u=0,c=l.length;u<c&&!W4e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(H3e(a),(s||!d)&&H3e(o),!s||1!==l.length){if(!d&&!s&&l.length>=y5e)return function(e,t,n,i){e||(e=new W3e);for(var r=new o5e(e,J4e(n),[n,i]),o=0;o<t.length;o++){var a=t[o];r=r.update(e,0,void 0,a[0],a[1])}return r}(e,l,i,r);var f=e&&e===this.ownerID,p=f?l:P6e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new t5e(e,p)}};var n5e=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};n5e.prototype.get=function(e,t,n,i){void 0===t&&(t=J4e(n));var r=1<<((0===e?t:t>>>e)&U3e),o=this.bitmap;return 0==(o&r)?i:this.nodes[m5e(o&r-1)].get(e+5,t,n,i)},n5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=(0===t?n:n>>>t)&U3e,l=1<<s,u=this.bitmap,c=0!=(u&l);if(!c&&r===q3e)return this;var d=m5e(u&l-1),f=this.nodes,p=c?f[d]:void 0,h=p5e(p,e,t+5,n,i,r,o,a);if(h===p)return this;if(!c&&h&&f.length>=b5e)return function(e,t,n,i,r){for(var o=0,a=new Array(G3e),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[i]=r,new i5e(e,o+1,a)}(e,f,u,s,h);if(c&&!h&&2===f.length&&h5e(f[1^d]))return f[1^d];if(c&&h&&1===f.length&&h5e(h))return h;var g=e&&e===this.ownerID,m=c?h?u:u^l:u|l,v=c?h?v5e(f,d,h,g):function(e,t,n){var i=e.length-1;if(n&&t===i)return e.pop(),e;for(var r=new Array(i),o=0,a=0;a<i;a++)a===t&&(o=1),r[a]=e[a+o];return r}(f,d,g):function(e,t,n,i){var r=e.length+1;if(i&&t+1===r)return e[t]=n,e;for(var o=new Array(r),a=0,s=0;s<r;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(f,d,h,g);return g?(this.bitmap=m,this.nodes=v,this):new n5e(e,m,v)};var i5e=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};i5e.prototype.get=function(e,t,n,i){void 0===t&&(t=J4e(n));var r=(0===e?t:t>>>e)&U3e,o=this.nodes[r];return o?o.get(e+5,t,n,i):i},i5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=(0===t?n:n>>>t)&U3e,l=r===q3e,u=this.nodes,c=u[s];if(l&&!c)return this;var d=p5e(c,e,t+5,n,i,r,o,a);if(d===c)return this;var f=this.count;if(c){if(!d&&--f<_5e)return function(e,t,n,i){for(var r=0,o=0,a=new Array(n),s=0,l=1,u=t.length;s<u;s++,l<<=1){var c=t[s];void 0!==c&&s!==i&&(r|=l,a[o++]=c)}return new n5e(e,r,a)}(e,u,f,s)}else f++;var p=e&&e===this.ownerID,h=v5e(u,s,d,p);return p?(this.count=f,this.nodes=h,this):new i5e(e,f,h)};var r5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};r5e.prototype.get=function(e,t,n,i){for(var r=this.entries,o=0,a=r.length;o<a;o++)if(W4e(n,r[o][0]))return r[o][1];return i},r5e.prototype.update=function(e,t,n,i,r,o,a){void 0===n&&(n=J4e(i));var s=r===q3e;if(n!==this.keyHash)return s?this:(H3e(a),H3e(o),g5e(this,e,t,n,[i,r]));for(var l=this.entries,u=0,c=l.length;u<c&&!W4e(i,l[u][0]);u++);var d=u<c;if(d?l[u][1]===r:s)return this;if(H3e(a),(s||!d)&&H3e(o),s&&2===c)return new o5e(e,this.keyHash,l[1^u]);var f=e&&e===this.ownerID,p=f?l:P6e(l);return d?s?u===c-1?p.pop():p[u]=p.pop():p[u]=[i,r]:p.push([i,r]),f?(this.entries=p,this):new r5e(e,this.keyHash,p)};var o5e=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};o5e.prototype.get=function(e,t,n,i){return W4e(n,this.entry[0])?this.entry[1]:i},o5e.prototype.update=function(e,t,n,i,r,o,a){var s=r===q3e,l=W4e(i,this.entry[0]);return(l?r===this.entry[1]:s)?this:(H3e(a),s?void H3e(o):l?e&&e===this.ownerID?(this.entry[1]=r,this):new o5e(e,this.keyHash,[i,r]):(H3e(o),g5e(this,e,t,J4e(i),[i,r])))},t5e.prototype.iterate=r5e.prototype.iterate=function(e,t){for(var n=this.entries,i=0,r=n.length-1;i<=r;i++)if(!1===e(n[t?r-i:i]))return!1},n5e.prototype.iterate=i5e.prototype.iterate=function(e,t){for(var n=this.nodes,i=0,r=n.length-1;i<=r;i++){var o=n[t?r-i:i];if(o&&!1===o.iterate(e,t))return!1}},o5e.prototype.iterate=function(e,t){return e(this.entry)};var a5e,s5e=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&u5e(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,i=t.index++,r=void 0;if(n.entry){if(0===i)return l5e(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return l5e(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return l5e(e,o.entry);t=this._stack=u5e(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(_4e);function l5e(e,t){return w4e(e,t[0],t[1])}function u5e(e,t){return{node:e,index:0,__prev:t}}function c5e(e,t,n,i){var r=Object.create(e5e);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function d5e(){return a5e||(a5e=c5e(0))}function f5e(e,t,n){var i,r;if(e._root){var o={value:!1},a={value:!1};if(i=p5e(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;r=e.size+(o.value?n===q3e?-1:1:0)}else{if(n===q3e)return e;r=1,i=new t5e(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?c5e(r,i):d5e()}function p5e(e,t,n,i,r,o,a,s){return e?e.update(t,n,i,r,o,a,s):o===q3e?e:(H3e(s),H3e(a),new o5e(t,i,[r,o]))}function h5e(e){return e.constructor===o5e||e.constructor===r5e}function g5e(e,t,n,i,r){if(e.keyHash===i)return new r5e(t,i,[e.entry,r]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&U3e,s=(0===n?i:i>>>n)&U3e,l=a===s?[g5e(e,t,n+5,i,r)]:(o=new o5e(t,i,r),a<s?[e,o]:[o,e]);return new n5e(t,1<<a|1<<s,l)}function m5e(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function v5e(e,t,n,i){var r=i?e:P6e(e);return r[t]=n,r}var y5e=8,b5e=16,_5e=8,w5e="@@__IMMUTABLE_LIST__@@";function k5e(e){return Boolean(e&&e[w5e])}var F5e=function(e){function t(t){var n=T5e();if(null==t)return n;if(k5e(t))return t;var i=e(t),r=i.size;return 0===r?n:(A6e(r),r>0&&r<G3e?P5e(0,r,5,null,new E5e(i.toArray())):n.withMutations((function(e){e.setSize(r),i.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=V3e(this,e))>=0&&e<this.size){var n=I5e(this,e+=this._origin);return n&&n.array[e&U3e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=V3e(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?M5e(e,t).set(0,n):M5e(e,0,t+1).set(t,n)}));t+=e._origin;var i=e._tail,r=e._root,o={value:!1};t>=j5e(e._capacity)?i=A5e(i,e.__ownerID,0,t,n,o):r=A5e(r,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=r,e._tail=i,e.__hash=void 0,e.__altered=!0,e;return P5e(e._origin,e._capacity,e._level,r,i)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):T5e()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){M5e(n,0,t+e.length);for(var i=0;i<e.length;i++)n.set(t+i,e[i])}))},t.prototype.pop=function(){return M5e(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){M5e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return M5e(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],i=0;i<arguments.length;i++){var r=t[i],o=e("string"!=typeof r&&F4e(r)?r:[r]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return M5e(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(i){for(var r=0;r<n.size;r++)i.set(r,e.call(t,i.get(r),r,i))}))},t.prototype.slice=function(e,t){var n=this.size;return J3e(e,t,n)?this:M5e(this,Q3e(e,n),Z3e(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,i=D5e(this,t);return new _4e((function(){var r=i();return r===S5e?{value:void 0,done:!0}:w4e(e,t?--n:n++,r)}))},t.prototype.__iterate=function(e,t){for(var n,i=t?this.size:0,r=D5e(this,t);(n=r())!==S5e&&!1!==e(n,t?--i:i++,this););return i},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?P5e(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?T5e():(this.__ownerID=e,this.__altered=!1,this)},t}(u4e);F5e.isList=k5e;var x5e=F5e.prototype;x5e[w5e]=!0,x5e.delete=x5e.remove,x5e.merge=x5e.concat,x5e.setIn=z6e,x5e.deleteIn=x5e.removeIn=B6e,x5e.update=U6e,x5e.updateIn=q6e,x5e.mergeIn=V6e,x5e.mergeDeepIn=Y6e,x5e.withMutations=J6e,x5e.wasAltered=$6e,x5e.asImmutable=Z6e,x5e["@@transducer/init"]=x5e.asMutable=Q6e,x5e["@@transducer/step"]=function(e,t){return e.push(t)},x5e["@@transducer/result"]=function(e){return e.asImmutable()};var E5e=function(e,t){this.array=e,this.ownerID=t};E5e.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var i=n>>>t&U3e;if(i>=this.array.length)return new E5e([],e);var r,o=0===i;if(t>0){var a=this.array[i];if((r=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!r)return this;var s=L5e(this,e);if(!o)for(var l=0;l<i;l++)s.array[l]=void 0;return r&&(s.array[i]=r),s},E5e.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var i,r=n-1>>>t&U3e;if(r>=this.array.length)return this;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-5,n))===o&&r===this.array.length-1)return this}var a=L5e(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var C5e,S5e={};function D5e(e,t){var n=e._origin,i=e._capacity,r=j5e(i),o=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===r?o&&o.array:e&&e.array,l=a>n?0:n-a,u=i-a;u>G3e&&(u=G3e);return function(){if(l===u)return S5e;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,r,o){var s,l=e&&e.array,u=o>n?0:n-o>>r,c=1+(i-o>>r);c>G3e&&(c=G3e);return function(){for(;;){if(s){var e=s();if(e!==S5e)return e;s=null}if(u===c)return S5e;var n=t?--c:u++;s=a(l&&l[n],r-5,o+(n<<r))}}}(e,s,l)}}function P5e(e,t,n,i,r,o,a){var s=Object.create(x5e);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=i,s._tail=r,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function T5e(){return C5e||(C5e=P5e(0,0,5))}function A5e(e,t,n,i,r,o){var a,s=i>>>n&U3e,l=e&&s<e.array.length;if(!l&&void 0===r)return e;if(n>0){var u=e&&e.array[s],c=A5e(u,t,n-5,i,r,o);return c===u?e:((a=L5e(e,t)).array[s]=c,a)}return l&&e.array[s]===r?e:(o&&H3e(o),a=L5e(e,t),void 0===r&&s===a.array.length-1?a.array.pop():a.array[s]=r,a)}function L5e(e,t){return t&&e&&t===e.ownerID?e:new E5e(e?e.array.slice():[],t)}function I5e(e,t){if(t>=j5e(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,i=e._level;n&&i>0;)n=n.array[t>>>i&U3e],i-=5;return n}}function M5e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var i=e.__ownerID||new W3e,r=e._origin,o=e._capacity,a=r+t,s=void 0===n?o:n<0?o+n:r+n;if(a===r&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new E5e(u&&u.array.length?[void 0,u]:[],i),c+=1<<(l+=5);c&&(a+=c,r+=c,s+=c,o+=c);for(var d=j5e(o),f=j5e(s);f>=1<<l+5;)u=new E5e(u&&u.array.length?[u]:[],i),l+=5;var p=e._tail,h=f<d?I5e(e,s-1):f>d?new E5e([],i):p;if(p&&f>d&&a<o&&p.array.length){for(var g=u=L5e(u,i),m=l;m>5;m-=5){var v=d>>>m&U3e;g=g.array[v]=L5e(g.array[v],i)}g.array[d>>>5&U3e]=p}if(s<o&&(h=h&&h.removeAfter(i,0,s)),a>=f)a-=f,s-=f,l=5,u=null,h=h&&h.removeBefore(i,0,a);else if(a>r||f<d){for(c=0;u;){var y=a>>>l&U3e;if(y!==f>>>l&U3e)break;y&&(c+=(1<<l)*y),l-=5,u=u.array[y]}u&&a>r&&(u=u.removeBefore(i,l,a-c)),u&&f<d&&(u=u.removeAfter(i,l,f-c)),c&&(a-=c,s-=c)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=l,e._root=u,e._tail=h,e.__hash=void 0,e.__altered=!0,e):P5e(a,s,l,u,h)}function j5e(e){return e<G3e?0:e-1>>>5<<5}var N5e,O5e=function(e){function t(e){return null==e?z5e():q4e(e)?e:z5e().withMutations((function(t){var n=l4e(e);A6e(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):z5e()},t.prototype.set=function(e,t){return B5e(this,e,t)},t.prototype.remove=function(e){return B5e(this,e,q3e)},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?R5e(t,n,e,this.__hash):0===this.size?z5e():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(X6e);function R5e(e,t,n,i){var r=Object.create(O5e.prototype);return r.size=e?e.size:0,r._map=e,r._list=t,r.__ownerID=n,r.__hash=i,r}function z5e(){return N5e||(N5e=R5e(d5e(),T5e()))}function B5e(e,t,n){var i,r,o=e._map,a=e._list,s=o.get(t),l=void 0!==s;if(n===q3e){if(!l)return e;a.size>=G3e&&a.size>=2*o.size?(i=(r=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=r.__ownerID=e.__ownerID)):(i=o.remove(t),r=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;i=o,r=a.set(s,[t,n])}else i=o.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=r,e.__hash=void 0,e):R5e(i,r)}O5e.isOrderedMap=q4e,O5e.prototype[g4e]=!0,O5e.prototype.delete=O5e.prototype.remove;var G5e="@@__IMMUTABLE_STACK__@@";function U5e(e){return Boolean(e&&e[G5e])}var q5e=function(e){function t(e){return null==e?V5e():U5e(e)?e:V5e().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=V3e(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,i=arguments.length-1;i>=0;i--)n={value:e[i],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):K5e(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&U5e(t))return t;A6e(t.size);var n=this.size,i=this._head;return t.__iterate((function(e){n++,i={value:e,next:i}}),!0),this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):K5e(n,i)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):V5e()},t.prototype.slice=function(t,n){if(J3e(t,n,this.size))return this;var i=Q3e(t,this.size);if(Z3e(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var r=this.size-i,o=this._head;i--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):K5e(r,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?K5e(this.size,this._head,e,this.__hash):0===this.size?V5e():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new I4e(this.toArray()).__iterate((function(t,i){return e(t,i,n)}),t);for(var i=0,r=this._head;r&&!1!==e(r.value,i++,this);)r=r.next;return i},t.prototype.__iterator=function(e,t){if(t)return new I4e(this.toArray()).__iterator(e,t);var n=0,i=this._head;return new _4e((function(){if(i){var t=i.value;return i=i.next,w4e(e,n++,t)}return{value:void 0,done:!0}}))},t}(u4e);q5e.isStack=U5e;var H5e,W5e=q5e.prototype;function K5e(e,t,n,i){var r=Object.create(W5e);return r.size=e,r._head=t,r.__ownerID=n,r.__hash=i,r.__altered=!1,r}function V5e(){return H5e||(H5e=K5e(0))}W5e[G5e]=!0,W5e.shift=W5e.pop,W5e.unshift=W5e.push,W5e.unshiftAll=W5e.pushAll,W5e.withMutations=J6e,W5e.wasAltered=$6e,W5e.asImmutable=Z6e,W5e["@@transducer/init"]=W5e.asMutable=Q6e,W5e["@@transducer/step"]=function(e,t){return e.unshift(t)},W5e["@@transducer/result"]=function(e){return e.asImmutable()};var Y5e="@@__IMMUTABLE_SET__@@";function J5e(e){return Boolean(e&&e[Y5e])}function Q5e(e){return J5e(e)&&m4e(e)}function Z5e(e,t){if(e===t)return!0;if(!t4e(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||i4e(e)!==i4e(t)||o4e(e)!==o4e(t)||m4e(e)!==m4e(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!a4e(e);if(m4e(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&W4e(r[1],e)&&(n||W4e(r[0],t))}))&&i.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var o=e;e=t,t=o}var a=!0,s=t.__iterate((function(t,i){if(n?!e.has(t):r?!W4e(t,e.get(i,q3e)):!W4e(e.get(i,q3e),t))return a=!1,!1}));return a&&e.size===s}function $5e(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 X5e(e){if(!e||"object"!=typeof e)return e;if(!t4e(e)){if(!I6e(e))return e;e=P4e(e)}if(i4e(e)){var t={};return e.__iterate((function(e,n){t[n]=X5e(e)})),t}var n=[];return e.__iterate((function(e){n.push(X5e(e))})),n}var e9e=function(e){function t(t){return null==t?o9e():J5e(t)&&!m4e(t)?t:o9e().withMutations((function(n){var i=e(t);A6e(i.size),i.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(l4e(e).keySeq())},t.intersect=function(e){return(e=s4e(e).toArray()).length?n9e.intersect.apply(t(e.pop()),e):o9e()},t.union=function(e){return(e=s4e(e).toArray()).length?n9e.union.apply(t(e.pop()),e):o9e()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return i9e(this,this._map.set(e,e))},t.prototype.remove=function(e){return i9e(this,this._map.remove(e))},t.prototype.clear=function(){return i9e(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,i=[],r=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(i.push(o),r.push(a))})),this.withMutations((function(e){i.forEach((function(t){return e.remove(t)})),r.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var i=0;i<t.length;i++)e(t[i]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var i=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&i.push(e)})),this.withMutations((function(e){i.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return w9e(b6e(this,e))},t.prototype.sortBy=function(e,t){return w9e(b6e(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}(c4e);e9e.isSet=J5e;var t9e,n9e=e9e.prototype;function i9e(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 r9e(e,t){var n=Object.create(n9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function o9e(){return t9e||(t9e=r9e(d5e()))}n9e[Y5e]=!0,n9e.delete=n9e.remove,n9e.merge=n9e.concat=n9e.union,n9e.withMutations=J6e,n9e.asImmutable=Z6e,n9e["@@transducer/init"]=n9e.asMutable=Q6e,n9e["@@transducer/step"]=function(e,t){return e.add(t)},n9e["@@transducer/result"]=function(e){return e.asImmutable()},n9e.__empty=o9e,n9e.__make=r9e;var a9e,s9e=function(e){function t(e,n,i){if(!(this instanceof t))return new t(e,n,i);if(T6e(0!==i,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),i=void 0===i?1:Math.abs(i),n<e&&(i=-i),this._start=e,this._end=n,this._step=i,this.size=Math.max(0,Math.ceil((n-e)/i-1)+1),0===this.size){if(a9e)return a9e;a9e=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+V3e(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 J3e(e,n,this.size)?this:(e=Q3e(e,this.size),(n=Z3e(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;o!==n&&!1!==e(r,t?n-++o:o++,this);)r+=t?-i:i;return o},t.prototype.__iterator=function(e,t){var n=this.size,i=this._step,r=t?this._start+(n-1)*i:this._start,o=0;return new _4e((function(){if(o===n)return{value:void 0,done:!0};var a=r;return r+=t?-i:i,w4e(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:Z5e(this,e)},t}(A4e);function l9e(e,t,n){for(var i=L6e(t),r=0;r!==i.length;)if((e=j6e(e,i[r++],q3e))===q3e)return n;return e}function u9e(){A6e(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}s4e.isIterable=t4e,s4e.isKeyed=i4e,s4e.isIndexed=o4e,s4e.isAssociative=a4e,s4e.isOrdered=m4e,s4e.Iterator=_4e,$5e(s4e,{toArray:function(){A6e(this.size);var e=new Array(this.size||0),t=i4e(this),n=0;return this.__iterate((function(i,r){e[n++]=t?[r,i]:i})),e},toIndexedSeq:function(){return new l6e(this)},toJS:function(){return X5e(this)},toKeyedSeq:function(){return new s6e(this,!0)},toMap:function(){return X6e(this.toKeyedSeq())},toObject:u9e,toOrderedMap:function(){return O5e(this.toKeyedSeq())},toOrderedSet:function(){return w9e(i4e(this)?this.valueSeq():this)},toSet:function(){return e9e(i4e(this)?this.valueSeq():this)},toSetSeq:function(){return new u6e(this)},toSeq:function(){return o4e(this)?this.toIndexedSeq():i4e(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return q5e(i4e(this)?this.valueSeq():this)},toList:function(){return F5e(i4e(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 F6e(this,v6e(this,e))},includes:function(e){return this.some((function(t){return W4e(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){A6e(this.size);var n=!0;return this.__iterate((function(i,r,o){if(!e.call(t,i,r,o))return n=!1,!1})),n},filter:function(e,t){return F6e(this,h6e(this,e,t,!0))},find:function(e,t,n){var i=this.findEntry(e,t);return i?i[1]:n},forEach:function(e,t){return A6e(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){A6e(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(i){n?n=!1:t+=e,t+=null!=i?i.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return F6e(this,f6e(this,e,t))},reduce:function(e,t,n){return p9e(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return p9e(this,e,t,n,arguments.length<2,!0)},reverse:function(){return F6e(this,p6e(this,!0))},slice:function(e,t){return F6e(this,g6e(this,e,t,!0))},some:function(e,t){return!this.every(m9e(e),t)},sort:function(e){return F6e(this,b6e(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 K3e(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var i=X6e().asMutable();return e.__iterate((function(r,o){i.update(t.call(n,r,o,e),0,(function(e){return e+1}))})),i.asImmutable()}(this,e,t)},equals:function(e){return Z5e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new I4e(e._cache);var t=e.toSeq().map(g9e).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(m9e(e),t)},findEntry:function(e,t,n){var i=n;return this.__iterate((function(n,r,o){if(e.call(t,n,r,o))return i=[r,n],!1})),i},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(Y3e,null,e)},flatMap:function(e,t){return F6e(this,function(e,t,n){var i=E6e(e);return e.toSeq().map((function(r,o){return i(t.call(n,r,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return F6e(this,y6e(this,e,!0))},fromEntrySeq:function(){return new c6e(this)},get:function(e,t){return this.find((function(t,n){return W4e(n,e)}),void 0,t)},getIn:function(e,t){return l9e(this,e,t)},groupBy:function(e,t){return function(e,t,n){var i=i4e(e),r=(m4e(e)?O5e():X6e()).asMutable();e.__iterate((function(o,a){r.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(i?[a,o]:o),e}))}));var o=E6e(e);return r.map((function(t){return F6e(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,q3e)!==q3e},hasIn:function(e){return function(e,t){return l9e(e,t,q3e)!==q3e}(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:s4e(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:s4e(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return W4e(t,e)}))},keySeq:function(){return this.toSeq().map(h9e).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return _6e(this,e)},maxBy:function(e,t){return _6e(this,t,e)},min:function(e){return _6e(this,e?v9e(e):b9e)},minBy:function(e,t){return _6e(this,t?v9e(t):b9e,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 F6e(this,m6e(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(m9e(e),t)},sortBy:function(e,t){return F6e(this,b6e(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 F6e(this,function(e,t,n){var i=C6e(e);return i.__iterateUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterate(i,r);var a=0;return e.__iterate((function(e,r,s){return t.call(n,e,r,s)&&++a&&i(e,r,o)})),a},i.__iteratorUncached=function(i,r){var o=this;if(r)return this.cacheResult().__iterator(i,r);var a=e.__iterator(2,r),s=!0;return new _4e((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var r=e.value,l=r[0],u=r[1];return t.call(n,u,l,o)?2===i?e:w4e(i,l,u,e):(s=!1,{value:void 0,done:!0})}))},i}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(m9e(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=m4e(e),n=i4e(e),i=t?1:0;return function(e,t){return t=K4e(t,3432918353),t=K4e(t<<15|t>>>-15,461845907),t=K4e(t<<13|t>>>-13,5),t=K4e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=V4e((t=K4e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){i=31*i+_9e(J4e(e),J4e(t))|0}:function(e,t){i=i+_9e(J4e(e),J4e(t))|0}:t?function(e){i=31*i+J4e(e)|0}:function(e){i=i+J4e(e)|0}),i)}(this))}});var c9e=s4e.prototype;c9e[e4e]=!0,c9e[b4e]=c9e.values,c9e.toJSON=c9e.toArray,c9e.__toStringMapper=M6e,c9e.inspect=c9e.toSource=function(){return this.toString()},c9e.chain=c9e.flatMap,c9e.contains=c9e.includes,$5e(l4e,{flip:function(){return F6e(this,d6e(this))},mapEntries:function(e,t){var n=this,i=0;return F6e(this,this.toSeq().map((function(r,o){return e.call(t,[o,r],i++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return F6e(this,this.toSeq().flip().map((function(i,r){return e.call(t,i,r,n)})).flip())}});var d9e=l4e.prototype;d9e[n4e]=!0,d9e[b4e]=c9e.entries,d9e.toJSON=u9e,d9e.__toStringMapper=function(e,t){return M6e(t)+": "+M6e(e)},$5e(u4e,{toKeyedSeq:function(){return new s6e(this,!1)},filter:function(e,t){return F6e(this,h6e(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 F6e(this,p6e(this,!1))},slice:function(e,t){return F6e(this,g6e(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=Q3e(e,e<0?this.count():this.size);var i=this.slice(0,e);return F6e(this,1===n?i:i.concat(P6e(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 F6e(this,y6e(this,e,!1))},get:function(e,t){return(e=V3e(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=V3e(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return F6e(this,function(e,t){var n=C6e(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,i){var r=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,r))&&!1!==n(e,o++,r)}),i),o},n.__iteratorUncached=function(n,i){var r,o=e.__iterator(1,i),a=0;return new _4e((function(){return(!r||a%2)&&(r=o.next()).done?r:a%2?w4e(n,a++,t):w4e(n,a++,r.value,r)}))},n}(this,e))},interleave:function(){var e=[this].concat(P6e(arguments)),t=k6e(this.toSeq(),A4e.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),F6e(this,n)},keySeq:function(){return s9e(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return F6e(this,m6e(this,e,t,!1))},zip:function(){var e=[this].concat(P6e(arguments));return F6e(this,k6e(this,y9e,e))},zipAll:function(){var e=[this].concat(P6e(arguments));return F6e(this,k6e(this,y9e,e,!0))},zipWith:function(e){var t=P6e(arguments);return t[0]=this,F6e(this,k6e(this,e,t))}});var f9e=u4e.prototype;function p9e(e,t,n,i,r,o){return A6e(e.size),e.__iterate((function(e,o,a){r?(r=!1,n=e):n=t.call(i,n,e,o,a)}),o),n}function h9e(e,t){return t}function g9e(e,t){return[t,e]}function m9e(e){return function(){return!e.apply(this,arguments)}}function v9e(e){return function(){return-e.apply(this,arguments)}}function y9e(){return P6e(arguments)}function b9e(e,t){return e<t?1:e>t?-1:0}function _9e(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}f9e[r4e]=!0,f9e[g4e]=!0,$5e(c4e,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),c4e.prototype.has=c9e.includes,c4e.prototype.contains=c4e.prototype.includes,$5e(T4e,l4e.prototype),$5e(A4e,u4e.prototype),$5e(L4e,c4e.prototype);var w9e=function(e){function t(e){return null==e?E9e():Q5e(e)?e:E9e().withMutations((function(t){var n=c4e(e);A6e(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(l4e(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(e9e);w9e.isOrderedSet=Q5e;var k9e,F9e=w9e.prototype;function x9e(e,t){var n=Object.create(F9e);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function E9e(){return k9e||(k9e=x9e(z5e()))}F9e[g4e]=!0,F9e.zip=f9e.zip,F9e.zipWith=f9e.zipWith,F9e.__empty=E9e,F9e.__make=x9e;var C9e={exports:{}};
|
|
164
164
|
/*!
|
|
165
165
|
Copyright (c) 2015 Jed Watson.
|
|
166
166
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|