All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.kuangkie.hydrogen.bundle.02c81de4e78cc35d0fa0.js Maven / Gradle / Ivy

The newest version!
/*! For license information please see bundle.02c81de4e78cc35d0fa0.js.LICENSE.txt */
(self.webpackChunkhydrogen_react=self.webpackChunkhydrogen_react||[]).push([[26],{10729:function(t,e,r){"use strict";var n=r(75874),i=r(80914),o=r(85820),u=r(33787),s=r(86913),a=r(5762),c=o.List;t.exports=function(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var f=t.getBlockMap(),h=a(r),l=e.getStartKey(),p=e.getStartOffset(),g=f.get(l);return g instanceof i&&(g.getChildKeys().isEmpty()||s(!1)),1===h.size?function(t,e,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",a=r.get(i),c=a.getText(),f=a.getCharacterList(),h=i,l=o+n.getText().length,p=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":p=n.getData().merge(a.getData());break;case"REPLACE_WITH_NEW_DATA":p=n.getData()}var g=a.getType();c&&"unstyled"===g&&(g=n.getType());var v=a.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:u(f,n.getCharacterList(),o),type:g,data:p});return t.merge({blockMap:r.set(i,v),selectionBefore:e,selectionAfter:e.merge({anchorKey:h,anchorOffset:l,focusKey:h,focusOffset:l,isBackward:!1})})}(t,e,f,h.first(),l,p,o):function(t,e,r,o,u,s){var a=r.first()instanceof i,f=[],h=o.size,l=r.get(u),p=o.first(),g=o.last(),v=g.getLength(),_=g.getKey(),d=a&&(!l.getChildKeys().isEmpty()||!p.getChildKeys().isEmpty());r.forEach((function(t,e){e===u?(d?f.push(t):f.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.slice(0,e),u=i.slice(0,e),s=r.first();return t.merge({text:o+s.getText(),characterList:u.concat(s.getCharacterList()),type:o?t.getType():s.getType(),data:s.getData()})}(t,s,o)),o.slice(d?0:1,h-1).forEach((function(t){return f.push(t)})),f.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.length,u=n.slice(e,o),s=i.slice(e,o),a=r.last();return a.merge({text:a.getText()+u,characterList:a.getCharacterList().concat(s),data:a.getData()})}(t,s,o))):f.push(t)}));var y=n.createFromArray(f);return a&&(y=function(t,e,r,n){return t.withMutations((function(e){var i=r.getKey(),o=n.getKey(),u=r.getNextSiblingKey(),s=r.getParentKey(),a=function(t,e){var r=t.getKey(),n=t,i=[];for(e.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=e.get(o)}return i}(n,t),f=a[a.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],n.getNextSiblingKey()),e.setIn([n.getNextSiblingKey(),"prevSibling"],i)),e.setIn([f,"nextSibling"],u),u&&e.setIn([u,"prevSibling"],f),a.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var h=t.get(s).getChildKeys(),l=h.indexOf(i)+1,p=h.toArray();p.splice.apply(p,[l,0].concat(a)),e.setIn([s,"children"],c(p))}}))}(y,0,l,p)),t.merge({blockMap:y,selectionBefore:e,selectionAfter:e.merge({anchorKey:_,anchorOffset:v,focusKey:_,focusOffset:v,isBackward:!1})})}(t,e,f,h,l,p)}},33787:function(t){"use strict";t.exports=function(t,e,r){var n=t;if(r===n.count())e.forEach((function(t){n=n.push(t)}));else if(0===r)e.reverse().forEach((function(t){n=n.unshift(t)}));else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(e,o).toList()}return n}},86674:function(t,e,r){"use strict";var n=r(85820),i=r(33787),o=r(86913),u=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return t;var a=t.getBlockMap(),c=e.getStartKey(),f=e.getStartOffset(),h=a.get(c),l=h.getText(),p=h.merge({text:l.slice(0,f)+r+l.slice(f,h.getLength()),characterList:i(h.getCharacterList(),u(n,s).toList(),f)}),g=f+s;return t.merge({blockMap:a.set(c,p),selectionAfter:e.merge({anchorOffset:g,focusOffset:g})})}},9050:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},26590:function(t){"use strict";t.exports=function(t){return"handled"===t||!0===t}},87006:function(t,e,r){"use strict";var n=r(9050);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"A"===t.nodeName}},74982:function(t,e,r){"use strict";var n=r(9050);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"BR"===t.nodeName}},61339:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},67634:function(t,e,r){"use strict";var n=r(9050);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"IMG"===t.nodeName}},56577:function(t){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},56401:function(t){"use strict";t.exports=function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=t.getBlockTree(r),i=e.getStartOffset(),o=!1;return n.some((function(t){return i===t.get("start")?(o=!0,!0):io){var a=n.getKeyBefore(i);null==a?u=i:(u=a,s=n.getBlockForKey(a).getText().length)}else s=o-e;return r.merge({focusKey:u,focusOffset:s,isBackward:!0})}},15189:function(t,e,r){"use strict";r(93960),t.exports=function(t,e){var r,n=t.getSelection(),i=n.getStartKey(),o=n.getStartOffset(),u=t.getCurrentContent(),s=i;return e>u.getBlockForKey(i).getText().length-o?(s=u.getKeyAfter(i),r=0):r=o+e,n.merge({focusKey:s,focusOffset:r})}},5762:function(t,e,r){"use strict";var n=r(80914),i=r(60717),o=r(85820).OrderedMap;t.exports=function(t){return t.first()instanceof n?function(t){var e,r={};return o(t.withMutations((function(t){t.forEach((function(n,o){var u=n.getKey(),s=n.getNextSiblingKey(),a=n.getPrevSiblingKey(),c=n.getChildKeys(),f=n.getParentKey(),h=i();if(r[u]=h,s&&(t.get(s)?t.setIn([s,"prevSibling"],h):t.setIn([u,"nextSibling"],null)),a&&(t.get(a)?t.setIn([a,"nextSibling"],h):t.setIn([u,"prevSibling"],null)),f&&t.get(f)){var l=t.get(f).getChildKeys();t.setIn([f,"children"],l.set(l.indexOf(n.getKey()),h))}else t.setIn([u,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],h),t.setIn([u,"prevSibling"],r[e.getKey()])),e=t.get(u);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],h):t.setIn([u,"children"],n.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[r[t.getKey()],t.set("key",r[t.getKey()])]})))}(t):function(t){return o(t.toArray().map((function(t){var e=i();return[e,t.set("key",e)]})))}(t)}},49461:function(t,e,r){"use strict";var n=r(87446),i=r(11925),o=r(86913);function u(t,e,r){var u=e.getCharacterList(),s=r>0?u.get(r-1):void 0,a=r=r&&(n={start:t,end:e})})),"object"!=typeof n&&o(!1),n}(u,f,r),p=l.start,g=l.end;pe;)t=t.pop(),r--;else{var n=t.slice(0,e),i=t.slice(r);t=n.concat(i).toList()}return t}(v.getCharacterList(),l,g):v.getCharacterList().slice(0,l).concat(_.getCharacterList().slice(g));var S=v.merge({text:v.getText().slice(0,l)+_.getText().slice(g),characterList:r}),x=d&&0===l&&0===g&&_.getParentKey()===h&&null==_.getPrevSiblingKey()?u([[h,null]]):o.toSeq().skipUntil((function(t,e){return e===h})).takeUntil((function(t,e){return e===p})).filter((function(t,e){return-1===y.indexOf(e)})).concat(u([[p,null]])).map((function(t,e){return e===h?S:null})),b=o.merge(x).filter((function(t){return!!t}));return d&&v!==_&&(b=function(t,e,r,n){return t.withMutations((function(o){if(s(e.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:f(t,o,n)})})),s(r.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:f(t,o,n)})})),a(e.getKey(),n).forEach((function(t){return s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:f(t,o,n)})}))})),s(e.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n)})})),s(r.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:f(t,o,n)})})),s(r.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:r.getNextSiblingKey()})})),a(r.getKey(),n).forEach((function(t){s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:f(t,o,n)})}))})),function(t,e){var r=[];if(!t)return r;for(var n=i(t,e);n&&e.get(n);){var o=e.get(n);r.push(n),n=o.getParentKey()?i(o,e):null}return r}(r,n).forEach((function(t){return s(t,o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:f(t,o,n)})}))})),null==t.get(e.getKey())&&null!=t.get(r.getKey())&&r.getParentKey()===e.getKey()&&null==r.getPrevSiblingKey()){var u=e.getPrevSiblingKey();s(r.getKey(),o,(function(t){return t.merge({prevSibling:u})})),s(u,o,(function(t){return t.merge({nextSibling:r.getKey()})}));var h=u?t.get(u):null,l=h?h.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,o,(function(t){return t.merge({parent:l})}))})),null!=l){var p=t.get(l);s(l,o,(function(t){return t.merge({children:p.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),o,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(b,v,_,o)),t.merge({blockMap:b,selectionBefore:e,selectionAfter:e.merge({anchorKey:h,anchorOffset:l,focusKey:h,focusOffset:l,isBackward:!1})})}},78882:function(t,e,r){"use strict";var n=r(98011),i=r(97510)("draft_tree_data_support");t.exports=function(t,e,r){var o=t.getSelection(),u=t.getCurrentContent(),s=o,a=o.getAnchorKey(),c=o.getFocusKey(),f=u.getBlockForKey(a);if(i&&"forward"===r&&a!==c)return u;if(o.isCollapsed()){if("forward"===r){if(t.isSelectionAtEndOfContent())return u;if(i&&o.getAnchorOffset()===u.getBlockForKey(a).getLength()){var h=u.getBlockForKey(f.nextSibling);if(!h||0===h.getLength())return u}}else if(t.isSelectionAtStartOfContent())return u;if((s=e(t))===o)return u}return n.removeRange(u,s,r)}},55558:function(t){"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},85587:function(t,e,r){"use strict";var n=r(81325),i=r(61733),o=r(86128),u=r(13031),s=r(11581),a=r(72177),c=r(86913),f=r(9050),h=o.isBrowser("IE");function l(t,e){if(!t)return"[empty]";var r=p(t,e);return r.nodeType===Node.TEXT_NODE?r.textContent:(f(r)||c(!1),r.outerHTML)}function p(t,e){var r=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var n=t.textContent.length;return a(t).createTextNode("[text "+n+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var o=t.childNodes,u=0;uv(e)&&i.logSelectionStateFailure({anonymizedDom:g(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var a=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(u){throw i.logSelectionStateFailure({anonymizedDom:g(e,(function(e){var r=[];return e===o&&r.push("active element"),e===t.anchorNode&&r.push("selection anchor node"),e===t.focusNode&&r.push("selection focus node"),r})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:a,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:u?""+u:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),u}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,r),t.addRange(c.cloneRange())}}function d(t,e,r,o){var u=a(e).createRange();if(r>v(e)&&(i.logSelectionStateFailure({anonymizedDom:g(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),u.setStart(e,r),h)try{t.addRange(u)}catch(t){}else t.addRange(u)}t.exports={setDraftEditorSelection:function(t,e,r,n,i){var o=a(e);if(u(o.documentElement,e)){var s=o.defaultView.getSelection(),c=t.getAnchorKey(),f=t.getAnchorOffset(),h=t.getFocusKey(),l=t.getFocusOffset(),p=t.getIsBackward();if(!s.extend&&p){var g=c,v=f;c=h,f=l,h=g,l=v,p=!1}var y=c===r&&n<=f&&i>=f,m=h===r&&n<=l&&i>=l;if(y&&m)return s.removeAllRanges(),d(s,e,f-n,t),void _(s,e,l-n,t);if(p){if(m&&(s.removeAllRanges(),d(s,e,l-n,t)),y){var w=s.focusNode,S=s.focusOffset;s.removeAllRanges(),d(s,e,f-n,t),_(s,w,S,t)}}else y&&(s.removeAllRanges(),d(s,e,f-n,t)),m&&_(s,e,l-n,t)}},addFocusToSelection:_}},29267:function(t,e,r){"use strict";var n=r(80914),i=r(60717),o=r(85820),u=r(86913),s=r(25955),a=o.List,c=o.Map,f=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}};t.exports=function(t,e){e.isCollapsed()||u(!1);var r=e.getAnchorKey(),o=t.getBlockMap(),h=o.get(r),l=h.getText();if(!l){var p=h.getType();if("unordered-list-item"===p||"ordered-list-item"===p)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var g=e.getAnchorOffset(),v=h.getCharacterList(),_=i(),d=h instanceof n,y=h.merge({text:l.slice(0,g),characterList:v.slice(0,g)}),m=y.merge({key:_,text:l.slice(g),characterList:v.slice(g),data:c()}),w=o.toSeq().takeUntil((function(t){return t===h})),S=o.toSeq().skipUntil((function(t){return t===h})).rest(),x=w.concat([[r,y],[_,m]],S).toOrderedMap();return d&&(h.getChildKeys().isEmpty()||u(!1),x=function(t,e,r){return t.withMutations((function(t){var n=e.getKey(),i=r.getKey();f(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),r=e.indexOf(n)+1,o=e.toArray();return o.splice(r,0,i),t.merge({children:a(o)})})),f(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:i})})),f(n,t,(function(t){return t.merge({nextSibling:i})})),f(i,t,(function(t){return t.merge({prevSibling:n})}))}))}(x,y,m)),t.merge({blockMap:x,selectionBefore:e,selectionAfter:e.merge({anchorKey:_,anchorOffset:0,focusKey:_,focusOffset:0,isBackward:!1})})}},7013:function(t){"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},24963:function(t){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},35775:function(t,e,r){"use strict";var n=r(86523),i=r(83601),o=r(46504),u=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function a(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?i(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(u,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),r=0;r0},t}();t.exports=c},40356:function(t){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},86523:function(t){"use strict";var e={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var n=r(t);return e.isImage(t)&&("jpeg"===n[1]||"pjpeg"===n[1])}};function r(t){return t.split("/")}t.exports=e},4791:function(t){"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var r={getTop:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollTop||r.documentElement.scrollTop:t.scrollTop},setTop:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollTop=n.documentElement.scrollTop=r:t.scrollTop=r},getLeft:function(t){var r=t.ownerDocument;return e(t,r)?r.body.scrollLeft||r.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,r){var n=t.ownerDocument;e(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=r:t.scrollLeft=r}};t.exports=r},18539:function(t,e,r){"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r(54295),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},92275:function(t){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},96659:function(t){"use strict";var e=function(){function t(t){var e,r;r=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[e]=r,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},70694:function(t,e,r){"use strict";var n=r(51478),i=r(86913),o="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",u="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+o+u+"]"),a=new RegExp("["+o+u+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function f(t){var e=c(t);return null==e?n.NEUTRAL:a.exec(e)?n.RTL:n.LTR}function h(t,e){if(e=e||n.NEUTRAL,!t.length)return e;var r=f(t);return r===n.NEUTRAL?e:r}function l(t,e){return e||(e=n.getGlobalDir()),n.isStrong(e)||i(!1),h(t,e)}var p={firstStrongChar:c,firstStrongCharDir:f,resolveBlockDir:h,getDirection:l,isDirectionLTR:function(t,e){return l(t,e)===n.LTR},isDirectionRTL:function(t,e){return l(t,e)===n.RTL}};t.exports=p},51478:function(t,e,r){"use strict";var n=r(86913),i="LTR",o="RTL",u=null;function s(t){return t===i||t===o}function a(t){return s(t)||n(!1),t===i?"ltr":"rtl"}function c(t){u=t}var f={NEUTRAL:"NEUTRAL",LTR:i,RTL:o,isStrong:s,getHTMLDir:a,getHTMLDirIfDifferent:function(t,e){return s(t)||n(!1),s(e)||n(!1),t===e?null:a(t)},setGlobalDir:c,initGlobalDir:function(){c(i)},getGlobalDir:function(){return u||this.initGlobalDir(),u||n(!1),u}};t.exports=f},19374:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(70694),o=r(51478),u=r(86913),s=function(){function t(t){n(this,"_defaultDir",void 0),n(this,"_lastDir",void 0),t?o.isStrong(t)||u(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=i.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},14065:function(t,e,r){"use strict";var n=r(86913),i=55296,o=57343,u=/[\uD800-\uDFFF]/;function s(t){return i<=t&&t<=o}function a(t){return u.test(t)}function c(t,e){return 1+s(t.charCodeAt(e))}function f(t,e,r){if(e=e||0,r=void 0===r?1/0:r||0,!a(t))return t.substr(e,r);var n=t.length;if(n<=0||e>n||r<=0)return"";var i=0;if(e>0){for(;e>0&&i=n)return""}else if(e<0){for(i=n;e<0&&00&&o=|~>|~|>|)?\s*(.+)/,a=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var r,n=e.split(i),o=l(t),u=o.modifier,s=o.rangeComponents;switch(u){case"<":return f(n,s);case"<=":return-1===(r=y(n,s))||0===r;case">=":return h(n,s);case">":return 1===y(n,s);case"~":case"~>":return function(t,e){var r=e.slice(),n=e.slice();n.length>1&&n.pop();var i=n.length-1,o=parseInt(n[i],10);return p(o)&&(n[i]=o+1+""),h(t,r)&&f(t,n)}(n,s);default:return function(t,e){return 0===y(t,e)}(n,s)}}function f(t,e){return-1===y(t,e)}function h(t,e){var r=y(t,e);return 1===r||0===r}function l(t){var e=t.split(i),r=e[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function p(t){return!isNaN(t)&&isFinite(t)}function g(t){return!l(t).modifier}function v(t,e){for(var r=t.length;re?1:t1?r.some((function(t){return m.contains(t,e)})):function(t,e){var r=t.split(u);if(r.length>0&&r.length<=2||n(!1),1===r.length)return c(r[0],e);var i=r[0],o=r[1];return g(i)&&g(o)||n(!1),c(">="+i,e)&&c("<="+o,e)}(t=r[0].trim(),e)}(t.trim(),e.trim())}};t.exports=m},18039:function(t){"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},13031:function(t,e,r){"use strict";var n=r(50057);t.exports=function t(e,r){return!(!e||!r)&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},83601:function(t,e,r){"use strict";var n=r(86913);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&n(!1),"number"!=typeof e&&n(!1),0===e||e-1 in t||n(!1),"function"==typeof t.callee&&n(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var r=Array(e),i=0;i-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},24170:function(t,e,r){"use strict";var n=r(87422);t.exports=function(t){var e=n(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},87422:function(t,e,r){"use strict";var n=r(13031);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!n(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}},75124:function(t,e,r){"use strict";var n=r(58619),i=r(74086);t.exports=function(t){var e=n(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=i(t),o=t===e?t.ownerDocument.documentElement:t,u=t.scrollWidth-o.clientWidth,s=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,u)),r.y=Math.max(0,Math.min(r.y,s)),r}},54295:function(t,e,r){"use strict";var n=r(18039),i=r(7919);function o(t){return null==t?t:String(t)}t.exports=function(t,e){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null)))return o(r.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null))return o(r.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?o("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[n(e)]):o(t.style&&t.style[n(e)])}},74086:function(t){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},25896:function(t){"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function r(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function n(){return{width:window.innerWidth||e(),height:window.innerHeight||r()}}n.withoutScrollbars=function(){return{width:e(),height:r()}},t.exports=n},7919:function(t){"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},86913:function(t){"use strict";t.exports=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i1)for(var n=1;n>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?I(t)+e:e}function D(){return!0}function A(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function z(t,e){return k(t,e,0)}function M(t,e){return k(t,e,e)}function k(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var C=0,T=1,L=2,N="function"==typeof Symbol&&Symbol.iterator,q="@@iterator",R=N||q;function j(t){this.next=t}function P(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function B(){return{value:void 0,done:!0}}function U(t){return!!V(t)}function W(t){return t&&"function"==typeof t.next}function F(t){var e=V(t);return e&&e.call(t)}function V(t){var e=t&&(N&&t[N]||t[q]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function J(t){return null==t?ut():u(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new rt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function G(t){return null==t?ut().toKeyedSeq():u(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function X(t){return null==t?ut():u(t)?s(t)?t.entrySeq():t.toIndexedSeq():at(t)}function $(t){return(null==t?ut():u(t)?s(t)?t.entrySeq():t:at(t)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=C,j.VALUES=T,j.ENTRIES=L,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[R]=function(){return this},e(J,r),J.of=function(){return J(arguments)},J.prototype.toSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq {","}")},J.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},J.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},J.prototype.__iterator=function(t,e){return ht(this,t,e,!0)},e(G,J),G.prototype.toKeyedSeq=function(){return this},e(X,J),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},X.prototype.__iterator=function(t,e){return ht(this,t,e,!1)},e($,J),$.of=function(){return $(arguments)},$.prototype.toSetSeq=function(){return this},J.isSeq=ot,J.Keyed=G,J.Set=$,J.Indexed=X;var Y,Z,Q,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function rt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function ut(){return Y||(Y=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():W(t)?new it(t).fromEntrySeq():U(t)?new nt(t).fromEntrySeq():"object"==typeof t?new rt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function at(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return H(t)?new et(t):W(t)?new it(t):U(t)?new nt(t):void 0}function ft(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var s=i[r?o-u:u];if(!1===e(s[1],n?s[0]:u,t))return u+1}return u}return t.__iterateUncached(e,r)}function ht(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new j((function(){var t=i[r?o-u:u];return u++>o?{value:void 0,done:!0}:P(e,n?t[0]:u-1,t[1])}))}return t.__iteratorUncached(e,r)}function lt(t,e){return e?pt(e,t,"",{"":t}):gt(t)}function pt(t,e,r,n){return Array.isArray(e)?t.call(n,r,X(e).map((function(r,n){return pt(t,r,n,e)}))):vt(e)?t.call(n,r,G(e).map((function(r,n){return pt(t,r,n,e)}))):e}function gt(t){return Array.isArray(t)?X(t).map(gt).toList():vt(t)?G(t).map(gt).toMap():t}function vt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function _t(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function dt(t,e){if(t===e)return!0;if(!u(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||a(t)!==a(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(f(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&_t(i[1],t)&&(r||_t(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var h=!0,l=e.__iterate((function(e,n){if(r?!t.has(e):i?!_t(e,t.get(n,m)):!_t(t.get(n,m),e))return h=!1,!1}));return h&&t.size===l}function yt(t,e){if(!(this instanceof yt))return new yt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function mt(t,e){if(!t)throw new Error(e)}function wt(t,e,r){if(!(this instanceof wt))return new wt(t,e,r);if(mt(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),en?{value:void 0,done:!0}:P(t,i,r[e?n-i++:i++])}))},e(rt,G),rt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},rt.prototype.has=function(t){return this._object.hasOwnProperty(t)},rt.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var u=n[e?i-o:o];if(!1===t(r[u],u,this))return o+1}return o},rt.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new j((function(){var u=n[e?i-o:o];return o++>i?{value:void 0,done:!0}:P(t,u,r[u])}))},rt.prototype[g]=!0,e(nt,X),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=F(this._iterable),n=0;if(W(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=F(this._iterable);if(!W(r))return new j(B);var n=0;return new j((function(){var e=r.next();return e.done?e:P(t,n++,e.value)}))},e(it,X),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return P(t,i,n[i++])}))},e(yt,X),yt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},yt.prototype.get=function(t,e){return this.has(t)?this._value:e},yt.prototype.includes=function(t){return _t(this._value,t)},yt.prototype.slice=function(t,e){var r=this.size;return A(t,e,r)?this:new yt(this._value,M(e,r)-z(t,r))},yt.prototype.reverse=function(){return this},yt.prototype.indexOf=function(t){return _t(this._value,t)?0:-1},yt.prototype.lastIndexOf=function(t){return _t(this._value,t)?this.size:-1},yt.prototype.__iterate=function(t,e){for(var r=0;r1?" by "+this._step:"")+" ]"},wt.prototype.get=function(t,e){return this.has(t)?this._start+K(this,t)*this._step:e},wt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e=0&&rr?{value:void 0,done:!0}:P(t,o++,u)}))},wt.prototype.equals=function(t){return t instanceof wt?this._start===t._start&&this._end===t._end&&this._step===t._step:dt(this,t)},e(St,r),e(xt,St),e(bt,St),e(Ot,St),St.Keyed=xt,St.Indexed=bt,St.Set=Ot;var Et="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function It(t){return t>>>1&1073741824|3221225471&t}function Kt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return It(r)}if("string"===e)return t.length>Lt?function(t){var e=Rt[t];return void 0===e&&(e=Dt(t),qt===Nt&&(qt=0,Rt={}),qt++,Rt[t]=e),e}(t):Dt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(kt&&void 0!==(e=Mt.get(t)))return e;if(void 0!==(e=t[Tt]))return e;if(!zt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Tt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Ct,1073741824&Ct&&(Ct=0),kt)Mt.set(t,e);else{if(void 0!==At&&!1===At(t))throw new Error("Non-extensible objects are not allowed as keys.");if(zt)Object.defineProperty(t,Tt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Tt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Tt]=e}}return e}(t);if("function"==typeof t.toString)return Dt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Dt(t){for(var e=0,r=0;r>>r)&y,s=(0===r?n:n>>>r)&y;return new Ht(e,1<>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function he(t,e,r,n){var i=n?t:E(t);return i[e]=r,i}Ft[Wt]=!0,Ft[v]=Ft.remove,Ft.removeIn=Ft.deleteIn,Vt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o=le)return function(t,e,r,n){t||(t=new O);for(var i=new Xt(t,Kt(r),[r,n]),o=0;o>>t)&y),o=this.bitmap;return 0==(o&i)?n:this.nodes[fe(o&i-1)].get(t+_,e,r,n)},Ht.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=Kt(n));var s=(0===e?r:r>>>e)&y,a=1<=pe)return function(t,e,r,n,i){for(var o=0,u=new Array(d),s=0;0!==r;s++,r>>>=1)u[s]=1&r?e[o++]:void 0;return u[n]=i,new Jt(t,o+1,u)}(t,l,c,s,g);if(f&&!g&&2===l.length&&ne(l[1^h]))return l[1^h];if(f&&g&&1===l.length&&ne(g))return g;var v=t&&t===this.ownerID,w=f?g?c:c^a:c|a,S=f?g?he(l,h,g,v):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,u=0;u>>t)&y,o=this.nodes[i];return o?o.get(t+_,e,r,n):n},Jt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=Kt(n));var s=(0===e?r:r>>>e)&y,a=i===m,c=this.nodes,f=c[s];if(a&&!f)return this;var h=re(f,t,e+_,r,n,i,o,u);if(h===f)return this;var l=this.count;if(f){if(!h&&--l0&&n=0&&t=t.size||e<0)return t.withMutations((function(t){e<0?Ae(t,e).set(0,r):Ae(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=x(S);return e>=Me(t._capacity)?n=Ie(n,t.__ownerID,0,e,r,o):i=Ie(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):Oe(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},ve.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ve.prototype.insert=function(t,e){return this.splice(t,0,e)},ve.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ee()},ve.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){Ae(r,0,e+t.length);for(var n=0;n>>e&y;if(n>=this.array.length)return new me([],t);var i,o=0===n;if(e>0){var u=this.array[n];if((i=u&&u.removeBefore(t,e-_,r))===u&&o)return this}if(o&&!i)return this;var s=Ke(this,t);if(!o)for(var a=0;a>>e&y;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-_,r))===o&&i===this.array.length-1)return this}var u=Ke(this,t);return u.array.splice(i+1),n&&(u.array[i]=n),u};var we,Se,xe={};function be(t,e){var r=t._origin,n=t._capacity,i=Me(n),o=t._tail;return u(t._root,t._level,0);function u(t,s,a){return 0===s?function(t,u){var s=u===i?o&&o.array:t&&t.array,a=u>r?0:r-u,c=n-u;return c>d&&(c=d),function(){if(a===c)return xe;var t=e?--c:a++;return s&&s[t]}}(t,a):function(t,i,o){var s,a=t&&t.array,c=o>r?0:r-o>>i,f=1+(n-o>>i);return f>d&&(f=d),function(){for(;;){if(s){var t=s();if(t!==xe)return t;s=null}if(c===f)return xe;var r=e?--f:c++;s=u(a&&a[r],i-_,o+(r<>>r&y,a=t&&s0){var c=t&&t.array[s],f=Ie(c,e,r-_,n,i,o);return f===c?t:((u=Ke(t,e)).array[s]=f,u)}return a&&t.array[s]===i?t:(b(o),u=Ke(t,e),void 0===i&&s===u.array.length-1?u.array.pop():u.array[s]=i,u)}function Ke(t,e){return e&&t&&e===t.ownerID?t:new me(t?t.array.slice():[],e)}function De(t,e){if(e>=Me(t._capacity))return t._tail;if(e<1<0;)r=r.array[e>>>n&y],n-=_;return r}}function Ae(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new O,i=t._origin,o=t._capacity,u=i+e,s=void 0===r?o:r<0?o+r:i+r;if(u===i&&s===o)return t;if(u>=s)return t.clear();for(var a=t._level,c=t._root,f=0;u+f<0;)c=new me(c&&c.array.length?[void 0,c]:[],n),f+=1<<(a+=_);f&&(u+=f,i+=f,s+=f,o+=f);for(var h=Me(o),l=Me(s);l>=1<h?new me([],n):p;if(p&&l>h&&u_;d-=_){var m=h>>>d&y;v=v.array[m]=Ke(v.array[m],n)}v.array[h>>>_&y]=p}if(s=l)u-=l,s-=l,a=_,c=null,g=g&&g.removeBefore(n,0,u);else if(u>i||l>>a&y;if(w!==l>>>a&y)break;w&&(f+=(1<i&&(c=c.removeBefore(n,a,u-f)),c&&lo&&(o=c.size),u(a)||(c=c.map((function(t){return lt(t)}))),n.push(c)}return o>t.size&&(t=t.setSize(o)),ae(t,e,n)}function Me(t){return t>>_<<_}function ke(t){return null==t?Le():Ce(t)?t:Le().withMutations((function(e){var r=n(t);jt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Ce(t){return Bt(t)&&f(t)}function Te(t,e,r,n){var i=Object.create(ke.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function Le(){return Se||(Se=Te(te(),Ee()))}function Ne(t,e,r){var n,i,o=t._map,u=t._list,s=o.get(e),a=void 0!==s;if(r===m){if(!a)return t;u.size>=d&&u.size>=2*o.size?(n=(i=u.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===u.size-1?u.pop():u.set(s,void 0))}else if(a){if(r===u.get(s)[1])return t;n=o,i=u.set(s,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):Te(n,i)}function qe(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Re(t){this._iter=t,this.size=t.size}function je(t){this._iter=t,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function Be(t){var e=rr(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=nr,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(e===L){var n=t.__iterator(e,r);return new j((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===T?C:T,r)},e}function Ue(t,e,r){var n=rr(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,m);return o===m?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,u){return!1!==n(e.call(r,t,i,u),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(L,i);return new j((function(){var i=o.next();if(i.done)return i;var u=i.value,s=u[0];return P(n,s,e.call(r,u[1],s,t),i)}))},n}function We(t,e){var r=rr(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Be(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=nr,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function Fe(t,e,r,n){var i=rr(t);return n&&(i.has=function(n){var i=t.get(n,m);return i!==m&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,m);return o!==m&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,s=0;return t.__iterate((function(t,o,a){if(e.call(r,t,o,a))return s++,i(t,n?o:s-1,u)}),o),s},i.__iteratorUncached=function(i,o){var u=t.__iterator(L,o),s=0;return new j((function(){for(;;){var o=u.next();if(o.done)return o;var a=o.value,c=a[0],f=a[1];if(e.call(r,f,c,t))return P(i,n?c:s++,f,o)}}))},i}function Ve(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r|=0),A(e,r,i))return t;var o=z(e,i),u=M(r,i);if(o!=o||u!=u)return Ve(t.toSeq().cacheResult(),e,r,n);var s,a=u-o;a==a&&(s=a<0?0:a);var c=rr(t);return c.size=0===s?s:t.size&&s||void 0,!n&&ot(t)&&s>=0&&(c.get=function(e,r){return(e=K(this,e))>=0&&es)return{value:void 0,done:!0};var t=i.next();return n||e===T?t:P(e,a-1,e===C?void 0:t.value[1],t)}))},c}function He(t,e,r,n){var i=rr(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,a=0;return t.__iterate((function(t,o,c){if(!s||!(s=e.call(r,t,o,c)))return a++,i(t,n?o:a-1,u)})),a},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(L,o),a=!0,c=0;return new j((function(){var t,o,f;do{if((t=s.next()).done)return n||i===T?t:P(i,c++,i===C?void 0:t.value[1],t);var h=t.value;o=h[0],f=h[1],a&&(a=e.call(r,f,o,u))}while(a);return i===L?t:P(i,o,f,t)}))},i}function Je(t,e,r){var n=rr(t);return n.__iterateUncached=function(n,i){var o=0,s=!1;return function t(a,c){var f=this;a.__iterate((function(i,a){return(!e||c0}function Ye(t,e,n){var i=rr(t);return i.size=new et(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(T,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),F(i?t.reverse():t)})),u=0,s=!1;return new j((function(){var r;return s||(r=o.map((function(t){return t.next()})),s=r.some((function(t){return t.done}))),s?{value:void 0,done:!0}:P(t,u++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Ze(t,e){return ot(t)?e:t.constructor(e)}function Qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tr(t){return jt(t.size),I(t)}function er(t){return s(t)?n:a(t)?i:o}function rr(t){return Object.create((s(t)?G:a(t)?X:$).prototype)}function nr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function ir(t,e){return t>e?1:t=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):zr(t,e)},Er.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;jt(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):zr(e,r)},Er.prototype.pop=function(){return this.slice(1)},Er.prototype.unshift=function(){return this.push.apply(this,arguments)},Er.prototype.unshiftAll=function(t){return this.pushAll(t)},Er.prototype.shift=function(){return this.pop.apply(this,arguments)},Er.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):Mr()},Er.prototype.slice=function(t,e){if(A(t,e,this.size))return this;var r=z(t,this.size);if(M(e,this.size)!==this.size)return bt.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):zr(n,i)},Er.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?zr(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Er.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},Er.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new j((function(){if(n){var e=n.value;return n=n.next,P(t,r++,e)}return{value:void 0,done:!0}}))},Er.isStack=Ir;var Kr,Dr="@@__IMMUTABLE_STACK__@@",Ar=Er.prototype;function zr(t,e,r,n){var i=Object.create(Ar);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Mr(){return Kr||(Kr=zr(0))}function kr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}Ar[Dr]=!0,Ar.withMutations=Ft.withMutations,Ar.asMutable=Ft.asMutable,Ar.asImmutable=Ft.asImmutable,Ar.wasAltered=Ft.wasAltered,r.Iterator=j,kr(r,{toArray:function(){jt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Re(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new qe(this,!0)},toMap:function(){return Pt(this.toKeyedSeq())},toObject:function(){jt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return ke(this.toKeyedSeq())},toOrderedSet:function(){return mr(s(this)?this.valueSeq():this)},toSet:function(){return hr(s(this)?this.valueSeq():this)},toSetSeq:function(){return new je(this)},toSeq:function(){return a(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Er(s(this)?this.valueSeq():this)},toList:function(){return ve(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ze(this,function(t,e){var r=s(t),i=[t].concat(e).map((function(t){return u(t)?r&&(t=n(t)):t=r?st(t):at(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&s(o)||a(t)&&a(o))return o}var c=new et(i);return r?c=c.toKeyedSeq():a(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),c}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return _t(e,t)}))},entries:function(){return this.__iterator(L)},every:function(t,e){jt(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return Ze(this,Fe(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},findEntry:function(t,e){var r;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return jt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){jt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(C)},map:function(t,e){return Ze(this,Ue(this,t,e))},reduce:function(t,e,r){var n,i;return jt(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,u){i?(i=!1,n=e):n=t.call(r,n,e,o,u)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return Ze(this,We(this,!0))},slice:function(t,e){return Ze(this,Ve(this,t,e,!0))},some:function(t,e){return!this.every(qr(t),e)},sort:function(t){return Ze(this,Ge(this,t))},values:function(){return this.__iterator(T)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return I(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=Pt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return dt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Nr).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(qr(t),e)},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},first:function(){return this.find(D)},flatMap:function(t,e){return Ze(this,function(t,e,r){var n=er(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ze(this,Je(this,t,!0))},fromEntrySeq:function(){return new Pe(this)},get:function(t,e){return this.find((function(e,r){return _t(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=or(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,m):m)===m)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=s(t),i=(f(t)?ke():Pt()).asMutable();t.__iterate((function(o,u){i.update(e.call(r,o,u,t),(function(t){return(t=t||[]).push(n?[u,o]:o),t}))}));var o=er(t);return i.map((function(e){return Ze(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Lr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Xe(this,t)},maxBy:function(t,e){return Xe(this,e,t)},min:function(t){return Xe(this,t?Rr(t):Br)},minBy:function(t,e){return Xe(this,e?Rr(e):Br,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ze(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ze(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(qr(t),e)},sortBy:function(t,e){return Ze(this,Ge(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ze(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ze(this,function(t,e,r){var n=rr(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate((function(t,i,s){return e.call(r,t,i,s)&&++u&&n(t,i,o)})),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(L,i),s=!0;return new j((function(){if(!s)return{value:void 0,done:!0};var t=u.next();if(t.done)return t;var i=t.value,a=i[0],c=i[1];return e.call(r,c,a,o)?n===L?t:P(n,a,c,t):(s=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(qr(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),r=s(t),n=e?1:0;return function(t,e){return e=Et(e,3432918353),e=Et(e<<15|e>>>-15,461845907),e=Et(e<<13|e>>>-13,5),e=Et((e=(e+3864292196|0)^t)^e>>>16,2246822507),It((e=Et(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+Ur(Kt(t),Kt(e))|0}:function(t,e){n=n+Ur(Kt(t),Kt(e))|0}:e?function(t){n=31*n+Kt(t)|0}:function(t){n=n+Kt(t)|0}),n)}(this))}});var Cr=r.prototype;Cr[h]=!0,Cr[R]=Cr.values,Cr.__toJS=Cr.toArray,Cr.__toStringMapper=jr,Cr.inspect=Cr.toSource=function(){return this.toString()},Cr.chain=Cr.flatMap,Cr.contains=Cr.includes,function(){try{Object.defineProperty(Cr,"length",{get:function(){if(!r.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),kr(n,{flip:function(){return Ze(this,Be(this))},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return _t(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return _t(e,t)}))},mapEntries:function(t,e){var r=this,n=0;return Ze(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Ze(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var Tr=n.prototype;function Lr(t,e){return e}function Nr(t,e){return[e,t]}function qr(t){return function(){return!t.apply(this,arguments)}}function Rr(t){return function(){return-t.apply(this,arguments)}}function jr(t){return"string"==typeof t?JSON.stringify(t):t}function Pr(){return E(arguments)}function Br(t,e){return te?-1:0}function Ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Tr[l]=!0,Tr[R]=Cr.entries,Tr.__toJS=Cr.toObject,Tr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+jr(t)},kr(i,{toKeyedSeq:function(){return new qe(this,!1)},filter:function(t,e){return Ze(this,Fe(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,We(this,!1))},slice:function(t,e){return Ze(this,Ve(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=z(t,t<0?this.count():this.size);var n=this.slice(0,t);return Ze(this,1===r?n:n.concat(E(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.toKeyedSeq().findLastKey(t,e);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(t){return Ze(this,Je(this,t,!1))},get:function(t,e){return(t=K(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=K(this,t))>=0&&(void 0!==this.size?this.size===1/0||t




© 2015 - 2024 Weber Informatics LLC | Privacy Policy