UNPKG

strapi-plugin-email

Version:

This is the description of the plugin.

1 lines 830 kB
!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/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(p){var c=d(t);c&&c!==p&&r(e,c,n)}var f=a(t);l&&(f=f.concat(l(t)));for(var h=0;h<f.length;++h){var m=f[h];if(!(o[m]||i[m]||n&&n[m])){var _=u(t,m);try{s(e,m,_)}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,d=Object.getPrototypeOf,p=d&&d(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:C(e)}function n(e){return s(e)?e:I(e)}function r(e){return a(e)?e:T(e)}function o(e){return i(e)&&!l(e)?e:D(e)}function i(e){return!(!e||!e[un])}function s(e){return!(!e||!e[dn])}function a(e){return!(!e||!e[pn])}function l(e){return s(e)||a(e)}function u(e){return!(!e||!e[cn])}function d(e){return e.value=!1,e}function p(e){e&&(e.value=!0)}function c(){}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 h(e){return void 0===e.size&&(e.size=e.__iterate(_)),e.size}function m(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function _(){return!0}function g(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function y(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 w(e){this.next=e}function j(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 x(){return{value:void 0,done:!0}}function S(e){return!!k(e)}function E(e){return e&&"function"==typeof e.next}function O(e){var t=k(e);return t&&t.call(e)}function k(e){var t=e&&(jn&&e[jn]||e[xn]);if("function"==typeof t)return t}function P(e){return e&&"number"==typeof e.length}function C(e){return null===e||void 0===e?L():i(e)?e.toSeq():B(e)}function I(e){return null===e||void 0===e?L().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():U(e)}function T(e){return null===e||void 0===e?L():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():z(e)}function D(e){return(null===e||void 0===e?L():i(e)?s(e)?e.entrySeq():e:z(e)).toSetSeq()}function M(e){this._array=e,this.size=e.length}function N(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function F(e){this._iterable=e,this.size=e.length||e.size}function A(e){this._iterator=e,this._iteratorCache=[]}function R(e){return!(!e||!e[En])}function L(){return On||(On=new M([]))}function U(e){var t=Array.isArray(e)?new M(e).fromEntrySeq():E(e)?new A(e).fromEntrySeq():S(e)?new F(e).fromEntrySeq():"object"==typeof e?new N(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function z(e){var t=W(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function B(e){var t=W(e)||"object"==typeof e&&new N(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function W(e){return P(e)?new M(e):E(e)?new A(e):S(e)?new F(e):void 0}function H(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 Y(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,s=0;return new w(function(){var e=o[n?i-s:s];return s++>i?x():j(t,r?e[0]:s-1,e[1])})}return e.__iteratorUncached(t,n)}function q(e,t){return t?V(t,e,"",{"":e}):$(e)}function V(e,t,n,r){return Array.isArray(t)?e.call(r,n,T(t).map(function(n,r){return V(e,n,r,t)})):G(t)?e.call(r,n,I(t).map(function(n,r){return V(e,n,r,t)})):t}function $(e){return Array.isArray(e)?T(e).map($).toList():G(e)?I(e).map($).toMap():e}function G(e){return e&&(e.constructor===Object||void 0===e.constructor)}function K(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&&K(o[1],e)&&(n||K(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 d=e;e=t,t=d}var p=!0,c=t.__iterate(function(t,r){if(n?!e.has(t):o?!K(t,e.get(r,_n)):!K(e.get(r,_n),t))return p=!1,!1});return p&&e.size===c}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(kn)return kn;kn=this}}function Q(e,t){if(!e)throw new Error(t)}function X(e,t,n){if(!(this instanceof X))return new X(e,t,n);if(Q(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(Pn)return Pn;Pn=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>An?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=Un[e];return void 0===t&&(t=ae(e),Ln===Rn&&(Ln=0,Un={}),Ln++,Un[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=Cn.get(e)))return t;if(void 0!==(t=e[Fn]))return t;if(!Dn){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Fn]))return t;if(void 0!==(t=ue(e)))return t}if(t=++Nn,1073741824&Nn&&(Nn=0),Mn)Cn.set(e,t);else{if(void 0!==Tn&&!1===Tn(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Dn)Object.defineProperty(e,Fn,{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[Fn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Fn]=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 de(e){Q(e!==1/0,"Cannot perform this action with an infinite size.")}function pe(e){return null===e||void 0===e?je():ce(e)&&!u(e)?e:je().withMutations(function(t){var r=n(e);de(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function ce(e){return!(!e||!e[zn])}function fe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function _e(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ye(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function ve(e,t){return j(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function we(e,t,n,r){var o=Object.create(Bn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function je(){return Wn||(Wn=we(0))}function xe(e,t,n){var r,o;if(e._root){var i=d(gn),s=d(yn);if(r=Se(e._root,e.__ownerID,0,void 0,t,n,i,s),!s.value)return e;o=e.size+(i.value?n===_n?-1:1:0)}else{if(n===_n)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?we(o,r):je()}function Se(e,t,n,r,o,i,s,a){return e?e.update(t,n,r,o,i,s,a):i===_n?e:(p(a),p(s),new ge(t,r,[o,i]))}function Ee(e){return e.constructor===ge||e.constructor===_e}function Oe(e,t,n,r,o){if(e.keyHash===r)return new _e(t,r,[e.entry,o]);var i,s=(0===n?e.keyHash:e.keyHash>>>n)&mn,a=(0===n?r:r>>>n)&mn;return new he(t,1<<s|1<<a,s===a?[Oe(e,t,n+fn,r,o)]:(i=new ge(t,r,o),s<a?[e,i]:[i,e]))}function ke(e,t,n,r){e||(e=new c);for(var o=new ge(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 Pe(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 d=t[a];void 0!==d&&a!==r&&(o|=l,s[i++]=d)}return new he(e,o,s)}function Ce(e,t,n,r,o){for(var i=0,s=new Array(hn),a=0;0!==n;a++,n>>>=1)s[a]=1&n?t[i++]:void 0;return s[r]=o,new me(e,i+1,s)}function Ie(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 q(e)})),o.push(l)}return Me(e,t,o)}function Te(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):K(e,t)?e:t}function De(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return K(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,_n,function(e){return e===_n?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 Ne(e,t,n,r){var o=e===_n,i=t.next();if(i.done){var s=o?n:e,a=r(s);return a===s?e:a}Q(o||e&&e.set,"invalid keyPath");var l=i.value,u=o?_n:e.get(l,_n),d=Ne(u,t,n,r);return d===u?e:d===_n?e.remove(l):(o?je():e).set(l,d)}function Fe(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 Ae(e,t,n,r){var o=r?e:f(e);return o[t]=n,o}function Re(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 Le(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 Ue(e){var t=Ye();if(null===e||void 0===e)return t;if(ze(e))return e;var n=r(e),o=n.size;return 0===o?t:(de(o),o>0&&o<hn?He(0,o,fn,null,new Be(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function ze(e){return!(!e||!e[Vn])}function Be(e,t){this.array=e,this.ownerID=t}function We(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>hn&&(u=hn),function(){if(o===u)return Kn;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,d=1+(s-o>>r);return d>hn&&(d=hn),function(){for(;;){if(a){var e=a();if(e!==Kn)return e;a=null}if(u===d)return Kn;var i=t?--d: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 He(e,t,n,r,o,i,s){var a=Object.create($n);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 Ye(){return Gn||(Gn=He(0,0,fn))}function qe(e,t,n){if((t=m(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?Ke(e,t).set(0,n):Ke(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=d(yn);return t>=Je(e._capacity)?r=Ve(r,e.__ownerID,0,t,n,i):o=Ve(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):He(e._origin,e._capacity,e._level,o,r):e}function Ve(e,t,n,r,o,i){var s=r>>>n&mn,a=e&&s<e.array.length;if(!a&&void 0===o)return e;var l;if(n>0){var u=e&&e.array[s],d=Ve(u,t,n-fn,r,o,i);return d===u?e:(l=$e(e,t),l.array[s]=d,l)}return a&&e.array[s]===o?e:(p(i),l=$e(e,t),void 0===o&&s===l.array.length-1?l.array.pop():l.array[s]=o,l)}function $e(e,t){return t&&e&&t===e.ownerID?e:new Be(e?e.array.slice():[],t)}function Ge(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&mn],r-=fn;return n}}function Ke(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new c,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,d=0;s+d<0;)u=new Be(u&&u.array.length?[void 0,u]:[],r),l+=fn,d+=1<<l;d&&(s+=d,o+=d,a+=d,i+=d);for(var p=Je(i),f=Je(a);f>=1<<l+fn;)u=new Be(u&&u.array.length?[u]:[],r),l+=fn;var h=e._tail,m=f<p?Ge(e,a-1):f>p?new Be([],r):h;if(h&&f>p&&s<i&&h.array.length){u=$e(u,r);for(var _=u,g=l;g>fn;g-=fn){var y=p>>>g&mn;_=_.array[y]=$e(_.array[y],r)}_.array[p>>>fn&mn]=h}if(a<i&&(m=m&&m.removeAfter(r,0,a)),s>=f)s-=f,a-=f,l=fn,u=null,m=m&&m.removeBefore(r,0,s);else if(s>o||f<p){for(d=0;u;){var v=s>>>l&mn;if(v!==f>>>l&mn)break;v&&(d+=(1<<l)*v),l-=fn,u=u.array[v]}u&&s>o&&(u=u.removeBefore(r,l,s-d)),u&&f<p&&(u=u.removeAfter(r,l,f-d)),d&&(s-=d,a-=d)}return e.__ownerID?(e.size=a-s,e._origin=s,e._capacity=a,e._level=l,e._root=u,e._tail=m,e.__hash=void 0,e.__altered=!0,e):He(s,a,l,u,m)}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 q(e)})),o.push(u)}return s>e.size&&(e=e.setSize(s)),Me(e,t,o)}function Je(e){return e<hn?0:e-1>>>fn<<fn}function Qe(e){return null===e||void 0===e?tt():Xe(e)?e:tt().withMutations(function(t){var r=n(e);de(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function Xe(e){return ce(e)&&u(e)}function et(e,t,n,r){var o=Object.create(Qe.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(je(),Ye()))}function nt(e,t,n){var r,o,i=e._map,s=e._list,a=i.get(t),l=void 0!==a;if(n===_n){if(!l)return e;s.size>=hn&&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=Pt(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=Ct,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===wn){var r=e.__iterator(t,n);return new w(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=Pt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,_n);return i===_n?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(wn,o);return new w(function(){var o=i.next();if(o.done)return o;var s=o.value,a=s[0];return j(r,a,t.call(n,s[1],a,e),o)})},r}function ut(e,t){var n=Pt(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=Ct,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 dt(e,t,n,r){var o=Pt(e);return r&&(o.has=function(r){var o=e.get(r,_n);return o!==_n&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,_n);return i!==_n&&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(wn,i),a=0;return new w(function(){for(;;){var i=s.next();if(i.done)return i;var l=i.value,u=l[0],d=l[1];if(t.call(n,d,u,e))return j(o,r?u:a++,d,i)}})},o}function pt(e,t,n){var r=pe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function ct(e,t,n){var r=s(e),o=(u(e)?Qe():pe()).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=kt(e);return o.map(function(t){return St(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),g(t,n,o))return e;var i=y(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=Pt(e);return u.size=0===a?a:e.size&&a||void 0,!r&&R(e)&&a>=0&&(u.get=function(t,n){return t=m(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 w(function(){for(;s++<i;)o.next();if(++l>a)return x();var e=o.next();return r||t===bn?e:t===vn?j(t,l-1,void 0,e):j(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Pt(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(wn,o),a=!0;return new w(function(){if(!a)return x();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===wn?e:j(r,l,u,e):(a=!1,x())})},r}function mt(e,t,n,r){var o=Pt(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(wn,i),l=!0,u=0;return new w(function(){var e,i,d;do{if(e=a.next(),e.done)return r||o===bn?e:o===vn?j(o,u++,void 0,e):j(o,u++,e.value[1],e);var p=e.value;i=p[0],d=p[1],l&&(l=t.call(n,d,i,s))}while(l);return o===wn?e:j(o,i,d,e)})},o}function _t(e,t){var r=s(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?U(e):z(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 gt(e,t,n){var r=Pt(e);return r.__iterateUncached=function(r,o){function s(e,u){var d=this;e.__iterate(function(e,o){return(!t||u<t)&&i(e)?s(e,u+1):!1===r(e,n?o:a++,d)&&(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 w(function(){for(;s;){var e=s.next();if(!1===e.done){var u=e.value;if(r===wn&&(u=u[1]),t&&!(a.length<t)||!i(u))return n?e:j(r,l++,u,e);a.push(s),s=u.__iterator(r,o)}else s=a.pop()}return x()})},r}function yt(e,t,n){var r=kt(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function vt(e,t){var n=Pt(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 w(function(){return(!o||s%2)&&(o=i.next(),o.done)?o:s%2?j(n,s++,t):j(n,s++,o.value,o)})},n}function bt(e,t,n){t||(t=It);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?I(i):a(e)?T(i):D(i)}function wt(e,t,n){if(t||(t=It),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return jt(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return jt(t,e,n)?n:e})}function jt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function xt(e,n,r){var o=Pt(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),O(o?e.reverse():e)}),s=0,a=!1;return new w(function(){var t;return a||(t=i.map(function(e){return e.next()}),a=t.some(function(e){return e.done})),a?x():j(e,s++,n.apply(null,t.map(function(e){return e.value})))})},o}function St(e,t){return R(e)?t:e.constructor(t)}function Et(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ot(e){return de(e.size),h(e)}function kt(e){return s(e)?n:a(e)?r:o}function Pt(e){return Object.create((s(e)?I:a(e)?T:D).prototype)}function Ct(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):C.prototype.cacheResult.call(this)}function It(e,t){return e>t?1:e<t?-1:0}function Tt(e){var n=O(e);if(!n){if(!P(e))throw new TypeError("Expected iterable or array-like: "+e);n=O(t(e))}return n}function Dt(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);Ft(o,s),o.size=s.length,o._name=t,o._keys=s,o._defaultValues=e}this._map=pe(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 Nt(e){return e._name||e.constructor.name||"Record"}function Ft(e,t){try{t.forEach(At.bind(void 0,e))}catch(e){}}function At(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Q(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Rt(e){return null===e||void 0===e?Bt():Lt(e)&&!u(e)?e:Bt().withMutations(function(t){var n=o(e);de(n.size),n.forEach(function(e){return t.add(e)})})}function Lt(e){return!(!e||!e[Qn])}function Ut(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 zt(e,t){var n=Object.create(Xn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bt(){return er||(er=zt(je()))}function Wt(e){return null===e||void 0===e?qt():Ht(e)?e:qt().withMutations(function(t){var n=o(e);de(n.size),n.forEach(function(e){return t.add(e)})})}function Ht(e){return Lt(e)&&u(e)}function Yt(e,t){var n=Object.create(tr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qt(){return nr||(nr=Yt(tt()))}function Vt(e){return null===e||void 0===e?Kt():$t(e)?e:Kt().unshiftAll(e)}function $t(e){return!(!e||!e[rr])}function Gt(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 Kt(){return ir||(ir=Gt(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 Qt(e,t){return[t,e]}function Xt(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=In(t,3432918353),t=In(t<<15|t>>>-15,461845907),t=In(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=In(t^t>>>16,2246822507),t=In(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__@@",dn="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",cn="@@__IMMUTABLE_ORDERED__@@",fn=5,hn=1<<fn,mn=hn-1,_n={},gn={value:!1},yn={value:!1},vn=0,bn=1,wn=2,jn="function"==typeof Symbol&&Symbol.iterator,xn="@@iterator",Sn=jn||xn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=vn,w.VALUES=bn,w.ENTRIES=wn,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[Sn]=function(){return this},e(C,t),C.of=function(){return C(arguments)},C.prototype.toSeq=function(){return this},C.prototype.toString=function(){return this.__toString("Seq {","}")},C.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},C.prototype.__iterate=function(e,t){return H(this,e,t,!0)},C.prototype.__iterator=function(e,t){return Y(this,e,t,!0)},e(I,C),I.prototype.toKeyedSeq=function(){return this},e(T,C),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 H(this,e,t,!1)},T.prototype.__iterator=function(e,t){return Y(this,e,t,!1)},e(D,C),D.of=function(){return D(arguments)},D.prototype.toSetSeq=function(){return this},C.isSeq=R,C.Keyed=I,C.Set=D,C.Indexed=T;var En="@@__IMMUTABLE_SEQ__@@";C.prototype[En]=!0,e(M,T),M.prototype.get=function(e,t){return this.has(e)?this._array[m(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 w(function(){return o>r?x():j(e,o,n[t?r-o++:o++])})},e(N,I),N.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},N.prototype.has=function(e){return this._object.hasOwnProperty(e)},N.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},N.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var s=r[t?o-i:i];return i++>o?x():j(e,s,n[s])})},N.prototype[cn]=!0,e(F,T),F.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=O(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,o++,this););return o},F.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=O(n);if(!E(r))return new w(x);var o=0;return new w(function(){var t=r.next();return t.done?t:j(e,o++,t.value)})},e(A,T),A.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},A.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return j(e,o,r[o++])})};var On;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 K(this._value,e)},J.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:new J(this._value,v(t,n)-y(e,n))},J.prototype.reverse=function(){return this},J.prototype.indexOf=function(e){return K(this._value,e)?0:-1},J.prototype.lastIndexOf=function(e){return K(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 w(function(){return r<n.size?j(e,r++,n._value):x()})},J.prototype.equals=function(e){return e instanceof J?K(this._value,e._value):Z(e)};var kn;e(X,T),X.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},X.prototype.get=function(e,t){return this.has(e)?this._start+m(this,e)*this._step:t},X.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},X.prototype.slice=function(e,t){return g(e,t,this.size)?this:(e=y(e,this.size),t=v(t,this.size),t<=e?new X(0,0):new X(this.get(e,this._end),this.get(t,this._end),this._step))},X.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},X.prototype.lastIndexOf=function(e){return this.indexOf(e)},X.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},X.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 w(function(){var s=o;return o+=t?-r:r,i>n?x():j(e,i++,s)})},X.prototype.equals=function(e){return e instanceof X?this._start===e._start&&this._end===e._end&&this._step===e._step:Z(this,e)};var Pn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Cn,In="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,Dn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Mn="function"==typeof WeakMap;Mn&&(Cn=new WeakMap);var Nn=0,Fn="__immutablehash__";"function"==typeof Symbol&&(Fn=Symbol(Fn));var An=16,Rn=255,Ln=0,Un={};e(pe,te),pe.of=function(){var e=ln.call(arguments,0);return je().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])}})},pe.prototype.toString=function(){return this.__toString("Map {","}")},pe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},pe.prototype.set=function(e,t){return xe(this,e,t)},pe.prototype.setIn=function(e,t){return this.updateIn(e,_n,function(){return t})},pe.prototype.remove=function(e){return xe(this,e,_n)},pe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return _n})},pe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},pe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ne(this,Tt(e),t,n);return r===_n?void 0:r},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):je()},pe.prototype.merge=function(){return Ie(this,void 0,arguments)},pe.prototype.mergeWith=function(e){return Ie(this,e,ln.call(arguments,1))},pe.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,je(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},pe.prototype.mergeDeep=function(){return Ie(this,Te,arguments)},pe.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Ie(this,De(e),t)},pe.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,je(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},pe.prototype.sort=function(e){return Qe(bt(this,e))},pe.prototype.sortBy=function(e,t){return Qe(bt(this,t,e))},pe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},pe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new c)},pe.prototype.asImmutable=function(){return this.__ensureOwner()},pe.prototype.wasAltered=function(){return this.__altered},pe.prototype.__iterator=function(e,t){return new ye(this,e,t)},pe.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},pe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?we(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},pe.isMap=ce;var zn="@@__IMMUTABLE_MAP__@@",Bn=pe.prototype;Bn[zn]=!0,Bn.delete=Bn.remove,Bn.removeIn=Bn.deleteIn,fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;i<s;i++)if(K(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===_n,l=this.entries,u=0,d=l.length;u<d&&!K(r,l[u][0]);u++);var c=u<d;if(c?l[u][1]===o:a)return this;if(p(s),(a||!c)&&p(i),!a||1!==l.length){if(!c&&!a&&l.length>=Hn)return ke(e,l,r,o);var h=e&&e===this.ownerID,m=h?l:f(l);return c?a?u===d-1?m.pop():m[u]=m.pop():m[u]=[r,o]:m.push([r,o]),h?(this.entries=m,this):new fe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&mn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Fe(i&o-1)].get(e+fn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=(0===t?n:n>>>t)&mn,l=1<<a,u=this.bitmap,d=0!=(u&l);if(!d&&o===_n)return this;var p=Fe(u&l-1),c=this.nodes,f=d?c[p]:void 0,h=Se(f,e,t+fn,n,r,o,i,s);if(h===f)return this;if(!d&&h&&c.length>=Yn)return Ce(e,c,u,a,h);if(d&&!h&&2===c.length&&Ee(c[1^p]))return c[1^p];if(d&&h&&1===c.length&&Ee(h))return h;var m=e&&e===this.ownerID,_=d?h?u:u^l:u|l,g=d?h?Ae(c,p,h,m):Le(c,p,m):Re(c,p,h,m);return m?(this.bitmap=_,this.nodes=g,this):new he(e,_,g)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&mn,i=this.nodes[o];return i?i.get(e+fn,t,n,r):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)&mn,l=o===_n,u=this.nodes,d=u[a];if(l&&!d)return this;var p=Se(d,e,t+fn,n,r,o,i,s);if(p===d)return this;var c=this.count;if(d){if(!p&&--c<qn)return Pe(e,u,c,a)}else c++;var f=e&&e===this.ownerID,h=Ae(u,a,p,f);return f?(this.count=c,this.nodes=h,this):new me(e,c,h)},_e.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;i<s;i++)if(K(n,o[i][0]))return o[i][1];return r},_e.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=o===_n;if(n!==this.keyHash)return a?this:(p(s),p(i),Oe(this,e,t,n,[r,o]));for(var l=this.entries,u=0,d=l.length;u<d&&!K(r,l[u][0]);u++);var c=u<d;if(c?l[u][1]===o:a)return this;if(p(s),(a||!c)&&p(i),a&&2===d)return new ge(e,this.keyHash,l[1^u]);var h=e&&e===this.ownerID,m=h?l:f(l);return c?a?u===d-1?m.pop():m[u]=m.pop():m[u]=[r,o]:m.push([r,o]),h?(this.entries=m,this):new _e(e,this.keyHash,m)},ge.prototype.get=function(e,t,n,r){return K(n,this.entry[0])?this.entry[1]:r},ge.prototype.update=function(e,t,n,r,o,i,s){var a=o===_n,l=K(r,this.entry[0]);return(l?o===this.entry[1]:a)?this:(p(s),a?void p(i):l?e&&e===this.ownerID?(this.entry[1]=o,this):new ge(e,this.keyHash,[r,o]):(p(i),Oe(this,e,t,ie(r),[r,o])))},fe.prototype.iterate=_e.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},he.prototype.iterate=me.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}},ge.prototype.iterate=function(e,t){return e(this.entry)},e(ye,w),ye.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 x()};var Wn,Hn=hn/4,Yn=hn/2,qn=hn/4;e(Ue,ne),Ue.of=function(){return this(arguments)},Ue.prototype.toString=function(){return this.__toString("List [","]")},Ue.prototype.get=function(e,t){if((e=m(this,e))>=0&&e<this.size){e+=this._origin;var n=Ge(this,e);return n&&n.array[e&mn]}return t},Ue.prototype.set=function(e,t){return qe(this,e,t)},Ue.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ue.prototype.insert=function(e,t){return this.splice(e,0,t)},Ue.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):Ye()},Ue.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){Ke(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},Ue.prototype.pop=function(){return Ke(this,0,-1)},Ue.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){Ke(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},Ue.prototype.shift=function(){return Ke(this,1)},Ue.prototype.merge=function(){return Ze(this,void 0,arguments)},Ue.prototype.mergeWith=function(e){return Ze(this,e,ln.call(arguments,1))},Ue.prototype.mergeDeep=function(){return Ze(this,Te,arguments)},Ue.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Ze(this,De(e),t)},Ue.prototype.setSize=function(e){return Ke(this,0,e)},Ue.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:Ke(this,y(e,n),v(t,n))},Ue.prototype.__iterator=function(e,t){var n=0,r=We(this,t);return new w(function(){var t=r();return t===Kn?x():j(e,n++,t)})},Ue.prototype.__iterate=function(e,t){for(var n,r=0,o=We(this,t);(n=o())!==Kn&&!1!==e(n,r++,this););return r},Ue.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?He(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ue.isList=ze;var Vn="@@__IMMUTABLE_LIST__@@",$n=Ue.prototype;$n[Vn]=!0,$n.delete=$n.remove,$n.setIn=Bn.setIn,$n.deleteIn=$n.removeIn=Bn.removeIn,$n.update=Bn.update,$n.updateIn=Bn.updateIn,$n.mergeIn=Bn.mergeIn,$n.mergeDeepIn=Bn.mergeDeepIn,$n.withMutations=Bn.withMutations,$n.asMutable=Bn.asMutable,$n.asImmutable=Bn.asImmutable,$n.wasAltered=Bn.wasAltered,Be.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&mn;if(r>=this.array.length)return new Be([],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=$e(this,e);if(!i)for(var l=0;l<r;l++)a.array[l]=void 0;return o&&(a.array[r]=o),a},Be.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&mn;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=$e(this,e);return s.array.splice(r+1),o&&(s.array[r]=o),s};var Gn,Kn={};e(Qe,pe),Qe.of=function(){return this(arguments)},Qe.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qe.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Qe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Qe.prototype.set=function(e,t){return nt(this,e,t)},Qe.prototype.remove=function(e){return nt(this,e,_n)},Qe.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qe.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Qe.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Qe.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)},Qe.isOrderedMap=Xe,Qe.prototype[cn]=!0,Qe.prototype.delete=Qe.prototype.remove;var Zn;e(rt,I),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?Ot(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?Ot(this):0;return new w(function(){var o=n.next();return o.done?o:j(e,t?--r:r++,o.value,o)})},rt.prototype[cn]=!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 w(function(){var t=n.next();return t.done?t:j(e,r++,t.value,t)})},e(it,D),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 w(function(){var t=n.next();return t.done?t:j(e,t.value,t.value,t)})},e(st,I),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){Et(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 w(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Et(r);var o=i(r);return j(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=Ct,e(Dt,te),Dt.prototype.toString=function(){return this.__toString(Nt(this)+" {","}")},Dt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Dt.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},Dt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Mt(this,je()))},Dt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Nt(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)},Dt.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)},Dt.prototype.wasAltered=function(){return this._map.wasAltered()},Dt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Dt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Dt.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=Dt.prototype;Jn.delete=Jn.remove,Jn.deleteIn=Jn.removeIn=Bn.removeIn,Jn.merge=Bn.merge,Jn.mergeWith=Bn.mergeWith,Jn.mergeIn=Bn.mergeIn,Jn.mergeDeep=Bn.mergeDeep,Jn.mergeDeepWith=Bn.mergeDeepWith,Jn.mergeDeepIn=Bn.mergeDeepIn,Jn.setIn=Bn.setIn,Jn.update=Bn.update,Jn.updateIn=Bn.updateIn,Jn.withMutations=Bn.withMutations,Jn.asMutable=Bn.asMutable,Jn.asImmutable=Bn.asImmutable,e(Rt,re),Rt.of=function(){return this(arguments)},Rt.fromKeys=function(e){return this(n(e).keySeq())},Rt.prototype.toString=function(){return this.__toString("Set {","}")},Rt.prototype.has=function(e){return this._map.has(e)},Rt.prototype.add=function(e){return Ut(this,this._map.set(e,!0))},Rt.prototype.remove=function(e){return Ut(this,this._map.remove(e))},Rt.prototype.clear=function(){return Ut(this,this._map.clear())},Rt.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.constructor(e[0])},Rt.prototype.intersect=function(){var e=ln.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Rt.prototype.subtract=function(){var e=ln.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Rt.prototype.merge=function(){return this.union.apply(this,arguments)},Rt.prototype.mergeWith=function(e){var t=ln.call(arguments,1);return this.union.apply(this,t)},Rt.prototype.sort=function(e){return Wt(bt(this,e))},Rt.prototype.sortBy=function(e,t){return Wt(bt(this,t,e))},Rt.prototype.wasAltered=function(){return this._map.wasAltered()},Rt.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Rt.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Rt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Rt.isSet=Lt;var Qn="@@__IMMUTABLE_SET__@@",Xn=Rt.prototype;Xn[Qn]=!0,Xn.delete=Xn.remove,Xn.mergeDeep=Xn.merge,Xn.mergeDeepWith=Xn.mergeWith,Xn.withMutations=Bn.withMutations,Xn.asMutable=Bn.asMutable,Xn.asImmutable=Bn.asImmutable,Xn.__empty=Bt,Xn.__make=zt;var er;e(Wt,Rt),Wt.of=function(){return this(arguments)},Wt.fromKeys=function(e){return this(n(e).keySeq())},Wt.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Wt.isOrderedSet=Ht;var tr=Wt.prototype;tr[cn]=!0,tr.__empty=qt,tr.__make=Yt;var nr;e(Vt,ne),Vt.of=function(){return this(arguments)},Vt.prototype.toString=function(){return this.__toString("Stack [","]")},Vt.prototype.get=function(e,t){var n=this._head;for(e=m(this,e);n&&e--;)n=n.next;return n?n.value:t},Vt.prototype.peek=function(){return this._head&&this._head.value},Vt.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Gt(e,t)},Vt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;de(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Gt(t,n)},Vt.prototype.pop=function(){return this.slice(1)},Vt.prototype.unshift=function(){return this.push.apply(this,arguments)},Vt.prototype.unshiftAll=function(e){return this.pushAll(e)},Vt.prototype.shift=function(){return this.pop.apply(this,arguments)},Vt.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):Kt()},Vt.prototype.slice=function(e,t){if(g(e,t,this.size))return this;var n=y(e,this.size);if(v(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Gt(r,o)},Vt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Gt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Vt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Vt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new w(function(){if(r){var t=r.value;return r=r.next,j(e,n++,t)}return x()})},Vt.isStack=$t;var rr="@@__IMMUTABLE_STACK__@@",or=Vt.prototype;or[rr]=!0,or.w