@plone/volto 15.0.0-alpha.4 → 15.0.0-alpha.8
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/.github/ISSUE_TEMPLATE/bug_report.md +7 -6
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -1
- package/.github/workflows/docs.yml +15 -55
- package/CHANGELOG.md +57 -2
- package/CODE_OF_CONDUCT.md +0 -1
- package/COMMITLINT.md +19 -21
- package/README.md +1 -1
- package/SECURITY.md +0 -1
- package/addon-registry.js +6 -3
- package/dist/assets.json +1 -0
- package/dist/chunks.json +572 -0
- package/dist/loadable-stats.json +2099 -0
- package/dist/public/android-chrome-192x192.png +0 -0
- package/dist/public/android-chrome-512x512.png +0 -0
- package/dist/public/apple-touch-icon.png +0 -0
- package/dist/public/favicon-16x16.png +0 -0
- package/dist/public/favicon-32x32.png +0 -0
- package/dist/public/favicon.ico +0 -0
- package/dist/public/icon.svg +13 -0
- package/dist/public/index.html.spa +34 -0
- package/dist/public/robots.txt +2 -0
- package/dist/public/site.webmanifest +19 -0
- package/dist/public/static/css/15.2cdd5437.chunk.css +409 -0
- package/dist/public/static/css/15.2cdd5437.chunk.css.map +1 -0
- package/dist/public/static/css/8.37cef611.chunk.css +2 -0
- package/dist/public/static/css/8.37cef611.chunk.css.map +1 -0
- package/dist/public/static/css/client.4cb92c57.chunk.css +8 -0
- package/dist/public/static/css/client.4cb92c57.chunk.css.map +1 -0
- package/dist/public/static/css/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.css +2 -0
- package/dist/public/static/css/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.css.map +1 -0
- package/dist/public/static/js/0.3e794c57.chunk.js +2 -0
- package/dist/public/static/js/0.3e794c57.chunk.js.map +1 -0
- package/dist/public/static/js/1.fece2b93.chunk.js +3 -0
- package/dist/public/static/js/1.fece2b93.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/1.fece2b93.chunk.js.map +1 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js +3 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js.LICENSE.txt +120 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js.map +1 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js +3 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js.map +1 -0
- package/dist/public/static/js/17.9478c50d.chunk.js +2 -0
- package/dist/public/static/js/17.9478c50d.chunk.js.map +1 -0
- package/dist/public/static/js/18.388e65d0.chunk.js +2 -0
- package/dist/public/static/js/18.388e65d0.chunk.js.map +1 -0
- package/dist/public/static/js/19.7c6b4a80.chunk.js +2 -0
- package/dist/public/static/js/19.7c6b4a80.chunk.js.map +1 -0
- package/dist/public/static/js/2.e6b0d690.chunk.js +2 -0
- package/dist/public/static/js/2.e6b0d690.chunk.js.map +1 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js +3 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js.map +1 -0
- package/dist/public/static/js/21.3de49ac8.chunk.js +2 -0
- package/dist/public/static/js/21.3de49ac8.chunk.js.map +1 -0
- package/dist/public/static/js/22.ecefb8f2.chunk.js +2 -0
- package/dist/public/static/js/22.ecefb8f2.chunk.js.map +1 -0
- package/dist/public/static/js/23.3027bc00.chunk.js +2 -0
- package/dist/public/static/js/23.3027bc00.chunk.js.map +1 -0
- package/dist/public/static/js/24.aaaf4abf.chunk.js +2 -0
- package/dist/public/static/js/24.aaaf4abf.chunk.js.map +1 -0
- package/dist/public/static/js/25.c4d7d5e0.chunk.js +2 -0
- package/dist/public/static/js/25.c4d7d5e0.chunk.js.map +1 -0
- package/dist/public/static/js/26.d59ac3c1.chunk.js +2 -0
- package/dist/public/static/js/26.d59ac3c1.chunk.js.map +1 -0
- package/dist/public/static/js/27.266d95dd.chunk.js +2 -0
- package/dist/public/static/js/27.266d95dd.chunk.js.map +1 -0
- package/dist/public/static/js/28.d965d304.chunk.js +2 -0
- package/dist/public/static/js/28.d965d304.chunk.js.map +1 -0
- package/dist/public/static/js/29.7d8d1992.chunk.js +2 -0
- package/dist/public/static/js/29.7d8d1992.chunk.js.map +1 -0
- package/dist/public/static/js/3.025ba843.chunk.js +2 -0
- package/dist/public/static/js/3.025ba843.chunk.js.map +1 -0
- package/dist/public/static/js/30.a3d54e31.chunk.js +2 -0
- package/dist/public/static/js/30.a3d54e31.chunk.js.map +1 -0
- package/dist/public/static/js/31.9edf64ee.chunk.js +2 -0
- package/dist/public/static/js/31.9edf64ee.chunk.js.map +1 -0
- package/dist/public/static/js/32.649dbfc2.chunk.js +2 -0
- package/dist/public/static/js/32.649dbfc2.chunk.js.map +1 -0
- package/dist/public/static/js/33.45949ca4.chunk.js +2 -0
- package/dist/public/static/js/33.45949ca4.chunk.js.map +1 -0
- package/dist/public/static/js/34.084257cf.chunk.js +2 -0
- package/dist/public/static/js/34.084257cf.chunk.js.map +1 -0
- package/dist/public/static/js/35.00679602.chunk.js +3 -0
- package/dist/public/static/js/35.00679602.chunk.js.LICENSE.txt +37 -0
- package/dist/public/static/js/35.00679602.chunk.js.map +1 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js +3 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js.LICENSE.txt +7 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js.map +1 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js +3 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js.LICENSE.txt +14 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js.map +1 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js +3 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js.map +1 -0
- package/dist/public/static/js/39.69d6a789.chunk.js +2 -0
- package/dist/public/static/js/39.69d6a789.chunk.js.map +1 -0
- package/dist/public/static/js/4.bdc4a5c5.chunk.js +2 -0
- package/dist/public/static/js/4.bdc4a5c5.chunk.js.map +1 -0
- package/dist/public/static/js/40.90de6e4a.chunk.js +2 -0
- package/dist/public/static/js/40.90de6e4a.chunk.js.map +1 -0
- package/dist/public/static/js/7.7acc66bc.chunk.js +2 -0
- package/dist/public/static/js/7.7acc66bc.chunk.js.map +1 -0
- package/dist/public/static/js/8.37cef611.chunk.js +3 -0
- package/dist/public/static/js/8.37cef611.chunk.js.LICENSE.txt +25 -0
- package/dist/public/static/js/8.37cef611.chunk.js.map +1 -0
- package/dist/public/static/js/client.4cb92c57.chunk.js +2 -0
- package/dist/public/static/js/client.4cb92c57.chunk.js.map +1 -0
- package/dist/public/static/js/draft-js-lib-isSoftNewlineEvent.6cd05e34.chunk.js +2 -0
- package/dist/public/static/js/draft-js-lib-isSoftNewlineEvent.6cd05e34.chunk.js.map +1 -0
- package/dist/public/static/js/moment.2caa76d1.chunk.js +2 -0
- package/dist/public/static/js/moment.2caa76d1.chunk.js.map +1 -0
- package/dist/public/static/js/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.js +2 -0
- package/dist/public/static/js/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.js.map +1 -0
- package/dist/public/static/js/plone-volto-components-theme-View-EventView.433dd14b.chunk.js +2 -0
- package/dist/public/static/js/plone-volto-components-theme-View-EventView.433dd14b.chunk.js.map +1 -0
- package/dist/public/static/js/react-dates.f71abb7c.chunk.js +2 -0
- package/dist/public/static/js/react-dates.f71abb7c.chunk.js.map +1 -0
- package/dist/public/static/js/react-simple-code-editor.33478dc3.chunk.js +2 -0
- package/dist/public/static/js/react-simple-code-editor.33478dc3.chunk.js.map +1 -0
- package/dist/public/static/js/runtime~client.d372df0e.js +2 -0
- package/dist/public/static/js/runtime~client.d372df0e.js.map +1 -0
- package/dist/public/static/media/Logo.16e25cdf.svg +21 -0
- package/dist/public/static/media/block-image.8a4a14d5.svg +8 -0
- package/dist/public/static/media/block-maps.731e84f6.svg +7 -0
- package/dist/public/static/media/block-video.832fa3ff.svg +7 -0
- package/dist/public/static/media/default-image.9451b251.svg +13 -0
- package/dist/public/static/media/flags.9c74e172.png +0 -0
- package/dist/public/static/media/icons.022583c4.svg +320 -0
- package/dist/public/static/media/icons.06400145.ttf +0 -0
- package/dist/public/static/media/icons.dbc1ef8b.eot +0 -0
- package/dist/public/static/media/icons.df45b7de.woff +0 -0
- package/dist/server.js +2 -0
- package/locales/ca/LC_MESSAGES/volto.po +14 -0
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +14 -0
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +14 -0
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +14 -0
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +14 -0
- package/locales/eu.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +14 -0
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +14 -0
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +14 -0
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +14 -0
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +14 -0
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +14 -0
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +14 -0
- package/locales/ro.json +1 -1
- package/locales/volto.pot +15 -1
- package/logos/Logo.png +0 -0
- package/logos/volto-colorful.png +0 -0
- package/logos/volto-colorful.svg +35 -0
- package/logos/volto-guide.png +0 -0
- package/logos/volto-h-transparent.svg +6 -0
- package/logos/volto-transparent.png +0 -0
- package/logos/volto-transparent.svg +19 -0
- package/logos/volto-transparent2.svg +5 -0
- package/logos/volto-yellow.svg +29 -0
- package/logos/volto.sketch +0 -0
- package/netlify.toml +2 -0
- package/package.json +6 -2
- package/razzle.config.js +2 -2
- package/src/actions/language/language.js +7 -2
- package/src/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +1 -2
- package/src/components/manage/AnchorPlugin/components/LinkButton/index.jsx +15 -6
- package/src/components/manage/AnchorPlugin/index.jsx +12 -5
- package/src/components/manage/AnchorPlugin/utils/EditorUtils.js +8 -7
- package/src/components/manage/Blocks/Description/Edit.jsx +33 -19
- package/src/components/manage/Blocks/Description/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/HeroImageLeft/Edit.jsx +37 -26
- package/src/components/manage/Blocks/HeroImageLeft/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/Search/README.md +20 -0
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +16 -3
- package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +120 -0
- package/src/components/manage/Blocks/Search/components/DateRangeFacet.test.jsx +34 -0
- package/src/components/manage/Blocks/Search/components/DateRangeFacetFilterListEntry.jsx +39 -0
- package/src/components/manage/Blocks/Search/components/Facets.jsx +24 -25
- package/src/components/manage/Blocks/Search/components/FilterList.jsx +37 -67
- package/src/components/manage/Blocks/Search/components/FilterList.test.jsx +49 -1
- package/src/components/manage/Blocks/Search/components/SelectFacet.jsx +9 -0
- package/src/components/manage/Blocks/Search/components/SelectFacetFilterListEntry.jsx +42 -0
- package/src/components/manage/Blocks/Search/components/SelectStyling.jsx +1 -1
- package/src/components/manage/Blocks/Search/components/ToggleFacet.jsx +38 -0
- package/src/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.jsx +39 -0
- package/src/components/manage/Blocks/Search/components/base.js +52 -0
- package/src/components/manage/Blocks/Search/components/index.js +5 -0
- package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +68 -27
- package/src/components/manage/Blocks/Search/schema.js +7 -4
- package/src/components/manage/Blocks/Search/utils.js +16 -0
- package/src/components/manage/Blocks/Table/Cell.jsx +40 -14
- package/src/components/manage/Blocks/Table/Cell.test.jsx +7 -1
- package/src/components/manage/Blocks/Table/Edit.jsx +7 -3
- package/src/components/manage/Blocks/Table/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/Table/View.jsx +2 -2
- package/src/components/manage/Blocks/Text/Edit.jsx +56 -14
- package/src/components/manage/Blocks/Text/Edit.test.jsx +7 -1
- package/src/components/manage/Blocks/Text/View.jsx +2 -2
- package/src/components/manage/Blocks/Title/Edit.jsx +25 -13
- package/src/components/manage/Blocks/Title/Edit.test.jsx +6 -0
- package/src/components/manage/Sidebar/Sidebar.jsx +5 -1
- package/src/components/manage/Toolbar/Toolbar.jsx +3 -1
- package/src/components/manage/UniversalLink/UniversalLink.jsx +5 -2
- package/src/components/manage/Widgets/DatetimeWidget.jsx +3 -1
- package/src/components/manage/Widgets/UrlWidget.jsx +1 -1
- package/src/components/manage/Widgets/WysiwygWidget.jsx +45 -19
- package/src/components/manage/Widgets/WysiwygWidget.test.jsx +7 -1
- package/src/components/theme/View/LinkView.jsx +1 -1
- package/src/components/theme/View/View.jsx +5 -1
- package/src/config/Blocks.jsx +31 -0
- package/src/config/Loadables.jsx +22 -0
- package/src/config/RichTextEditor/Blocks.jsx +25 -20
- package/src/config/RichTextEditor/Plugins.jsx +38 -31
- package/src/config/RichTextEditor/Styles.jsx +48 -44
- package/src/config/RichTextEditor/index.js +25 -0
- package/src/config/index.js +14 -18
- package/src/helpers/Api/Api.js +18 -4
- package/src/helpers/Extensions/index.js +1 -1
- package/src/helpers/Extensions/withBlockExtensions.js +4 -0
- package/src/helpers/Extensions/withBlockExtensions.test.js +26 -1
- package/src/helpers/Url/Url.js +32 -1
- package/src/helpers/Url/urlRegex.js +7 -1
- package/src/helpers/index.js +2 -0
- package/src/middleware/api.js +21 -2
- package/src/server.jsx +9 -2
- package/test-setup-config.js +22 -7
- package/theme/themes/pastanaga/extras/blocks.less +29 -0
- package/src/components/manage/AnchorPlugin/utils/URLUtils.js +0 -36
- package/src/components/manage/AnchorPlugin/utils/mailRegex.js +0 -2
- package/src/components/manage/AnchorPlugin/utils/telRegex.js +0 -1
- package/src/components/manage/AnchorPlugin/utils/urlRegex.js +0 -54
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[0],{JPcv:function(t,e,r){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function r(t){return u(t)?t:J(t)}function n(t){return s(t)?t:N(t)}function i(t){return a(t)?t:H(t)}function o(t){return u(t)&&!h(t)?t:P(t)}function u(t){return!(!t||!t[c])}function s(t){return!(!t||!t[_])}function a(t){return!(!t||!t[p])}function h(t){return s(t)||a(t)}function f(t){return!(!t||!t[v])}e(n,r),e(i,r),e(o,r),r.isIterable=u,r.isKeyed=s,r.isIndexed=a,r.isAssociative=h,r.isOrdered=f,r.Keyed=n,r.Indexed=i,r.Set=o;var c="@@__IMMUTABLE_ITERABLE__@@",_="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",v="@@__IMMUTABLE_ORDERED__@@",l={},y={value:!1},d={value:!1};function m(t){return t.value=!1,t}function g(t){t&&(t.value=!0)}function w(){}function S(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function z(t){return void 0===t.size&&(t.size=t.__iterate(b)),t.size}function I(t,e){if("number"!==typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?z(t)+e:e}function b(){return!0}function D(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function q(t,e){return M(t,e,0)}function E(t,e){return M(t,e,e)}function M(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var O,x,A,k="function"===typeof Symbol&&Symbol.iterator,j=k||"@@iterator";function U(t){this.next=t}function K(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function R(){return{value:void 0,done:!0}}function L(t){return!!W(t)}function B(t){return t&&"function"===typeof t.next}function T(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(k&&t[k]||t["@@iterator"]);if("function"===typeof e)return e}function C(t){return t&&"number"===typeof t.length}function J(t){return null===t||void 0===t?G():u(t)?t.toSeq():function(t){var e=tt(t)||"object"===typeof t&&new Q(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function N(t){return null===t||void 0===t?G().toKeyedSeq():u(t)?s(t)?t.toSeq():t.fromEntrySeq():Z(t)}function H(t){return null===t||void 0===t?G():u(t)?s(t)?t.entrySeq():t.toIndexedSeq():$(t)}function P(t){return(null===t||void 0===t?G():u(t)?s(t)?t.entrySeq():t:$(t)).toSetSeq()}function V(t){this._array=t,this.size=t.length}function Q(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function Y(t){this._iterable=t,this.size=t.length||t.size}function X(t){this._iterator=t,this._iteratorCache=[]}function F(t){return!(!t||!t["@@__IMMUTABLE_SEQ__@@"])}function G(){return O||(O=new V([]))}function Z(t){var e=Array.isArray(t)?new V(t).fromEntrySeq():B(t)?new X(t).fromEntrySeq():L(t)?new Y(t).fromEntrySeq():"object"===typeof t?new Q(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function $(t){var e=tt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function tt(t){return C(t)?new V(t):B(t)?new X(t):L(t)?new Y(t):void 0}function et(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var s=i[r?o-u:u];if(!1===e(s[1],n?s[0]:u,t))return u+1}return u}return t.__iterateUncached(e,r)}function rt(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new U((function(){var t=i[r?o-u:u];return u++>o?{value:void 0,done:!0}:K(e,n?t[0]:u-1,t[1])}))}return t.__iteratorUncached(e,r)}function nt(t,e){return e?function t(e,r,n,i){return Array.isArray(r)?e.call(i,n,H(r).map((function(n,i){return t(e,n,i,r)}))):ot(r)?e.call(i,n,N(r).map((function(n,i){return t(e,n,i,r)}))):r}(e,t,"",{"":t}):it(t)}function it(t){return Array.isArray(t)?H(t).map(it).toList():ot(t)?N(t).map(it).toMap():t}function ot(t){return t&&(t.constructor===Object||void 0===t.constructor)}function ut(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"===typeof t.valueOf&&"function"===typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!==typeof t.equals||"function"!==typeof e.equals||!t.equals(e))}function st(t,e){if(t===e)return!0;if(!u(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||a(t)!==a(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!h(t);if(f(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&ut(i[1],t)&&(r||ut(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"===typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var c=!0,_=e.__iterate((function(e,n){if(r?!t.has(e):i?!ut(e,t.get(n,l)):!ut(t.get(n,l),e))return c=!1,!1}));return c&&t.size===_}function at(t,e){if(!(this instanceof at))return new at(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(x)return x;x=this}}function ht(t,e){if(!t)throw new Error(e)}function ft(t,e,r){if(!(this instanceof ft))return new ft(t,e,r);if(ht(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(A)return A;A=this}}function ct(){throw TypeError("Abstract")}function _t(){}function pt(){}function vt(){}U.prototype.toString=function(){return"[Iterator]"},U.KEYS=0,U.VALUES=1,U.ENTRIES=2,U.prototype.inspect=U.prototype.toSource=function(){return this.toString()},U.prototype[j]=function(){return this},e(J,r),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(t,e){return et(this,t,e,!0)},J.prototype.__iterator=function(t,e){return rt(this,t,e,!0)},e(N,J),N.prototype.toKeyedSeq=function(){return this},e(H,J),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(t,e){return et(this,t,e,!1)},H.prototype.__iterator=function(t,e){return rt(this,t,e,!1)},e(P,J),P.of=function(){return P(arguments)},P.prototype.toSetSeq=function(){return this},J.isSeq=F,J.Keyed=N,J.Set=P,J.Indexed=H,J.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,e(V,H),V.prototype.get=function(t,e){return this.has(t)?this._array[I(this,t)]:e},V.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},V.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new U((function(){return i>n?{value:void 0,done:!0}:K(t,i,r[e?n-i++:i++])}))},e(Q,N),Q.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},Q.prototype.has=function(t){return this._object.hasOwnProperty(t)},Q.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var u=n[e?i-o:o];if(!1===t(r[u],u,this))return o+1}return o},Q.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new U((function(){var u=n[e?i-o:o];return o++>i?{value:void 0,done:!0}:K(t,u,r[u])}))},Q.prototype[v]=!0,e(Y,H),Y.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=T(this._iterable),n=0;if(B(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},Y.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=T(this._iterable);if(!B(r))return new U(R);var n=0;return new U((function(){var e=r.next();return e.done?e:K(t,n++,e.value)}))},e(X,H),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var u=r.value;if(i[o]=u,!1===t(u,o++,this))break}return o},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new U((function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return K(t,i,n[i++])}))},e(at,H),at.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},at.prototype.get=function(t,e){return this.has(t)?this._value:e},at.prototype.includes=function(t){return ut(this._value,t)},at.prototype.slice=function(t,e){var r=this.size;return D(t,e,r)?this:new at(this._value,E(e,r)-q(t,r))},at.prototype.reverse=function(){return this},at.prototype.indexOf=function(t){return ut(this._value,t)?0:-1},at.prototype.lastIndexOf=function(t){return ut(this._value,t)?this.size:-1},at.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},at.prototype.__iterator=function(t,e){var r=this,n=0;return new U((function(){return n<r.size?K(t,n++,r._value):{value:void 0,done:!0}}))},at.prototype.equals=function(t){return t instanceof at?ut(this._value,t._value):st(t)},e(ft,H),ft.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ft.prototype.get=function(t,e){return this.has(t)?this._start+I(this,t)*this._step:e},ft.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},ft.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=q(t,this.size),(e=E(e,this.size))<=t?new ft(0,0):new ft(this.get(t,this._end),this.get(e,this._end),this._step))},ft.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},ft.prototype.lastIndexOf=function(t){return this.indexOf(t)},ft.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},ft.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new U((function(){var u=i;return i+=e?-n:n,o>r?{value:void 0,done:!0}:K(t,o++,u)}))},ft.prototype.equals=function(t){return t instanceof ft?this._start===t._start&&this._end===t._end&&this._step===t._step:st(this,t)},e(ct,r),e(_t,ct),e(pt,ct),e(vt,ct),ct.Keyed=_t,ct.Indexed=pt,ct.Set=vt;var lt="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function yt(t){return t>>>1&1073741824|3221225471&t}function dt(t){if(!1===t||null===t||void 0===t)return 0;if("function"===typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return yt(r)}if("string"===e)return t.length>Dt?function(t){var e=Mt[t];return void 0===e&&(e=mt(t),Et===qt&&(Et=0,Mt={}),Et++,Mt[t]=e),e}(t):mt(t);if("function"===typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(zt&&void 0!==(e=gt.get(t)))return e;if(void 0!==(e=t[bt]))return e;if(!St){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[bt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++It,1073741824&It&&(It=0),zt)gt.set(t,e);else{if(void 0!==wt&&!1===wt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(St)Object.defineProperty(t,bt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[bt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[bt]=e}}return e}(t);if("function"===typeof t.toString)return mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function mt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return yt(e)}var gt,wt=Object.isExtensible,St=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),zt="function"===typeof WeakMap;zt&&(gt=new WeakMap);var It=0,bt="__immutablehash__";"function"===typeof Symbol&&(bt=Symbol(bt));var Dt=16,qt=255,Et=0,Mt={};function Ot(t){ht(t!==1/0,"Cannot perform this action with an infinite size.")}function xt(t){return null===t||void 0===t?Ht():At(t)&&!f(t)?t:Ht().withMutations((function(e){var r=n(t);Ot(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function At(t){return!(!t||!t[jt])}e(xt,_t),xt.of=function(){var e=t.call(arguments,0);return Ht().withMutations((function(t){for(var r=0;r<e.length;r+=2){if(r+1>=e.length)throw new Error("Missing value for key: "+e[r]);t.set(e[r],e[r+1])}}))},xt.prototype.toString=function(){return this.__toString("Map {","}")},xt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},xt.prototype.set=function(t,e){return Pt(this,t,e)},xt.prototype.setIn=function(t,e){return this.updateIn(t,l,(function(){return e}))},xt.prototype.remove=function(t){return Pt(this,t,l)},xt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return l}))},xt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},xt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=function t(e,r,n,i){var o=e===l,u=r.next();if(u.done){var s=o?n:e,a=i(s);return a===s?e:a}ht(o||e&&e.set,"invalid keyPath");var h=u.value,f=o?l:e.get(h,l),c=t(f,r,n,i);return c===f?e:c===l?e.remove(h):(o?Ht():e).set(h,c)}(this,Xe(t),e,r);return n===l?void 0:n},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ht()},xt.prototype.merge=function(){return Xt(this,void 0,arguments)},xt.prototype.mergeWith=function(e){var r=t.call(arguments,1);return Xt(this,e,r)},xt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Ht(),(function(t){return"function"===typeof t.merge?t.merge.apply(t,r):r[r.length-1]}))},xt.prototype.mergeDeep=function(){return Xt(this,Ft,arguments)},xt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return Xt(this,Gt(e),r)},xt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Ht(),(function(t){return"function"===typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]}))},xt.prototype.sort=function(t){return Se(Be(this,t))},xt.prototype.sortBy=function(t,e){return Se(Be(this,e,t))},xt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},xt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new w)},xt.prototype.asImmutable=function(){return this.__ensureOwner()},xt.prototype.wasAltered=function(){return this.__altered},xt.prototype.__iterator=function(t,e){return new Wt(this,t,e)},xt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},xt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Nt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},xt.isMap=At;var kt,jt="@@__IMMUTABLE_MAP__@@",Ut=xt.prototype;function Kt(t,e){this.ownerID=t,this.entries=e}function Rt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Lt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Bt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function Tt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function Wt(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&Jt(t._root)}function Ct(t,e){return K(t,e[0],e[1])}function Jt(t,e){return{node:t,index:0,__prev:e}}function Nt(t,e,r,n){var i=Object.create(Ut);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Ht(){return kt||(kt=Nt(0))}function Pt(t,e,r){var n,i;if(t._root){var o=m(y),u=m(d);if(n=Vt(t._root,t.__ownerID,0,void 0,e,r,o,u),!u.value)return t;i=t.size+(o.value?r===l?-1:1:0)}else{if(r===l)return t;i=1,n=new Kt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?Nt(i,n):Ht()}function Vt(t,e,r,n,i,o,u,s){return t?t.update(e,r,n,i,o,u,s):o===l?t:(g(s),g(u),new Tt(e,n,[i,o]))}function Qt(t){return t.constructor===Tt||t.constructor===Bt}function Yt(t,e,r,n,i){if(t.keyHash===n)return new Bt(e,n,[t.entry,i]);var o,u=31&(0===r?t.keyHash:t.keyHash>>>r),s=31&(0===r?n:n>>>r);return new Rt(e,1<<u|1<<s,u===s?[Yt(t,e,r+5,n,i)]:(o=new Tt(e,n,i),u<s?[t,o]:[o,t]))}function Xt(t,e,r){for(var i=[],o=0;o<r.length;o++){var s=r[o],a=n(s);u(s)||(a=a.map((function(t){return nt(t)}))),i.push(a)}return Zt(t,e,i)}function Ft(t,e,r){return t&&t.mergeDeep&&u(e)?t.mergeDeep(e):ut(t,e)?t:e}function Gt(t){return function(e,r,n){if(e&&e.mergeDeepWith&&u(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return ut(e,i)?e:i}}function Zt(t,e,r){return 0===(r=r.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var n=e?function(r,n){t.update(n,l,(function(t){return t===l?r:e(t,r,n)}))}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)})):t.constructor(r[0])}function $t(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function te(t,e,r,n){var i=n?t:S(t);return i[e]=r,i}Ut[jt]=!0,Ut.delete=Ut.remove,Ut.removeIn=Ut.deleteIn,Kt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(ut(r,i[o][0]))return i[o][1];return n},Kt.prototype.update=function(t,e,r,n,i,o,u){for(var s=i===l,a=this.entries,h=0,f=a.length;h<f&&!ut(n,a[h][0]);h++);var c=h<f;if(c?a[h][1]===i:s)return this;if(g(u),(s||!c)&&g(o),!s||1!==a.length){if(!c&&!s&&a.length>=ee)return function(t,e,r,n){t||(t=new w);for(var i=new Tt(t,dt(r),[r,n]),o=0;o<e.length;o++){var u=e[o];i=i.update(t,0,void 0,u[0],u[1])}return i}(t,a,n,i);var _=t&&t===this.ownerID,p=_?a:S(a);return c?s?h===f-1?p.pop():p[h]=p.pop():p[h]=[n,i]:p.push([n,i]),_?(this.entries=p,this):new Kt(t,p)}},Rt.prototype.get=function(t,e,r,n){void 0===e&&(e=dt(r));var i=1<<(31&(0===t?e:e>>>t)),o=this.bitmap;return 0===(o&i)?n:this.nodes[$t(o&i-1)].get(t+5,e,r,n)},Rt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=dt(n));var s=31&(0===e?r:r>>>e),a=1<<s,h=this.bitmap,f=0!==(h&a);if(!f&&i===l)return this;var c=$t(h&a-1),_=this.nodes,p=f?_[c]:void 0,v=Vt(p,t,e+5,r,n,i,o,u);if(v===p)return this;if(!f&&v&&_.length>=re)return function(t,e,r,n,i){for(var o=0,u=new Array(32),s=0;0!==r;s++,r>>>=1)u[s]=1&r?e[o++]:void 0;return u[n]=i,new Lt(t,o+1,u)}(t,_,h,s,v);if(f&&!v&&2===_.length&&Qt(_[1^c]))return _[1^c];if(f&&v&&1===_.length&&Qt(v))return v;var y=t&&t===this.ownerID,d=f?v?h:h^a:h|a,m=f?v?te(_,c,v,y):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,u=0;u<n;u++)u===e&&(o=1),i[u]=t[u+o];return i}(_,c,y):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),u=0,s=0;s<i;s++)s===e?(o[s]=r,u=-1):o[s]=t[s+u];return o}(_,c,v,y);return y?(this.bitmap=d,this.nodes=m,this):new Rt(t,d,m)},Lt.prototype.get=function(t,e,r,n){void 0===e&&(e=dt(r));var i=31&(0===t?e:e>>>t),o=this.nodes[i];return o?o.get(t+5,e,r,n):n},Lt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=dt(n));var s=31&(0===e?r:r>>>e),a=i===l,h=this.nodes,f=h[s];if(a&&!f)return this;var c=Vt(f,t,e+5,r,n,i,o,u);if(c===f)return this;var _=this.count;if(f){if(!c&&--_<ne)return function(t,e,r,n){for(var i=0,o=0,u=new Array(r),s=0,a=1,h=e.length;s<h;s++,a<<=1){var f=e[s];void 0!==f&&s!==n&&(i|=a,u[o++]=f)}return new Rt(t,i,u)}(t,h,_,s)}else _++;var p=t&&t===this.ownerID,v=te(h,s,c,p);return p?(this.count=_,this.nodes=v,this):new Lt(t,_,v)},Bt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(ut(r,i[o][0]))return i[o][1];return n},Bt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=dt(n));var s=i===l;if(r!==this.keyHash)return s?this:(g(u),g(o),Yt(this,t,e,r,[n,i]));for(var a=this.entries,h=0,f=a.length;h<f&&!ut(n,a[h][0]);h++);var c=h<f;if(c?a[h][1]===i:s)return this;if(g(u),(s||!c)&&g(o),s&&2===f)return new Tt(t,this.keyHash,a[1^h]);var _=t&&t===this.ownerID,p=_?a:S(a);return c?s?h===f-1?p.pop():p[h]=p.pop():p[h]=[n,i]:p.push([n,i]),_?(this.entries=p,this):new Bt(t,this.keyHash,p)},Tt.prototype.get=function(t,e,r,n){return ut(r,this.entry[0])?this.entry[1]:n},Tt.prototype.update=function(t,e,r,n,i,o,u){var s=i===l,a=ut(n,this.entry[0]);return(a?i===this.entry[1]:s)?this:(g(u),s?void g(o):a?t&&t===this.ownerID?(this.entry[1]=i,this):new Tt(t,this.keyHash,[n,i]):(g(o),Yt(this,t,e,dt(n),[n,i])))},Kt.prototype.iterate=Bt.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},Rt.prototype.iterate=Lt.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},Tt.prototype.iterate=function(t,e){return t(this.entry)},e(Wt,U),Wt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return Ct(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Ct(t,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 Ct(t,o.entry);e=this._stack=Jt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ee=8,re=16,ne=8;function ie(t){var e=ve();if(null===t||void 0===t)return e;if(oe(t))return t;var r=i(t),n=r.size;return 0===n?e:(Ot(n),n>0&&n<32?pe(0,n,5,null,new ae(r.toArray())):e.withMutations((function(t){t.setSize(n),r.forEach((function(e,r){return t.set(r,e)}))})))}function oe(t){return!(!t||!t[ue])}e(ie,pt),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("List [","]")},ie.prototype.get=function(t,e){if((t=I(this,t))>=0&&t<this.size){var r=de(this,t+=this._origin);return r&&r.array[31&t]}return e},ie.prototype.set=function(t,e){return function(t,e,r){if((e=I(t,e))!==e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?me(t,e).set(0,r):me(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=m(d);return e>=we(t._capacity)?n=le(n,t.__ownerID,0,e,r,o):i=le(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):pe(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},ie.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ie.prototype.insert=function(t,e){return this.splice(t,0,e)},ie.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):ve()},ie.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){me(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},ie.prototype.pop=function(){return me(this,0,-1)},ie.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){me(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},ie.prototype.shift=function(){return me(this,1)},ie.prototype.merge=function(){return ge(this,void 0,arguments)},ie.prototype.mergeWith=function(e){var r=t.call(arguments,1);return ge(this,e,r)},ie.prototype.mergeDeep=function(){return ge(this,Ft,arguments)},ie.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return ge(this,Gt(e),r)},ie.prototype.setSize=function(t){return me(this,0,t)},ie.prototype.slice=function(t,e){var r=this.size;return D(t,e,r)?this:me(this,q(t,r),E(e,r))},ie.prototype.__iterator=function(t,e){var r=0,n=_e(this,e);return new U((function(){var e=n();return e===ce?{value:void 0,done:!0}:K(t,r++,e)}))},ie.prototype.__iterate=function(t,e){for(var r,n=0,i=_e(this,e);(r=i())!==ce&&!1!==t(r,n++,this););return n},ie.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?pe(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ie.isList=oe;var ue="@@__IMMUTABLE_LIST__@@",se=ie.prototype;function ae(t,e){this.array=t,this.ownerID=e}se[ue]=!0,se.delete=se.remove,se.setIn=Ut.setIn,se.deleteIn=se.removeIn=Ut.removeIn,se.update=Ut.update,se.updateIn=Ut.updateIn,se.mergeIn=Ut.mergeIn,se.mergeDeepIn=Ut.mergeDeepIn,se.withMutations=Ut.withMutations,se.asMutable=Ut.asMutable,se.asImmutable=Ut.asImmutable,se.wasAltered=Ut.wasAltered,ae.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&31;if(n>=this.array.length)return new ae([],t);var i,o=0===n;if(e>0){var u=this.array[n];if((i=u&&u.removeBefore(t,e-5,r))===u&&o)return this}if(o&&!i)return this;var s=ye(this,t);if(!o)for(var a=0;a<n;a++)s.array[a]=void 0;return i&&(s.array[n]=i),s},ae.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-5,r))===o&&i===this.array.length-1)return this}var u=ye(this,t);return u.array.splice(i+1),n&&(u.array[i]=n),u};var he,fe,ce={};function _e(t,e){var r=t._origin,n=t._capacity,i=we(n),o=t._tail;return u(t._root,t._level,0);function u(t,s,a){return 0===s?function(t,u){var s=u===i?o&&o.array:t&&t.array,a=u>r?0:r-u,h=n-u;return h>32&&(h=32),function(){if(a===h)return ce;var t=e?--h:a++;return s&&s[t]}}(t,a):function(t,i,o){var s,a=t&&t.array,h=o>r?0:r-o>>i,f=1+(n-o>>i);return f>32&&(f=32),function(){for(;;){if(s){var t=s();if(t!==ce)return t;s=null}if(h===f)return ce;var r=e?--f:h++;s=u(a&&a[r],i-5,o+(r<<i))}}}(t,s,a)}}function pe(t,e,r,n,i,o,u){var s=Object.create(se);return s.size=e-t,s._origin=t,s._capacity=e,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=u,s.__altered=!1,s}function ve(){return he||(he=pe(0,0,5))}function le(t,e,r,n,i,o){var u,s=n>>>r&31,a=t&&s<t.array.length;if(!a&&void 0===i)return t;if(r>0){var h=t&&t.array[s],f=le(h,e,r-5,n,i,o);return f===h?t:((u=ye(t,e)).array[s]=f,u)}return a&&t.array[s]===i?t:(g(o),u=ye(t,e),void 0===i&&s===u.array.length-1?u.array.pop():u.array[s]=i,u)}function ye(t,e){return e&&t&&e===t.ownerID?t:new ae(t?t.array.slice():[],e)}function de(t,e){if(e>=we(t._capacity))return t._tail;if(e<1<<t._level+5){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&31],n-=5;return r}}function me(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new w,i=t._origin,o=t._capacity,u=i+e,s=void 0===r?o:r<0?o+r:i+r;if(u===i&&s===o)return t;if(u>=s)return t.clear();for(var a=t._level,h=t._root,f=0;u+f<0;)h=new ae(h&&h.array.length?[void 0,h]:[],n),f+=1<<(a+=5);f&&(u+=f,i+=f,s+=f,o+=f);for(var c=we(o),_=we(s);_>=1<<a+5;)h=new ae(h&&h.array.length?[h]:[],n),a+=5;var p=t._tail,v=_<c?de(t,s-1):_>c?new ae([],n):p;if(p&&_>c&&u<o&&p.array.length){for(var l=h=ye(h,n),y=a;y>5;y-=5){var d=c>>>y&31;l=l.array[d]=ye(l.array[d],n)}l.array[c>>>5&31]=p}if(s<o&&(v=v&&v.removeAfter(n,0,s)),u>=_)u-=_,s-=_,a=5,h=null,v=v&&v.removeBefore(n,0,u);else if(u>i||_<c){for(f=0;h;){var m=u>>>a&31;if(m!==_>>>a&31)break;m&&(f+=(1<<a)*m),a-=5,h=h.array[m]}h&&u>i&&(h=h.removeBefore(n,a,u-f)),h&&_<c&&(h=h.removeAfter(n,a,_-f)),f&&(u-=f,s-=f)}return t.__ownerID?(t.size=s-u,t._origin=u,t._capacity=s,t._level=a,t._root=h,t._tail=v,t.__hash=void 0,t.__altered=!0,t):pe(u,s,a,h,v)}function ge(t,e,r){for(var n=[],o=0,s=0;s<r.length;s++){var a=r[s],h=i(a);h.size>o&&(o=h.size),u(a)||(h=h.map((function(t){return nt(t)}))),n.push(h)}return o>t.size&&(t=t.setSize(o)),Zt(t,e,n)}function we(t){return t<32?0:t-1>>>5<<5}function Se(t){return null===t||void 0===t?be():ze(t)?t:be().withMutations((function(e){var r=n(t);Ot(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function ze(t){return At(t)&&f(t)}function Ie(t,e,r,n){var i=Object.create(Se.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function be(){return fe||(fe=Ie(Ht(),ve()))}function De(t,e,r){var n,i,o=t._map,u=t._list,s=o.get(e),a=void 0!==s;if(r===l){if(!a)return t;u.size>=32&&u.size>=2*o.size?(n=(i=u.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===u.size-1?u.pop():u.set(s,void 0))}else if(a){if(r===u.get(s)[1])return t;n=o,i=u.set(s,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):Ie(n,i)}function qe(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ee(t){this._iter=t,this.size=t.size}function Me(t){this._iter=t,this.size=t.size}function Oe(t){this._iter=t,this.size=t.size}function xe(t){var e=Ve(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Qe,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(2===e){var n=t.__iterator(e,r);return new U((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,r)},e}function Ae(t,e,r){var n=Ve(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,l);return o===l?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,u){return!1!==n(e.call(r,t,i,u),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(2,i);return new U((function(){var i=o.next();if(i.done)return i;var u=i.value,s=u[0];return K(n,s,e.call(r,u[1],s,t),i)}))},n}function ke(t,e){var r=Ve(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=xe(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=Qe,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function je(t,e,r,n){var i=Ve(t);return n&&(i.has=function(n){var i=t.get(n,l);return i!==l&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,l);return o!==l&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,s=0;return t.__iterate((function(t,o,a){if(e.call(r,t,o,a))return s++,i(t,n?o:s-1,u)}),o),s},i.__iteratorUncached=function(i,o){var u=t.__iterator(2,o),s=0;return new U((function(){for(;;){var o=u.next();if(o.done)return o;var a=o.value,h=a[0],f=a[1];if(e.call(r,f,h,t))return K(i,n?h:s++,f,o)}}))},i}function Ue(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=i:r|=0),D(e,r,i))return t;var o=q(e,i),u=E(r,i);if(o!==o||u!==u)return Ue(t.toSeq().cacheResult(),e,r,n);var s,a=u-o;a===a&&(s=a<0?0:a);var h=Ve(t);return h.size=0===s?s:t.size&&s||void 0,!n&&F(t)&&s>=0&&(h.get=function(e,r){return(e=I(this,e))>=0&&e<s?t.get(e+o,r):r}),h.__iterateUncached=function(e,r){var i=this;if(0===s)return 0;if(r)return this.cacheResult().__iterate(e,r);var u=0,a=!0,h=0;return t.__iterate((function(t,r){if(!a||!(a=u++<o))return h++,!1!==e(t,n?r:h-1,i)&&h!==s})),h},h.__iteratorUncached=function(e,r){if(0!==s&&r)return this.cacheResult().__iterator(e,r);var i=0!==s&&t.__iterator(e,r),u=0,a=0;return new U((function(){for(;u++<o;)i.next();if(++a>s)return{value:void 0,done:!0};var t=i.next();return n||1===e?t:K(e,a-1,0===e?void 0:t.value[1],t)}))},h}function Ke(t,e,r,n){var i=Ve(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,a=0;return t.__iterate((function(t,o,h){if(!s||!(s=e.call(r,t,o,h)))return a++,i(t,n?o:a-1,u)})),a},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(2,o),a=!0,h=0;return new U((function(){var t,o,f;do{if((t=s.next()).done)return n||1===i?t:K(i,h++,0===i?void 0:t.value[1],t);var c=t.value;o=c[0],f=c[1],a&&(a=e.call(r,f,o,u))}while(a);return 2===i?t:K(i,o,f,t)}))},i}function Re(t,e){var r=s(t),i=[t].concat(e).map((function(t){return u(t)?r&&(t=n(t)):t=r?Z(t):$(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&s(o)||a(t)&&a(o))return o}var h=new V(i);return r?h=h.toKeyedSeq():a(t)||(h=h.toSetSeq()),(h=h.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),h}function Le(t,e,r){var n=Ve(t);return n.__iterateUncached=function(n,i){var o=0,s=!1;return function t(a,h){var f=this;a.__iterate((function(i,a){return(!e||h<e)&&u(i)?t(i,h+1):!1===n(i,r?a:o++,f)&&(s=!0),!s}),i)}(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),s=[],a=0;return new U((function(){for(;o;){var t=o.next();if(!1===t.done){var h=t.value;if(2===n&&(h=h[1]),e&&!(s.length<e)||!u(h))return r?t:K(n,a++,h,t);s.push(o),o=h.__iterator(n,i)}else o=s.pop()}return{value:void 0,done:!0}}))},n}function Be(t,e,r){e||(e=Ye);var n=s(t),i=0,o=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).toArray();return o.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?N(o):a(t)?H(o):P(o)}function Te(t,e,r){if(e||(e=Ye),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return We(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return We(e,t,r)?r:t}))}function We(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(void 0===r||null===r||r!==r)||n>0}function Ce(t,e,n){var i=Ve(t);return i.size=new V(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(1,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),T(i?t.reverse():t)})),u=0,s=!1;return new U((function(){var r;return s||(r=o.map((function(t){return t.next()})),s=r.some((function(t){return t.done}))),s?{value:void 0,done:!0}:K(t,u++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Je(t,e){return F(t)?e:t.constructor(e)}function Ne(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function He(t){return Ot(t.size),z(t)}function Pe(t){return s(t)?n:a(t)?i:o}function Ve(t){return Object.create((s(t)?N:a(t)?H:P).prototype)}function Qe(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function Ye(t,e){return t>e?1:t<e?-1:0}function Xe(t){var e=T(t);if(!e){if(!C(t))throw new TypeError("Expected iterable or array-like: "+t);e=T(r(t))}return e}function Fe(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var u=Object.keys(t);!function(t,e){try{e.forEach(tr.bind(void 0,t))}catch(r){}}(i,u),i.size=u.length,i._name=e,i._keys=u,i._defaultValues=t}this._map=xt(o)},i=n.prototype=Object.create(Ge);return i.constructor=n,n}e(Se,xt),Se.of=function(){return this(arguments)},Se.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Se.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Se.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):be()},Se.prototype.set=function(t,e){return De(this,t,e)},Se.prototype.remove=function(t){return De(this,t,l)},Se.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Se.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},Se.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Se.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?Ie(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Se.isOrderedMap=ze,Se.prototype[v]=!0,Se.prototype.delete=Se.prototype.remove,e(qe,N),qe.prototype.get=function(t,e){return this._iter.get(t,e)},qe.prototype.has=function(t){return this._iter.has(t)},qe.prototype.valueSeq=function(){return this._iter.valueSeq()},qe.prototype.reverse=function(){var t=this,e=ke(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},qe.prototype.map=function(t,e){var r=this,n=Ae(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},qe.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?He(this):0,function(i){return t(i,e?--r:r++,n)}),e)},qe.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(1,e),n=e?He(this):0;return new U((function(){var i=r.next();return i.done?i:K(t,e?--n:n++,i.value,i)}))},qe.prototype[v]=!0,e(Ee,H),Ee.prototype.includes=function(t){return this._iter.includes(t)},Ee.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate((function(e){return t(e,n++,r)}),e)},Ee.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e),n=0;return new U((function(){var e=r.next();return e.done?e:K(t,n++,e.value,e)}))},e(Me,P),Me.prototype.has=function(t){return this._iter.includes(t)},Me.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},Me.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new U((function(){var e=r.next();return e.done?e:K(t,e.value,e.value,e)}))},e(Oe,N),Oe.prototype.entrySeq=function(){return this._iter.toSeq()},Oe.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){Ne(e);var n=u(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},Oe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new U((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){Ne(n);var i=u(n);return K(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},Ee.prototype.cacheResult=qe.prototype.cacheResult=Me.prototype.cacheResult=Oe.prototype.cacheResult=Qe,e(Fe,_t),Fe.prototype.toString=function(){return this.__toString($e(this)+" {","}")},Fe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Fe.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},Fe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ze(this,Ht()))},Fe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+$e(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:Ze(this,r)},Fe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ze(this,e)},Fe.prototype.wasAltered=function(){return this._map.wasAltered()},Fe.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterator(t,e)},Fe.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterate(t,e)},Fe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ze(this,e,t):(this.__ownerID=t,this._map=e,this)};var Ge=Fe.prototype;function Ze(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function $e(t){return t._name||t.constructor.name||"Record"}function tr(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ht(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function er(t){return null===t||void 0===t?ar():rr(t)&&!f(t)?t:ar().withMutations((function(e){var r=o(t);Ot(r.size),r.forEach((function(t){return e.add(t)}))}))}function rr(t){return!(!t||!t[ir])}Ge.delete=Ge.remove,Ge.deleteIn=Ge.removeIn=Ut.removeIn,Ge.merge=Ut.merge,Ge.mergeWith=Ut.mergeWith,Ge.mergeIn=Ut.mergeIn,Ge.mergeDeep=Ut.mergeDeep,Ge.mergeDeepWith=Ut.mergeDeepWith,Ge.mergeDeepIn=Ut.mergeDeepIn,Ge.setIn=Ut.setIn,Ge.update=Ut.update,Ge.updateIn=Ut.updateIn,Ge.withMutations=Ut.withMutations,Ge.asMutable=Ut.asMutable,Ge.asImmutable=Ut.asImmutable,e(er,vt),er.of=function(){return this(arguments)},er.fromKeys=function(t){return this(n(t).keySeq())},er.prototype.toString=function(){return this.__toString("Set {","}")},er.prototype.has=function(t){return this._map.has(t)},er.prototype.add=function(t){return ur(this,this._map.set(t,!0))},er.prototype.remove=function(t){return ur(this,this._map.remove(t))},er.prototype.clear=function(){return ur(this,this._map.clear())},er.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var r=0;r<e.length;r++)o(e[r]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},er.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.every((function(t){return t.includes(r)}))||t.remove(r)}))}))},er.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.some((function(t){return t.includes(r)}))&&t.remove(r)}))}))},er.prototype.merge=function(){return this.union.apply(this,arguments)},er.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},er.prototype.sort=function(t){return hr(Be(this,t))},er.prototype.sortBy=function(t,e){return hr(Be(this,e,t))},er.prototype.wasAltered=function(){return this._map.wasAltered()},er.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e,n){return t(n,n,r)}),e)},er.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},er.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},er.isSet=rr;var nr,ir="@@__IMMUTABLE_SET__@@",or=er.prototype;function ur(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function sr(t,e){var r=Object.create(or);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function ar(){return nr||(nr=sr(Ht()))}function hr(t){return null===t||void 0===t?vr():fr(t)?t:vr().withMutations((function(e){var r=o(t);Ot(r.size),r.forEach((function(t){return e.add(t)}))}))}function fr(t){return rr(t)&&f(t)}or[ir]=!0,or.delete=or.remove,or.mergeDeep=or.merge,or.mergeDeepWith=or.mergeWith,or.withMutations=Ut.withMutations,or.asMutable=Ut.asMutable,or.asImmutable=Ut.asImmutable,or.__empty=ar,or.__make=sr,e(hr,er),hr.of=function(){return this(arguments)},hr.fromKeys=function(t){return this(n(t).keySeq())},hr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},hr.isOrderedSet=fr;var cr,_r=hr.prototype;function pr(t,e){var r=Object.create(_r);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function vr(){return cr||(cr=pr(be()))}function lr(t){return null===t||void 0===t?Sr():yr(t)?t:Sr().unshiftAll(t)}function yr(t){return!(!t||!t[mr])}_r[v]=!0,_r.__empty=vr,_r.__make=pr,e(lr,pt),lr.of=function(){return this(arguments)},lr.prototype.toString=function(){return this.__toString("Stack [","]")},lr.prototype.get=function(t,e){var r=this._head;for(t=I(this,t);r&&t--;)r=r.next;return r?r.value:e},lr.prototype.peek=function(){return this._head&&this._head.value},lr.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):wr(t,e)},lr.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Ot(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):wr(e,r)},lr.prototype.pop=function(){return this.slice(1)},lr.prototype.unshift=function(){return this.push.apply(this,arguments)},lr.prototype.unshiftAll=function(t){return this.pushAll(t)},lr.prototype.shift=function(){return this.pop.apply(this,arguments)},lr.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):Sr()},lr.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var r=q(t,this.size);if(E(e,this.size)!==this.size)return pt.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):wr(n,i)},lr.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wr(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},lr.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},lr.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new U((function(){if(n){var e=n.value;return n=n.next,K(t,r++,e)}return{value:void 0,done:!0}}))},lr.isStack=yr;var dr,mr="@@__IMMUTABLE_STACK__@@",gr=lr.prototype;function wr(t,e,r,n){var i=Object.create(gr);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Sr(){return dr||(dr=wr(0))}function zr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}gr[mr]=!0,gr.withMutations=Ut.withMutations,gr.asMutable=Ut.asMutable,gr.asImmutable=Ut.asImmutable,gr.wasAltered=Ut.wasAltered,r.Iterator=U,zr(r,{toArray:function(){Ot(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Ee(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"===typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"===typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new qe(this,!0)},toMap:function(){return xt(this.toKeyedSeq())},toObject:function(){Ot(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return Se(this.toKeyedSeq())},toOrderedSet:function(){return hr(s(this)?this.valueSeq():this)},toSet:function(){return er(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Me(this)},toSeq:function(){return a(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return lr(s(this)?this.valueSeq():this)},toList:function(){return ie(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Je(this,Re(this,e))},includes:function(t){return this.some((function(e){return ut(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Ot(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return Je(this,je(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return Ot(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Ot(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!==n&&void 0!==n?n.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Je(this,Ae(this,t,e))},reduce:function(t,e,r){var n,i;return Ot(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,u){i?(i=!1,n=e):n=t.call(r,n,e,o,u)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return Je(this,ke(this,!0))},slice:function(t,e){return Je(this,Ue(this,t,e,!0))},some:function(t,e){return!this.every(Er(t),e)},sort:function(t){return Je(this,Be(this,t))},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(t,e){return z(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=xt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return st(this,t)},entrySeq:function(){var t=this;if(t._cache)return new V(t._cache);var e=t.toSeq().map(qr).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Er(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate((function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1})),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(b)},flatMap:function(t,e){return Je(this,function(t,e,r){var n=Pe(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Je(this,Le(this,t,!0))},fromEntrySeq:function(){return new Oe(this)},get:function(t,e){return this.find((function(e,r){return ut(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=Xe(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,l):l)===l)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=s(t),i=(f(t)?Se():xt()).asMutable();t.__iterate((function(o,u){i.update(e.call(r,o,u,t),(function(t){return(t=t||[]).push(n?[u,o]:o),t}))}));var o=Pe(t);return i.map((function(e){return Je(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,l)!==l},hasIn:function(t){return this.getIn(t,l)!==l},isSubset:function(t){return t="function"===typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"===typeof t.isSubset?t:r(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return ut(e,t)}))},keySeq:function(){return this.toSeq().map(Dr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Te(this,t)},maxBy:function(t,e){return Te(this,e,t)},min:function(t){return Te(this,t?Mr(t):Ar)},minBy:function(t,e){return Te(this,e?Mr(e):Ar,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Je(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Je(this,Ke(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Er(t),e)},sortBy:function(t,e){return Je(this,Be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Je(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Je(this,function(t,e,r){var n=Ve(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate((function(t,i,s){return e.call(r,t,i,s)&&++u&&n(t,i,o)})),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(2,i),s=!0;return new U((function(){if(!s)return{value:void 0,done:!0};var t=u.next();if(t.done)return t;var i=t.value,a=i[0],h=i[1];return e.call(r,h,a,o)?2===n?t:K(n,a,h,t):(s=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Er(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),r=s(t),n=e?1:0;return function(t,e){return e=lt(e,3432918353),e=lt(e<<15|e>>>-15,461845907),e=lt(e<<13|e>>>-13,5),e=lt((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=yt((e=lt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+kr(dt(t),dt(e))|0}:function(t,e){n=n+kr(dt(t),dt(e))|0}:e?function(t){n=31*n+dt(t)|0}:function(t){n=n+dt(t)|0}),n)}(this))}});var Ir=r.prototype;Ir[c]=!0,Ir[j]=Ir.values,Ir.__toJS=Ir.toArray,Ir.__toStringMapper=Or,Ir.inspect=Ir.toSource=function(){return this.toString()},Ir.chain=Ir.flatMap,Ir.contains=Ir.includes,zr(n,{flip:function(){return Je(this,xe(this))},mapEntries:function(t,e){var r=this,n=0;return Je(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Je(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var br=n.prototype;function Dr(t,e){return e}function qr(t,e){return[e,t]}function Er(t){return function(){return!t.apply(this,arguments)}}function Mr(t){return function(){return-t.apply(this,arguments)}}function Or(t){return"string"===typeof t?JSON.stringify(t):String(t)}function xr(){return S(arguments)}function Ar(t,e){return t<e?1:t>e?-1:0}function kr(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return br[_]=!0,br[j]=Ir.entries,br.__toJS=Ir.toObject,br.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Or(t)},zr(i,{toKeyedSeq:function(){return new qe(this,!1)},filter:function(t,e){return Je(this,je(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Je(this,ke(this,!1))},slice:function(t,e){return Je(this,Ue(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=q(t,t<0?this.count():this.size);var n=this.slice(0,t);return Je(this,1===r?n:n.concat(S(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Je(this,Le(this,t,!1))},get:function(t,e){return(t=I(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=I(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Je(this,function(t,e){var r=Ve(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate((function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(1,n),u=0;return new U((function(){return(!i||u%2)&&(i=o.next()).done?i:u%2?K(r,u++,e):K(r,u++,i.value,i)}))},r}(this,t))},interleave:function(){var t=[this].concat(S(arguments)),e=Ce(this.toSeq(),H.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),Je(this,r)},keySeq:function(){return ft(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Je(this,Ke(this,t,e,!1))},zip:function(){var t=[this].concat(S(arguments));return Je(this,Ce(this,xr,t))},zipWith:function(t){var e=S(arguments);return e[0]=this,Je(this,Ce(this,t,e))}}),i.prototype[p]=!0,i.prototype[v]=!0,zr(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Ir.includes,o.prototype.contains=o.prototype.includes,zr(N,n.prototype),zr(H,i.prototype),zr(P,o.prototype),zr(_t,n.prototype),zr(pt,i.prototype),zr(vt,o.prototype),{Iterable:r,Seq:J,Collection:ct,Map:xt,OrderedMap:Se,List:ie,Stack:lr,Set:er,OrderedSet:hr,Record:Fe,Range:ft,Repeat:at,is:ut,fromJS:nt}}()}}]);
|
|
2
|
+
//# sourceMappingURL=0.3e794c57.chunk.js.map
|