strapi-plugin-content-manager
Version:
A powerful UI to easily manage your data.
6 lines • 2.06 MB
JavaScript
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./node_modules/strapi-helper-plugin/lib/src/app.js")}({"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/classnames/index.js":function(e,t,n){var r,o;/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var s=n.apply(null,r);s&&e.push(s)}else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/ExecutionEnvironment.js":function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/containsNode.js":function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n("../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/isTextNode.js");e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/emptyFunction.js":function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/emptyObject.js":function(e,t,n){"use strict";var r={};e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/getActiveElement.js":function(e,t,n){"use strict";function r(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}}e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/invariant.js":function(e,t,n){"use strict";function r(e,t,n,r,i,s,a,l){if(o(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=[n,r,i,s,a,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/isNode.js":function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/isTextNode.js":function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n("../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/isNode.js");e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/fbjs/lib/shallowEqual.js":function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var s=0;s<n.length;s++)if(!i.call(t,n[s])||!r(e[n[s]],t[n[s]]))return!1;return!0}var i=Object.prototype.hasOwnProperty;e.exports=o},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":function(e,t,n){"use strict";function r(e,t,n){if("string"!=typeof t){if(d){var p=c(t);p&&p!==d&&r(e,p,n)}var f=a(t);l&&(f=f.concat(l(t)));for(var m=0;m<f.length;++m){var g=f[m];if(!(o[g]||i[g]||n&&n[g])){var h=u(t,g);try{s(e,g,h)}catch(e){}}}return e}return e}var o={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=c&&c(Object);e.exports=r},"../strapi-admin/node_modules/strapi-helper-plugin/node_modules/immutable/dist/immutable.js":function(e,t,n){!function(t,n){e.exports=function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:E(e)}function n(e){return s(e)?e:O(e)}function r(e){return a(e)?e:T(e)}function o(e){return i(e)&&!l(e)?e:P(e)}function i(e){return!(!e||!e[un])}function s(e){return!(!e||!e[cn])}function a(e){return!(!e||!e[dn])}function l(e){return s(e)||a(e)}function u(e){return!(!e||!e[pn])}function c(e){return e.value=!1,e}function d(e){e&&(e.value=!0)}function p(){}function f(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function m(e){return void 0===e.size&&(e.size=e.__iterate(h)),e.size}function g(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?m(e)+t:t}function h(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function _(e,t){return b(e,t,0)}function v(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function C(e){this.next=e}function A(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function I(){return{value:void 0,done:!0}}function w(e){return!!S(e)}function x(e){return e&&"function"==typeof e.next}function j(e){var t=S(e);return t&&t.call(e)}function S(e){var t=e&&(An&&e[An]||e[In]);if("function"==typeof t)return t}function k(e){return e&&"number"==typeof e.length}function E(e){return null===e||void 0===e?R():i(e)?e.toSeq():U(e)}function O(e){return null===e||void 0===e?R().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():B(e)}function T(e){return null===e||void 0===e?R():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():W(e)}function P(e){return(null===e||void 0===e?R():i(e)?s(e)?e.entrySeq():e:W(e)).toSetSeq()}function M(e){this._array=e,this.size=e.length}function D(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function N(e){this._iterable=e,this.size=e.length||e.size}function F(e){this._iterator=e,this._iteratorCache=[]}function L(e){return!(!e||!e[xn])}function R(){return jn||(jn=new M([]))}function B(e){var t=Array.isArray(e)?new M(e).fromEntrySeq():x(e)?new F(e).fromEntrySeq():w(e)?new N(e).fromEntrySeq():"object"==typeof e?new D(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function W(e){var t=H(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function U(e){var t=H(e)||"object"==typeof e&&new D(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function H(e){return k(e)?new M(e):x(e)?new F(e):w(e)?new N(e):void 0}function z(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,s=0;s<=i;s++){var a=o[n?i-s:s];if(!1===t(a[1],r?a[0]:s,e))return s+1}return s}return e.__iterateUncached(t,n)}function K(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,s=0;return new C(function(){var e=o[n?i-s:s];return s++>i?I():A(t,r?e[0]:s-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?q(t,e,"",{"":e}):G(e)}function q(e,t,n,r){return Array.isArray(t)?e.call(r,n,T(t).map(function(n,r){return q(e,n,r,t)})):Y(t)?e.call(r,n,O(t).map(function(n,r){return q(e,n,r,t)})):t}function G(e){return Array.isArray(e)?T(e).map(G).toList():Y(e)?O(e).map(G).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function $(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===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function Z(e,t){if(e===t)return!0;if(!i(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)||a(e)!==a(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&$(o[1],e)&&(n||$(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var c=e;e=t,t=c}var d=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!$(t,e.get(r,hn)):!$(e.get(r,hn),t))return d=!1,!1});return d&&e.size===p}function J(e,t){if(!(this instanceof J))return new J(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Sn)return Sn;Sn=this}}function X(e,t){if(!e)throw new Error(t)}function Q(e,t,n){if(!(this instanceof Q))return new Q(e,t,n);if(X(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(kn)return kn;kn=this}}function ee(){throw TypeError("Abstract")}function te(){}function ne(){}function re(){}function oe(e){return e>>>1&1073741824|3221225471&e}function ie(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Fn?se(e):ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function se(e){var t=Bn[e];return void 0===t&&(t=ae(e),Rn===Ln&&(Rn=0,Bn={}),Rn++,Bn[e]=t),t}function ae(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return oe(t)}function le(e){var t;if(Mn&&void 0!==(t=En.get(e)))return t;if(void 0!==(t=e[Nn]))return t;if(!Pn){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Nn]))return t;if(void 0!==(t=ue(e)))return t}if(t=++Dn,1073741824&Dn&&(Dn=0),Mn)En.set(e,t);else{if(void 0!==Tn&&!1===Tn(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Pn)Object.defineProperty(e,Nn,{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[Nn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Nn]=t}}return t}function ue(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){X(e!==1/0,"Cannot perform this action with an infinite size.")}function de(e){return null===e||void 0===e?Ae():pe(e)&&!u(e)?e:Ae().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[Wn])}function fe(e,t){this.ownerID=e,this.entries=t}function me(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function he(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function _e(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function ve(e,t){return A(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function Ce(e,t,n,r){var o=Object.create(Un);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ae(){return Hn||(Hn=Ce(0))}function Ie(e,t,n){var r,o;if(e._root){var i=c(yn),s=c(_n);if(r=we(e._root,e.__ownerID,0,void 0,t,n,i,s),!s.value)return e;o=e.size+(i.value?n===hn?-1:1:0)}else{if(n===hn)return e;o=1,r=new fe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Ce(o,r):Ae()}function we(e,t,n,r,o,i,s,a){return e?e.update(t,n,r,o,i,s,a):i===hn?e:(d(a),d(s),new ye(t,r,[o,i]))}function xe(e){return e.constructor===ye||e.constructor===he}function je(e,t,n,r,o){if(e.keyHash===r)return new he(t,r,[e.entry,o]);var i,s=(0===n?e.keyHash:e.keyHash>>>n)&gn,a=(0===n?r:r>>>n)&gn;return new me(t,1<<s|1<<a,s===a?[je(e,t,n+fn,r,o)]:(i=new ye(t,r,o),s<a?[e,i]:[i,e]))}function Se(e,t,n,r){e||(e=new p);for(var o=new ye(e,ie(n),[n,r]),i=0;i<t.length;i++){var s=t[i];o=o.update(e,0,void 0,s[0],s[1])}return o}function ke(e,t,n,r){for(var o=0,i=0,s=new Array(n),a=0,l=1,u=t.length;a<u;a++,l<<=1){var c=t[a];void 0!==c&&a!==r&&(o|=l,s[i++]=c)}return new me(e,o,s)}function Ee(e,t,n,r,o){for(var i=0,s=new Array(mn),a=0;0!==n;a++,n>>>=1)s[a]=1&n?t[i++]:void 0;return s[r]=o,new ge(e,i+1,s)}function Oe(e,t,r){for(var o=[],s=0;s<r.length;s++){var a=r[s],l=n(a);i(a)||(l=l.map(function(e){return V(e)})),o.push(l)}return Me(e,t,o)}function Te(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):$(e,t)?e:t}function Pe(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return $(t,o)?t:o}}function Me(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,hn,function(e){return e===hn?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function De(e,t,n,r){var o=e===hn,i=t.next();if(i.done){var s=o?n:e,a=r(s);return a===s?e:a}X(o||e&&e.set,"invalid keyPath");var l=i.value,u=o?hn:e.get(l,hn),c=De(u,t,n,r);return c===u?e:c===hn?e.remove(l):(o?Ae():e).set(l,c)}function Ne(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Fe(e,t,n,r){var o=r?e:f(e);return o[t]=n,o}function Le(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),s=0,a=0;a<o;a++)a===t?(i[a]=n,s=-1):i[a]=e[a+s];return i}function Re(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,s=0;s<r;s++)s===t&&(i=1),o[s]=e[s+i];return o}function Be(e){var t=Ke();if(null===e||void 0===e)return t;if(We(e))return e;var n=r(e),o=n.size;return 0===o?t:(ce(o),o>0&&o<mn?ze(0,o,fn,null,new Ue(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function We(e){return!(!e||!e[qn])}function Ue(e,t){this.array=e,this.ownerID=t}function He(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===a?l&&l.array:e&&e.array,o=n>i?0:i-n,u=s-n;return u>mn&&(u=mn),function(){if(o===u)return $n;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var a,l=e&&e.array,u=o>i?0:i-o>>r,c=1+(s-o>>r);return c>mn&&(c=mn),function(){for(;;){if(a){var e=a();if(e!==$n)return e;a=null}if(u===c)return $n;var i=t?--c:u++;a=n(l&&l[i],r-fn,o+(i<<r))}}}var i=e._origin,s=e._capacity,a=Je(s),l=e._tail;return n(e._root,e._level,0)}function ze(e,t,n,r,o,i,s){var a=Object.create(Gn);return a.size=t-e,a._origin=e,a._capacity=t,a._level=n,a._root=r,a._tail=o,a.__ownerID=i,a.__hash=s,a.__altered=!1,a}function Ke(){return Yn||(Yn=ze(0,0,fn))}function Ve(e,t,n){if((t=g(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?$e(e,t).set(0,n):$e(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=c(_n);return t>=Je(e._capacity)?r=qe(r,e.__ownerID,0,t,n,i):o=qe(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):ze(e._origin,e._capacity,e._level,o,r):e}function qe(e,t,n,r,o,i){var s=r>>>n&gn,a=e&&s<e.array.length;if(!a&&void 0===o)return e;var l;if(n>0){var u=e&&e.array[s],c=qe(u,t,n-fn,r,o,i);return c===u?e:(l=Ge(e,t),l.array[s]=c,l)}return a&&e.array[s]===o?e:(d(i),l=Ge(e,t),void 0===o&&s===l.array.length-1?l.array.pop():l.array[s]=o,l)}function Ge(e,t){return t&&e&&t===e.ownerID?e:new Ue(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Je(e._capacity))return e._tail;if(t<1<<e._level+fn){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&gn],r-=fn;return n}}function $e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,s=o+t,a=void 0===n?i:n<0?i+n:o+n;if(s===o&&a===i)return e;if(s>=a)return e.clear();for(var l=e._level,u=e._root,c=0;s+c<0;)u=new Ue(u&&u.array.length?[void 0,u]:[],r),l+=fn,c+=1<<l;c&&(s+=c,o+=c,a+=c,i+=c);for(var d=Je(i),f=Je(a);f>=1<<l+fn;)u=new Ue(u&&u.array.length?[u]:[],r),l+=fn;var m=e._tail,g=f<d?Ye(e,a-1):f>d?new Ue([],r):m;if(m&&f>d&&s<i&&m.array.length){u=Ge(u,r);for(var h=u,y=l;y>fn;y-=fn){var _=d>>>y&gn;h=h.array[_]=Ge(h.array[_],r)}h.array[d>>>fn&gn]=m}if(a<i&&(g=g&&g.removeAfter(r,0,a)),s>=f)s-=f,a-=f,l=fn,u=null,g=g&&g.removeBefore(r,0,s);else if(s>o||f<d){for(c=0;u;){var v=s>>>l&gn;if(v!==f>>>l&gn)break;v&&(c+=(1<<l)*v),l-=fn,u=u.array[v]}u&&s>o&&(u=u.removeBefore(r,l,s-c)),u&&f<d&&(u=u.removeAfter(r,l,f-c)),c&&(s-=c,a-=c)}return e.__ownerID?(e.size=a-s,e._origin=s,e._capacity=a,e._level=l,e._root=u,e._tail=g,e.__hash=void 0,e.__altered=!0,e):ze(s,a,l,u,g)}function Ze(e,t,n){for(var o=[],s=0,a=0;a<n.length;a++){var l=n[a],u=r(l);u.size>s&&(s=u.size),i(l)||(u=u.map(function(e){return V(e)})),o.push(u)}return s>e.size&&(e=e.setSize(s)),Me(e,t,o)}function Je(e){return e<mn?0:e-1>>>fn<<fn}function Xe(e){return null===e||void 0===e?tt():Qe(e)?e:tt().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function Qe(e){return pe(e)&&u(e)}function et(e,t,n,r){var o=Object.create(Xe.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function tt(){return Zn||(Zn=et(Ae(),Ke()))}function nt(e,t,n){var r,o,i=e._map,s=e._list,a=i.get(t),l=void 0!==a;if(n===hn){if(!l)return e;s.size>=mn&&s.size>=2*i.size?(o=s.filter(function(e,t){return void 0!==e&&a!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=a===s.size-1?s.pop():s.set(a,void 0))}else if(l){if(n===s.get(a)[1])return e;r=i,o=s.set(a,[t,n])}else r=i.set(t,s.size),o=s.set(s.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function st(e){this._iter=e,this.size=e.size}function at(e){var t=kt(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=Et,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===Cn){var r=e.__iterator(t,n);return new C(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===bn?vn:bn,n)},t}function lt(e,t,n){var r=kt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,hn);return i===hn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,s){return!1!==r(t.call(n,e,o,s),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(Cn,o);return new C(function(){var o=i.next();if(o.done)return o;var s=o.value,a=s[0];return A(r,a,t.call(n,s[1],a,e),o)})},r}function ut(e,t){var n=kt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=at(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Et,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var o=kt(e);return r&&(o.has=function(r){var o=e.get(r,hn);return o!==hn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,hn);return i!==hn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var s=this,a=0;return e.__iterate(function(e,i,l){if(t.call(n,e,i,l))return a++,o(e,r?i:a-1,s)},i),a},o.__iteratorUncached=function(o,i){var s=e.__iterator(Cn,i),a=0;return new C(function(){for(;;){var i=s.next();if(i.done)return i;var l=i.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return A(o,r?u:a++,c,i)}})},o}function dt(e,t,n){var r=de().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=s(e),o=(u(e)?Xe():de()).asMutable();e.__iterate(function(i,s){o.update(t.call(n,i,s,e),function(e){return e=e||[],e.push(r?[s,i]:i),e})});var i=St(e);return o.map(function(t){return wt(e,i(t))})}function ft(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),y(t,n,o))return e;var i=_(t,o),s=v(n,o);if(i!==i||s!==s)return ft(e.toSeq().cacheResult(),t,n,r);var a,l=s-i;l===l&&(a=l<0?0:l);var u=kt(e);return u.size=0===a?a:e.size&&a||void 0,!r&&L(e)&&a>=0&&(u.get=function(t,n){return t=g(this,t),t>=0&&t<a?e.get(t+i,n):n}),u.__iterateUncached=function(t,n){var o=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(t,n);var s=0,l=!0,u=0;return e.__iterate(function(e,n){if(!l||!(l=s++<i))return u++,!1!==t(e,r?n:u-1,o)&&u!==a}),u},u.__iteratorUncached=function(t,n){if(0!==a&&n)return this.cacheResult().__iterator(t,n);var o=0!==a&&e.__iterator(t,n),s=0,l=0;return new C(function(){for(;s++<i;)o.next();if(++l>a)return I();var e=o.next();return r||t===bn?e:t===vn?A(t,l-1,void 0,e):A(t,l-1,e.value[1],e)})},u}function mt(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var s=0;return e.__iterate(function(e,o,a){return t.call(n,e,o,a)&&++s&&r(e,o,i)}),s},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(Cn,o),a=!0;return new C(function(){if(!a)return I();var e=s.next();if(e.done)return e;var o=e.value,l=o[0],u=o[1];return t.call(n,u,l,i)?r===Cn?e:A(r,l,u,e):(a=!1,I())})},r}function gt(e,t,n,r){var o=kt(e);return o.__iterateUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterate(o,i);var a=!0,l=0;return e.__iterate(function(e,i,u){if(!a||!(a=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,s)}),l},o.__iteratorUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterator(o,i);var a=e.__iterator(Cn,i),l=!0,u=0;return new C(function(){var e,i,c;do{if(e=a.next(),e.done)return r||o===bn?e:o===vn?A(o,u++,void 0,e):A(o,u++,e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,s))}while(l);return o===Cn?e:A(o,i,c,e)})},o}function ht(e,t){var r=s(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?B(e):W(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var l=o[0];if(l===e||r&&s(l)||a(e)&&a(l))return l}var u=new M(o);return r?u=u.toKeyedSeq():a(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){function s(e,u){var c=this;e.__iterate(function(e,o){return(!t||u<t)&&i(e)?s(e,u+1):!1===r(e,n?o:a++,c)&&(l=!0),!l},o)}var a=0,l=!1;return s(e,0),a},r.__iteratorUncached=function(r,o){var s=e.__iterator(r,o),a=[],l=0;return new C(function(){for(;s;){var e=s.next();if(!1===e.done){var u=e.value;if(r===Cn&&(u=u[1]),t&&!(a.length<t)||!i(u))return n?e:A(r,l++,u,e);a.push(s),s=u.__iterator(r,o)}else s=a.pop()}return I()})},r}function _t(e,t,n){var r=St(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function vt(e,t){var n=kt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(bn,r),s=0;return new C(function(){return(!o||s%2)&&(o=i.next(),o.done)?o:s%2?A(n,s++,t):A(n,s++,o.value,o)})},n}function bt(e,t,n){t||(t=Ot);var r=s(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?O(i):a(e)?T(i):P(i)}function Ct(e,t,n){if(t||(t=Ot),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return At(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return At(t,e,n)?n:e})}function At(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function It(e,n,r){var o=kt(e);return o.size=new M(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(bn,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),j(o?e.reverse():e)}),s=0,a=!1;return new C(function(){var t;return a||(t=i.map(function(e){return e.next()}),a=t.some(function(e){return e.done})),a?I():A(e,s++,n.apply(null,t.map(function(e){return e.value})))})},o}function wt(e,t){return L(e)?t:e.constructor(t)}function xt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function jt(e){return ce(e.size),m(e)}function St(e){return s(e)?n:a(e)?r:o}function kt(e){return Object.create((s(e)?O:a(e)?T:P).prototype)}function Et(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):E.prototype.cacheResult.call(this)}function Ot(e,t){return e>t?1:e<t?-1:0}function Tt(e){var n=j(e);if(!n){if(!k(e))throw new TypeError("Expected iterable or array-like: "+e);n=j(t(e))}return n}function Pt(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(e);Nt(o,s),o.size=s.length,o._name=t,o._keys=s,o._defaultValues=e}this._map=de(i)},o=r.prototype=Object.create(Jn);return o.constructor=r,r}function Mt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Dt(e){return e._name||e.constructor.name||"Record"}function Nt(e,t){try{t.forEach(Ft.bind(void 0,e))}catch(e){}}function Ft(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){X(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Lt(e){return null===e||void 0===e?Ut():Rt(e)&&!u(e)?e:Ut().withMutations(function(t){var n=o(e);ce(n.size),n.forEach(function(e){return t.add(e)})})}function Rt(e){return!(!e||!e[Xn])}function Bt(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 Wt(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ut(){return er||(er=Wt(Ae()))}function Ht(e){return null===e||void 0===e?Vt():zt(e)?e:Vt().withMutations(function(t){var n=o(e);ce(n.size),n.forEach(function(e){return t.add(e)})})}function zt(e){return Rt(e)&&u(e)}function Kt(e,t){var n=Object.create(tr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vt(){return nr||(nr=Kt(tt()))}function qt(e){return null===e||void 0===e?$t():Gt(e)?e:$t().unshiftAll(e)}function Gt(e){return!(!e||!e[rr])}function Yt(e,t,n,r){var o=Object.create(or);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function $t(){return ir||(ir=Yt(0))}function Zt(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 Jt(e,t){return t}function Xt(e,t){return[t,e]}function Qt(e){return function(){return!e.apply(this,arguments)}}function en(e){return function(){return-e.apply(this,arguments)}}function tn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function nn(){return f(arguments)}function rn(e,t){return e<t?1:e>t?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0;return sn(e.__iterate(n?t?function(e,t){r=31*r+an(ie(e),ie(t))|0}:function(e,t){r=r+an(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0}),r)}function sn(e,t){return t=On(t,3432918353),t=On(t<<15|t>>>-15,461845907),t=On(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=On(t^t>>>16,2246822507),t=On(t^t>>>13,3266489909),t=oe(t^t>>>16)}function an(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=s,t.isIndexed=a,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",dn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",fn=5,mn=1<<fn,gn=mn-1,hn={},yn={value:!1},_n={value:!1},vn=0,bn=1,Cn=2,An="function"==typeof Symbol&&Symbol.iterator,In="@@iterator",wn=An||In;C.prototype.toString=function(){return"[Iterator]"},C.KEYS=vn,C.VALUES=bn,C.ENTRIES=Cn,C.prototype.inspect=C.prototype.toSource=function(){return this.toString()},C.prototype[wn]=function(){return this},e(E,t),E.of=function(){return E(arguments)},E.prototype.toSeq=function(){return this},E.prototype.toString=function(){return this.__toString("Seq {","}")},E.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},E.prototype.__iterate=function(e,t){return z(this,e,t,!0)},E.prototype.__iterator=function(e,t){return K(this,e,t,!0)},e(O,E),O.prototype.toKeyedSeq=function(){return this},e(T,E),T.of=function(){return T(arguments)},T.prototype.toIndexedSeq=function(){return this},T.prototype.toString=function(){return this.__toString("Seq [","]")},T.prototype.__iterate=function(e,t){return z(this,e,t,!1)},T.prototype.__iterator=function(e,t){return K(this,e,t,!1)},e(P,E),P.of=function(){return P(arguments)},P.prototype.toSetSeq=function(){return this},E.isSeq=L,E.Keyed=O,E.Set=P,E.Indexed=T;var xn="@@__IMMUTABLE_SEQ__@@";E.prototype[xn]=!0,e(M,T),M.prototype.get=function(e,t){return this.has(e)?this._array[g(this,e)]:t},M.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},M.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new C(function(){return o>r?I():A(e,o,n[t?r-o++:o++])})},e(D,O),D.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},D.prototype.has=function(e){return this._object.hasOwnProperty(e)},D.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var s=r[t?o-i:i];if(!1===e(n[s],s,this))return i+1}return i},D.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new C(function(){var s=r[t?o-i:i];return i++>o?I():A(e,s,n[s])})},D.prototype[pn]=!0,e(N,T),N.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=j(n),o=0;if(x(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,o++,this););return o},N.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=j(n);if(!x(r))return new C(I);var o=0;return new C(function(){var t=r.next();return t.done?t:A(e,o++,t.value)})},e(F,T),F.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===e(r[o],o++,this))return o;for(var i;!(i=n.next()).done;){var s=i.value;if(r[o]=s,!1===e(s,o++,this))break}return o},F.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new C(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return A(e,o,r[o++])})};var jn;e(J,T),J.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},J.prototype.get=function(e,t){return this.has(e)?this._value:t},J.prototype.includes=function(e){return $(this._value,e)},J.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new J(this._value,v(t,n)-_(e,n))},J.prototype.reverse=function(){return this},J.prototype.indexOf=function(e){return $(this._value,e)?0:-1},J.prototype.lastIndexOf=function(e){return $(this._value,e)?this.size:-1},J.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},J.prototype.__iterator=function(e,t){var n=this,r=0;return new C(function(){return r<n.size?A(e,r++,n._value):I()})},J.prototype.equals=function(e){return e instanceof J?$(this._value,e._value):Z(e)};var Sn;e(Q,T),Q.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Q.prototype.get=function(e,t){return this.has(e)?this._start+g(this,e)*this._step:t},Q.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Q.prototype.slice=function(e,t){return y(e,t,this.size)?this:(e=_(e,this.size),t=v(t,this.size),t<=e?new Q(0,0):new Q(this.get(e,this._end),this.get(t,this._end),this._step))},Q.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},Q.prototype.lastIndexOf=function(e){return this.indexOf(e)},Q.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},Q.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new C(function(){var s=o;return o+=t?-r:r,i>n?I():A(e,i++,s)})},Q.prototype.equals=function(e){return e instanceof Q?this._start===e._start&&this._end===e._end&&this._step===e._step:Z(this,e)};var kn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var En,On="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Tn=Object.isExtensible,Pn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Mn="function"==typeof WeakMap;Mn&&(En=new WeakMap);var Dn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Fn=16,Ln=255,Rn=0,Bn={};e(de,te),de.of=function(){var e=ln.call(arguments,0);return Ae().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])}})},de.prototype.toString=function(){return this.__toString("Map {","}")},de.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},de.prototype.set=function(e,t){return Ie(this,e,t)},de.prototype.setIn=function(e,t){return this.updateIn(e,hn,function(){return t})},de.prototype.remove=function(e){return Ie(this,e,hn)},de.prototype.deleteIn=function(e){return this.updateIn(e,function(){return hn})},de.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},de.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=De(this,Tt(e),t,n);return r===hn?void 0:r},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ae()},de.prototype.merge=function(){return Oe(this,void 0,arguments)},de.prototype.mergeWith=function(e){return Oe(this,e,ln.call(arguments,1))},de.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,Ae(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},de.prototype.mergeDeep=function(){return Oe(this,Te,arguments)},de.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Oe(this,Pe(e),t)},de.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,Ae(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},de.prototype.sort=function(e){return Xe(bt(this,e))},de.prototype.sortBy=function(e,t){return Xe(bt(this,t,e))},de.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},de.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},de.prototype.asImmutable=function(){return this.__ensureOwner()},de.prototype.wasAltered=function(){return this.__altered},de.prototype.__iterator=function(e,t){return new _e(this,e,t)},de.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},de.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ce(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},de.isMap=pe;var Wn="@@__IMMUTABLE_MAP__@@",Un=de.prototype;Un[Wn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;i<s;i++)if($(n,o[i][0]))return o[i][1];return r},fe.prototype.update=function(e,t,n,r,o,i,s){for(var a=o===hn,l=this.entries,u=0,c=l.length;u<c&&!$(r,l[u][0]);u++);var p=u<c;if(p?l[u][1]===o:a)return this;if(d(s),(a||!p)&&d(i),!a||1!==l.length){if(!p&&!a&&l.length>=zn)return Se(e,l,r,o);var m=e&&e===this.ownerID,g=m?l:f(l);return p?a?u===c-1?g.pop():g[u]=g.pop():g[u]=[r,o]:g.push([r,o]),m?(this.entries=g,this):new fe(e,g)}},me.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Ne(i&o-1)].get(e+fn,t,n,r)},me.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=(0===t?n:n>>>t)&gn,l=1<<a,u=this.bitmap,c=0!=(u&l);if(!c&&o===hn)return this;var d=Ne(u&l-1),p=this.nodes,f=c?p[d]:void 0,m=we(f,e,t+fn,n,r,o,i,s);if(m===f)return this;if(!c&&m&&p.length>=Kn)return Ee(e,p,u,a,m);if(c&&!m&&2===p.length&&xe(p[1^d]))return p[1^d];if(c&&m&&1===p.length&&xe(m))return m;var g=e&&e===this.ownerID,h=c?m?u:u^l:u|l,y=c?m?Fe(p,d,m,g):Re(p,d,g):Le(p,d,m,g);return g?(this.bitmap=h,this.nodes=y,this):new me(e,h,y)},ge.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&gn,i=this.nodes[o];return i?i.get(e+fn,t,n,r):r},ge.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=(0===t?n:n>>>t)&gn,l=o===hn,u=this.nodes,c=u[a];if(l&&!c)return this;var d=we(c,e,t+fn,n,r,o,i,s);if(d===c)return this;var p=this.count;if(c){if(!d&&--p<Vn)return ke(e,u,p,a)}else p++;var f=e&&e===this.ownerID,m=Fe(u,a,d,f);return f?(this.count=p,this.nodes=m,this):new ge(e,p,m)},he.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;i<s;i++)if($(n,o[i][0]))return o[i][1];return r},he.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=o===hn;if(n!==this.keyHash)return a?this:(d(s),d(i),je(this,e,t,n,[r,o]));for(var l=this.entries,u=0,c=l.length;u<c&&!$(r,l[u][0]);u++);var p=u<c;if(p?l[u][1]===o:a)return this;if(d(s),(a||!p)&&d(i),a&&2===c)return new ye(e,this.keyHash,l[1^u]);var m=e&&e===this.ownerID,g=m?l:f(l);return p?a?u===c-1?g.pop():g[u]=g.pop():g[u]=[r,o]:g.push([r,o]),m?(this.entries=g,this):new he(e,this.keyHash,g)},ye.prototype.get=function(e,t,n,r){return $(n,this.entry[0])?this.entry[1]:r},ye.prototype.update=function(e,t,n,r,o,i,s){var a=o===hn,l=$(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(d(s),a?void d(i):l?e&&e===this.ownerID?(this.entry[1]=o,this):new ye(e,this.keyHash,[r,o]):(d(i),je(this,e,t,ie(r),[r,o])))},fe.prototype.iterate=he.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},me.prototype.iterate=ge.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},ye.prototype.iterate=function(e,t){return e(this.entry)},e(_e,C),_e.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return ve(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return ve(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return ve(e,i.entry);t=this._stack=be(i,t)}continue}t=this._stack=this._stack.__prev}return I()};var Hn,zn=mn/4,Kn=mn/2,Vn=mn/4;e(Be,ne),Be.of=function(){return this(arguments)},Be.prototype.toString=function(){return this.__toString("List [","]")},Be.prototype.get=function(e,t){if((e=g(this,e))>=0&&e<this.size){e+=this._origin;var n=Ye(this,e);return n&&n.array[e&gn]}return t},Be.prototype.set=function(e,t){return Ve(this,e,t)},Be.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Be.prototype.insert=function(e,t){return this.splice(e,0,t)},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=fn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ke()},Be.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){$e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},Be.prototype.pop=function(){return $e(this,0,-1)},Be.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){$e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},Be.prototype.shift=function(){return $e(this,1)},Be.prototype.merge=function(){return Ze(this,void 0,arguments)},Be.prototype.mergeWith=function(e){return Ze(this,e,ln.call(arguments,1))},Be.prototype.mergeDeep=function(){return Ze(this,Te,arguments)},Be.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Ze(this,Pe(e),t)},Be.prototype.setSize=function(e){return $e(this,0,e)},Be.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:$e(this,_(e,n),v(t,n))},Be.prototype.__iterator=function(e,t){var n=0,r=He(this,t);return new C(function(){var t=r();return t===$n?I():A(e,n++,t)})},Be.prototype.__iterate=function(e,t){for(var n,r=0,o=He(this,t);(n=o())!==$n&&!1!==e(n,r++,this););return r},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ze(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Be.isList=We;var qn="@@__IMMUTABLE_LIST__@@",Gn=Be.prototype;Gn[qn]=!0,Gn.delete=Gn.remove,Gn.setIn=Un.setIn,Gn.deleteIn=Gn.removeIn=Un.removeIn,Gn.update=Un.update,Gn.updateIn=Un.updateIn,Gn.mergeIn=Un.mergeIn,Gn.mergeDeepIn=Un.mergeDeepIn,Gn.withMutations=Un.withMutations,Gn.asMutable=Un.asMutable,Gn.asImmutable=Un.asImmutable,Gn.wasAltered=Un.wasAltered,Ue.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&gn;if(r>=this.array.length)return new Ue([],e);var o,i=0===r;if(t>0){var s=this.array[r];if((o=s&&s.removeBefore(e,t-fn,n))===s&&i)return this}if(i&&!o)return this;var a=Ge(this,e);if(!i)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},Ue.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-fn,n))===i&&r===this.array.length-1)return this}var s=Ge(this,e);return s.array.splice(r+1),o&&(s.array[r]=o),s};var Yn,$n={};e(Xe,de),Xe.of=function(){return this(arguments)},Xe.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xe.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Xe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Xe.prototype.set=function(e,t){return nt(this,e,t)},Xe.prototype.remove=function(e){return nt(this,e,hn)},Xe.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xe.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Xe.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Xe.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Xe.isOrderedMap=Qe,Xe.prototype[pn]=!0,Xe.prototype.delete=Xe.prototype.remove;var Zn;e(rt,O),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?jt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(bn,t),r=t?jt(this):0;return new C(function(){var o=n.next();return o.done?o:A(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,T),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t),r=0;return new C(function(){var t=n.next();return t.done?t:A(e,r++,t.value,t)})},e(it,P),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new C(function(){var t=n.next();return t.done?t:A(e,t.value,t.value,t)})},e(st,O),st.prototype.entrySeq=function(){return this._iter.toSeq()},st.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){xt(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},st.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new C(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){xt(r);var o=i(r);return A(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=st.prototype.cacheResult=Et,e(Pt,te),Pt.prototype.toString=function(){return this.__toString(Dt(this)+" {","}")},Pt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Pt.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},Pt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Mt(this,Ae()))},Pt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Dt(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Mt(this,n)},Pt.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:Mt(this,t)},Pt.prototype.wasAltered=function(){return this._map.wasAltered()},Pt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Pt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Pt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Mt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=Pt.prototype;Jn.delete=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,e(Lt,re),Lt.of=function(){return this(arguments)},Lt.fromKeys=function(e){return this(n(e).keySeq())},Lt.prototype.toString=function(){return this.__toString("Set {","}")},Lt.prototype.has=function(e){return this._map.has(e)},Lt.prototype.add=function(e){return Bt(this,this._map.set(e,!0))},Lt.prototype.remove=function(e){return Bt(this,this._map.remove(e))},Lt.prototype.clear=function(){return Bt(this,this._map.clear())},Lt.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.c