1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005 |
- var dll_vue=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=188)}([function(t,e,n){"use strict";n.r(e),n.d(e,"inBrowser",(function(){return a})),n.d(e,"isServer",(function(){return s})),n.d(e,"noop",(function(){return u})),n.d(e,"isDef",(function(){return l})),n.d(e,"isFunction",(function(){return c})),n.d(e,"isObject",(function(){return f})),n.d(e,"isPromise",(function(){return d})),n.d(e,"get",(function(){return h})),n.d(e,"isEmpty",(function(){return p}));var r=n(15),i=n(2);n.d(e,"createNamespace",(function(){return i.createNamespace}));var o=n(10);n.d(e,"addUnit",(function(){return o.addUnit}));var a="undefined"!=typeof window,s=r.default.prototype.$isServer;function u(){}function l(t){return null!=t}function c(t){return"function"==typeof t}function f(t){return null!==t&&"object"==typeof t}function d(t){return f(t)&&c(t.then)&&c(t.catch)}function h(t,e){var n=e.split("."),r=t;return n.forEach((function(t){var e;r=null!=(e=r[t])?e:""})),r}function p(t){return null==t||("object"!=typeof t||0===Object.keys(t).length)}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e),n.d(e,"default",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"createNamespace",(function(){return a}));var r=n(166),i=n(164),o=n(167);function a(t){return t="van-"+t,[Object(i.createComponent)(t),Object(r.createBEM)(t),Object(o.createI18N)(t)]}},function(t,e,n){"use strict";n.r(e),n.d(e,"inherit",(function(){return s})),n.d(e,"emit",(function(){return u})),n.d(e,"mount",(function(){return l}));var r=n(1),i=n(15),o=["ref","key","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],a={nativeOn:"on"};function s(t,e){var n=o.reduce((function(e,n){return t.data[n]&&(e[a[n]||n]=t.data[n]),e}),{});return e&&(n.on=n.on||{},Object(r.default)(n.on,t.data.on)),n}function u(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=t.listeners[e];o&&(Array.isArray(o)?o.forEach((function(t){t.apply(void 0,r)})):o.apply(void 0,r))}function l(t,e){var n=new i.default({el:document.createElement("div"),props:t.props,render:function(n){return n(t,Object(r.default)({props:this.$props},e))}});return document.body.appendChild(n.$el),n}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}var i=["attrs","props","domProps"],o=["class","style","directives"],a=["on","nativeOn"],s=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==i.indexOf(n))t[n]=r({},t[n],e[n]);else if(-1!==o.indexOf(n)){var u=t[n]instanceof Array?t[n]:[t[n]],l=e[n]instanceof Array?e[n]:[e[n]];t[n]=u.concat(l)}else if(-1!==a.indexOf(n))for(var c in e[n])if(t[n][c]){var f=t[n][c]instanceof Array?t[n][c]:[t[n][c]],d=e[n][c]instanceof Array?e[n][c]:[e[n][c]];t[n][c]=f.concat(d)}else t[n][c]=e[n][c];else if("hook"==n)for(var h in e[n])t[n][h]=t[n][h]?s(t[n][h],e[n][h]):e[n][h];else t[n]=e[n];else t[n]=e[n];return t}),{})}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(3),u=n(25),l=Object(o.createNamespace)("icon"),c=l[0],f=l[1];var d={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function h(t,e,n,r){var o,l=function(t){return t&&d[t]||t}(e.name),c=function(t){return!!t&&-1!==t.indexOf("/")}(l);return t(e.tag,i()([{class:[e.classPrefix,c?"":e.classPrefix+"-"+l],style:{color:e.color,fontSize:Object(a.addUnit)(e.size)}},Object(s.inherit)(r,!0)]),[n.default&&n.default(),c&&t("img",{class:f("image"),attrs:{src:l}}),t(u.default,{attrs:{dot:e.dot,info:null!=(o=e.badge)?o:e.info}})])}h.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:f()}},e.default=c(h)},function(t,e,n){"use strict";n.r(e),n.d(e,"ChildrenMixin",(function(){return i})),n.d(e,"ParentMixin",(function(){return o}));var r=n(77);function i(t,e){var n,i;void 0===e&&(e={});var o=e.indexKey||"index";return{inject:(n={},n[t]={default:null},n),computed:(i={parent:function(){return this.disableBindRelation?null:this[t]}},i[o]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},i),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);Object(r.sortChildren)(t,this.parent),this.parent.children=t}}}}}function o(t){return{provide:function(){var e;return(e={})[t]=this,e},data:function(){return{children:[]}}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"supportsPassive",(function(){return i})),n.d(e,"on",(function(){return a})),n.d(e,"off",(function(){return s})),n.d(e,"stopPropagation",(function(){return u})),n.d(e,"preventDefault",(function(){return l}));var r=n(0),i=!1;if(!r.isServer)try{var o={};Object.defineProperty(o,"passive",{get:function(){i=!0}}),window.addEventListener("test-passive",null,o)}catch(t){}function a(t,e,n,o){void 0===o&&(o=!1),r.isServer||t.addEventListener(e,n,!!i&&{capture:!1,passive:o})}function s(t,e,n){r.isServer||t.removeEventListener(e,n)}function u(t){t.stopPropagation()}function l(t,e){("boolean"!=typeof t.cancelable||t.cancelable)&&t.preventDefault(),e&&u(t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"createComponent",(function(){return o})),n.d(e,"bem",(function(){return a})),n.d(e,"t",(function(){return s})),n.d(e,"formatMonthTitle",(function(){return u})),n.d(e,"compareMonth",(function(){return l})),n.d(e,"compareDay",(function(){return c})),n.d(e,"getDayByOffset",(function(){return f})),n.d(e,"getPrevDay",(function(){return d})),n.d(e,"getNextDay",(function(){return h})),n.d(e,"calcDateNum",(function(){return p})),n.d(e,"copyDate",(function(){return v})),n.d(e,"copyDates",(function(){return g}));var r=n(2),i=Object(r.createNamespace)("calendar"),o=i[0],a=i[1],s=i[2];function u(t){return s("monthTitle",t.getFullYear(),t.getMonth()+1)}function l(t,e){var n=t.getFullYear(),r=e.getFullYear(),i=t.getMonth(),o=e.getMonth();return n===r?i===o?0:i>o?1:-1:n>r?1:-1}function c(t,e){var n=l(t,e);if(0===n){var r=t.getDate(),i=e.getDate();return r===i?0:r>i?1:-1}return n}function f(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function d(t){return f(t,-1)}function h(t){return f(t,1)}function p(t){var e=t[0].getTime();return(t[1].getTime()-e)/864e5+1}function v(t){return new Date(t)}function g(t){return Array.isArray(t)?t.map((function(t){return null===t?t:v(t)})):v(t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"RED",(function(){return r})),n.d(e,"BORDER",(function(){return i})),n.d(e,"BORDER_TOP",(function(){return o})),n.d(e,"BORDER_LEFT",(function(){return a})),n.d(e,"BORDER_BOTTOM",(function(){return s})),n.d(e,"BORDER_SURROUND",(function(){return u})),n.d(e,"BORDER_TOP_BOTTOM",(function(){return l})),n.d(e,"BORDER_UNSET_TOP_BOTTOM",(function(){return c}));var r="#ee0a24",i="van-hairline",o=i+"--top",a=i+"--left",s=i+"--bottom",u=i+"--surround",l=i+"--top-bottom",c=i+"-unset--top-bottom"},function(t,e,n){"use strict";n.r(e),n.d(e,"addUnit",(function(){return a})),n.d(e,"unitToPx",(function(){return u}));var r,i=n(0),o=n(32);function a(t){if(Object(i.isDef)(t))return t=String(t),Object(o.isNumeric)(t)?t+"px":t}function s(t){return+(t=t.replace(/rem/g,""))*function(){if(!r){var t=document.documentElement,e=t.style.fontSize||window.getComputedStyle(t).fontSize;r=parseFloat(e)}return r}()}function u(t){if("number"==typeof t)return t;if(i.inBrowser){if(-1!==t.indexOf("rem"))return s(t);if(-1!==t.indexOf("vw"))return function(t){return+(t=t.replace(/vw/g,""))*window.innerWidth/100}(t);if(-1!==t.indexOf("vh"))return function(t){return+(t=t.replace(/vh/g,""))*window.innerHeight/100}(t)}return parseFloat(t)}},function(t,e,n){"use strict";function r(t){return t===window}n.r(e),n.d(e,"getScroller",(function(){return o})),n.d(e,"getScrollTop",(function(){return a})),n.d(e,"setScrollTop",(function(){return s})),n.d(e,"getRootScrollTop",(function(){return u})),n.d(e,"setRootScrollTop",(function(){return l})),n.d(e,"getElementTop",(function(){return c})),n.d(e,"getVisibleHeight",(function(){return f})),n.d(e,"getVisibleTop",(function(){return d}));var i=/scroll|auto/i;function o(t,e){void 0===e&&(e=window);for(var n=t;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e;){var r=window.getComputedStyle(n).overflowY;if(i.test(r))return n;n=n.parentNode}return e}function a(t){var e="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(e,0)}function s(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function u(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function l(t){s(window,t),s(document.body,t)}function c(t,e){if(r(t))return 0;var n=e?a(e):u();return t.getBoundingClientRect().top+n}function f(t){return r(t)?t.innerHeight:t.getBoundingClientRect().height}function d(t){return r(t)?0:t.getBoundingClientRect().top}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(4),o=n.n(i),a=n(2),s=n(0),u=n(3),l=n(17),c=n(56),f=n(5),d=Object(a.createNamespace)("cell"),h=d[0],p=d[1];function v(t,e,n,r){var i,a=e.icon,c=e.size,d=e.title,h=e.label,v=e.value,g=e.isLink,m=n.title||Object(s.isDef)(d);function y(){if(n.label||Object(s.isDef)(h))return t("div",{class:[p("label"),e.labelClass]},[n.label?n.label():h])}var _=null!=(i=e.clickable)?i:g,b={clickable:_,center:e.center,required:e.required,borderless:!e.border};return c&&(b[c]=c),t("div",o()([{class:p(b),attrs:{role:_?"button":null,tabindex:_?0:null},on:{click:function(t){Object(u.emit)(r,"click",t),Object(l.functionalRoute)(r)}}},Object(u.inherit)(r)]),[n.icon?n.icon():a?t(f.default,{class:p("left-icon"),attrs:{name:a,classPrefix:e.iconPrefix}}):void 0,function(){if(m)return t("div",{class:[p("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():t("span",[d]),y()])}(),function(){if(n.default||Object(s.isDef)(v))return t("div",{class:[p("value",{alone:!m}),e.valueClass]},[n.default?n.default():t("span",[v])])}(),function(){var r=n["right-icon"];if(r)return r();if(g){var i=e.arrowDirection;return t(f.default,{class:p("right-icon"),attrs:{name:i?"arrow-"+i:"arrow"}})}}(),null==n.extra?void 0:n.extra()])}v.props=Object(r.default)({},c.cellProps,l.routeProps),e.default=h(v)},function(t,e,n){"use strict";n.r(e),n.d(e,"camelize",(function(){return i})),n.d(e,"padZero",(function(){return o}));var r=/-(\w)/g;function i(t){return t.replace(r,(function(t,e){return e.toUpperCase()}))}function o(t,e){void 0===e&&(e=2);for(var n=t+"";n.length<e;)n="0"+n;return n}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(4),o=n.n(i),a=n(2),s=n(3),u=n(9),l=n(17),c=n(5),f=n(19),d=Object(a.createNamespace)("button"),h=d[0],p=d[1];function v(t,e,n,r){var i,a=e.tag,d=e.icon,h=e.type,v=e.color,g=e.plain,m=e.disabled,y=e.loading,_=e.hairline,b=e.loadingText,x=e.iconPosition,w={};v&&(w.color=g?v:"white",g||(w.background=v),-1!==v.indexOf("gradient")?w.border=0:w.borderColor=v);var j,S,O=[p([h,e.size,{plain:g,loading:y,disabled:m,hairline:_,block:e.block,round:e.round,square:e.square}]),(i={},i[u.BORDER_SURROUND]=_,i)];function k(){return y?n.loading?n.loading():t(f.default,{class:p("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):d?t(c.default,{attrs:{name:d,classPrefix:e.iconPrefix},class:p("icon")}):void 0}return t(a,o()([{style:w,class:O,attrs:{type:e.nativeType,disabled:m},on:{click:function(t){e.loading&&t.preventDefault(),y||m||(Object(s.emit)(r,"click",t),Object(l.functionalRoute)(r))},touchstart:function(t){Object(s.emit)(r,"touchstart",t)}}},Object(s.inherit)(r)]),[t("div",{class:p("content")},[(S=[],"left"===x&&S.push(k()),(j=y?b:n.default?n.default():e.text)&&S.push(t("span",{class:p("text")},[j])),"right"===x&&S.push(k()),S)])])}v.props=Object(r.default)({},l.routeProps,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}}),e.default=h(v)},function(t,e,n){"use strict";n.r(e),function(t,n){
- /*!
- * Vue.js v2.6.12
- * (c) 2014-2020 Evan You
- * Released under the MIT License.
- */
- var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function c(t){return"[object Object]"===l.call(t)}function f(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}g("slot,component",!0);var m=g("key,ref,slot,slot-scope,is");function y(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function x(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,j=x((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),S=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),O=/\B([A-Z])/g,k=x((function(t){return t.replace(O,"-$1").toLowerCase()}));var E=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function C(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function M(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n<t.length;n++)t[n]&&M(e,t[n]);return e}function P(t,e,n){}var A=function(t,e,n){return!1},I=function(t){return t};function N(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function R(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var L=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],$={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:A,isReservedAttr:A,isUnknownElement:A,getTagNamespace:P,parsePlatformTagName:I,mustUseProp:A,async:!0,_lifecycleHooks:B},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var V=new RegExp("[^"+F.source+".$_\\d]");var q,H="__proto__"in{},G="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Y=U&&WXEnvironment.platform.toLowerCase(),W=G&&window.navigator.userAgent.toLowerCase(),X=W&&/msie|trident/.test(W),K=W&&W.indexOf("msie 9.0")>0,Z=W&&W.indexOf("edge/")>0,Q=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===Y),J=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(G)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var rt=function(){return void 0===q&&(q=!G&&!U&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),q},it=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var at,st="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=P,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){y(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ct.target=null;var ft=[];function dt(t){ft.push(t),ct.target=t}function ht(){ft.pop(),ct.target=ft[ft.length-1]}var pt=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},vt={child:{configurable:!0}};vt.child.get=function(){return this.componentInstance},Object.defineProperties(pt.prototype,vt);var gt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function mt(t){return new pt(void 0,void 0,void 0,String(t))}function yt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var _t=Array.prototype,bt=Object.create(_t);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=_t[t];z(bt,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var xt=Object.getOwnPropertyNames(bt),wt=!0;function jt(t){wt=t}var St=function(t){this.value=t,this.dep=new ct,this.vmCount=0,z(t,"__ob__",this),Array.isArray(t)?(H?function(t,e){t.__proto__=e}(t,bt):function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];z(t,o,e[o])}}(t,bt,xt),this.observeArray(t)):this.walk(t)};function Ot(t,e){var n;if(u(t)&&!(t instanceof pt))return b(t,"__ob__")&&t.__ob__ instanceof St?n=t.__ob__:wt&&!rt()&&(Array.isArray(t)||c(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new St(t)),e&&n&&n.vmCount++,n}function kt(t,e,n,r,i){var o=new ct,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(n=t[e]);var l=!i&&Ot(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ct.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&Mt(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!u||(u?u.call(t,e):n=e,l=!i&&Ot(e),o.notify())}})}}function Et(t,e,n){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(kt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Ct(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function Mt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Mt(e)}St.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)kt(t,e[n])},St.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ot(t[e])};var Tt=$.optionMergeStrategies;function Pt(t,e){if(!e)return t;for(var n,r,i,o=st?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=t[n],i=e[n],b(t,n)?r!==i&&c(r)&&c(i)&&Pt(r,i):Et(t,n,i));return t}function At(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?Pt(r,i):i}:e?t?function(){return Pt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function It(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Nt(t,e,n,r){var i=Object.create(t||null);return e?M(i,e):i}Tt.data=function(t,e,n){return n?At(t,e,n):e&&"function"!=typeof e?t:At(t,e)},B.forEach((function(t){Tt[t]=It})),L.forEach((function(t){Tt[t+"s"]=Nt})),Tt.watch=function(t,e,n,r){if(t===tt&&(t=void 0),e===tt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in M(i,t),e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Tt.props=Tt.methods=Tt.inject=Tt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return M(i,t),e&&M(i,e),i},Tt.provide=At;var Dt=function(t,e){return void 0===e?t:e};function Rt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[j(i)]={type:null});else if(c(n))for(var a in n)i=n[a],o[j(a)]=c(i)?i:{type:i};else 0;t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(c(n))for(var o in n){var a=n[o];r[o]=c(a)?M({from:o},a):{from:a}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Rt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Rt(t,e.mixins[r],n);var o,a={};for(o in t)s(o);for(o in e)b(t,o)||s(o);function s(r){var i=Tt[r]||Dt;a[r]=i(t[r],e[r],n,r)}return a}function Lt(t,e,n,r){if("string"==typeof n){var i=t[e];if(b(i,n))return i[n];var o=j(n);if(b(i,o))return i[o];var a=S(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function Bt(t,e,n,r){var i=e[t],o=!b(n,t),a=n[t],s=zt(Boolean,i.type);if(s>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===k(t)){var u=zt(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!b(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==$t(e.type)?r.call(t):r}(r,i,t);var l=wt;jt(!0),Ot(a),jt(l)}return a}function $t(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Ft(t,e){return $t(t)===$t(e)}function zt(t,e){if(!Array.isArray(e))return Ft(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ft(e[n],t))return n;return-1}function Vt(t,e,n){dt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Ht(t,r,"errorCaptured hook")}}Ht(t,e,n)}finally{ht()}}function qt(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&h(o)&&!o._handled&&(o.catch((function(t){return Vt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Vt(t,r,i)}return o}function Ht(t,e,n){if($.errorHandler)try{return $.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Gt(e,null,"config.errorHandler")}Gt(t,e,n)}function Gt(t,e,n){if(!G&&!U||"undefined"==typeof console)throw t;console.error(t)}var Ut,Yt=!1,Wt=[],Xt=!1;function Kt(){Xt=!1;var t=Wt.slice(0);Wt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ot(Promise)){var Zt=Promise.resolve();Ut=function(){Zt.then(Kt),Q&&setTimeout(P)},Yt=!0}else if(X||"undefined"==typeof MutationObserver||!ot(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ut=void 0!==n&&ot(n)?function(){n(Kt)}:function(){setTimeout(Kt,0)};else{var Qt=1,Jt=new MutationObserver(Kt),te=document.createTextNode(String(Qt));Jt.observe(te,{characterData:!0}),Ut=function(){Qt=(Qt+1)%2,te.data=String(Qt)},Yt=!0}function ee(t,e){var n;if(Wt.push((function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else n&&n(e)})),Xt||(Xt=!0,Ut()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var ne=new at;function re(t){!function t(e,n){var r,i,o=Array.isArray(e);if(!o&&!u(e)||Object.isFrozen(e)||e instanceof pt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}(t,ne),ne.clear()}var ie=x((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function oe(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return qt(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)qt(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function ae(t,e,n,r,o,s){var u,l,c,f;for(u in t)l=t[u],c=e[u],f=ie(u),i(l)||(i(c)?(i(l.fns)&&(l=t[u]=oe(l,s)),a(f.once)&&(l=t[u]=o(f.name,l,f.capture)),n(f.name,l,f.capture,f.passive,f.params)):l!==c&&(c.fns=l,t[u]=c));for(u in e)i(t[u])&&r((f=ie(u)).name,e[u],f.capture)}function se(t,e,n){var r;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function u(){n.apply(this,arguments),y(r.fns,u)}i(s)?r=oe([u]):o(s.fns)&&a(s.merged)?(r=s).fns.push(u):r=oe([s,u]),r.merged=!0,t[e]=r}function ue(t,e,n,r,i){if(o(e)){if(b(e,n))return t[n]=e[n],i||delete e[n],!0;if(b(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function le(t){return s(t)?[mt(t)]:Array.isArray(t)?function t(e,n){var r,u,l,c,f=[];for(r=0;r<e.length;r++)i(u=e[r])||"boolean"==typeof u||(l=f.length-1,c=f[l],Array.isArray(u)?u.length>0&&(ce((u=t(u,(n||"")+"_"+r))[0])&&ce(c)&&(f[l]=mt(c.text+u[0].text),u.shift()),f.push.apply(f,u)):s(u)?ce(c)?f[l]=mt(c.text+u):""!==u&&f.push(mt(u)):ce(u)&&ce(c)?f[l]=mt(c.text+u.text):(a(e._isVList)&&o(u.tag)&&i(u.key)&&o(n)&&(u.key="__vlist"+n+"_"+r+"__"),f.push(u)));return f}(t):void 0}function ce(t){return o(t)&&o(t.text)&&!1===t.isComment}function fe(t,e){if(t){for(var n=Object.create(null),r=st?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=t[o].from,s=e;s;){if(s._provided&&b(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var u=t[o].default;n[o]="function"==typeof u?u.call(e):u}else 0}}return n}}function de(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var l in n)n[l].every(he)&&delete n[l];return n}function he(t){return t.isComment&&!t.asyncFactory||" "===t.text}function pe(t,e,n){var i,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var u in i={},t)t[u]&&"$"!==u[0]&&(i[u]=ve(e,u,t[u]))}else i={};for(var l in e)l in i||(i[l]=ge(e,l));return t&&Object.isExtensible(t)&&(t._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function ve(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:le(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function ge(t,e){return function(){return t[e]}}function me(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(u(t))if(st&&t[Symbol.iterator]){n=[];for(var l=t[Symbol.iterator](),c=l.next();!c.done;)n.push(e(c.value,n.length)),c=l.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return o(n)||(n=[]),n._isVList=!0,n}function ye(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=M(M({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function _e(t){return Lt(this.$options,"filters",t)||I}function be(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function xe(t,e,n,r,i){var o=$.keyCodes[e]||n;return i&&r&&!$.keyCodes[e]?be(i,r):o?be(o,t):r?k(r)!==e:void 0}function we(t,e,n,r,i){if(n)if(u(n)){var o;Array.isArray(n)&&(n=T(n));var a=function(a){if("class"===a||"style"===a||m(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||$.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=j(a),l=k(a);u in o||l in o||(o[a]=n[a],i&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var s in n)a(s)}else;return t}function je(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Oe(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Se(t,e,n){return Oe(t,"__once__"+e+(n?"_"+n:""),!0),t}function Oe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&ke(t[r],e+"_"+r,n);else ke(t,e,n)}function ke(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ee(t,e){if(e)if(c(e)){var n=t.on=t.on?M({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Ce(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Ce(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function Me(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Te(t,e){return"string"==typeof t?e+t:t}function Pe(t){t._o=Se,t._n=v,t._s=p,t._l=me,t._t=ye,t._q=N,t._i=D,t._m=je,t._f=_e,t._k=xe,t._b=we,t._v=mt,t._e=gt,t._u=Ce,t._g=Ee,t._d=Me,t._p=Te}function Ae(t,e,n,i,o){var s,u=this,l=o.options;b(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var c=a(l._compiled),f=!c;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=fe(l.inject,i),this.slots=function(){return u.$slots||pe(t.scopedSlots,u.$slots=de(n,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pe(t.scopedSlots,this.slots())}}),c&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=pe(t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,r){var o=$e(s,t,e,n,r,f);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return $e(s,t,e,n,r,f)}}function Ie(t,e,n,r,i){var o=yt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ne(t,e){for(var n in e)t[j(n)]=e[n]}Pe(Ae.prototype);var De={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;De.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Xe)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){0;var a=i.data.scopedSlots,s=t.$scopedSlots,u=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),l=!!(o||t.$options._renderChildren||u);t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i);if(t.$options._renderChildren=o,t.$attrs=i.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){jt(!1);for(var c=t._props,f=t.$options._propKeys||[],d=0;d<f.length;d++){var h=f[d],p=t.$options.props;c[h]=Bt(h,p,e,t)}jt(!0),t.$options.propsData=e}n=n||r;var v=t.$options._parentListeners;t.$options._parentListeners=n,We(t,n,v),l&&(t.$slots=de(o,i.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Je(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,en.push(e)):Qe(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,Ze(e)))return;if(!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);Je(e,"deactivated")}}(e,!0):e.$destroy())}},Re=Object.keys(De);function Le(t,e,n,s,l){if(!i(t)){var c=n.$options._base;if(u(t)&&(t=c.extend(t)),"function"==typeof t){var f;if(i(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=ze;n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(a(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var r=t.owners=[n],s=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return y(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},d=R((function(n){t.resolved=Ve(n,e),s?r.length=0:f(!0)})),p=R((function(e){o(t.errorComp)&&(t.error=!0,f(!0))})),v=t(d,p);return u(v)&&(h(v)?i(t.resolved)&&v.then(d,p):h(v.component)&&(v.component.then(d,p),o(v.error)&&(t.errorComp=Ve(v.error,e)),o(v.loading)&&(t.loadingComp=Ve(v.loading,e),0===v.delay?t.loading=!0:l=setTimeout((function(){l=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,f(!1))}),v.delay||200)),o(v.timeout)&&(c=setTimeout((function(){c=null,i(t.resolved)&&p(null)}),v.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(f=t,c)))return function(t,e,n,r,i){var o=gt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(f,e,n,s,l);e=e||{},wn(t),o(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[r],s=e.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}(t.options,e);var d=function(t,e,n){var r=e.options.props;if(!i(r)){var a={},s=t.attrs,u=t.props;if(o(s)||o(u))for(var l in r){var c=k(l);ue(a,u,l,c,!0)||ue(a,s,l,c,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,i,a){var s=t.options,u={},l=s.props;if(o(l))for(var c in l)u[c]=Bt(c,l,e||r);else o(n.attrs)&&Ne(u,n.attrs),o(n.props)&&Ne(u,n.props);var f=new Ae(n,u,a,i,t),d=s.render.call(null,f._c,f);if(d instanceof pt)return Ie(d,n,f.parent,s,f);if(Array.isArray(d)){for(var h=le(d)||[],p=new Array(h.length),v=0;v<h.length;v++)p[v]=Ie(h[v],n,f.parent,s,f);return p}}(t,d,e,n,s);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var v=e.slot;e={},v&&(e.slot=v)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Re.length;n++){var r=Re[n],i=e[r],o=De[r];i===o||i&&i._merged||(e[r]=i?Be(o,i):o)}}(e);var g=t.options.name||l;return new pt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:d,listeners:p,tag:l,children:s},f)}}}function Be(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function $e(t,e,n,r,l,c){return(Array.isArray(n)||s(n))&&(l=r,r=n,n=void 0),a(c)&&(l=2),function(t,e,n,r,s){if(o(n)&&o(n.__ob__))return gt();o(n)&&o(n.is)&&(e=n.is);if(!e)return gt();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===s?r=le(r):1===s&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var l,c;if("string"==typeof e){var f;c=t.$vnode&&t.$vnode.ns||$.getTagNamespace(e),l=$.isReservedTag(e)?new pt($.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(f=Lt(t.$options,"components",e))?new pt(e,n,r,void 0,void 0,t):Le(f,n,t,r,e)}else l=Le(e,n,t,r);return Array.isArray(l)?l:o(l)?(o(c)&&function t(e,n,r){e.ns=n,"foreignObject"===e.tag&&(n=void 0,r=!0);if(o(e.children))for(var s=0,u=e.children.length;s<u;s++){var l=e.children[s];o(l.tag)&&(i(l.ns)||a(r)&&"svg"!==l.tag)&&t(l,n,r)}}(l,c),o(n)&&function(t){u(t.style)&&re(t.style);u(t.class)&&re(t.class)}(n),l):gt()}(t,e,n,r,l)}var Fe,ze=null;function Ve(t,e){return(t.__esModule||st&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function qe(t){return t.isComment&&t.asyncFactory}function He(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||qe(n)))return n}}function Ge(t,e){Fe.$on(t,e)}function Ue(t,e){Fe.$off(t,e)}function Ye(t,e){var n=Fe;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function We(t,e,n){Fe=t,ae(e,n||{},Ge,Ue,Ye,t),Fe=void 0}var Xe=null;function Ke(t){var e=Xe;return Xe=t,function(){Xe=e}}function Ze(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Qe(t,e){if(e){if(t._directInactive=!1,Ze(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Qe(t.$children[n]);Je(t,"activated")}}function Je(t,e){dt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)qt(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),ht()}var tn=[],en=[],nn={},rn=!1,on=!1,an=0;var sn=0,un=Date.now;if(G&&!X){var ln=window.performance;ln&&"function"==typeof ln.now&&un()>document.createEvent("Event").timeStamp&&(un=function(){return ln.now()})}function cn(){var t,e;for(sn=un(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;an<tn.length;an++)(t=tn[an]).before&&t.before(),e=t.id,nn[e]=null,t.run();var n=en.slice(),r=tn.slice();an=tn.length=en.length=0,nn={},rn=on=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Qe(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Je(r,"updated")}}(r),it&&$.devtools&&it.emit("flush")}var fn=0,dn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new at,this.newDepIds=new at,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!V.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};dn.prototype.get=function(){var t;dt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&re(t),ht(),this.cleanupDeps()}return t},dn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},dn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},dn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==nn[e]){if(nn[e]=!0,on){for(var n=tn.length-1;n>an&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(cn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Vt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:P,set:P};function pn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}function vn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&jt(!1);var o=function(o){i.push(o);var a=Bt(o,e,n,t);kt(r,o,a),o in t||pn(t,"_props",o)};for(var a in e)o(a);jt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?P:E(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&pn(t,"_data",o))}var a;Ot(e,!0)}(t):Ot(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=rt();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new dn(t,a||P,P,gn)),i in t||mn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)bn(t,n,r[i]);else bn(t,n,r)}}(t,e.watch)}var gn={lazy:!0};function mn(t,e,n){var r=!rt();"function"==typeof n?(hn.get=r?yn(e):_n(n),hn.set=P):(hn.get=n.get?r&&!1!==n.cache?yn(e):_n(n.get):P,hn.set=n.set||P),Object.defineProperty(t,e,hn)}function yn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function _n(t){return function(){return t.call(this,this)}}function bn(t,e,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var xn=0;function wn(t){var e=t.options;if(t.super){var n=wn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&M(t.extendOptions,r),(e=t.options=Rt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function jn(t){this._init(t)}function Sn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Rt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)mn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,L.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=M({},a.options),i[r]=a,a}}function On(t){return t&&(t.Ctor.options.name||t.tag)}function kn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function En(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=On(a.componentOptions);s&&!e(s)&&Cn(n,o,r,i)}}}function Cn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=xn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(wn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&We(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=de(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return $e(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return $e(t,e,n,r,i,!0)};var o=n&&n.data;kt(t,"$attrs",o&&o.attrs||r,null,!0),kt(t,"$listeners",e._parentListeners||r,null,!0)}(e),Je(e,"beforeCreate"),function(t){var e=fe(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(n){kt(t,n,e[n])})),jt(!0))}(e),vn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Je(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(jn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Et,t.prototype.$delete=Ct,t.prototype.$watch=function(t,e,n){if(c(e))return bn(this,t,e,n);(n=n||{}).user=!0;var r=new dn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Vt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(jn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((o=a[s])===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?C(n):n;for(var r=C(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)qt(n[o],e,r,e,i)}return e}}(jn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Ke(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Je(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||y(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Je(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(jn),function(t){Pe(t.prototype),t.prototype.$nextTick=function(t){return ee(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=pe(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{ze=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Vt(n,e,"render"),t=e._vnode}finally{ze=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=gt()),t.parent=i,t}}(jn);var Mn=[String,RegExp,Array],Tn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Mn,exclude:Mn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Cn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){En(t,(function(t){return kn(e,t)}))})),this.$watch("exclude",(function(e){En(t,(function(t){return!kn(e,t)}))}))},render:function(){var t=this.$slots.default,e=He(t),n=e&&e.componentOptions;if(n){var r=On(n),i=this.include,o=this.exclude;if(i&&(!r||!kn(i,r))||o&&r&&kn(o,r))return e;var a=this.cache,s=this.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[u]?(e.componentInstance=a[u].componentInstance,y(s,u),s.push(u)):(a[u]=e,s.push(u),this.max&&s.length>parseInt(this.max)&&Cn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return $}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:M,mergeOptions:Rt,defineReactive:kt},t.set=Et,t.delete=Ct,t.nextTick=ee,t.observable=function(t){return Ot(t),t},t.options=Object.create(null),L.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,M(t.options.components,Tn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=C(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),Sn(t),function(t){L.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(jn),Object.defineProperty(jn.prototype,"$isServer",{get:rt}),Object.defineProperty(jn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(jn,"FunctionalRenderContext",{value:Ae}),jn.version="2.6.12";var Pn=g("style,class"),An=g("input,textarea,option,select,progress"),In=g("contenteditable,draggable,spellcheck"),Nn=g("events,caret,typing,plaintext-only"),Dn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Rn="http://www.w3.org/1999/xlink",Ln=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Bn=function(t){return Ln(t)?t.slice(6,t.length):""},$n=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=zn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=zn(e,n.data));return function(t,e){if(o(t)||o(e))return Vn(t,qn(e));return""}(e.staticClass,e.class)}function zn(t,e){return{staticClass:Vn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Vn(t,e){return t?e?t+" "+e:t:e||""}function qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)o(e=qn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Hn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Gn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Un=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Yn=function(t){return Gn(t)||Un(t)};var Wn=Object.create(null);var Xn=g("text,number,password,search,email,tel,url");var Kn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Hn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Zn={create:function(t,e){Qn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Qn(t,!0),Qn(e))},destroy:function(t){Qn(t,!0)}};function Qn(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?y(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var Jn=new pt("",{},[]),tr=["create","activate","update","remove","destroy"];function er(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||Xn(r)&&Xn(i)}(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function nr(t,e,n){var r,i,a={};for(r=e;r<=n;++r)o(i=t[r].key)&&(a[i]=r);return a}var rr={create:ir,update:ir,destroy:function(t){ir(t,Jn)}};function ir(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===Jn,a=e===Jn,s=ar(t.data.directives,t.context),u=ar(e.data.directives,e.context),l=[],c=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,ur(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(ur(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)ur(l[n],"inserted",e,t)};o?se(e,"insert",f):f()}c.length&&se(e,"postpatch",(function(){for(var n=0;n<c.length;n++)ur(c[n],"componentUpdated",e,t)}));if(!o)for(n in s)u[n]||ur(s[n],"unbind",t,t,a)}(t,e)}var or=Object.create(null);function ar(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=or),i[sr(r)]=r,r.def=Lt(e.$options,"directives",r.name);return i}function sr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ur(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Vt(r,n.context,"directive "+t.name+" "+e+" hook")}}var lr=[Zn,rr];function cr(t,e){var n=e.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var r,a,s=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(r in o(l.__ob__)&&(l=e.data.attrs=M({},l)),l)a=l[r],u[r]!==a&&fr(s,r,a);for(r in(X||Z)&&l.value!==u.value&&fr(s,"value",l.value),u)i(l[r])&&(Ln(r)?s.removeAttributeNS(Rn,Bn(r)):In(r)||s.removeAttribute(r))}}function fr(t,e,n){t.tagName.indexOf("-")>-1?dr(t,e,n):Dn(e)?$n(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,function(t,e){return $n(e)||"false"===e?"false":"contenteditable"===t&&Nn(e)?e:"true"}(e,n)):Ln(e)?$n(n)?t.removeAttributeNS(Rn,Bn(e)):t.setAttributeNS(Rn,e,n):dr(t,e,n)}function dr(t,e,n){if($n(n))t.removeAttribute(e);else{if(X&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var hr={create:cr,update:cr};function pr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Fn(e),u=n._transitionClasses;o(u)&&(s=Vn(s,qn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var vr,gr={create:pr,update:pr};function mr(t,e,n){var r=vr;return function i(){var o=e.apply(null,arguments);null!==o&&br(t,i,n,r)}}var yr=Yt&&!(J&&Number(J[1])<=53);function _r(t,e,n,r){if(yr){var i=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}vr.addEventListener(t,e,et?{capture:n,passive:r}:n)}function br(t,e,n,r){(r||vr).removeEventListener(t,e._wrapper||e,n)}function xr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};vr=e.elm,function(t){if(o(t.__r)){var e=X?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,r,_r,br,mr,e.context),vr=void 0}}var wr,jr={create:xr,update:xr};function Sr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=M({},u)),s)n in u||(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var l=i(r)?"":String(r);Or(a,l)&&(a.value=l)}else if("innerHTML"===n&&Un(a.tagName)&&i(a.innerHTML)){(wr=wr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var c=wr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function Or(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var kr={create:Sr,update:Sr},Er=x((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Cr(t){var e=Mr(t.style);return t.staticStyle?M(t.staticStyle,e):e}function Mr(t){return Array.isArray(t)?T(t):"string"==typeof t?Er(t):t}var Tr,Pr=/^--/,Ar=/\s*!important$/,Ir=function(t,e,n){if(Pr.test(e))t.style.setProperty(e,n);else if(Ar.test(n))t.style.setProperty(k(e),n.replace(Ar,""),"important");else{var r=Dr(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Nr=["Webkit","Moz","ms"],Dr=x((function(t){if(Tr=Tr||document.createElement("div").style,"filter"!==(t=j(t))&&t in Tr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Nr.length;n++){var r=Nr[n]+e;if(r in Tr)return r}}));function Rr(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var a,s,u=e.elm,l=r.staticStyle,c=r.normalizedStyle||r.style||{},f=l||c,d=Mr(e.data.style)||{};e.data.normalizedStyle=o(d.__ob__)?M({},d):d;var h=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Cr(i.data))&&M(r,n);(n=Cr(t.data))&&M(r,n);for(var o=t;o=o.parent;)o.data&&(n=Cr(o.data))&&M(r,n);return r}(e,!0);for(s in f)i(h[s])&&Ir(u,s,"");for(s in h)(a=h[s])!==f[s]&&Ir(u,s,null==a?"":a)}}var Lr={create:Rr,update:Rr},Br=/\s+/;function $r(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Br).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Br).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function zr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&M(e,Vr(t.name||"v")),M(e,t),e}return"string"==typeof t?Vr(t):void 0}}var Vr=x((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),qr=G&&!K,Hr="transition",Gr="transitionend",Ur="animation",Yr="animationend";qr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Hr="WebkitTransition",Gr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ur="WebkitAnimation",Yr="webkitAnimationEnd"));var Wr=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Xr(t){Wr((function(){Wr(t)}))}function Kr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),$r(t,e))}function Zr(t,e){t._transitionClasses&&y(t._transitionClasses,e),Fr(t,e)}function Qr(t,e,n){var r=ti(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Gr:Yr,u=0,l=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++u>=a&&l()};setTimeout((function(){u<a&&l()}),o+1),t.addEventListener(s,c)}var Jr=/\b(transform|all)(,|$)/;function ti(t,e){var n,r=window.getComputedStyle(t),i=(r[Hr+"Delay"]||"").split(", "),o=(r[Hr+"Duration"]||"").split(", "),a=ei(i,o),s=(r[Ur+"Delay"]||"").split(", "),u=(r[Ur+"Duration"]||"").split(", "),l=ei(s,u),c=0,f=0;return"transition"===e?a>0&&(n="transition",c=a,f=o.length):"animation"===e?l>0&&(n="animation",c=l,f=u.length):f=(n=(c=Math.max(a,l))>0?a>l?"transition":"animation":null)?"transition"===n?o.length:u.length:0,{type:n,timeout:c,propCount:f,hasTransform:"transition"===n&&Jr.test(r[Hr+"Property"])}}function ei(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return ni(e)+ni(t[n])})))}function ni(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ri(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=zr(t.data.transition);if(!i(r)&&!o(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,l=r.enterClass,c=r.enterToClass,f=r.enterActiveClass,d=r.appearClass,h=r.appearToClass,p=r.appearActiveClass,g=r.beforeEnter,m=r.enter,y=r.afterEnter,_=r.enterCancelled,b=r.beforeAppear,x=r.appear,w=r.afterAppear,j=r.appearCancelled,S=r.duration,O=Xe,k=Xe.$vnode;k&&k.parent;)O=k.context,k=k.parent;var E=!O._isMounted||!t.isRootInsert;if(!E||x||""===x){var C=E&&d?d:l,M=E&&p?p:f,T=E&&h?h:c,P=E&&b||g,A=E&&"function"==typeof x?x:m,I=E&&w||y,N=E&&j||_,D=v(u(S)?S.enter:S);0;var L=!1!==a&&!K,B=ai(A),$=n._enterCb=R((function(){L&&(Zr(n,T),Zr(n,M)),$.cancelled?(L&&Zr(n,C),N&&N(n)):I&&I(n),n._enterCb=null}));t.data.show||se(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),A&&A(n,$)})),P&&P(n),L&&(Kr(n,C),Kr(n,M),Xr((function(){Zr(n,C),$.cancelled||(Kr(n,T),B||(oi(D)?setTimeout($,D):Qr(n,s,$)))}))),t.data.show&&(e&&e(),A&&A(n,$)),L||B||$()}}}function ii(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=zr(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var a=r.css,s=r.type,l=r.leaveClass,c=r.leaveToClass,f=r.leaveActiveClass,d=r.beforeLeave,h=r.leave,p=r.afterLeave,g=r.leaveCancelled,m=r.delayLeave,y=r.duration,_=!1!==a&&!K,b=ai(h),x=v(u(y)?y.leave:y);0;var w=n._leaveCb=R((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Zr(n,c),Zr(n,f)),w.cancelled?(_&&Zr(n,l),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));m?m(j):j()}function j(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),_&&(Kr(n,l),Kr(n,f),Xr((function(){Zr(n,l),w.cancelled||(Kr(n,c),b||(oi(x)?setTimeout(w,x):Qr(n,s,w)))}))),h&&h(n,w),_||b||w())}}function oi(t){return"number"==typeof t&&!isNaN(t)}function ai(t){if(i(t))return!1;var e=t.fns;return o(e)?ai(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function si(t,e){!0!==e.data.show&&ri(e)}var ui=function(t){var e,n,r={},u=t.modules,l=t.nodeOps;for(e=0;e<tr.length;++e)for(r[tr[e]]=[],n=0;n<u.length;++n)o(u[n][tr[e]])&&r[tr[e]].push(u[n][tr[e]]);function c(t){var e=l.parentNode(t);o(e)&&l.removeChild(e,t)}function f(t,e,n,i,s,u,c){if(o(t.elm)&&o(u)&&(t=u[c]=yt(t)),t.isRootInsert=!s,!function(t,e,n,i){var s=t.data;if(o(s)){var u=o(t.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(t,!1),o(t.componentInstance))return d(t,e),h(n,t.elm,i),a(u)&&function(t,e,n,i){var a,s=t;for(;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](Jn,s);e.push(s);break}h(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var f=t.data,v=t.children,g=t.tag;o(g)?(t.elm=t.ns?l.createElementNS(t.ns,g):l.createElement(g,t),y(t),p(t,v,e),o(f)&&m(t,e),h(n,t.elm,i)):a(t.isComment)?(t.elm=l.createComment(t.text),h(n,t.elm,i)):(t.elm=l.createTextNode(t.text),h(n,t.elm,i))}}function d(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(m(t,e),y(t)):(Qn(t),e.push(t))}function h(t,e,n){o(t)&&(o(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)f(e[r],n,t.elm,null,!0,e,r)}else s(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function m(t,n){for(var i=0;i<r.create.length;++i)r.create[i](Jn,t);o(e=t.data.hook)&&(o(e.create)&&e.create(Jn,t),o(e.insert)&&n.push(t))}function y(t){var e;if(o(e=t.fnScopeId))l.setStyleScope(t.elm,e);else for(var n=t;n;)o(e=n.context)&&o(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent;o(e=Xe)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function _(t,e,n,r,i,o){for(;r<=i;++r)f(n[r],o,t,e,!1,n,r)}function b(t){var e,n,i=t.data;if(o(i))for(o(e=i.hook)&&o(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function x(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(o(r.tag)?(w(r),b(r)):c(r.elm))}}function w(t,e){if(o(e)||o(t.data)){var n,i=r.remove.length+1;for(o(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&c(t)}return n.listeners=e,n}(t.elm,i),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&w(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else c(t.elm)}function j(t,e,n,r){for(var i=n;i<r;i++){var a=e[i];if(o(a)&&er(t,a))return i}}function S(t,e,n,s,u,c){if(t!==e){o(e.elm)&&o(s)&&(e=s[u]=yt(e));var d=e.elm=t.elm;if(a(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,p=e.data;o(p)&&o(h=p.hook)&&o(h=h.prepatch)&&h(t,e);var g=t.children,m=e.children;if(o(p)&&v(e)){for(h=0;h<r.update.length;++h)r.update[h](t,e);o(h=p.hook)&&o(h=h.update)&&h(t,e)}i(e.text)?o(g)&&o(m)?g!==m&&function(t,e,n,r,a){var s,u,c,d=0,h=0,p=e.length-1,v=e[0],g=e[p],m=n.length-1,y=n[0],b=n[m],w=!a;for(0;d<=p&&h<=m;)i(v)?v=e[++d]:i(g)?g=e[--p]:er(v,y)?(S(v,y,r,n,h),v=e[++d],y=n[++h]):er(g,b)?(S(g,b,r,n,m),g=e[--p],b=n[--m]):er(v,b)?(S(v,b,r,n,m),w&&l.insertBefore(t,v.elm,l.nextSibling(g.elm)),v=e[++d],b=n[--m]):er(g,y)?(S(g,y,r,n,h),w&&l.insertBefore(t,g.elm,v.elm),g=e[--p],y=n[++h]):(i(s)&&(s=nr(e,d,p)),i(u=o(y.key)?s[y.key]:j(y,e,d,p))?f(y,r,t,v.elm,!1,n,h):er(c=e[u],y)?(S(c,y,r,n,h),e[u]=void 0,w&&l.insertBefore(t,c.elm,v.elm)):f(y,r,t,v.elm,!1,n,h),y=n[++h]);d>p?_(t,i(n[m+1])?null:n[m+1].elm,n,h,m,r):h>m&&x(e,d,p)}(d,g,m,n,c):o(m)?(o(t.text)&&l.setTextContent(d,""),_(d,null,m,0,m.length-1,n)):o(g)?x(g,0,g.length-1):o(t.text)&&l.setTextContent(d,""):t.text!==e.text&&l.setTextContent(d,e.text),o(p)&&o(h=p.hook)&&o(h=h.postpatch)&&h(t,e)}}}function O(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var k=g("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var i,s=e.tag,u=e.data,l=e.children;if(r=r||u&&u.pre,e.elm=t,a(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(u)&&(o(i=u.hook)&&o(i=i.init)&&i(e,!0),o(i=e.componentInstance)))return d(e,n),!0;if(o(s)){if(o(l))if(t.hasChildNodes())if(o(i=u)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var c=!0,f=t.firstChild,h=0;h<l.length;h++){if(!f||!E(f,l[h],n,r)){c=!1;break}f=f.nextSibling}if(!c||f)return!1}else p(e,l,n);if(o(u)){var v=!1;for(var g in u)if(!k(g)){v=!0,m(e,n);break}!v&&u.class&&re(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!i(e)){var u,c=!1,d=[];if(i(t))c=!0,f(e,d);else{var h=o(t.nodeType);if(!h&&er(t,e))S(t,e,d,null,null,s);else{if(h){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),n=!0),a(n)&&E(t,e,d))return O(e,d,!0),t;u=t,t=new pt(l.tagName(u).toLowerCase(),{},[],void 0,u)}var p=t.elm,g=l.parentNode(p);if(f(e,d,p._leaveCb?null:g,l.nextSibling(p)),o(e.parent))for(var m=e.parent,y=v(e);m;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](m);if(m.elm=e.elm,y){for(var w=0;w<r.create.length;++w)r.create[w](Jn,m);var j=m.data.hook.insert;if(j.merged)for(var k=1;k<j.fns.length;k++)j.fns[k]()}else Qn(m);m=m.parent}o(g)?x([t],0,0):o(t.tag)&&b(t)}}return O(e,d,c),e.elm}o(t)&&b(t)}}({nodeOps:Kn,modules:[hr,gr,jr,kr,Lr,G?{create:si,activate:si,remove:function(t,e){!0!==t.data.show?ii(t,e):e()}}:{}].concat(lr)});K&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&gi(t,"input")}));var li={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?se(n,"postpatch",(function(){li.componentUpdated(t,e,n)})):ci(t,e,n.context),t._vOptions=[].map.call(t.options,hi)):("textarea"===n.tag||Xn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",pi),t.addEventListener("compositionend",vi),t.addEventListener("change",vi),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ci(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,hi);if(i.some((function(t,e){return!N(t,r[e])})))(t.multiple?e.value.some((function(t){return di(t,i)})):e.value!==e.oldValue&&di(e.value,i))&&gi(t,"change")}}};function ci(t,e,n){fi(t,e,n),(X||Z)&&setTimeout((function(){fi(t,e,n)}),0)}function fi(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=D(r,hi(a))>-1,a.selected!==o&&(a.selected=o);else if(N(hi(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function di(t,e){return e.every((function(e){return!N(e,t)}))}function hi(t){return"_value"in t?t._value:t.value}function pi(t){t.target.composing=!0}function vi(t){t.target.composing&&(t.target.composing=!1,gi(t.target,"input"))}function gi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function mi(t){return!t.componentInstance||t.data&&t.data.transition?t:mi(t.componentInstance._vnode)}var yi={model:li,show:{bind:function(t,e,n){var r=e.value,i=(n=mi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,ri(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=mi(n)).data&&n.data.transition?(n.data.show=!0,r?ri(n,(function(){t.style.display=t.__vOriginalDisplay})):ii(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},_i={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function bi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?bi(He(e.children)):t}function xi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[j(o)]=i[o];return e}function wi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ji=function(t){return t.tag||qe(t)},Si=function(t){return"show"===t.name},Oi={name:"transition",props:_i,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ji)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=bi(i);if(!o)return i;if(this._leaving)return wi(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=xi(this),l=this._vnode,c=bi(l);if(o.data.directives&&o.data.directives.some(Si)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!qe(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var f=c.data.transition=M({},u);if("out-in"===r)return this._leaving=!0,se(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),wi(t,i);if("in-out"===r){if(qe(o))return l;var d,h=function(){d()};se(u,"afterEnter",h),se(u,"enterCancelled",h),se(f,"delayLeave",(function(t){d=t}))}}return i}}},ki=M({tag:String,moveClass:String},_i);function Ei(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ci(t){t.data.newPos=t.elm.getBoundingClientRect()}function Mi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete ki.mode;var Ti={Transition:Oi,TransitionGroup:{props:ki,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=xi(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var l=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):c.push(d)}this.kept=t(e,null,l),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ei),t.forEach(Ci),t.forEach(Mi),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Kr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Gr,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Gr,t),n._moveCb=null,Zr(n,e))})}})))},methods:{hasMove:function(t,e){if(!qr)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Fr(n,t)})),$r(n,e),n.style.display="none",this.$el.appendChild(n);var r=ti(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};jn.config.mustUseProp=function(t,e,n){return"value"===n&&An(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},jn.config.isReservedTag=Yn,jn.config.isReservedAttr=Pn,jn.config.getTagNamespace=function(t){return Un(t)?"svg":"math"===t?"math":void 0},jn.config.isUnknownElement=function(t){if(!G)return!0;if(Yn(t))return!1;if(t=t.toLowerCase(),null!=Wn[t])return Wn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Wn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Wn[t]=/HTMLUnknownElement/.test(e.toString())},M(jn.options.directives,yi),M(jn.options.components,Ti),jn.prototype.__patch__=G?ui:P,jn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=gt),Je(t,"beforeMount"),r=function(){t._update(t._render(),n)},new dn(t,r,P,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&G?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},G&&setTimeout((function(){$.devtools&&it&&it.emit("init",jn)}),0),e.default=jn}.call(this,n(52),n(210).setImmediate)},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"raf",(function(){return u})),n.d(e,"doubleRaf",(function(){return l})),n.d(e,"cancelRaf",(function(){return c}));var r=n(0),i=Date.now();var o=r.isServer?t:window,a=o.requestAnimationFrame||function(t){var e=Date.now(),n=Math.max(0,16-(e-i)),r=setTimeout(t,n);return i=e+n,r},s=o.cancelAnimationFrame||o.clearTimeout;function u(t){return a.call(o,t)}function l(t){u((function(){u(t)}))}function c(t){s.call(o,t)}}.call(this,n(52))},function(t,e,n){"use strict";function r(t,e){var n=e.to,r=e.url,i=e.replace;if(n&&t){var o=t[i?"replace":"push"](n);o&&o.catch&&o.catch((function(t){if(t&&!function(t){return"NavigationDuplicated"===t.name||t.message&&-1!==t.message.indexOf("redundant navigation")}(t))throw t}))}else r&&(i?location.replace(r):location.href=r)}function i(t){r(t.parent&&t.parent.$router,t.props)}n.r(e),n.d(e,"route",(function(){return r})),n.d(e,"functionalRoute",(function(){return i})),n.d(e,"routeProps",(function(){return o}));var o={url:String,replace:Boolean,to:[String,Object]}},function(t,e,n){"use strict";n.r(e),n.d(e,"TouchMixin",(function(){return i}));var r=n(7);var i={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e,n,r=t.touches[0];this.deltaX=r.clientX<0?0:r.clientX-this.startX,this.deltaY=r.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,n=this.offsetY,e>n&&e>10?"horizontal":n>e&&n>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,i=this.onTouchEnd;Object(r.on)(t,"touchstart",e),Object(r.on)(t,"touchmove",n),i&&(Object(r.on)(t,"touchend",i),Object(r.on)(t,"touchcancel",i))}}}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(3),u=Object(o.createNamespace)("loading"),l=u[0],c=u[1];function f(t,e){if("spinner"===e.type){for(var n=[],r=0;r<12;r++)n.push(t("i"));return n}return t("svg",{class:c("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function d(t,e,n){if(n.default){var r,i={fontSize:Object(a.addUnit)(e.textSize),color:null!=(r=e.textColor)?r:e.color};return t("span",{class:c("text"),style:i},[n.default()])}}function h(t,e,n,r){var o=e.color,u=e.size,l=e.type,h={color:o};if(u){var p=Object(a.addUnit)(u);h.width=p,h.height=p}return t("div",i()([{class:c([l,{vertical:e.vertical}])},Object(s.inherit)(r,!0)]),[t("span",{class:c("spinner",l),style:h},[f(t,e)]),d(t,e,n)])}h.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}},e.default=l(h)},function(t,e,n){"use strict";function r(t,e,n){return Math.min(Math.max(t,e),n)}function i(t,e,n){var r=t.indexOf(e),i="";return-1===r?t:"-"===e&&0!==r?t.slice(0,r):("."===e&&t.match(/^(\.|-\.)/)&&(i=r?"-0":"0"),i+t.slice(0,r+1)+t.slice(r).replace(n,""))}function o(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!0),t=e?i(t,".",/\./g):t.split(".")[0];var r=e?/[^-0-9.]/g:/[^-0-9]/g;return(t=n?i(t,"-",/-/g):t.replace(/-/,"")).replace(r,"")}n.r(e),n.d(e,"range",(function(){return r})),n.d(e,"formatNumber",(function(){return o}))},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(28),a=n(5),s=Object(r.createNamespace)("popup"),u=s[0],l=s[1];e.default=u({mixins:[Object(o.PopupMixin)()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(n){return t.$emit(e,n)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()}},render:function(){var t,e=arguments[0];if(this.shouldRender){var n=this.round,r=this.position,o=this.duration,s="center"===r,u=this.transition||(s?"van-fade":"van-popup-slide-"+r),c={};if(Object(i.isDef)(o)){var f=s?"animationDuration":"transitionDuration";c[f]=o+"s"}return e("transition",{attrs:{appear:this.transitionAppear,name:u},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:c,class:l((t={round:n},t[r]=r,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(a.default,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(1),a=n(79),s=n(20),u=n(7),l=n(2),c=n(0),f=n(10),d=n(5),h=n(12),p=n(56),v=Object(l.createNamespace)("field"),g=v[0],m=v[1];e.default=g({inheritAttrs:!1,provide:function(){return{vanField:this}},inject:{vanForm:{default:null}},props:Object(o.default)({},p.cellProps,{name:String,rules:Array,disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},autosize:[Boolean,Object],leftIcon:String,rightIcon:String,clearable:Boolean,formatter:Function,maxlength:[Number,String],labelWidth:[Number,String],labelClass:null,labelAlign:String,inputAlign:String,placeholder:String,errorMessage:String,errorMessageAlign:String,showWordLimit:Boolean,value:{type:[Number,String],default:""},type:{type:String,default:"text"},error:{type:Boolean,default:null},colon:{type:Boolean,default:null},clearTrigger:{type:String,default:"focus"},formatTrigger:{type:String,default:"onChange"}}),data:function(){return{focused:!1,validateFailed:!1,validateMessage:""}},watch:{value:function(){this.updateValue(this.value),this.resetValidation(),this.validateWithTrigger("onChange"),this.$nextTick(this.adjustSize)}},mounted:function(){this.updateValue(this.value,this.formatTrigger),this.$nextTick(this.adjustSize),this.vanForm&&this.vanForm.addField(this)},beforeDestroy:function(){this.vanForm&&this.vanForm.removeField(this)},computed:{showClear:function(){var t=this.getProp("readonly");if(this.clearable&&!t){var e=Object(c.isDef)(this.value)&&""!==this.value,n="always"===this.clearTrigger||"focus"===this.clearTrigger&&this.focused;return e&&n}},showError:function(){return null!==this.error?this.error:!!(this.vanForm&&this.vanForm.showError&&this.validateFailed)||void 0},listeners:function(){return Object(o.default)({},this.$listeners,{blur:this.onBlur,focus:this.onFocus,input:this.onInput,click:this.onClickInput,keypress:this.onKeypress})},labelStyle:function(){var t=this.getProp("labelWidth");if(t)return{width:Object(f.addUnit)(t)}},formValue:function(){return this.children&&(this.$scopedSlots.input||this.$slots.input)?this.children.value:this.value}},methods:{focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},runValidator:function(t,e){return new Promise((function(n){var r=e.validator(t,e);if(Object(c.isPromise)(r))return r.then(n);n(r)}))},isEmptyValue:function(t){return Array.isArray(t)?!t.length:0!==t&&!t},runSyncRule:function(t,e){return(!e.required||!this.isEmptyValue(t))&&!(e.pattern&&!e.pattern.test(t))},getRuleMessage:function(t,e){var n=e.message;return Object(c.isFunction)(n)?n(t,e):n},runRules:function(t){var e=this;return t.reduce((function(t,n){return t.then((function(){if(!e.validateFailed){var t=e.formValue;return n.formatter&&(t=n.formatter(t,n)),e.runSyncRule(t,n)?n.validator?e.runValidator(t,n).then((function(r){!1===r&&(e.validateFailed=!0,e.validateMessage=e.getRuleMessage(t,n))})):void 0:(e.validateFailed=!0,void(e.validateMessage=e.getRuleMessage(t,n)))}}))}),Promise.resolve())},validate:function(t){var e=this;return void 0===t&&(t=this.rules),new Promise((function(n){t||n(),e.resetValidation(),e.runRules(t).then((function(){e.validateFailed?n({name:e.name,message:e.validateMessage}):n()}))}))},validateWithTrigger:function(t){if(this.vanForm&&this.rules){var e=this.vanForm.validateTrigger===t,n=this.rules.filter((function(n){return n.trigger?n.trigger===t:e}));n.length&&this.validate(n)}},resetValidation:function(){this.validateFailed&&(this.validateFailed=!1,this.validateMessage="")},updateValue:function(t,e){void 0===e&&(e="onChange"),t=Object(c.isDef)(t)?String(t):"";var n=this.maxlength;if(Object(c.isDef)(n)&&t.length>n&&(t=this.value&&this.value.length===+n?this.value:t.slice(0,n)),"number"===this.type||"digit"===this.type){var r="number"===this.type;t=Object(s.formatNumber)(t,r,r)}this.formatter&&e===this.formatTrigger&&(t=this.formatter(t));var i=this.$refs.input;i&&t!==i.value&&(i.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),Object(a.resetScroll)()},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){Object(u.preventDefault)(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||Object(u.preventDefault)(t),"search"===this.type&&this.blur());this.$emit("keypress",t)},adjustSize:function(){var t=this.$refs.input;if("textarea"===this.type&&this.autosize&&t){t.style.height="auto";var e=t.scrollHeight;if(Object(c.isObject)(this.autosize)){var n=this.autosize,r=n.maxHeight,i=n.minHeight;r&&(e=Math.min(e,r)),i&&(e=Math.max(e,i))}e&&(t.style.height=e+"px")}},genInput:function(){var t=this.$createElement,e=this.type,n=this.getProp("disabled"),r=this.getProp("readonly"),a=this.slots("input"),s=this.getProp("inputAlign");if(a)return t("div",{class:m("control",[s,"custom"]),on:{click:this.onClickInput}},[a]);var u={ref:"input",class:m("control",s),domProps:{value:this.value},attrs:Object(o.default)({},this.$attrs,{name:this.name,disabled:n,readonly:r,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}]};if("textarea"===e)return t("textarea",i()([{},u]));var l,c=e;return"number"===e&&(c="text",l="decimal"),"digit"===e&&(c="tel",l="numeric"),t("input",i()([{attrs:{type:c,inputmode:l}},u]))},genLeftIcon:function(){var t=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return t("div",{class:m("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(d.default,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})])},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:m("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(d.default,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:m("word-limit")},[t("span",{class:m("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.vanForm||!1!==this.vanForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var n=this.getProp("errorMessageAlign");return t("div",{class:m("error-message",n)},[e])}}},getProp:function(t){return Object(c.isDef)(this[t])?this[t]:this.vanForm&&Object(c.isDef)(this.vanForm[t])?this.vanForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t,e=arguments[0],n=this.slots,r=this.getProp("disabled"),i=this.getProp("labelAlign"),o={icon:this.genLeftIcon},a=this.genLabel();a&&(o.title=function(){return a});var s=this.slots("extra");return s&&(o.extra=function(){return s}),e(h.default,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:m("value"),titleClass:[m("label",i),this.labelClass],arrowDirection:this.arrowDirection},scopedSlots:o,class:m((t={error:this.showError,disabled:r},t["label-"+i]=i,t["min-height"]="textarea"===this.type&&!this.autosize,t)),on:{click:this.onClick}},[e("div",{class:m("body")},[this.genInput(),this.showClear&&e(d.default,{attrs:{name:"clear"},class:m("clear"),on:{touchstart:this.onClear}}),this.genRightIcon(),n("button")&&e("div",{class:m("button")},[n("button")])]),this.genWordLimit(),this.genMessage()])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"BindEventMixin",(function(){return o}));var r=n(7),i=0;function o(t){var e="binded_"+i++;function n(){this[e]||(t.call(this,r.on,!0),this[e]=!0)}function o(){this[e]&&(t.call(this,r.off,!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:o,beforeDestroy:o}}},function(t,e,n){"use strict";n.r(e),n.d(e,"FieldMixin",(function(){return r}));var r={inject:{vanField:{default:null}},watch:{value:function(){var t=this.vanField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.vanField;t&&!t.children&&(t.children=this)}}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(0),s=n(3),u=Object(o.createNamespace)("info"),l=u[0],c=u[1];function f(t,e,n,r){var o=e.dot,u=e.info,l=Object(a.isDef)(u)&&""!==u;if(o||l)return t("div",i()([{class:c({dot:o})},Object(s.inherit)(r,!0)]),[o?"":e.info])}f.props={dot:Boolean,info:[Number,String]},e.default=l(f)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(15),o=n(149),a=n(0),s=n(54),u={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},l={},c=[],f=!1,d=Object(r.default)({},u);function h(t){return Object(a.isObject)(t)?t:{message:t}}function p(){if(a.isServer)return{};if(!(c=c.filter((function(t){return!t.$el.parentNode||(e=t.$el,document.body.contains(e));var e}))).length||f){var t=new(i.default.extend(o.default))({el:document.createElement("div")});t.$on("input",(function(e){t.value=e})),c.push(t)}return c[c.length-1]}function v(t){void 0===t&&(t={});var e=p();return e.value&&e.updateZIndex(),t=h(t),(t=Object(r.default)({},d,l[t.type||d.type],t)).clear=function(){e.value=!1,t.onClose&&(t.onClose(),t.onClose=null),f&&!a.isServer&&e.$on("closed",(function(){clearTimeout(e.timer),c=c.filter((function(t){return t!==e})),Object(s.removeNode)(e.$el),e.$destroy()}))},Object(r.default)(e,function(t){return Object(r.default)({},t,{overlay:t.mask||t.overlay,mask:void 0,duration:void 0})}(t)),clearTimeout(e.timer),t.duration>0&&(e.timer=setTimeout((function(){e.clear()}),t.duration)),e}["loading","success","fail"].forEach((function(t){var e;v[t]=(e=t,function(t){return v(Object(r.default)({type:e},h(t)))})})),v.clear=function(t){c.length&&(t?(c.forEach((function(t){t.clear()})),c=[]):f?c.shift().clear():c[0].clear())},v.setDefaultOptions=function(t,e){"string"==typeof t?l[t]=e:Object(r.default)(d,t)},v.resetDefaultOptions=function(t){"string"==typeof t?l[t]=null:(d=Object(r.default)({},u),l={})},v.allowMultiple=function(t){void 0===t&&(t=!0),f=t},v.install=function(){i.default.use(o.default)},i.default.prototype.$toast=v,e.default=v},function(t,e,n){"use strict";n.r(e),n.d(e,"context",(function(){return r}));var r={zIndex:2e3,lockCount:0,stack:[],find:function(t){return this.stack.filter((function(e){return e.vm===t}))[0]}}},function(t,e,n){"use strict";n.r(e),n.d(e,"popupMixinProps",(function(){return f})),n.d(e,"PopupMixin",(function(){return d}));var r=n(27),i=n(61),o=n(7),a=n(54),s=n(11),u=n(18),l=n(53),c=n(170),f={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function d(t){return void 0===t&&(t={}),{mixins:[u.TouchMixin,c.CloseOnPopstateMixin,Object(l.PortalMixin)({afterPortal:function(){this.overlay&&Object(i.updateOverlay)()}})],props:f,data:function(){return{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(e){var n=e?"open":"close";this.inited=this.inited||this.value,this[n](),t.skipToggleEvent||this.$emit(n)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){Object(i.removeOverlay)(this),this.opened&&this.removeLock(),this.getContainer&&Object(a.removeNode)(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(r.context.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock())},addLock:function(){this.lockScroll&&(Object(o.on)(document,"touchstart",this.touchStart),Object(o.on)(document,"touchmove",this.onTouchMove),r.context.lockCount||document.body.classList.add("van-overflow-hidden"),r.context.lockCount++)},removeLock:function(){this.lockScroll&&r.context.lockCount&&(r.context.lockCount--,Object(o.off)(document,"touchstart",this.touchStart),Object(o.off)(document,"touchmove",this.onTouchMove),r.context.lockCount||document.body.classList.remove("van-overflow-hidden"))},close:function(){this.opened&&(Object(i.closeOverlay)(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=this.deltaY>0?"10":"01",n=Object(s.getScroller)(t.target,this.$el),r=n.scrollHeight,i=n.offsetHeight,a=n.scrollTop,u="11";0===a?u=i>=r?"00":"01":a+i>=r&&(u="10"),"11"===u||"vertical"!==this.direction||parseInt(u,2)&parseInt(e,2)||Object(o.preventDefault)(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick((function(){t.updateZIndex(t.overlay?1:0),t.overlay?Object(i.openOverlay)(t,{zIndex:r.context.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):Object(i.closeOverlay)(t)}))},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++r.context.zIndex+t}}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"LIMIT_TYPE",(function(){return r})),n.d(e,"UNSELECTED_SKU_VALUE_ID",(function(){return i}));var r={QUOTA_LIMIT:0,STOCK_LIMIT:1},i="";e.default={LIMIT_TYPE:r,UNSELECTED_SKU_VALUE_ID:i}},function(t,e,n){"use strict";var r=n(155),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(0),s=n(10),u=n(5),l=Object(o.createNamespace)("image"),c=l[0],f=l[1];e.default=c({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(a.isDef)(this.width)&&(t.width=Object(s.addUnit)(this.width)),Object(a.isDef)(this.height)&&(t.height=Object(s.addUnit)(this.height)),Object(a.isDef)(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(s.addUnit)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&a.inBrowser&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:f("loading")},[this.slots("loading")||t(u.default,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:f("loading-icon")})]):this.error&&this.showError?t("div",{class:f("error")},[this.slots("error")||t(u.default,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:f("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:f("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",i()([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",i()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){var t=arguments[0];return t("div",{class:f({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}})},function(t,e,n){"use strict";function r(t){return/^\d+(\.\d+)?$/.test(t)}function i(t){return Number.isNaN?Number.isNaN(t):t!=t}n.r(e),n.d(e,"isNumeric",(function(){return r})),n.d(e,"isNaN",(function(){return i}))},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(15),o=n(21),a=n(26),s=n(50),u=n(83),l=n(60),c=n(43),f=n(84),d=n(85),h=n(86),p=n(87),v=n(88),g=n(2),m=n(0),y=n(34),_=n(29),b=Object(g.createNamespace)("sku"),x=b[0],w=b[1],j=b[2],S=_.LIMIT_TYPE.QUOTA_LIMIT;e.default=x({props:{sku:Object,goods:Object,value:Boolean,buyText:String,goodsId:[Number,String],priceTag:String,lazyLoad:Boolean,hideStock:Boolean,properties:Array,addCartText:String,stepperTitle:String,getContainer:[String,Function],hideQuotaText:Boolean,hideSelectedText:Boolean,resetStepperOnHide:Boolean,customSkuValidator:Function,disableStepperInput:Boolean,resetSelectedSkuOnHide:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1},initialSku:{type:Object,default:function(){return{}}},stockThreshold:{type:Number,default:50},showSoldoutSku:{type:Boolean,default:!0},showAddCartBtn:{type:Boolean,default:!0},disableSoldoutSku:{type:Boolean,default:!0},customStepperConfig:{type:Object,default:function(){return{}}},showHeaderImage:{type:Boolean,default:!0},previewOnClickImage:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},bodyOffsetTop:{type:Number,default:200},messageConfig:{type:Object,default:function(){return{initialMessages:{},placeholderMap:{},uploadImg:function(){return Promise.resolve()},uploadMaxSize:5}}}},data:function(){return{selectedSku:{},selectedProp:{},selectedNum:1,show:this.value}},watch:{show:function(t){this.$emit("input",t),t||(this.$emit("sku-close",{selectedSkuValues:this.selectedSkuValues,selectedNum:this.selectedNum,selectedSkuComb:this.selectedSkuComb}),this.resetStepperOnHide&&this.resetStepper(),this.resetSelectedSkuOnHide&&this.resetSelectedSku())},value:function(t){this.show=t},skuTree:"resetSelectedSku",initialSku:function(){this.resetStepper(),this.resetSelectedSku()}},computed:{skuGroupClass:function(){return["van-sku-group-container",{"van-sku-group-container--hide-soldout":!this.showSoldoutSku}]},bodyStyle:function(){if(!this.$isServer)return{maxHeight:window.innerHeight-this.bodyOffsetTop+"px"}},isSkuCombSelected:function(){var t=this;return!(this.hasSku&&!Object(y.isAllSelected)(this.skuTree,this.selectedSku))&&!this.propList.filter((function(t){return!1!==t.is_necessary})).some((function(e){return 0===(t.selectedProp[e.k_id]||[]).length}))},isSkuEmpty:function(){return 0===Object.keys(this.sku).length},hasSku:function(){return!this.sku.none_sku},hasSkuOrAttr:function(){return this.hasSku||this.propList.length>0},selectedSkuComb:function(){var t=null;return this.isSkuCombSelected&&(t=this.hasSku?Object(y.getSkuComb)(this.skuList,this.selectedSku):{id:this.sku.collection_id,price:Math.round(100*this.sku.price),stock_num:this.sku.stock_num})&&(t.properties=Object(y.getSelectedProperties)(this.propList,this.selectedProp),t.property_price=this.selectedPropValues.reduce((function(t,e){return t+(e.price||0)}),0)),t},selectedSkuValues:function(){return Object(y.getSelectedSkuValues)(this.skuTree,this.selectedSku)},selectedPropValues:function(){return Object(y.getSelectedPropValues)(this.propList,this.selectedProp)},price:function(){return this.selectedSkuComb?((this.selectedSkuComb.price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.price},originPrice:function(){return this.selectedSkuComb&&this.selectedSkuComb.origin_price?((this.selectedSkuComb.origin_price+this.selectedSkuComb.property_price)/100).toFixed(2):this.sku.origin_price},skuTree:function(){return this.sku.tree||[]},skuList:function(){return this.sku.list||[]},propList:function(){return this.properties||[]},imageList:function(){var t=[this.goods.picture];return this.skuTree.length>0&&this.skuTree.forEach((function(e){e.v&&e.v.forEach((function(e){var n=e.previewImgUrl||e.imgUrl||e.img_url;n&&-1===t.indexOf(n)&&t.push(n)}))})),t},stock:function(){var t=this.customStepperConfig.stockNum;return void 0!==t?t:this.selectedSkuComb?this.selectedSkuComb.stock_num:this.sku.stock_num},stockText:function(){var t=this.$createElement,e=this.customStepperConfig.stockFormatter;return e?e(this.stock):[j("stock")+" ",t("span",{class:w("stock-num",{highlight:this.stock<this.stockThreshold})},[this.stock])," "+j("stockUnit")]},selectedText:function(){var t=this;if(this.selectedSkuComb){var e=this.selectedSkuValues.concat(this.selectedPropValues);return j("selected")+" "+e.map((function(t){return t.name})).join(" ")}var n=this.skuTree.filter((function(e){return t.selectedSku[e.k_s]===_.UNSELECTED_SKU_VALUE_ID})).map((function(t){return t.k})),r=this.propList.filter((function(e){return(t.selectedProp[e.k_id]||[]).length<1})).map((function(t){return t.k}));return j("select")+" "+n.concat(r).join(" ")}},created:function(){var t=new i.default;this.skuEventBus=t,t.$on("sku:select",this.onSelect),t.$on("sku:propSelect",this.onPropSelect),t.$on("sku:numChange",this.onNumChange),t.$on("sku:previewImage",this.onPreviewImage),t.$on("sku:overLimit",this.onOverLimit),t.$on("sku:stepperState",this.onStepperState),t.$on("sku:addCart",this.onAddCart),t.$on("sku:buy",this.onBuy),this.resetStepper(),this.resetSelectedSku(),this.$emit("after-sku-create",t)},methods:{resetStepper:function(){var t=this.$refs.skuStepper,e=this.initialSku.selectedNum,n=null!=e?e:this.startSaleNum;this.stepperError=null,t?t.setCurrentNum(n):this.selectedNum=n},resetSelectedSku:function(){var t=this;this.selectedSku={},this.skuTree.forEach((function(e){t.selectedSku[e.k_s]=_.UNSELECTED_SKU_VALUE_ID})),this.skuTree.forEach((function(e){var n=e.k_s,r=1===e.v.length?e.v[0].id:t.initialSku[n];r&&Object(y.isSkuChoosable)(t.skuList,t.selectedSku,{key:n,valueId:r})&&(t.selectedSku[n]=r)}));var e=this.selectedSkuValues;e.length>0&&this.$nextTick((function(){t.$emit("sku-selected",{skuValue:e[e.length-1],selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb})})),this.selectedProp={};var n=this.initialSku.selectedProp,r=void 0===n?{}:n;this.propList.forEach((function(e){r[e.k_id]&&(t.selectedProp[e.k_id]=r[e.k_id])})),Object(m.isEmpty)(this.selectedProp)&&this.propList.forEach((function(e){var n;if((null==e||null==(n=e.v)?void 0:n.length)>0){var r=e.v,i=e.k_id;r.some((function(t){return 0!=+t.price}))||(t.selectedProp[i]=[r[0].id])}}));var i=this.selectedPropValues;i.length>0&&this.$emit("sku-prop-selected",{propValue:i[i.length-1],selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.$emit("sku-reset",{selectedSku:this.selectedSku,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb}),this.centerInitialSku()},getSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getMessages():{}},getSkuCartMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getCartMessages():{}},validateSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.validateMessages():""},validateSku:function(){if(0===this.selectedNum)return j("unavailable");if(this.isSkuCombSelected)return this.validateSkuMessages();if(this.customSkuValidator){var t=this.customSkuValidator(this);if(t)return t}return j("selectSku")},onSelect:function(t){var e,n;this.selectedSku=this.selectedSku[t.skuKeyStr]===t.id?Object(r.default)({},this.selectedSku,((e={})[t.skuKeyStr]=_.UNSELECTED_SKU_VALUE_ID,e)):Object(r.default)({},this.selectedSku,((n={})[t.skuKeyStr]=t.id,n)),this.$emit("sku-selected",{skuValue:t,selectedSku:this.selectedSku,selectedSkuComb:this.selectedSkuComb})},onPropSelect:function(t){var e,n=this.selectedProp[t.skuKeyStr]||[],i=n.indexOf(t.id);i>-1?n.splice(i,1):t.multiple?n.push(t.id):n.splice(0,1,t.id),this.selectedProp=Object(r.default)({},this.selectedProp,((e={})[t.skuKeyStr]=n,e)),this.$emit("sku-prop-selected",{propValue:t,selectedProp:this.selectedProp,selectedSkuComb:this.selectedSkuComb})},onNumChange:function(t){this.selectedNum=t},onPreviewImage:function(t){var e=this,n=this.imageList,i=0,o=n[0];t&&t.imgUrl&&(this.imageList.some((function(e,n){return e===t.imgUrl&&(i=n,!0)})),o=t.imgUrl);var a=Object(r.default)({},t,{index:i,imageList:this.imageList,indexImage:o});this.$emit("open-preview",a),this.previewOnClickImage&&Object(s.default)({images:this.imageList,startPosition:i,onClose:function(){e.$emit("close-preview",a)}})},onOverLimit:function(t){var e=t.action,n=t.limitType,r=t.quota,i=t.quotaUsed,o=this.customStepperConfig.handleOverLimit;o?o(t):"minus"===e?this.startSaleNum>1?Object(a.default)(j("minusStartTip",this.startSaleNum)):Object(a.default)(j("minusTip")):"plus"===e&&(n===S?i>0?Object(a.default)(j("quotaUsedTip",r,i)):Object(a.default)(j("quotaTip",r)):Object(a.default)(j("soldout")))},onStepperState:function(t){this.stepperError=t.valid?null:Object(r.default)({},t,{action:"plus"})},onAddCart:function(){this.onBuyOrAddCart("add-cart")},onBuy:function(){this.onBuyOrAddCart("buy-clicked")},onBuyOrAddCart:function(t){if(this.stepperError)return this.onOverLimit(this.stepperError);var e=this.validateSku();e?Object(a.default)(e):this.$emit(t,this.getSkuData())},getSkuData:function(){return{goodsId:this.goodsId,messages:this.getSkuMessages(),selectedNum:this.selectedNum,cartMessages:this.getSkuCartMessages(),selectedSkuComb:this.selectedSkuComb}},onOpened:function(){this.centerInitialSku()},centerInitialSku:function(){var t=this;(this.$refs.skuRows||[]).forEach((function(e){var n=(e.skuRow||{}).k_s;e.centerItem(t.initialSku[n])}))}},render:function(){var t=this,e=arguments[0];if(!this.isSkuEmpty){var n=this.sku,r=this.skuList,i=this.goods,a=this.price,s=this.lazyLoad,g=this.originPrice,m=this.skuEventBus,y=this.selectedSku,_=this.selectedProp,b=this.selectedNum,x=this.stepperTitle,w=this.selectedSkuComb,S=this.showHeaderImage,O=this.disableSoldoutSku,k={price:a,originPrice:g,selectedNum:b,skuEventBus:m,selectedSku:y,selectedSkuComb:w},E=function(e){return t.slots(e,k)},C=E("sku-header")||e(u.default,{attrs:{sku:n,goods:i,skuEventBus:m,selectedSku:y,showHeaderImage:S}},[e("template",{slot:"sku-header-image-extra"},[E("sku-header-image-extra")]),E("sku-header-price")||e("div",{class:"van-sku__goods-price"},[e("span",{class:"van-sku__price-symbol"},["¥"]),e("span",{class:"van-sku__price-num"},[a]),this.priceTag&&e("span",{class:"van-sku__price-tag"},[this.priceTag])]),E("sku-header-origin-price")||g&&e(l.default,[j("originPrice")," ¥",g]),!this.hideStock&&e(l.default,[e("span",{class:"van-sku__stock"},[this.stockText])]),this.hasSkuOrAttr&&!this.hideSelectedText&&e(l.default,[this.selectedText]),E("sku-header-extra")]),M=E("sku-group")||this.hasSkuOrAttr&&e("div",{class:this.skuGroupClass},[this.skuTree.map((function(t){return e(c.default,{attrs:{skuRow:t},ref:"skuRows",refInFor:!0},[t.v.map((function(n){return e(f.default,{attrs:{skuList:r,lazyLoad:s,skuValue:n,skuKeyStr:t.k_s,selectedSku:y,skuEventBus:m,disableSoldoutSku:O,largeImageMode:t.largeImageMode}})}))])})),this.propList.map((function(t){return e(c.default,{attrs:{skuRow:t}},[t.v.map((function(n){return e(d.default,{attrs:{skuValue:n,skuKeyStr:t.k_id+"",selectedProp:_,skuEventBus:m,multiple:t.is_multiple}})}))])}))]),T=E("sku-stepper")||e(h.default,{ref:"skuStepper",attrs:{stock:this.stock,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum,skuEventBus:m,selectedNum:b,stepperTitle:x,skuStockNum:n.stock_num,disableStepperInput:this.disableStepperInput,customStepperConfig:this.customStepperConfig,hideQuotaText:this.hideQuotaText},on:{change:function(e){t.$emit("stepper-change",e)}}}),P=E("sku-messages")||e(p.default,{ref:"skuMessages",attrs:{goodsId:this.goodsId,messageConfig:this.messageConfig,messages:n.messages}}),A=E("sku-actions")||e(v.default,{attrs:{buyText:this.buyText,skuEventBus:m,addCartText:this.addCartText,showAddCartBtn:this.showAddCartBtn}});return e(o.default,{attrs:{round:!0,closeable:!0,position:"bottom",getContainer:this.getContainer,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:"van-sku-container",on:{opened:this.onOpened},model:{value:t.show,callback:function(e){t.show=e}}},[C,e("div",{class:"van-sku-body",style:this.bodyStyle},[E("sku-body-top"),M,E("extra-sku-group"),T,P]),E("sku-actions-top"),A])}}})},function(t,e,n){"use strict";n.r(e),n.d(e,"normalizeSkuTree",(function(){return o})),n.d(e,"normalizePropList",(function(){return a})),n.d(e,"isAllSelected",(function(){return s})),n.d(e,"getSkuComb",(function(){return u})),n.d(e,"getSelectedSkuValues",(function(){return l})),n.d(e,"isSkuChoosable",(function(){return c})),n.d(e,"getSelectedPropValues",(function(){return f})),n.d(e,"getSelectedProperties",(function(){return d}));var r=n(1),i=n(29),o=function(t){var e={};return t.forEach((function(t){e[t.k_s]=t.v})),e},a=function(t){var e={};return t.forEach((function(t){var n={};t.v.forEach((function(t){n[t.id]=t})),e[t.k_id]=n})),e},s=function(t,e){var n=Object.keys(e).filter((function(t){return e[t]!==i.UNSELECTED_SKU_VALUE_ID}));return t.length===n.length},u=function(t,e){return t.filter((function(t){return Object.keys(e).every((function(n){return String(t[n])===String(e[n])}))}))[0]},l=function(t,e){var n=o(t);return Object.keys(e).reduce((function(t,r){var o=n[r],a=e[r];if(a!==i.UNSELECTED_SKU_VALUE_ID){var s=o.filter((function(t){return t.id===a}))[0];s&&t.push(s)}return t}),[])},c=function(t,e,n){var o,a=n.key,s=n.valueId,u=Object(r.default)({},e,((o={})[a]=s,o)),l=Object.keys(u).filter((function(t){return u[t]!==i.UNSELECTED_SKU_VALUE_ID}));return t.filter((function(t){return l.every((function(e){return String(u[e])===String(t[e])}))})).reduce((function(t,e){return t+=e.stock_num}),0)>0},f=function(t,e){var n=a(t);return Object.keys(e).reduce((function(t,i){return e[i].forEach((function(e){t.push(Object(r.default)({},n[i][e]))})),t}),[])},d=function(t,e){var n=[];return(t||[]).forEach((function(t){if(e[t.k_id]&&e[t.k_id].length>0){var i=[];t.v.forEach((function(n){e[t.k_id].indexOf(n.id)>-1&&i.push(Object(r.default)({},n))})),n.push(Object(r.default)({},t,{v:i}))}})),n};e.default={normalizeSkuTree:o,getSkuComb:u,getSelectedSkuValues:l,isAllSelected:s,isSkuChoosable:c,getSelectedPropValues:f,getSelectedProperties:d}},function(t,e,n){"use strict";n.r(e),n.d(e,"createComponent",(function(){return o})),n.d(e,"bem",(function(){return a}));var r=n(2),i=Object(r.createNamespace)("image-preview"),o=i[0],a=i[1]},function(t,e,n){"use strict";function r(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}n.r(e),n.d(e,"isHidden",(function(){return r}))},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(78),a=n(24),s=n(19),u=Object(r.createNamespace)("switch"),l=u[0],c=u[1];e.default=l({mixins:[a.FieldMixin],props:o.switchProps,computed:{checked:function(){return this.value===this.activeValue},style:function(){return{fontSize:Object(i.addUnit)(this.size),backgroundColor:this.checked?this.activeColor:this.inactiveColor}}},methods:{onClick:function(t){if(this.$emit("click",t),!this.disabled&&!this.loading){var e=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",e),this.$emit("change",e)}},genLoading:function(){var t=this.$createElement;if(this.loading){var e=this.checked?this.activeColor:this.inactiveColor;return t(s.default,{class:c("loading"),attrs:{color:e}})}}},render:function(){var t=arguments[0],e=this.checked,n=this.loading,r=this.disabled;return t("div",{class:c({on:e,loading:n,disabled:r}),attrs:{role:"switch","aria-checked":String(e)},style:this.style,on:{click:this.onClick}},[t("div",{class:c("node")},[this.genLoading()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(5),u=Object(o.createNamespace)("tag"),l=u[0],c=u[1];function f(t,e,n,r){var o,u=e.type,l=e.mark,f=e.plain,d=e.color,h=e.round,p=e.size,v=e.textColor,g=((o={})[f?"color":"backgroundColor"]=d,o);f?(g.color=v||d,g.borderColor=d):(g.color=v,g.background=d);var m={mark:l,plain:f,round:h};p&&(m[p]=p);var y=e.closeable&&t(s.default,{attrs:{name:"cross"},class:c("close"),on:{click:function(t){t.stopPropagation(),Object(a.emit)(r,"close")}}});return t("transition",{attrs:{name:e.closeable?"van-fade":null}},[t("span",i()([{key:"content",style:g,class:c([m,u])},Object(a.inherit)(r,!0)]),[null==n.default?void 0:n.default(),y])])}f.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}},e.default=l(f)},function(t,e,n){"use strict";n.r(e);var r=n(15),i=n(169),o=n(168),a=r.default.prototype,s=r.default.util.defineReactive;s(a,"$vantLang","zh-CN"),s(a,"$vantMessages",{"zh-CN":o.default}),e.default={messages:function(){return a.$vantMessages[a.$vantLang]},use:function(t,e){var n;a.$vantLang=t,this.add(((n={})[t]=e,n))},add:function(t){void 0===t&&(t={}),Object(i.deepAssign)(a.$vantMessages,t)}}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(6),a=n(17),s=Object(i.createNamespace)("tab"),u=s[0],l=s[1];e.default=u({mixins:[Object(o.ChildrenMixin)("vanTabs")],props:Object(r.default)({},a.routeProps,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,n=this.parent,r=this.isActive,i=e();if(i||n.animated){var o=n.scrollspy||r,a=this.inited||n.scrollspy||!n.lazyRender?i:t();return n.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!r},class:l("pane-wrapper",{inactive:!r})},[t("div",{class:l("pane")},[a])]):t("div",{directives:[{name:"show",value:o}],attrs:{role:"tabpanel"},class:l("pane")},[a])}}})},function(t,e,n){"use strict";n.r(e),n.d(e,"DEFAULT_ITEM_HEIGHT",(function(){return r})),n.d(e,"pickerProps",(function(){return i}));var r=44,i={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3}}},function(t,e,n){"use strict";n.r(e),n.d(e,"times",(function(){return i})),n.d(e,"getTrueValue",(function(){return o})),n.d(e,"getMonthEndDay",(function(){return a}));var r=n(32);function i(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function o(t){if(!t)return 0;for(;Object(r.isNaN)(parseInt(t,10));){if(!(t.length>1))return 0;t=t.slice(1)}return parseInt(t,10)}function a(t,e){return 32-new Date(t,e-1,32).getDate()}},function(t,e,n){"use strict";n.r(e),n.d(e,"bem",(function(){return l}));var r=n(2),i=n(9),o=n(6),a=n(23),s=Object(r.createNamespace)("sku-row"),u=s[0],l=s[1],c=s[2];e.default=u({mixins:[Object(o.ParentMixin)("vanSkuRows"),Object(a.BindEventMixin)((function(t){this.scrollable&&this.$refs.scroller&&t(this.$refs.scroller,"scroll",this.onScroll)}))],props:{skuRow:Object},data:function(){return{progress:0}},computed:{scrollable:function(){return this.skuRow.largeImageMode&&this.skuRow.v.length>6}},methods:{onScroll:function(){var t=this.$refs,e=t.scroller,n=t.row.offsetWidth-e.offsetWidth;this.progress=e.scrollLeft/n},genTitle:function(){var t=this.$createElement;return t("div",{class:l("title")},[this.skuRow.k,this.skuRow.is_multiple&&t("span",{class:l("title-multiple")},["(",c("multiple"),")"])])},genIndicator:function(){var t=this.$createElement;if(this.scrollable){var e={transform:"translate3d("+20*this.progress+"px, 0, 0)"};return t("div",{class:l("indicator-wrapper")},[t("div",{class:l("indicator")},[t("div",{class:l("indicator-slider"),style:e})])])}},genContent:function(){var t=this.$createElement,e=this.slots();if(this.skuRow.largeImageMode){var n=[],r=[];return e.forEach((function(t,e){(Math.floor(e/3)%2==0?n:r).push(t)})),t("div",{class:l("scroller"),ref:"scroller"},[t("div",{class:l("row"),ref:"row"},[n]),r.length?t("div",{class:l("row")},[r]):null])}return e},centerItem:function(t){if(this.skuRow.largeImageMode&&t){var e=this.children,n=void 0===e?[]:e,r=this.$refs,i=r.scroller,o=r.row,a=n.find((function(e){return+e.skuValue.id==+t}));if(i&&o&&a&&a.$el){var s=a.$el,u=s.offsetLeft-(i.offsetWidth-s.offsetWidth)/2;i.scrollLeft=u}}}},render:function(){var t=arguments[0];return t("div",{class:[l(),i.BORDER_BOTTOM]},[this.genTitle(),this.genContent(),this.genIndicator()])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"toArray",(function(){return i})),n.d(e,"readFile",(function(){return o})),n.d(e,"isOversize",(function(){return a})),n.d(e,"isImageUrl",(function(){return u})),n.d(e,"isImageFile",(function(){return l}));var r=n(0);function i(t){return Array.isArray(t)?t:[t]}function o(t,e){return new Promise((function(n){if("file"!==e){var r=new FileReader;r.onload=function(t){n(t.target.result)},"dataUrl"===e?r.readAsDataURL(t):"text"===e&&r.readAsText(t)}else n(null)}))}function a(t,e){return i(t).some((function(t){return!!t&&(Object(r.isFunction)(e)?e(t):t.size>e)}))}var s=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function u(t){return s.test(t)}function l(t){return!!t.isImage||(t.file&&t.file.type?0===t.file.type.indexOf("image"):t.url?u(t.url):!!t.content&&0===t.content.indexOf("data:image"))}},function(t,e,n){"use strict";n.r(e);var r,i=n(1),o=n(15),a=n(89),s=n(0);function u(t){return s.isServer?Promise.resolve():new Promise((function(e,n){var s;r&&(s=r.$el,document.body.contains(s))||(r&&r.$destroy(),(r=new(o.default.extend(a.default))({el:document.createElement("div"),propsData:{lazyRender:!1}})).$on("input",(function(t){r.value=t}))),Object(i.default)(r,u.currentOptions,t,{resolve:e,reject:n})}))}u.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){r["confirm"===t?"resolve":"reject"](t)}},u.alert=u,u.confirm=function(t){return u(Object(i.default)({showCancelButton:!0},t))},u.close=function(){r&&(r.value=!1)},u.setDefaultOptions=function(t){Object(i.default)(u.currentOptions,t)},u.resetDefaultOptions=function(){u.currentOptions=Object(i.default)({},u.defaultOptions)},u.resetDefaultOptions(),u.install=function(){o.default.use(a.default)},u.Component=a.default,o.default.prototype.$dialog=u,e.default=u},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(7),a=n(9),s=n(41),u=n(10),l=n(19),c=n(173),f=Object(i.createNamespace)("picker"),d=f[0],h=f[1],p=f[2];e.default=d({props:Object(r.default)({},s.pickerProps,{defaultIndex:{type:[Number,String],default:0},columns:{type:Array,default:function(){return[]}},toolbarPosition:{type:String,default:"top"},valueKey:{type:String,default:"text"}}),data:function(){return{children:[],formattedColumns:[]}},computed:{itemPxHeight:function(){return this.itemHeight?Object(u.unitToPx)(this.itemHeight):s.DEFAULT_ITEM_HEIGHT},dataType:function(){var t=this.columns[0]||{};return t.children?"cascade":t.values?"object":"text"}},watch:{columns:{handler:"format",immediate:!0}},methods:{format:function(){var t=this.columns,e=this.dataType;"text"===e?this.formattedColumns=[{values:t}]:"cascade"===e?this.formatCascade():this.formattedColumns=t},formatCascade:function(){for(var t=[],e={children:this.columns};e&&e.children;){for(var n,r=e.children,i=null!=(n=e.defaultIndex)?n:+this.defaultIndex;r[i]&&r[i].disabled;){if(!(i<r.length-1)){i=0;break}i++}t.push({values:e.children,className:e.className,defaultIndex:i}),e=r[i]}this.formattedColumns=t},emit:function(t){var e=this;if("text"===this.dataType)this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0));else{var n=this.getValues();"cascade"===this.dataType&&(n=n.map((function(t){return t[e.valueKey]}))),this.$emit(t,n,this.getIndexes())}},onCascadeChange:function(t){for(var e={children:this.columns},n=this.getIndexes(),r=0;r<=t;r++)e=e.children[n[r]];for(;e&&e.children;)t++,this.setColumnValues(t,e.children),e=e.children[e.defaultIndex||0]},onChange:function(t){var e=this;if("cascade"===this.dataType&&this.onCascadeChange(t),"text"===this.dataType)this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0));else{var n=this.getValues();"cascade"===this.dataType&&(n=n.map((function(t){return t[e.valueKey]}))),this.$emit("change",this,n,t)}},getColumn:function(t){return this.children[t]},getColumnValue:function(t){var e=this.getColumn(t);return e&&e.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&(n.setValue(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&(n.setIndex(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){var n=this.children[t];n&&n.setOptions(e)},getValues:function(){return this.children.map((function(t){return t.getValue()}))},setValues:function(t){var e=this;t.forEach((function(t,n){e.setColumnValue(n,t)}))},getIndexes:function(){return this.children.map((function(t){return t.currentIndex}))},setIndexes:function(t){var e=this;t.forEach((function(t,n){e.setColumnIndex(n,t)}))},confirm:function(){this.children.forEach((function(t){return t.stopMomentum()})),this.emit("confirm")},cancel:function(){this.emit("cancel")},genTitle:function(){var t=this.$createElement,e=this.slots("title");return e||(this.title?t("div",{class:["van-ellipsis",h("title")]},[this.title]):void 0)},genCancel:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:h("cancel"),on:{click:this.cancel}},[this.slots("cancel")||this.cancelButtonText||p("cancel")])},genConfirm:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:h("confirm"),on:{click:this.confirm}},[this.slots("confirm")||this.confirmButtonText||p("confirm")])},genToolbar:function(){var t=this.$createElement;if(this.showToolbar)return t("div",{class:h("toolbar")},[this.slots()||[this.genCancel(),this.genTitle(),this.genConfirm()]])},genColumns:function(){var t=this.$createElement,e=this.itemPxHeight,n=e*this.visibleItemCount,r={height:e+"px"},i={height:n+"px"},s={backgroundSize:"100% "+(n-e)/2+"px"};return t("div",{class:h("columns"),style:i,on:{touchmove:o.preventDefault}},[this.genColumnItems(),t("div",{class:h("mask"),style:s}),t("div",{class:[a.BORDER_UNSET_TOP_BOTTOM,h("frame")],style:r})])},genColumnItems:function(){var t=this,e=this.$createElement;return this.formattedColumns.map((function(n,r){var i;return e(c.default,{attrs:{readonly:t.readonly,valueKey:t.valueKey,allowHtml:t.allowHtml,className:n.className,itemHeight:t.itemPxHeight,defaultIndex:null!=(i=n.defaultIndex)?i:+t.defaultIndex,swipeDuration:t.swipeDuration,visibleItemCount:t.visibleItemCount,initialOptions:n.values},scopedSlots:{option:t.$scopedSlots.option},on:{change:function(){t.onChange(r)}}})}))}},render:function(t){return t("div",{class:h()},["top"===this.toolbarPosition?this.genToolbar():t(),this.loading?t(l.default,{class:h("loading")}):t(),this.slots("columns-top"),this.genColumns(),this.slots("columns-bottom"),"bottom"===this.toolbarPosition?this.genToolbar():t()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(81),o=Object(r.createNamespace)("radio"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.CheckboxMixin)({bem:s,role:"radio",parent:"vanRadio"})],computed:{currentValue:{get:function(){return this.parent?this.parent.value:this.value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(24),o=n(6),a=Object(r.createNamespace)("radio-group"),s=a[0],u=a[1];e.default=s({mixins:[Object(o.ParentMixin)("vanRadio"),i.FieldMixin],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){var t=arguments[0];return t("div",{class:u([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(0),a=n(150),s=n(17),u=n(36),l=n(7),c=n(9),f=n(82),d=n(11),h=n(6),p=n(23),v=n(177),g=n(65),m=n(178),y=Object(r.createNamespace)("tabs"),_=y[0],b=y[1];e.default=_({mixins:[Object(h.ParentMixin)("vanTabs"),Object(p.BindEventMixin)((function(t){this.scroller||(this.scroller=Object(d.getScroller)(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return Object(i.unitToPx)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&Object(d.setRootScrollTop)(Math.ceil(Object(d.getElementTop)(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?Object(l.on)(this.scroller,"scroll",this.onScroll,!0):Object(l.off)(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.init()},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick((function(){t.inited=!0,t.tabHeight=Object(d.getVisibleHeight)(t.$refs.wrap),t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var n=t.$refs.titles;if(n&&n[t.currentIndex]&&"line"===t.type&&!Object(u.isHidden)(t.$el)){var r=n[t.currentIndex].$el,a=t.lineWidth,s=t.lineHeight,l=r.offsetLeft+r.offsetWidth/2,c={width:Object(i.addUnit)(a),backgroundColor:t.color,transform:"translateX("+l+"px) translateX(-50%)"};if(e&&(c.transitionDuration=t.duration+"s"),Object(o.isDef)(s)){var f=Object(i.addUnit)(s);c.height=f,c.borderRadius=f}t.lineStyle=c}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),n=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:n)},setCurrentIndex:function(t){var e=this.findAvailableTab(t);if(Object(o.isDef)(e)){var n=this.children[e],r=n.computedName,i=null!==this.currentIndex;this.currentIndex=e,r!==this.active&&(this.$emit("input",r),i&&this.$emit("change",r,n.title))}},findAvailableTab:function(t){for(var e=t<this.currentIndex?-1:1;t>=0&&t<this.children.length;){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t,e){var n=this,r=this.children[e],i=r.title,o=r.disabled,a=r.computedName;o?this.$emit("disabled",a,i):(Object(f.callInterceptor)({interceptor:this.beforeChange,args:[a],done:function(){n.setCurrentIndex(e),n.scrollToCurrentContent()}}),this.$emit("click",a,i),Object(s.route)(t.$router,t))},scrollIntoView:function(t){var e=this.$refs.titles;if(this.scrollable&&e&&e[this.currentIndex]){var n=this.$refs.nav,r=e[this.currentIndex].$el,i=r.offsetLeft-(n.offsetWidth-r.offsetWidth)/2;Object(a.scrollLeftTo)(n,i,t?0:+this.duration)}},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollTo:function(t){var e=this;this.$nextTick((function(){e.setCurrentIndexByName(t),e.scrollToCurrentContent(!0)}))},scrollToCurrentContent:function(t){var e=this;if(void 0===t&&(t=!1),this.scrollspy){var n=this.children[this.currentIndex],r=null==n?void 0:n.$el;if(r){var i=Object(d.getElementTop)(r,this.scroller)-this.scrollOffset;this.lockScroll=!0,Object(a.scrollTopTo)(this.scroller,i,t?0:+this.duration,(function(){e.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t=this.children,e=0;e<t.length;e++){if(Object(d.getVisibleTop)(t[e].$el)>this.scrollOffset)return 0===e?0:e-1}return t.length-1}},render:function(){var t,e=this,n=arguments[0],r=this.type,i=this.animated,o=this.scrollable,a=this.children.map((function(t,i){var a;return n(v.default,{ref:"titles",refInFor:!0,attrs:{type:r,dot:t.dot,info:null!=(a=t.badge)?a:t.info,title:t.title,color:e.color,isActive:i===e.currentIndex,disabled:t.disabled,scrollable:o,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(t,i)}}})})),s=n("div",{ref:"wrap",class:[b("wrap",{scrollable:o}),(t={},t[c.BORDER_TOP_BOTTOM]="line"===r&&this.border,t)]},[n("div",{ref:"nav",attrs:{role:"tablist"},class:b("nav",[r,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),a,"line"===r&&n("div",{class:b("line"),style:this.lineStyle}),this.slots("nav-right")])]);return n("div",{class:b([r])},[this.sticky?n(g.default,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[s]):s,n(m.default,{attrs:{count:this.children.length,animated:i,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}})},function(t,e,n){"use strict";n.r(e);var r,i=n(1),o=n(15),a=n(91),s=n(0),u={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,transition:"van-fade",getContainer:"body",startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},l=function(t,e){if(void 0===e&&(e=0),!s.isServer){r||(r=new(o.default.extend(a.default))({el:document.createElement("div")}),document.body.appendChild(r.$el),r.$on("change",(function(t){r.onChange&&r.onChange(t)})),r.$on("scale",(function(t){r.onScale&&r.onScale(t)})));var n=Array.isArray(t)?{images:t,startPosition:e}:t;return Object(i.default)(r,u,n),r.$once("input",(function(t){r.value=t})),r.$once("closed",(function(){r.images=[]})),n.onClose&&(r.$off("close"),r.$once("close",n.onClose)),r}};l.Component=a.default,l.install=function(){o.default.use(a.default)},e.default=l},function(t,e,n){"use strict";n.r(e),n.d(e,"isDate",(function(){return i}));var r=n(32);function i(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Object(r.isNaN)(t.getTime())}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){var e=void 0===t?{}:t,n=e.ref,r=e.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,e,i=this.getContainer,o=n?this.$refs[n]:this.$el;i?t="string"==typeof(e=i)?document.querySelector(e):e():this.$parent&&(t=this.$parent.$el),t&&t!==o.parentNode&&t.appendChild(o),r&&r.call(this)}}}}n.r(e),n.d(e,"PortalMixin",(function(){return r}))},function(t,e,n){"use strict";function r(t){var e=t.parentNode;e&&e.removeChild(t)}n.r(e),n.d(e,"removeNode",(function(){return r}))},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(17),a=n(6),s=n(14),u=Object(i.createNamespace)("goods-action-button"),l=u[0],c=u[1];e.default=l({mixins:[Object(a.ChildrenMixin)("vanGoodsAction")],props:Object(r.default)({},o.routeProps,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var t=this.parent&&this.parent.children[this.index-1];return!t||t.$options.name!==this.$options.name},isLast:function(){var t=this.parent&&this.parent.children[this.index+1];return!t||t.$options.name!==this.$options.name}},methods:{onClick:function(t){this.$emit("click",t),Object(o.route)(this.$router,this)}},render:function(){var t=arguments[0];return t(s.default,{class:c([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"cellProps",(function(){return r}));var r={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null}}},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(9),o=n(13),a=n(67),s=Object(r.createNamespace)("coupon"),u=s[0],l=s[1],c=s[2];function f(t){var e=new Date(function(t){return t<Math.pow(10,12)?1e3*t:+t}(t));return e.getFullYear()+"."+Object(o.padZero)(e.getMonth()+1)+"."+Object(o.padZero)(e.getDate())}function d(t){return(t/100).toFixed(t%100==0?0:t%10==0?1:2)}e.default=u({props:{coupon:Object,chosen:Boolean,disabled:Boolean,currency:{type:String,default:"¥"}},computed:{validPeriod:function(){var t=this.coupon,e=t.startAt,n=t.endAt;return t.customValidPeriod||f(e)+" - "+f(n)},faceAmount:function(){var t,e=this.coupon;if(e.valueDesc)return e.valueDesc+"<span>"+(e.unitDesc||"")+"</span>";if(e.denominations){var n=d(e.denominations);return"<span>"+this.currency+"</span> "+n}return e.discount?c("discount",((t=e.discount)/10).toFixed(t%10==0?0:1)):""},conditionMessage:function(){var t=d(this.coupon.originCondition);return"0"===t?c("unlimited"):c("condition",t)}},render:function(){var t=arguments[0],e=this.coupon,n=this.disabled,r=n&&e.reason||e.description;return t("div",{class:l({disabled:n})},[t("div",{class:l("content")},[t("div",{class:l("head")},[t("h2",{class:l("amount"),domProps:{innerHTML:this.faceAmount}}),t("p",{class:l("condition")},[this.coupon.condition||this.conditionMessage])]),t("div",{class:l("body")},[t("p",{class:l("name")},[e.name]),t("p",{class:l("valid")},[this.validPeriod]),!this.disabled&&t(a.default,{attrs:{size:18,value:this.chosen,checkedColor:i.RED},class:l("corner")})])]),r&&t("p",{class:l("description")},[r])])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"ClickOutsideMixin",(function(){return i}));var r=n(7),i=function(t){return{props:{closeOnClickOutside:{type:Boolean,default:!0}},data:function(){var e=this;return{clickOutsideHandler:function(n){e.closeOnClickOutside&&!e.$el.contains(n.target)&&e[t.method]()}}},mounted:function(){Object(r.on)(document,t.event,this.clickOutsideHandler)},beforeDestroy:function(){Object(r.off)(document,t.event,this.clickOutsideHandler)}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"sharedProps",(function(){return u})),n.d(e,"TimePickerMixin",(function(){return l}));var r=n(1),i=n(42),o=n(13),a=n(41),s=n(46),u=Object(r.default)({},a.pickerProps,{value:null,filter:Function,columnsOrder:Array,showToolbar:{type:Boolean,default:!0},formatter:{type:Function,default:function(t,e){return e}}}),l={data:function(){return{innerValue:this.formatValue(this.value)}},computed:{originColumns:function(){var t=this;return this.ranges.map((function(e){var n=e.type,r=e.range,a=Object(i.times)(r[1]-r[0]+1,(function(t){return Object(o.padZero)(r[0]+t)}));return t.filter&&(a=t.filter(n,a)),{type:n,values:a}}))},columns:function(){var t=this;return this.originColumns.map((function(e){return{values:e.values.map((function(n){return t.formatter(e.type,n)}))}}))}},watch:{columns:"updateColumnValue",innerValue:function(t,e){e?this.$emit("input",t):this.$emit("input",null)}},mounted:function(){var t=this;this.updateColumnValue(),this.$nextTick((function(){t.updateInnerValue()}))},methods:{getPicker:function(){return this.$refs.picker},onConfirm:function(){this.$emit("input",this.innerValue),this.$emit("confirm",this.innerValue)},onCancel:function(){this.$emit("cancel")}},render:function(){var t=this,e=arguments[0],n={};return Object.keys(a.pickerProps).forEach((function(e){n[e]=t[e]})),e(s.default,{ref:"picker",attrs:{columns:this.columns,readonly:this.readonly},scopedSlots:this.$scopedSlots,on:{change:this.onChange,confirm:this.onConfirm,cancel:this.onCancel},props:Object(r.default)({},n)})}}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=Object(o.createNamespace)("sku-header-item"),u=s[0],l=s[1];e.default=u((function(t,e,n,r){return t("div",i()([{class:l()},Object(a.inherit)(r)]),[n.default&&n.default()])}))},function(t,e,n){"use strict";n.r(e),n.d(e,"updateOverlay",(function(){return l})),n.d(e,"openOverlay",(function(){return c})),n.d(e,"closeOverlay",(function(){return f})),n.d(e,"removeOverlay",(function(){return d}));var r=n(1),i=n(62),o=n(27),a=n(3),s=n(54),u={className:"",customStyle:{}};function l(t){var e=o.context.find(t);if(e){var n=t.$el,i=e.config,a=e.overlay;n&&n.parentNode&&n.parentNode.insertBefore(a.$el,n),Object(r.default)(a,u,i,{show:!0})}}function c(t,e){var n=o.context.find(t);if(n)n.config=e;else{var r=function(t){return Object(a.mount)(i.default,{on:{click:function(){t.$emit("click-overlay"),t.closeOnClickOverlay&&(t.onClickOverlay?t.onClickOverlay():t.close())}}})}(t);o.context.stack.push({vm:t,config:e,overlay:r})}l(t)}function f(t){var e=o.context.find(t);e&&(e.overlay.show=!1)}function d(t){var e=o.context.find(t);e&&Object(s.removeNode)(e.overlay.$el)}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(1),a=n(2),s=n(0),u=n(3),l=n(7),c=Object(a.createNamespace)("overlay"),f=c[0],d=c[1];function h(t){Object(l.preventDefault)(t,!0)}function p(t,e,n,r){var a=Object(o.default)({zIndex:e.zIndex},e.customStyle);return Object(s.isDef)(e.duration)&&(a.animationDuration=e.duration+"s"),t("transition",{attrs:{name:"van-fade"}},[t("div",i()([{directives:[{name:"show",value:e.show}],style:a,class:[d(),e.className],on:{touchmove:e.lockScroll?h:s.noop}},Object(u.inherit)(r,!0)]),[null==n.default?void 0:n.default()])])}p.props={show:Boolean,zIndex:[Number,String],duration:[Number,String],className:null,customStyle:Object,lockScroll:{type:Boolean,default:!0}},e.default=f(p)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=Object(r.createNamespace)("goods-action"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.ParentMixin)("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var t=arguments[0];return t("div",{class:s({unfit:!this.safeAreaInsetBottom})},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(41),a=n(46),s=Object(i.createNamespace)("area"),u=s[0],l=s[1];function c(t,e){var n=t.$slots,r=t.$scopedSlots,i={};return e.forEach((function(t){r[t]?i[t]=r[t]:n[t]&&(i[t]=function(){return n[t]})})),i}e.default=u({props:Object(r.default)({},o.pickerProps,{value:String,areaList:{type:Object,default:function(){return{}}},columnsNum:{type:[Number,String],default:3},isOverseaCode:{type:Function,default:function(t){return"9"===t[0]}},columnsPlaceholder:{type:Array,default:function(){return[]}}}),data:function(){return{code:this.value,columns:[{values:[]},{values:[]},{values:[]}]}},computed:{province:function(){return this.areaList.province_list||{}},city:function(){return this.areaList.city_list||{}},county:function(){return this.areaList.county_list||{}},displayColumns:function(){return this.columns.slice(0,+this.columnsNum)},placeholderMap:function(){return{province:this.columnsPlaceholder[0]||"",city:this.columnsPlaceholder[1]||"",county:this.columnsPlaceholder[2]||""}}},watch:{value:function(t){this.code=t,this.setValues()},areaList:{deep:!0,handler:"setValues"},columnsNum:function(){var t=this;this.$nextTick((function(){t.setValues()}))}},mounted:function(){this.setValues()},methods:{getList:function(t,e){var n=[];if("province"!==t&&!e)return n;var r=this[t];if(n=Object.keys(r).map((function(t){return{code:t,name:r[t]}})),e&&(this.isOverseaCode(e)&&"city"===t&&(e="9"),n=n.filter((function(t){return 0===t.code.indexOf(e)}))),this.placeholderMap[t]&&n.length){var i="";"city"===t?i="000000".slice(2,4):"county"===t&&(i="000000".slice(4,6)),n.unshift({code:""+e+i,name:this.placeholderMap[t]})}return n},getIndex:function(t,e){var n="province"===t?2:"city"===t?4:6,r=this.getList(t,e.slice(0,n-2));this.isOverseaCode(e)&&"province"===t&&(n=1),e=e.slice(0,n);for(var i=0;i<r.length;i++)if(r[i].code.slice(0,n)===e)return i;return 0},parseOutputValues:function(t){var e=this;return t.map((function(t,n){return t?((t=JSON.parse(JSON.stringify(t))).code&&t.name!==e.columnsPlaceholder[n]||(t.code="",t.name=""),t):t}))},onChange:function(t,e,n){this.code=e[n].code,this.setValues();var r=this.parseOutputValues(t.getValues());this.$emit("change",t,r,n)},onConfirm:function(t,e){t=this.parseOutputValues(t),this.setValues(),this.$emit("confirm",t,e)},getDefaultCode:function(){if(this.columnsPlaceholder.length)return"000000";var t=Object.keys(this.county);if(t[0])return t[0];var e=Object.keys(this.city);return e[0]?e[0]:""},setValues:function(){var t=this.code;t||(t=this.getDefaultCode());var e=this.$refs.picker,n=this.getList("province"),r=this.getList("city",t.slice(0,2));e&&(e.setColumnValues(0,n),e.setColumnValues(1,r),r.length&&"00"===t.slice(2,4)&&!this.isOverseaCode(t)&&(t=r[0].code),e.setColumnValues(2,this.getList("county",t.slice(0,4))),e.setIndexes([this.getIndex("province",t),this.getIndex("city",t),this.getIndex("county",t)]))},getValues:function(){var t=this.$refs.picker,e=t?t.getValues().filter((function(t){return!!t})):[];return e=this.parseOutputValues(e),e},getArea:function(){var t=this.getValues(),e={code:"",country:"",province:"",city:"",county:""};if(!t.length)return e;var n=t.map((function(t){return t.name})),r=t.filter((function(t){return!!t.code}));return e.code=r.length?r[r.length-1].code:"",this.isOverseaCode(e.code)?(e.country=n[1]||"",e.province=n[2]||""):(e.province=n[0]||"",e.city=n[1]||"",e.county=n[2]||""),e},reset:function(t){this.code=t||"",this.setValues()}},render:function(){var t=arguments[0],e=Object(r.default)({},this.$listeners,{change:this.onChange,confirm:this.onConfirm});return t(a.default,{ref:"picker",class:l(),attrs:{showToolbar:!0,valueKey:"name",title:this.title,columns:this.displayColumns,loading:this.loading,readonly:this.readonly,itemHeight:this.itemHeight,swipeDuration:this.swipeDuration,visibleItemCount:this.visibleItemCount,cancelButtonText:this.cancelButtonText,confirmButtonText:this.confirmButtonText},scopedSlots:c(this,["title","columns-top","columns-bottom"]),on:Object(r.default)({},e)})}})},function(t,e,n){"use strict";n.r(e);var r=n(36),i=n(10),o=n(2),a=n(0),s=n(11),u=n(23),l=Object(o.createNamespace)("sticky"),c=l[0],f=l[1];e.default=c({mixins:[Object(u.BindEventMixin)((function(t,e){if(this.scroller||(this.scroller=Object(s.getScroller)(this.$el)),this.observer){var n=e?"observe":"unobserve";this.observer[n](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{offsetTopPx:function(){return Object(i.unitToPx)(this.offsetTop)},style:function(){if(this.fixed){var t={};return Object(a.isDef)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},watch:{fixed:function(t){this.$emit("change",t)}},created:function(){var t=this;!a.isServer&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!Object(r.isHidden)(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,n=this.offsetTopPx,i=Object(s.getScrollTop)(window),o=Object(s.getElementTop)(this.$el),a=function(){t.$emit("scroll",{scrollTop:i,isFixed:t.fixed})};if(e){var u=o+e.offsetHeight;if(i+n+this.height>u){var l=this.height+i-u;return l<this.height?(this.fixed=!0,this.transform=-(l+n)):this.fixed=!1,void a()}}i+n>o?(this.fixed=!0,this.transform=0):this.fixed=!1,a()}}},render:function(){var t=arguments[0],e=this.fixed,n={height:e?this.height+"px":null};return t("div",{style:n},[t("div",{class:f({fixed:e}),style:this.style},[this.slots()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(9),u=Object(o.createNamespace)("cell-group"),l=u[0],c=u[1];function f(t,e,n,r){var o,u=t("div",i()([{class:[c(),(o={},o[s.BORDER_TOP_BOTTOM]=e.border,o)]},Object(a.inherit)(r,!0)]),[null==n.default?void 0:n.default()]);return e.title||n.title?t("div",[t("div",{class:c("title")},[n.title?n.title():e.title]),u]):u}f.props={title:String,border:{type:Boolean,default:!0}},e.default=l(f)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(81),o=Object(r.createNamespace)("checkbox"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.CheckboxMixin)({bem:s,role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout((function(){e.checked=t}))},setParentValue:function(t){var e=this.parent,n=e.value.slice();if(t){if(e.max&&n.length>=e.max)return;-1===n.indexOf(this.name)&&(n.push(this.name),e.$emit("input",n))}else{var r=n.indexOf(this.name);-1!==r&&(n.splice(r,1),e.$emit("input",n))}}}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(151),a=n(152),s=Object(i.createNamespace)("datetime-picker"),u=s[0],l=s[1];e.default=u({props:Object(r.default)({},o.default.props,a.default.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){var t=arguments[0],e="time"===this.type?o.default:a.default;return t(e,{ref:"root",class:l(),scopedSlots:this.$scopedSlots,props:Object(r.default)({},this.$props),on:Object(r.default)({},this.$listeners)})}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(36),o=n(7),a=n(16),s=n(20),u=n(18),l=n(6),c=n(23),f=Object(r.createNamespace)("swipe"),d=f[0],h=f[1];e.default=d({mixins:[u.TouchMixin,Object(l.ParentMixin)("vanSwipe"),Object(c.BindEventMixin)((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};if(this.size){var e=this.vertical?"height":"width",n=this.vertical?"width":"height";t[e]=this.trackSize+"px",t[n]=this[n]?this[n]+"px":""}return t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(i.isHidden)(this.$el)){clearTimeout(this.timer);var e={width:this.$el.offsetWidth,height:this.$el.offsetHeight};this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(o.preventDefault)(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,n=e/(Date.now()-this.touchStartTime);if((Math.abs(n)>.25||Math.abs(e)>t/2)&&this.isCorrectDirection){var r=this.vertical?this.offsetY:this.offsetX,i=0;i=this.loop?r>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:i,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,n=this.count,r=this.maxCount;return t?this.loop?Object(s.range)(e+t,-1,n):Object(s.range)(e+t,0,r):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var n=t*this.size;this.loop||(n=Math.min(n,-this.minOffset));var r=e-n;return this.loop||(r=Object(s.range)(r,this.minOffset,0)),r},move:function(t){var e=t.pace,n=void 0===e?0:e,r=t.offset,i=void 0===r?0:r,o=t.emitChange,a=this.loop,s=this.count,u=this.active,l=this.children,c=this.trackSize,f=this.minOffset;if(!(s<=1)){var d=this.getTargetActive(n),h=this.getTargetOffset(d,i);if(a){if(l[0]&&h!==f){var p=h<f;l[0].offset=p?c:0}if(l[s-1]&&0!==h){var v=h>0;l[s-1].offset=v?-c:0}}this.active=d,this.offset=h,o&&d!==u&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(a.doubleRaf)((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(a.doubleRaf)((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var n=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(a.doubleRaf)((function(){var r;r=n.loop&&t===n.count?0===n.active?0:t:t%n.count,e.immediate?Object(a.doubleRaf)((function(){n.swiping=!1})):n.swiping=!1,n.move({pace:r-n.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,n=this.count,r=this.activeIndicator,i=this.slots("indicator");return i||(this.showIndicators&&n>1?e("div",{class:h("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(n)).map((function(n,i){return e("i",{class:h("indicator",{active:i===r}),style:i===r?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:h()},[t("div",{ref:"track",style:this.trackStyle,class:h("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(6),a=Object(i.createNamespace)("swipe-item"),s=a[0],u=a[1];e.default=s({mixins:[Object(o.ChildrenMixin)("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,n=e.size,r=e.vertical;return n&&(t[r?"height":"width"]=n+"px"),this.offset&&(t.transform="translate"+(r?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,n=this.parent,r=this.mounted;if(!n.lazyRender||e)return!0;if(!r)return!1;var i=n.activeIndicator,o=n.count-1,a=0===i&&n.loop?o:i-1,s=i===o&&n.loop?0:i+1,u=t===i||t===a||t===s;return u&&(this.inited=!0),u}},render:function(){var t=arguments[0];return t("div",{class:u(),style:this.style,on:Object(r.default)({},this.$listeners)},[this.shouldRender&&this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=Object(r.createNamespace)("sidebar"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.ParentMixin)("vanSidebar")],model:{prop:"activeKey"},props:{activeKey:{type:[Number,String],default:0}},data:function(){return{index:+this.activeKey}},watch:{activeKey:function(){this.setIndex(+this.activeKey)}},methods:{setIndex:function(t){t!==this.index&&(this.index=t,this.$emit("change",t))}},render:function(){var t=arguments[0];return t("div",{class:s()},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(6),a=n(17),s=n(25),u=Object(i.createNamespace)("sidebar-item"),l=u[0],c=u[1];e.default=l({mixins:[Object(o.ChildrenMixin)("vanSidebar")],props:Object(r.default)({},a.routeProps,{dot:Boolean,info:[Number,String],badge:[Number,String],title:String,disabled:Boolean}),computed:{select:function(){return this.index===+this.parent.activeKey}},methods:{onClick:function(){this.disabled||(this.$emit("click",this.index),this.parent.$emit("input",this.index),this.parent.setIndex(this.index),Object(a.route)(this.$router,this))}},render:function(){var t,e,n=arguments[0];return n("a",{class:c({select:this.select,disabled:this.disabled}),on:{click:this.onClick}},[n("div",{class:c("text")},[null!=(t=this.slots("title"))?t:this.title,n(s.default,{attrs:{dot:this.dot,info:null!=(e=this.badge)?e:this.info},class:c("info")})])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(0),u=n(79),l=n(7),c=n(20),f=n(32),d=n(24),h=Object(o.createNamespace)("stepper"),p=h[0],v=h[1];function g(t,e){return String(t)===String(e)}e.default=p({mixins:[d.FieldMixin],props:{value:null,theme:String,integer:Boolean,disabled:Boolean,allowEmpty:Boolean,inputWidth:[Number,String],buttonSize:[Number,String],asyncChange:Boolean,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,decimalLength:[Number,String],name:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},defaultValue:{type:[Number,String],default:1},showPlus:{type:Boolean,default:!0},showMinus:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},longPress:{type:Boolean,default:!0}},data:function(){var t,e=null!=(t=this.value)?t:this.defaultValue,n=this.format(e);return g(n,this.value)||this.$emit("input",n),{currentValue:n}},computed:{minusDisabled:function(){return this.disabled||this.disableMinus||this.currentValue<=+this.min},plusDisabled:function(){return this.disabled||this.disablePlus||this.currentValue>=+this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=Object(a.addUnit)(this.inputWidth)),this.buttonSize&&(t.height=Object(a.addUnit)(this.buttonSize)),t},buttonStyle:function(){if(this.buttonSize){var t=Object(a.addUnit)(this.buttonSize);return{width:t,height:t}}}},watch:{max:"check",min:"check",integer:"check",decimalLength:"check",value:function(t){g(t,this.currentValue)||(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t),this.$emit("change",t,{name:this.name})}},methods:{check:function(){var t=this.format(this.currentValue);g(t,this.currentValue)||(this.currentValue=t)},formatNumber:function(t){return Object(c.formatNumber)(String(t),!this.integer)},format:function(t){return this.allowEmpty&&""===t||(t=""===(t=this.formatNumber(t))?0:+t,t=Object(f.isNaN)(t)?this.min:t,t=Math.max(Math.min(this.max,t),this.min),Object(s.isDef)(this.decimalLength)&&(t=t.toFixed(this.decimalLength))),t},onInput:function(t){var e=t.target.value,n=this.formatNumber(e);if(Object(s.isDef)(this.decimalLength)&&-1!==n.indexOf(".")){var r=n.split(".");n=r[0]+"."+r[1].slice(0,this.decimalLength)}g(e,n)||(t.target.value=n),n===String(+n)&&(n=+n),this.emitChange(n)},emitChange:function(t){this.asyncChange?(this.$emit("input",t),this.$emit("change",t,{name:this.name})):this.currentValue=t},onChange:function(){var t=this.type;if(this[t+"Disabled"])this.$emit("overlimit",t);else{var e,n,r,i="minus"===t?-this.step:+this.step,o=this.format((e=+this.currentValue,n=i,r=Math.pow(10,10),Math.round((e+n)*r)/r));this.emitChange(o),this.$emit(t)}},onFocus:function(t){this.disableInput&&this.$refs.input?this.$refs.input.blur():this.$emit("focus",t)},onBlur:function(t){var e=this.format(t.target.value);t.target.value=e,this.currentValue=e,this.$emit("blur",t),Object(u.resetScroll)()},longPressStep:function(){var t=this;this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep(t.type)}),200)},onTouchStart:function(){var t=this;this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress=!1,this.longPressTimer=setTimeout((function(){t.isLongPress=!0,t.onChange(),t.longPressStep()}),600))},onTouchEnd:function(t){this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress&&Object(l.preventDefault)(t))},onMousedown:function(t){this.disableInput&&t.preventDefault()}},render:function(){var t=this,e=arguments[0],n=function(e){return{on:{click:function(n){n.preventDefault(),t.type=e,t.onChange()},touchstart:function(){t.type=e,t.onTouchStart()},touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}}};return e("div",{class:v([this.theme])},[e("button",i()([{directives:[{name:"show",value:this.showMinus}],attrs:{type:"button"},style:this.buttonStyle,class:v("minus",{disabled:this.minusDisabled})},n("minus")])),e("input",{directives:[{name:"show",value:this.showInput}],ref:"input",attrs:{type:this.integer?"tel":"text",role:"spinbutton",disabled:this.disabled,readonly:this.disableInput,inputmode:this.integer?"numeric":"decimal",placeholder:this.placeholder,"aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.currentValue},class:v("input"),domProps:{value:this.currentValue},style:this.inputStyle,on:{input:this.onInput,focus:this.onFocus,blur:this.onBlur,mousedown:this.onMousedown}}),e("button",i()([{directives:[{name:"show",value:this.showPlus}],attrs:{type:"button"},style:this.buttonStyle,class:v("plus",{disabled:this.plusDisabled})},n("plus")]))])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(10),a=n(0),s=n(44),u=n(24),l=n(5),c=n(31),f=n(19),d=n(50),h=Object(i.createNamespace)("uploader"),p=h[0],v=h[1];e.default=p({inheritAttrs:!1,mixins:[u.FieldMixin],model:{prop:"fileList"},props:{disabled:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String,Function],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"}},computed:{previewSizeWithUnit:function(){return Object(o.addUnit)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},onChange:function(t){var e=this,n=t.target.files;if(!this.disabled&&n.length){if(n=1===n.length?n[0]:[].slice.call(n),this.beforeRead){var r=this.beforeRead(n,this.getDetail());if(!r)return void this.resetInput();if(Object(a.isPromise)(r))return void r.then((function(t){t?e.readFile(t):e.readFile(n)})).catch(this.resetInput)}this.readFile(n)}},readFile:function(t){var e=this,n=Object(s.isOversize)(t,this.maxSize);if(Array.isArray(t)){var r=this.maxCount-this.fileList.length;t.length>r&&(t=t.slice(0,r)),Promise.all(t.map((function(t){return Object(s.readFile)(t,e.resultType)}))).then((function(r){var i=t.map((function(t,e){var n={file:t,status:"",message:""};return r[e]&&(n.content=r[e]),n}));e.onAfterRead(i,n)}))}else Object(s.readFile)(t,this.resultType).then((function(r){var i={file:t,status:"",message:""};r&&(i.content=r),e.onAfterRead(i,n)}))},onAfterRead:function(t,e){var n=this;this.resetInput();var r=t;if(e){var i=t;Array.isArray(t)?(i=[],r=[],t.forEach((function(t){t.file&&(Object(s.isOversize)(t.file,n.maxSize)?i.push(t):r.push(t))}))):r=null,this.$emit("oversize",i,this.getDetail())}(Array.isArray(r)?Boolean(r.length):Boolean(r))&&(this.$emit("input",[].concat(this.fileList,Object(s.toArray)(r))),this.afterRead&&this.afterRead(r,this.getDetail()))},onDelete:function(t,e){var n,r=this,i=null!=(n=t.beforeDelete)?n:this.beforeDelete;if(i){var o=i(t,this.getDetail(e));if(!o)return;if(Object(a.isPromise)(o))return void o.then((function(){r.deleteFile(t,e)})).catch(a.noop)}this.deleteFile(t,e)},deleteFile:function(t,e){var n=this.fileList.slice(0);n.splice(e,1),this.$emit("input",n),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onPreviewImage:function(t){var e=this;if(this.previewFullImage){var n=this.fileList.filter((function(t){return Object(s.isImageFile)(t)})),i=n.map((function(t){return t.content||t.url}));this.imagePreview=Object(d.default)(Object(r.default)({images:i,startPosition:n.indexOf(t),onClose:function(){e.$emit("close-preview")}},this.previewOptions))}},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,n=t.status,r=t.message;if("uploading"===n||"failed"===n){var i="failed"===n?e(l.default,{attrs:{name:"close"},class:v("mask-icon")}):e(f.default,{class:v("loading")}),o=Object(a.isDef)(r)&&""!==r;return e("div",{class:v("mask")},[i,o&&e("div",{class:v("mask-message")},[r])])}},genPreviewItem:function(t,e){var n,i,o,a=this,u=this.$createElement,f=null!=(n=t.deletable)?n:this.deletable,d="uploading"!==t.status&&f&&u("div",{class:v("preview-delete"),on:{click:function(n){n.stopPropagation(),a.onDelete(t,e)}}},[u(l.default,{attrs:{name:"cross"},class:v("preview-delete-icon")})]),h=this.slots("preview-cover",Object(r.default)({index:e},t)),p=h&&u("div",{class:v("preview-cover")},[h]),g=null!=(i=t.previewSize)?i:this.previewSize,m=null!=(o=t.imageFit)?o:this.imageFit,y=Object(s.isImageFile)(t)?u(c.default,{attrs:{fit:m,src:t.content||t.url,width:g,height:g,lazyLoad:this.lazyLoad},class:v("preview-image"),on:{click:function(){a.onPreviewImage(t)}}},[p]):u("div",{class:v("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[u(l.default,{class:v("file-icon"),attrs:{name:"description"}}),u("div",{class:[v("file-name"),"van-ellipsis"]},[t.file?t.file.name:t.url]),p]);return u("div",{class:v("preview"),on:{click:function(){a.$emit("click-preview",t,a.getDetail(e))}}},[y,this.genPreviewMask(t),d])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,n=this.slots(),i=t("input",{attrs:Object(r.default)({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:v("input"),on:{change:this.onChange}});if(n)return t("div",{class:v("input-wrapper"),key:"input-wrapper"},[n,i]);if(this.previewSize){var o=this.previewSizeWithUnit;e={width:o,height:o}}return t("div",{class:v("upload"),style:e},[t(l.default,{attrs:{name:this.uploadIcon},class:v("upload-icon")}),this.uploadText&&t("span",{class:v("upload-text")},[this.uploadText]),i])}}},render:function(){var t=arguments[0];return t("div",{class:v()},[t("div",{class:v("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"deepClone",(function(){return i}));var r=n(0);function i(t){if(!Object(r.isDef)(t))return t;if(Array.isArray(t))return t.map((function(t){return i(t)}));if("object"==typeof t){var e={};return Object.keys(t).forEach((function(n){e[n]=i(t[n])})),e}return t}},function(t,e,n){"use strict";function r(t){return t=t.replace(/[^-|\d]/g,""),/^((\+86)|(86))?(1)\d{10}$/.test(t)||/^0[0-9-]{10,13}$/.test(t)}n.r(e),n.d(e,"isMobile",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){var n=e.$vnode.componentOptions;if(n&&n.children){var r=function(t){var e=[];return function t(n){n.forEach((function(n){e.push(n),n.componentInstance&&t(n.componentInstance.$children.map((function(t){return t.$vnode}))),n.children&&t(n.children)}))}(t),e}(n.children);t.sort((function(t,e){return r.indexOf(t.$vnode)-r.indexOf(e.$vnode)}))}}n.r(e),n.d(e,"sortChildren",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"switchProps",(function(){return r}));var r={size:[Number,String],value:null,loading:Boolean,disabled:Boolean,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}}},function(t,e,n){"use strict";n.r(e),n.d(e,"resetScroll",(function(){return a}));var r=n(80),i=n(11),o=Object(r.isIOS)();function a(){o&&Object(i.setRootScrollTop)(Object(i.getRootScrollTop)())}},function(t,e,n){"use strict";n.r(e),n.d(e,"isAndroid",(function(){return i})),n.d(e,"isIOS",(function(){return o}));var r=n(0);function i(){return!r.isServer&&/android/.test(navigator.userAgent.toLowerCase())}function o(){return!r.isServer&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())}},function(t,e,n){"use strict";n.r(e),n.d(e,"CheckboxMixin",(function(){return s}));var r=n(5),i=n(24),o=n(6),a=n(10),s=function(t){var e=t.parent,n=t.bem,s=t.role;return{mixins:[Object(o.ChildrenMixin)(e),i.FieldMixin],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor;if(t&&this.checked&&!this.isDisabled)return{borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===s&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,n=t.target,r=this.$refs.icon,i=r===n||r.contains(n);this.isDisabled||!i&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout((function(){e.$emit("click",t)})))},genIcon:function(){var t=this.$createElement,e=this.checked,i=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:n("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:Object(a.addUnit)(i)}},[this.slots("icon",{checked:e})||t(r.default,{attrs:{name:"success"},style:this.iconStyle})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:n("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:s,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:n([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"callInterceptor",(function(){return i}));var r=n(0);function i(t){var e=t.interceptor,n=t.args,i=t.done;if(e){var o=e.apply(void 0,n);Object(r.isPromise)(o)?o.then((function(t){t&&i()})).catch(r.noop):o&&i()}else i()}},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(1),a=n(2),s=n(3),u=n(9),l=n(31),c=Object(a.createNamespace)("sku-header"),f=c[0],d=c[1];function h(t,e,n,r){var a,c=e.sku,f=e.goods,h=e.skuEventBus,p=e.selectedSku,v=e.showHeaderImage,g=void 0===v||v,m=function(t,e){var n;return t.tree.some((function(t){var r=e[t.k_s];if(r&&t.v){var i=t.v.filter((function(t){return t.id===r}))[0]||{},a=i.previewImgUrl||i.imgUrl||i.img_url;if(a)return n=Object(o.default)({},i,{ks:t.k_s,imgUrl:a}),!0}return!1})),n}(c,p),y=m?m.imgUrl:f.picture;return t("div",i()([{class:[d(),u.BORDER_BOTTOM]},Object(s.inherit)(r)]),[g&&t(l.default,{attrs:{fit:"cover",src:y},class:d("img-wrap"),on:{click:function(){h.$emit("sku:previewImage",m)}}},[null==(a=n["sku-header-image-extra"])?void 0:a.call(n)]),t("div",{class:d("goods-info")},[null==n.default?void 0:n.default()])])}h.props={sku:Object,goods:Object,skuEventBus:Object,selectedSku:Object,showHeaderImage:Boolean},e.default=f(h)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(43),o=n(2),a=n(34),s=n(6),u=n(5),l=n(31),c=Object(o.createNamespace)("sku-row-item")[0];e.default=c({mixins:[Object(s.ChildrenMixin)("vanSkuRows")],props:{lazyLoad:Boolean,skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedSku:Object,largeImageMode:Boolean,disableSoldoutSku:Boolean,skuList:{type:Array,default:function(){return[]}}},computed:{imgUrl:function(){var t=this.skuValue.imgUrl||this.skuValue.img_url;return this.largeImageMode?t||"https://img01.yzcdn.cn/upload_files/2020/06/24/FmKWDg0bN9rMcTp9ne8MXiQWGtLn.png":t},choosable:function(){return!this.disableSoldoutSku||Object(a.isSkuChoosable)(this.skuList,this.selectedSku,{key:this.skuKeyStr,valueId:this.skuValue.id})}},methods:{onSelect:function(){this.choosable&&this.skuEventBus.$emit("sku:select",Object(r.default)({},this.skuValue,{skuKeyStr:this.skuKeyStr}))},onPreviewImg:function(t){t.stopPropagation();var e=this.skuValue,n=this.skuKeyStr;this.skuEventBus.$emit("sku:previewImage",Object(r.default)({},e,{ks:n,imgUrl:e.imgUrl||e.img_url}))},genImage:function(t){var e=this.$createElement;if(this.imgUrl)return e(l.default,{attrs:{fit:"cover",src:this.imgUrl,lazyLoad:this.lazyLoad},class:t+"-img"})}},render:function(){var t=arguments[0],e=this.skuValue.id===this.selectedSku[this.skuKeyStr],n=this.largeImageMode?Object(i.bem)("image-item"):Object(i.bem)("item");return t("span",{class:[n,e?n+"--active":"",this.choosable?"":n+"--disabled"],on:{click:this.onSelect}},[this.genImage(n),t("div",{class:n+"-name"},[this.largeImageMode?t("span",{class:{"van-multi-ellipsis--l2":this.largeImageMode}},[this.skuValue.name]):this.skuValue.name]),this.largeImageMode&&t(u.default,{attrs:{name:"enlarge"},class:n+"-img-icon",on:{click:this.onPreviewImg}})])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=Object(i.createNamespace)("sku-row-prop-item")[0];e.default=o({props:{skuValue:Object,skuKeyStr:String,skuEventBus:Object,selectedProp:Object,multiple:Boolean},computed:{choosed:function(){var t=this.selectedProp,e=this.skuKeyStr,n=this.skuValue;return!(!t||!t[e])&&t[e].indexOf(n.id)>-1}},methods:{onSelect:function(){this.skuEventBus.$emit("sku:propSelect",Object(r.default)({},this.skuValue,{skuKeyStr:this.skuKeyStr,multiple:this.multiple}))}},render:function(){var t=arguments[0];return t("span",{class:["van-sku-row__item",{"van-sku-row__item--active":this.choosed}],on:{click:this.onSelect}},[t("span",{class:"van-sku-row__item-name"},[this.skuValue.name])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(29),o=n(73),a=Object(r.createNamespace)("sku-stepper"),s=a[0],u=a[2],l=i.LIMIT_TYPE.QUOTA_LIMIT,c=i.LIMIT_TYPE.STOCK_LIMIT;e.default=s({props:{stock:Number,skuEventBus:Object,skuStockNum:Number,selectedNum:Number,stepperTitle:String,disableStepperInput:Boolean,customStepperConfig:Object,hideQuotaText:Boolean,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},startSaleNum:{type:Number,default:1}},data:function(){return{currentNum:this.selectedNum,limitType:c}},watch:{currentNum:function(t){var e=parseInt(t,10);e>=this.stepperMinLimit&&e<=this.stepperLimit&&this.skuEventBus.$emit("sku:numChange",e)},stepperLimit:function(t){t<this.currentNum&&this.stepperMinLimit<=t&&(this.currentNum=t),this.checkState(this.stepperMinLimit,t)},stepperMinLimit:function(t){(t>this.currentNum||t>this.stepperLimit)&&(this.currentNum=t),this.checkState(t,this.stepperLimit)}},computed:{stepperLimit:function(){var t,e=this.quota-this.quotaUsed;return this.quota>0&&e<=this.stock?(t=e<0?0:e,this.limitType=l):(t=this.stock,this.limitType=c),t},stepperMinLimit:function(){return this.startSaleNum<1?1:this.startSaleNum},quotaText:function(){var t=this.customStepperConfig,e=t.quotaText;if(t.hideQuotaText)return"";var n="";if(e)n=e;else{var r=[];this.startSaleNum>1&&r.push(u("quotaStart",this.startSaleNum)),this.quota>0&&r.push(u("quotaLimit",this.quota)),n=r.join(u("comma"))}return n}},created:function(){this.checkState(this.stepperMinLimit,this.stepperLimit)},methods:{setCurrentNum:function(t){this.currentNum=t,this.checkState(this.stepperMinLimit,this.stepperLimit)},onOverLimit:function(t){this.skuEventBus.$emit("sku:overLimit",{action:t,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})},onChange:function(t){var e=parseInt(t,10),n=this.customStepperConfig.handleStepperChange;n&&n(e),this.$emit("change",e)},checkState:function(t,e){this.currentNum<t||t>e?this.currentNum=t:this.currentNum>e&&(this.currentNum=e),this.skuEventBus.$emit("sku:stepperState",{valid:t<=e,min:t,max:e,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed,startSaleNum:this.startSaleNum})}},render:function(){var t=this,e=arguments[0];return e("div",{class:"van-sku-stepper-stock"},[e("div",{class:"van-sku__stepper-title"},[this.stepperTitle||u("num")]),e(o.default,{attrs:{integer:!0,min:this.stepperMinLimit,max:this.stepperLimit,disableInput:this.disableStepperInput},class:"van-sku__stepper",on:{overlimit:this.onOverLimit,change:this.onChange},model:{value:t.currentNum,callback:function(e){t.currentNum=e}}}),!this.hideQuotaText&&this.quotaText&&e("span",{class:"van-sku__stepper-quota"},["(",this.quotaText,")"])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(184),o=n(32),a=n(12),s=n(22),u=n(185),l=n(186),c=Object(r.createNamespace)("sku-messages"),f=c[0],d=c[1],h=c[2];e.default=f({props:{messageConfig:Object,goodsId:[Number,String],messages:{type:Array,default:function(){return[]}}},data:function(){return{messageValues:this.resetMessageValues(this.messages)}},watch:{messages:function(t){this.messageValues=this.resetMessageValues(t)}},methods:{resetMessageValues:function(t){var e=this.messageConfig.initialMessages,n=void 0===e?{}:e;return(t||[]).map((function(t){return{value:n[t.name]||""}}))},getType:function(t){return 1==+t.multiple?"textarea":"id_no"===t.type?"text":t.datetime>0?"datetime":t.type},getMessages:function(){var t={};return this.messageValues.forEach((function(e,n){t["message_"+n]=e.value})),t},getCartMessages:function(){var t=this,e={};return this.messageValues.forEach((function(n,r){var i=t.messages[r];e[i.name]=n.value})),e},getPlaceholder:function(t){var e=1==+t.multiple?"textarea":t.type,n=this.messageConfig.placeholderMap||{};return t.placeholder||n[e]||h("placeholder."+e)},validateMessages:function(){for(var t=this.messageValues,e=0;e<t.length;e++){var n=t[e].value,r=this.messages[e];if(""===n){if("1"===String(r.required))return h("image"===r.type?"upload":"fill")+r.name}else{if("tel"===r.type&&!Object(o.isNumeric)(n))return h("invalid.tel");if("mobile"===r.type&&!/^\d{6,20}$/.test(n))return h("invalid.mobile");if("email"===r.type&&!Object(i.isEmail)(n))return h("invalid.email");if("id_no"===r.type&&(n.length<15||n.length>18))return h("invalid.id_no")}}},getFormatter:function(t){return function(e){return"mobile"===t.type||"tel"===t.type?e.replace(/[^\d.]/g,""):e}},genMessage:function(t,e){var n=this,r=this.$createElement;return"image"===t.type?r(a.default,{key:this.goodsId+"-"+e,attrs:{title:t.name,required:"1"===String(t.required),valueClass:d("image-cell-value")},class:d("image-cell")},[r(u.default,{attrs:{maxSize:this.messageConfig.uploadMaxSize,uploadImg:this.messageConfig.uploadImg},model:{value:n.messageValues[e].value,callback:function(t){n.$set(n.messageValues[e],"value",t)}}}),r("div",{class:d("image-cell-label")},[h("imageLabel")])]):["date","time"].indexOf(t.type)>-1?r(l.default,{attrs:{label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t)},key:this.goodsId+"-"+e,model:{value:n.messageValues[e].value,callback:function(t){n.$set(n.messageValues[e],"value",t)}}}):r(s.default,{attrs:{maxlength:"200",center:!t.multiple,label:t.name,required:"1"===String(t.required),placeholder:this.getPlaceholder(t),type:this.getType(t),formatter:this.getFormatter(t)},key:this.goodsId+"-"+e,model:{value:n.messageValues[e].value,callback:function(t){n.$set(n.messageValues[e],"value",t)}}})}},render:function(){var t=arguments[0];return t("div",{class:d()},[this.messages.map(this.genMessage)])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(14),u=Object(o.createNamespace)("sku-actions"),l=u[0],c=u[1],f=u[2];function d(t,e,n,r){var o=function(t){return function(){e.skuEventBus.$emit(t)}};return t("div",i()([{class:c()},Object(a.inherit)(r)]),[e.showAddCartBtn&&t(s.default,{attrs:{size:"large",type:"warning",text:e.addCartText||f("addCart")},on:{click:o("sku:addCart")}}),t(s.default,{attrs:{size:"large",type:"danger",text:e.buyText||f("buy")},on:{click:o("sku:buy")}})])}d.props={buyText:String,addCartText:String,skuEventBus:Object,showAddCartBtn:Boolean},e.default=l(d)},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(9),u=n(28),l=n(14),c=n(63),f=n(55),d=Object(o.createNamespace)("dialog"),h=d[0],p=d[1],v=d[2];e.default=h({mixins:[Object(u.PopupMixin)()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var e=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(n){!1!==n&&e.loading[t]&&e.onClose(t),e.loading.confirm=!1,e.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var t=this,e=this.$createElement;return e(c.default,{class:p("footer")},[this.showCancelButton&&e(f.default,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||v("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:p("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&e(f.default,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||v("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:p("confirm"),on:{click:function(){t.handleAction("confirm")}}})])},genButtons:function(){var t,e=this,n=this.$createElement,r=this.showCancelButton&&this.showConfirmButton;return n("div",{class:[s.BORDER_TOP,p("footer")]},[this.showCancelButton&&n(l.default,{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||v("cancel")},class:p("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){e.handleAction("cancel")}}}),this.showConfirmButton&&n(l.default,{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||v("confirm")},class:[p("confirm"),(t={},t[s.BORDER_LEFT]=r,t)],style:{color:this.confirmButtonColor},on:{click:function(){e.handleAction("confirm")}}})])},genContent:function(t,e){var n=this.$createElement;if(e)return n("div",{class:p("content")},[e]);var r=this.message,o=this.messageAlign;if(r){var a,s,u={class:p("message",(a={"has-title":t},a[o]=o,a)),domProps:(s={},s[this.allowHtml?"innerHTML":"textContent"]=r,s)};return n("div",{class:p("content",{isolated:!t})},[n("div",i()([{},u]))])}}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.message,n=this.slots(),r=this.slots("title")||this.title,i=r&&t("div",{class:p("header",{isolated:!e&&!n})},[r]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||e},class:[p([this.theme]),this.className],style:{width:Object(a.addUnit)(this.width)}},[i,this.genContent(r,n),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}})},function(t,e,n){"use strict";n.r(e),n.d(e,"parseTimeData",(function(){return i})),n.d(e,"parseFormat",(function(){return o})),n.d(e,"isSameSecond",(function(){return a}));var r=n(13);function i(t){return{days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3),milliseconds:Math.floor(t%1e3)}}function o(t,e){var n=e.days,i=e.hours,o=e.minutes,a=e.seconds,s=e.milliseconds;if(-1===t.indexOf("DD")?i+=24*n:t=t.replace("DD",Object(r.padZero)(n)),-1===t.indexOf("HH")?o+=60*i:t=t.replace("HH",Object(r.padZero)(i)),-1===t.indexOf("mm")?a+=60*o:t=t.replace("mm",Object(r.padZero)(o)),-1===t.indexOf("ss")?s+=1e3*a:t=t.replace("ss",Object(r.padZero)(a)),-1!==t.indexOf("S")){var u=Object(r.padZero)(s,3);t=-1!==t.indexOf("SSS")?t.replace("SSS",u):-1!==t.indexOf("SS")?t.replace("SS",u.slice(0,2)):t.replace("S",u.charAt(0))}return t}function a(t,e){return Math.floor(t/1e3)===Math.floor(e/1e3)}},function(t,e,n){"use strict";n.r(e);var r=n(35),i=n(28),o=n(18),a=n(23),s=n(5),u=n(69),l=n(180);e.default=Object(r.createComponent)({mixins:[o.TouchMixin,Object(i.PopupMixin)({skipToggleEvent:!0}),Object(a.BindEventMixin)((function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)}))],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},transition:{type:String,default:"van-fade"},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:300},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:Object(r.bem)("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick((function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})}))):this.$emit("close",{index:this.active,url:this.images[this.active]})}},methods:{resize:function(){if(this.$el&&this.$el.getBoundingClientRect){var t=this.$el.getBoundingClientRect();this.rootWidth=t.width,this.rootHeight=t.height}},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:Object(r.bem)("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:Object(r.bem)("cover")},[e])},genImages:function(){var t=this,e=this.$createElement;return e(u.default,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:Object(r.bem)("swipe"),on:{change:this.setActive}},[this.images.map((function(n){return e(l.default,{attrs:{src:n,show:t.value,active:t.active,maxZoom:t.maxZoom,minZoom:t.minZoom,rootWidth:t.rootWidth,rootHeight:t.rootHeight},on:{scale:t.emitScale,close:t.emitClose}})}))])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(s.default,{attrs:{role:"button",name:this.closeIcon},class:Object(r.bem)("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterLeave:this.onClosed}},[this.shouldRender?t("div",{directives:[{name:"show",value:this.value}],class:[Object(r.bem)(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover()]):null])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(4),o=n.n(i),a=n(2),s=n(3),u=n(28),l=n(21),c=Object(a.createNamespace)("notify"),f=c[0],d=c[1];function h(t,e,n,r){var i={color:e.color,background:e.background};return t(l.default,o()([{attrs:{value:e.value,position:"top",overlay:!1,duration:.2,lockScroll:!1},style:i,class:[d([e.type]),e.className]},Object(s.inherit)(r,!0)]),[(null==n.default?void 0:n.default())||e.message])}h.props=Object(r.default)({},u.popupMixinProps,{color:String,message:[Number,String],duration:[Number,String],className:null,background:String,getContainer:[String,Function],type:{type:String,default:"danger"}}),e.default=f(h)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(18),o=n(19),a=n(181),s=n(182),u=Object(r.createNamespace)("key"),l=u[0],c=u[1];e.default=l({mixins:[i.TouchMixin],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,n="delete"===this.type,r=this.slots("default")||this.text;return this.loading?t(o.default,{class:c("loading-icon")}):n?r||t(a.default,{class:c("delete-icon")}):e?r||t(s.default,{class:c("collapse-icon")}):r}},render:function(){var t=arguments[0];return t("div",{class:c("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:c([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}})},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,l=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&h())}function h(){if(!c){var t=s(d);c=!0;for(var e=l.length;e;){for(u=l,l=[];++f<e;)u&&u[f].run();f=-1,e=l.length}u=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new p(t,e)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(4),o=n.n(i),a=n(15),s=n(2),u=n(3),l=n(28),c=n(5),f=n(21),d=n(19),h=Object(s.createNamespace)("action-sheet"),p=h[0],v=h[1];function g(t,e,n,r){var i=e.title,s=e.cancelText,l=e.closeable;function h(){Object(u.emit)(r,"input",!1),Object(u.emit)(r,"cancel")}return t(f.default,o()([{class:v(),attrs:{position:"bottom",round:e.round,value:e.value,overlay:e.overlay,duration:e.duration,lazyRender:e.lazyRender,lockScroll:e.lockScroll,getContainer:e.getContainer,closeOnPopstate:e.closeOnPopstate,closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:e.safeAreaInsetBottom}},Object(u.inherit)(r,!0)]),[function(){if(i)return t("div",{class:v("header")},[i,l&&t(c.default,{attrs:{name:e.closeIcon},class:v("close"),on:{click:h}})])}(),function(){var r=(null==n.description?void 0:n.description())||e.description;if(r)return t("div",{class:v("description")},[r])}(),t("div",{class:v("content")},[e.actions&&e.actions.map((function(n,i){var o=n.disabled,s=n.loading,l=n.callback;return t("button",{attrs:{type:"button"},class:[v("item",{disabled:o,loading:s}),n.className],style:{color:n.color},on:{click:function(t){t.stopPropagation(),o||s||(l&&l(n),e.closeOnClickAction&&Object(u.emit)(r,"input",!1),a.default.nextTick((function(){Object(u.emit)(r,"select",n,i)})))}}},[s?t(d.default,{class:v("loading-icon")}):[t("span",{class:v("name")},[n.name]),n.subname&&t("div",{class:v("subname")},[n.subname])]])})),null==n.default?void 0:n.default()]),function(){if(s)return[t("div",{class:v("gap")}),t("button",{attrs:{type:"button"},class:v("cancel"),on:{click:h}},[s])]}()])}g.props=Object(r.default)({},l.popupMixinProps,{title:String,actions:Array,duration:[Number,String],cancelText:String,description:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),e.default=p(g)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(0),a=n(76),s=n(64),u=n(12),l=n(22),c=n(21),f=n(26),d=n(14),h=n(45),p=n(172),v=n(37),g=Object(i.createNamespace)("address-edit"),m=g[0],y=g[1],_=g[2],b={name:"",tel:"",country:"",province:"",city:"",county:"",areaCode:"",postalCode:"",addressDetail:"",isDefault:!1};e.default=m({props:{areaList:Object,isSaving:Boolean,isDeleting:Boolean,validator:Function,showDelete:Boolean,showPostal:Boolean,searchResult:Array,telMaxlength:[Number,String],showSetDefault:Boolean,saveButtonText:String,areaPlaceholder:String,deleteButtonText:String,showSearchResult:Boolean,showArea:{type:Boolean,default:!0},showDetail:{type:Boolean,default:!0},disableArea:Boolean,detailRows:{type:[Number,String],default:1},detailMaxlength:{type:[Number,String],default:200},addressInfo:{type:Object,default:function(){return Object(r.default)({},b)}},telValidator:{type:Function,default:a.isMobile},postalValidator:{type:Function,default:function(t){return/^\d{6}$/.test(t)}},areaColumnsPlaceholder:{type:Array,default:function(){return[]}}},data:function(){return{data:{},showAreaPopup:!1,detailFocused:!1,errorInfo:{tel:"",name:"",areaCode:"",postalCode:"",addressDetail:""}}},computed:{areaListLoaded:function(){return Object(o.isObject)(this.areaList)&&Object.keys(this.areaList).length},areaText:function(){var t=this.data,e=t.country,n=t.province,r=t.city,i=t.county;if(t.areaCode){var o=[e,n,r,i];return n&&n===r&&o.splice(1,1),o.filter((function(t){return t})).join("/")}return""},hideBottomFields:function(){var t=this.searchResult;return t&&t.length&&this.detailFocused}},watch:{addressInfo:{handler:function(t){this.data=Object(r.default)({},b,t),this.setAreaCode(t.areaCode)},deep:!0,immediate:!0},areaList:function(){this.setAreaCode(this.data.areaCode)}},methods:{onFocus:function(t){this.errorInfo[t]="",this.detailFocused="addressDetail"===t,this.$emit("focus",t)},onChangeDetail:function(t){this.data.addressDetail=t,this.$emit("change-detail",t)},onAreaConfirm:function(t){(t=t.filter((function(t){return!!t}))).some((function(t){return!t.code}))?Object(f.default)(_("areaEmpty")):(this.showAreaPopup=!1,this.assignAreaValues(),this.$emit("change-area",t))},assignAreaValues:function(){var t=this.$refs.area;if(t){var e=t.getArea();e.areaCode=e.code,delete e.code,Object(r.default)(this.data,e)}},onSave:function(){var t=this,e=["name","tel"];this.showArea&&e.push("areaCode"),this.showDetail&&e.push("addressDetail"),this.showPostal&&e.push("postalCode"),e.every((function(e){var n=t.getErrorMessage(e);return n&&(t.errorInfo[e]=n),!n}))&&!this.isSaving&&this.$emit("save",this.data)},getErrorMessage:function(t){var e=String(this.data[t]||"").trim();if(this.validator){var n=this.validator(t,e);if(n)return n}switch(t){case"name":return e?"":_("nameEmpty");case"tel":return this.telValidator(e)?"":_("telInvalid");case"areaCode":return e?"":_("areaEmpty");case"addressDetail":return e?"":_("addressEmpty");case"postalCode":return e&&!this.postalValidator(e)?_("postalEmpty"):""}},onDelete:function(){var t=this;h.default.confirm({title:_("confirmDelete")}).then((function(){t.$emit("delete",t.data)})).catch((function(){t.$emit("cancel-delete",t.data)}))},getArea:function(){return this.$refs.area?this.$refs.area.getValues():[]},setAreaCode:function(t){this.data.areaCode=t||"",t&&this.$nextTick(this.assignAreaValues)},setAddressDetail:function(t){this.data.addressDetail=t},onDetailBlur:function(){var t=this;setTimeout((function(){t.detailFocused=!1}))},genSetDefaultCell:function(t){var e=this;if(this.showSetDefault){var n={"right-icon":function(){return t(v.default,{attrs:{size:"24"},on:{change:function(t){e.$emit("change-default",t)}},model:{value:e.data.isDefault,callback:function(t){e.$set(e.data,"isDefault",t)}}})}};return t(u.default,{directives:[{name:"show",value:!this.hideBottomFields}],attrs:{center:!0,title:_("defaultAddress")},class:y("default"),scopedSlots:n})}return t()}},render:function(t){var e=this,n=this.data,r=this.errorInfo,i=this.disableArea,o=this.hideBottomFields,a=function(t){return function(){return e.onFocus(t)}};return t("div",{class:y()},[t("div",{class:y("fields")},[t(l.default,{attrs:{clearable:!0,label:_("name"),placeholder:_("namePlaceholder"),errorMessage:r.name},on:{focus:a("name")},model:{value:n.name,callback:function(t){e.$set(n,"name",t)}}}),t(l.default,{attrs:{clearable:!0,type:"tel",label:_("tel"),maxlength:this.telMaxlength,placeholder:_("telPlaceholder"),errorMessage:r.tel},on:{focus:a("tel")},model:{value:n.tel,callback:function(t){e.$set(n,"tel",t)}}}),t(l.default,{directives:[{name:"show",value:this.showArea}],attrs:{readonly:!0,clickable:!i,label:_("area"),placeholder:this.areaPlaceholder||_("areaPlaceholder"),errorMessage:r.areaCode,rightIcon:i?null:"arrow",value:this.areaText},on:{focus:a("areaCode"),click:function(){e.$emit("click-area"),e.showAreaPopup=!i}}}),t(p.default,{directives:[{name:"show",value:this.showDetail}],attrs:{focused:this.detailFocused,value:n.addressDetail,errorMessage:r.addressDetail,detailRows:this.detailRows,detailMaxlength:this.detailMaxlength,searchResult:this.searchResult,showSearchResult:this.showSearchResult},on:{focus:a("addressDetail"),blur:this.onDetailBlur,input:this.onChangeDetail,"select-search":function(t){e.$emit("select-search",t)}}}),this.showPostal&&t(l.default,{directives:[{name:"show",value:!o}],attrs:{type:"tel",maxlength:"6",label:_("postal"),placeholder:_("postal"),errorMessage:r.postalCode},on:{focus:a("postalCode")},model:{value:n.postalCode,callback:function(t){e.$set(n,"postalCode",t)}}}),this.slots()]),this.genSetDefaultCell(t),t("div",{directives:[{name:"show",value:!o}],class:y("buttons")},[t(d.default,{attrs:{block:!0,round:!0,loading:this.isSaving,type:"danger",text:this.saveButtonText||_("save")},on:{click:this.onSave}}),this.showDelete&&t(d.default,{attrs:{block:!0,round:!0,loading:this.isDeleting,text:this.deleteButtonText||_("delete")},on:{click:this.onDelete}})]),t(c.default,{attrs:{round:!0,position:"bottom",lazyRender:!1,getContainer:"body"},model:{value:e.showAreaPopup,callback:function(t){e.showAreaPopup=t}}},[t(s.default,{ref:"area",attrs:{value:n.areaCode,loading:!this.areaListLoaded,areaList:this.areaList,columnsPlaceholder:this.areaColumnsPlaceholder},on:{confirm:this.onAreaConfirm,cancel:function(){e.showAreaPopup=!1}}})])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(14),u=n(48),l=n(174),c=Object(o.createNamespace)("address-list"),f=c[0],d=c[1],h=c[2];function p(t,e,n,r){function o(i,o){if(i)return i.map((function(i,s){return t(l.default,{attrs:{data:i,disabled:o,switchable:e.switchable,defaultTagText:e.defaultTagText},key:i.id,scopedSlots:{bottom:n["item-bottom"],tag:n.tag},on:{select:function(){Object(a.emit)(r,o?"select-disabled":"select",i,s),o||Object(a.emit)(r,"input",i.id)},edit:function(){Object(a.emit)(r,o?"edit-disabled":"edit",i,s)},click:function(){Object(a.emit)(r,"click-item",i,s)}}})}))}var c=o(e.list),f=o(e.disabledList,!0);return t("div",i()([{class:d()},Object(a.inherit)(r)]),[null==n.top?void 0:n.top(),t(u.default,{attrs:{value:e.value}},[c]),e.disabledText&&t("div",{class:d("disabled-text")},[e.disabledText]),f,null==n.default?void 0:n.default(),t("div",{class:d("bottom")},[t(s.default,{attrs:{round:!0,block:!0,type:"danger",text:e.addButtonText||h("add")},class:d("add"),on:{click:function(){Object(a.emit)(r,"add")}}})])])}p.props={list:Array,value:[Number,String],disabledList:Array,disabledText:String,addButtonText:String,defaultTagText:String,switchable:{type:Boolean,default:!0}},e.default=f(p)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(32),a=Object(r.createNamespace)("badge"),s=a[0],u=a[1];e.default=s({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||Object(i.isDef)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,n=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():Object(i.isDef)(e)&&Object(o.isNumeric)(n)&&+n>e?e+"+":n},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:u({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){var t=arguments[0];if(this.$scopedSlots.default){var e=this.tag;return t(e,{class:u("wrapper")},[this.$scopedSlots.default(),this.renderBadge()])}return this.renderBadge()}})},function(t,e,n){"use strict";n.r(e);var r=n(16),i=n(51),o=n(11),a=n(8),s=n(21),u=n(14),l=n(26),c=n(175),f=n(176);e.default=Object(a.createComponent)({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:i.isDate,default:function(){return new Date}},maxDate:{type:Date,validator:i.isDate,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return t>=0&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);e.setDate(1);do{t.push(new Date(e)),e.setMonth(e.getMonth()+1)}while(1!==Object(a.compareMonth)(e,this.maxDate));return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{value:"init",type:function(){this.reset()},defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(t){void 0===t&&(t=this.getInitialDate()),this.currentDate=t,this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick((function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()}))},scrollToDate:function(t){var e=this;Object(r.raf)((function(){var n=e.value||!e.poppable;t&&n&&(e.months.some((function(n,r){if(0===Object(a.compareMonth)(n,t)){var i=e.$refs,o=i.body;return i.months[r].scrollIntoView(o),!0}return!1})),e.onScroll())}))},scrollIntoView:function(){var t=this.currentDate;if(t){var e="single"===this.type?t:t[0];this.scrollToDate(e)}},getInitialDate:function(){var t=this.type,e=this.minDate,n=this.maxDate,r=this.defaultDate;if(null===r)return r;var i=new Date;if(-1===Object(a.compareDay)(i,e)?i=e:1===Object(a.compareDay)(i,n)&&(i=n),"range"===t){var o=r||[];return[o[0]||i,o[1]||Object(a.getNextDay)(i)]}return"multiple"===t?r||[i]:r||i},onScroll:function(){var t=this.$refs,e=t.body,n=t.months,r=Object(o.getScrollTop)(e),i=r+this.bodyHeight,a=n.map((function(t){return t.getHeight()}));if(!(i>a.reduce((function(t,e){return t+e}),0)&&r>0)){for(var s,u=0,l=[-1,-1],c=0;c<n.length;c++){u<=i&&u+a[c]>=r&&(l[1]=c,s||(s=n[c],l[0]=c),n[c].showed||(n[c].showed=!0,this.$emit("month-show",{date:n[c].date,title:n[c].title}))),u+=a[c]}n.forEach((function(t,e){t.visible=e>=l[0]-1&&e<=l[1]+1})),s&&(this.subtitle=s.title)}},onClickDay:function(t){if(!this.readonly){var e=t.date,n=this.type,r=this.currentDate;if("range"===n){if(!r)return void this.select([e,null]);var i=r[0],o=r[1];if(i&&!o){var s=Object(a.compareDay)(e,i);1===s?this.select([i,e],!0):-1===s?this.select([e,null]):this.allowSameDay&&this.select([e,e],!0)}else this.select([e,null])}else if("multiple"===n){if(!r)return void this.select([e]);var u;if(this.currentDate.some((function(t,n){var r=0===Object(a.compareDay)(t,e);return r&&(u=n),r}))){var c=r.splice(u,1)[0];this.$emit("unselect",Object(a.copyDate)(c))}else this.maxRange&&r.length>=this.maxRange?Object(l.default)(this.rangePrompt||Object(a.t)("rangePrompt",this.maxRange)):this.select([].concat(r,[e]))}else this.select(e,!0)}},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){var n=this,r=function(t){n.currentDate=t,n.$emit("select",Object(a.copyDates)(n.currentDate))};if(e&&"range"===this.type&&!this.checkRange(t))return void(this.showConfirm?r([t[0],Object(a.getDayByOffset)(t[0],this.maxRange-1)]):r(t));r(t),e&&!this.showConfirm&&this.onConfirm()},checkRange:function(t){var e=this.maxRange,n=this.rangePrompt;return!(e&&Object(a.calcDateNum)(t)>e)||(Object(l.default)(n||Object(a.t)("rangePrompt",e)),!1)},onConfirm:function(){this.$emit("confirm",Object(a.copyDates)(this.currentDate))},genMonth:function(t,e){var n=this.$createElement,r=0!==e||!this.showSubtitle;return n(c.default,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:r,firstDayOfWeek:this.dayOffset},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");if(e)return e;if(this.showConfirm){var n=this.buttonDisabled?this.confirmDisabledText:this.confirmText;return t(u.default,{attrs:{round:!0,block:!0,type:"danger",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:Object(a.bem)("confirm"),on:{click:this.onConfirm}},[n||Object(a.t)("confirm")])}},genFooter:function(){return(0,this.$createElement)("div",{class:Object(a.bem)("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:Object(a.bem)()},[e(f.default,{attrs:{title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:Object(a.bem)("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var t=this,e=arguments[0];if(this.poppable){var n,r=function(e){return function(){return t.$emit(e)}};return e(s.default,{attrs:(n={round:!0,value:this.value},n.round=this.round,n.position=this.position,n.closeable=this.showTitle||this.showSubtitle,n.getContainer=this.getContainer,n.closeOnPopstate=this.closeOnPopstate,n.closeOnClickOverlay=this.closeOnClickOverlay,n),class:Object(a.bem)("popup"),on:{input:this.togglePopup,open:r("open"),opened:r("opened"),close:r("close"),closed:r("closed")}},[this.genCalendar()])}return this.genCalendar()}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(0),s=n(3),u=n(38),l=n(31),c=Object(o.createNamespace)("card"),f=c[0],d=c[1];function h(t,e,n,r){var o,c=e.thumb,f=n.num||Object(a.isDef)(e.num),h=n.price||Object(a.isDef)(e.price),p=n["origin-price"]||Object(a.isDef)(e.originPrice),v=f||h||p||n.bottom;function g(t){Object(s.emit)(r,"click-thumb",t)}function m(){if(n.tag||e.tag)return t("div",{class:d("tag")},[n.tag?n.tag():t(u.default,{attrs:{mark:!0,type:"danger"}},[e.tag])])}return t("div",i()([{class:d()},Object(s.inherit)(r,!0)]),[t("div",{class:d("header")},[function(){if(n.thumb||c)return t("a",{attrs:{href:e.thumbLink},class:d("thumb"),on:{click:g}},[n.thumb?n.thumb():t(l.default,{attrs:{src:c,width:"100%",height:"100%",fit:"cover","lazy-load":e.lazyLoad}}),m()])}(),t("div",{class:d("content",{centered:e.centered})},[t("div",[n.title?n.title():e.title?t("div",{class:[d("title"),"van-multi-ellipsis--l2"]},[e.title]):void 0,n.desc?n.desc():e.desc?t("div",{class:[d("desc"),"van-ellipsis"]},[e.desc]):void 0,null==n.tags?void 0:n.tags()]),v&&t("div",{class:"van-card__bottom"},[null==(o=n["price-top"])?void 0:o.call(n),function(){if(h)return t("div",{class:d("price")},[n.price?n.price():(r=e.price.toString().split("."),t("div",[t("span",{class:d("price-currency")},[e.currency]),t("span",{class:d("price-integer")},[r[0]]),".",t("span",{class:d("price-decimal")},[r[1]])]))]);var r}(),function(){if(p){var r=n["origin-price"];return t("div",{class:d("origin-price")},[r?r():e.currency+" "+e.originPrice])}}(),function(){if(f)return t("div",{class:d("num")},[n.num?n.num():"x"+e.num])}(),null==n.bottom?void 0:n.bottom()])])]),function(){if(n.footer)return t("div",{class:d("footer")},[n.footer()])}()])}h.props={tag:String,desc:String,thumb:String,title:String,centered:Boolean,lazyLoad:Boolean,thumbLink:String,num:[Number,String],price:[Number,String],originPrice:[Number,String],currency:{type:String,default:"¥"}},e.default=f(h)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(40),o=n(49),a=n(5),s=Object(r.createNamespace)("cascader"),u=s[0],l=s[1],c=s[2];e.default=u({props:{title:String,value:[Number,String],fieldNames:Object,placeholder:String,activeColor:String,options:{type:Array,default:function(){return[]}},closeable:{type:Boolean,default:!0}},data:function(){return{tabs:[],activeTab:0}},computed:{textKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.text)||"text"},valueKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.value)||"value"},childrenKey:function(){var t;return(null==(t=this.fieldNames)?void 0:t.children)||"children"}},watch:{options:{deep:!0,handler:"updateTabs"},value:function(t){var e=this;if((t||0===t)&&-1!==this.tabs.map((function(t){var n;return null==(n=t.selectedOption)?void 0:n[e.valueKey]})).indexOf(t))return;this.updateTabs()}},created:function(){this.updateTabs()},methods:{getSelectedOptionsByValue:function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r[this.valueKey]===e)return[r];if(r[this.childrenKey]){var i=this.getSelectedOptionsByValue(r[this.childrenKey],e);if(i)return[r].concat(i)}}},updateTabs:function(){var t=this;if(this.value||0===this.value){var e=this.getSelectedOptionsByValue(this.options,this.value);if(e){var n=this.options;return this.tabs=e.map((function(e){var r={options:n,selectedOption:e},i=n.filter((function(n){return n[t.valueKey]===e[t.valueKey]}));return i.length&&(n=i[0][t.childrenKey]),r})),n&&this.tabs.push({options:n,selectedOption:null}),void this.$nextTick((function(){t.activeTab=t.tabs.length-1}))}}this.tabs=[{options:this.options,selectedOption:null}]},onSelect:function(t,e){var n=this;if(this.tabs[e].selectedOption=t,this.tabs.length>e+1&&(this.tabs=this.tabs.slice(0,e+1)),t[this.childrenKey]){var r={options:t[this.childrenKey],selectedOption:null};this.tabs[e+1]?this.$set(this.tabs,e+1,r):this.tabs.push(r),this.$nextTick((function(){n.activeTab++}))}var i=this.tabs.map((function(t){return t.selectedOption})).filter((function(t){return!!t})),o={value:t[this.valueKey],tabIndex:e,selectedOptions:i};this.$emit("input",t[this.valueKey]),this.$emit("change",o),t[this.childrenKey]||this.$emit("finish",o)},onClose:function(){this.$emit("close")},renderHeader:function(){var t=this.$createElement;return t("div",{class:l("header")},[t("h2",{class:l("title")},[this.slots("title")||this.title]),this.closeable?t(a.default,{attrs:{name:"cross"},class:l("close-icon"),on:{click:this.onClose}}):null])},renderOptions:function(t,e,n){var r=this,i=this.$createElement;return i("ul",{class:l("options")},[t.map((function(t){var o=e&&t[r.valueKey]===e[r.valueKey];return i("li",{class:l("option",{selected:o}),style:{color:o?r.activeColor:null},on:{click:function(){r.onSelect(t,n)}}},[i("span",[t[r.textKey]]),o?i(a.default,{attrs:{name:"success"},class:l("selected-icon")}):null])}))])},renderTab:function(t,e){var n=this.$createElement,r=t.options,o=t.selectedOption,a=o?o[this.textKey]:this.placeholder||c("select");return n(i.default,{attrs:{title:a,titleClass:l("tab",{unselected:!o})}},[this.renderOptions(r,o,e)])},renderTabs:function(){var t=this;return(0,this.$createElement)(o.default,{attrs:{animated:!0,swipeable:!0,swipeThreshold:0,color:this.activeColor},class:l("tabs"),model:{value:t.activeTab,callback:function(e){t.activeTab=e}}},[this.tabs.map(this.renderTab)])}},render:function(){var t=arguments[0];return t("div",{class:l()},[this.renderHeader(),this.renderTabs()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(24),o=n(6),a=Object(r.createNamespace)("checkbox-group"),s=a[0],u=a[1];e.default=s({mixins:[Object(o.ParentMixin)("vanCheckbox"),i.FieldMixin],props:{max:[Number,String],disabled:Boolean,direction:String,iconSize:[Number,String],checkedColor:String,value:{type:Array,default:function(){return[]}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggleAll:function(t){void 0===t&&(t={}),"boolean"==typeof t&&(t={checked:t});var e=t,n=e.checked,r=e.skipDisabled,i=this.children.filter((function(t){return t.disabled&&r?t.checked:null!=n?n:!t.checked})).map((function(t){return t.name}));this.$emit("input",i)}},render:function(){var t=arguments[0];return t("div",{class:u([this.direction])},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(0),a=n(16),s=Object(r.createNamespace)("circle"),u=s[0],l=s[1],c=0;function f(t){return Math.min(Math.max(t,0),100)}e.default=u({props:{text:String,size:[Number,String],color:[String,Object],layerColor:String,strokeLinecap:String,value:{type:Number,default:0},speed:{type:[Number,String],default:0},fill:{type:String,default:"none"},rate:{type:[Number,String],default:100},strokeWidth:{type:[Number,String],default:40},clockwise:{type:Boolean,default:!0}},beforeCreate:function(){this.uid="van-circle-gradient-"+c++},computed:{style:function(){var t=Object(i.addUnit)(this.size);return{width:t,height:t}},path:function(){return t=this.clockwise,"M "+(e=this.viewBoxSize)/2+" "+e/2+" m 0, -500 a 500, 500 0 1, "+(n=t?1:0)+" 0, 1000 a 500, 500 0 1, "+n+" 0, -1000";var t,e,n},viewBoxSize:function(){return+this.strokeWidth+1e3},layerStyle:function(){return{fill:""+this.fill,stroke:""+this.layerColor,strokeWidth:this.strokeWidth+"px"}},hoverStyle:function(){var t=3140*this.value/100;return{stroke:""+(this.gradient?"url(#"+this.uid+")":this.color),strokeWidth:+this.strokeWidth+1+"px",strokeLinecap:this.strokeLinecap,strokeDasharray:t+"px 3140px"}},gradient:function(){return Object(o.isObject)(this.color)},LinearGradient:function(){var t=this,e=this.$createElement;if(this.gradient){var n=Object.keys(this.color).sort((function(t,e){return parseFloat(t)-parseFloat(e)})).map((function(n,r){return e("stop",{key:r,attrs:{offset:n,"stop-color":t.color[n]}})}));return e("defs",[e("linearGradient",{attrs:{id:this.uid,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[n])])}}},watch:{rate:{handler:function(t){this.startTime=Date.now(),this.startRate=this.value,this.endRate=f(t),this.increase=this.endRate>this.startRate,this.duration=Math.abs(1e3*(this.startRate-this.endRate)/this.speed),this.speed?(Object(a.cancelRaf)(this.rafId),this.rafId=Object(a.raf)(this.animate)):this.$emit("input",this.endRate)},immediate:!0}},methods:{animate:function(){var t=Date.now(),e=Math.min((t-this.startTime)/this.duration,1)*(this.endRate-this.startRate)+this.startRate;this.$emit("input",f(parseFloat(e.toFixed(1)))),(this.increase?e<this.endRate:e>this.endRate)&&(this.rafId=Object(a.raf)(this.animate))}},render:function(){var t=arguments[0];return t("div",{class:l(),style:this.style},[t("svg",{attrs:{viewBox:"0 0 "+this.viewBoxSize+" "+this.viewBoxSize}},[this.LinearGradient,t("path",{class:l("layer"),style:this.layerStyle,attrs:{d:this.path}}),t("path",{attrs:{d:this.path},class:l("hover"),style:this.hoverStyle})]),this.slots()||this.text&&t("div",{class:l("text")},[this.text])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=Object(r.createNamespace)("col"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.ChildrenMixin)("vanRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t]){var n=e[t],r=n.left,i=n.right;return{paddingLeft:r?r+"px":null,paddingRight:i?i+"px":null}}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],n=this.span,r=this.offset;return e(this.tag,{style:this.style,class:s((t={},t[n]=n,t["offset-"+r]=r,t)),on:{click:this.onClick}},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=n(9),a=Object(r.createNamespace)("collapse"),s=a[0],u=a[1];e.default=s({mixins:[Object(i.ParentMixin)("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(t,e){this.accordion||(t=e?this.value.concat(t):this.value.filter((function(e){return e!==t}))),this.$emit("change",t),this.$emit("input",t)}},render:function(){var t,e=arguments[0];return e("div",{class:[u(),(t={},t[o.BORDER_TOP_BOTTOM]=this.border,t)]},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(16),a=n(6),s=n(12),u=n(56),l=Object(i.createNamespace)("collapse-item"),c=l[0],f=l[1],d=["title","icon","right-icon"];e.default=c({mixins:[Object(a.ChildrenMixin)("vanCollapse")],props:Object(r.default)({},u.cellProps,{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var t=this;if(!this.parent)return null;var e=this.parent,n=e.value;return e.accordion?n===this.currentName:n.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var n=this;null!==e&&(t&&(this.show=!0,this.inited=!0),(t?this.$nextTick:o.raf)((function(){var e=n.$refs,r=e.content,i=e.wrapper;if(r&&i){var a=r.offsetHeight;if(a){var s=a+"px";i.style.height=t?0:s,Object(o.doubleRaf)((function(){i.style.height=t?s:0}))}else n.onTransitionEnd()}})))}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,n=this.currentName,r=e.accordion&&n===e.value?"":n;this.parent.switch(r,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,n=this.border,i=this.disabled,o=this.expanded,a=d.reduce((function(e,n){return t.slots(n)&&(e[n]=function(){return t.slots(n)}),e}),{});return this.slots("value")&&(a.default=function(){return t.slots("value")}),e(s.default,{attrs:{role:"button",tabindex:i?-1:0,"aria-expanded":String(o)},class:f("title",{disabled:i,expanded:o,borderless:!n}),on:{click:this.onClick},scopedSlots:a,props:Object(r.default)({},this.$props)})},genContent:function(){var t=this.$createElement;if(this.inited)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:f("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:f("content")},[this.slots()])])}},render:function(){var t=arguments[0];return t("div",{class:[f({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(12),u=Object(o.createNamespace)("contact-card"),l=u[0],c=u[1],f=u[2];function d(t,e,n,r){var o=e.type,u=e.editable;return t(s.default,i()([{attrs:{center:!0,border:!1,isLink:u,valueClass:c("value"),icon:"edit"===o?"contact":"add-square"},class:c([o]),on:{click:function(t){u&&Object(a.emit)(r,"click",t)}}},Object(a.inherit)(r)]),["add"===o?e.addText||f("addText"):[t("div",[f("name")+":"+e.name]),t("div",[f("tel")+":"+e.tel])]])}d.props={tel:String,name:String,addText:String,editable:{type:Boolean,default:!0},type:{type:String,default:"add"}},e.default=l(d)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(76),a=n(12),s=n(22),u=n(14),l=n(45),c=n(37),f=Object(i.createNamespace)("contact-edit"),d=f[0],h=f[1],p=f[2],v={tel:"",name:""};e.default=d({props:{isEdit:Boolean,isSaving:Boolean,isDeleting:Boolean,showSetDefault:Boolean,setDefaultLabel:String,contactInfo:{type:Object,default:function(){return Object(r.default)({},v)}},telValidator:{type:Function,default:o.isMobile}},data:function(){return{data:Object(r.default)({},v,this.contactInfo),errorInfo:{name:"",tel:""}}},watch:{contactInfo:function(t){this.data=Object(r.default)({},v,t)}},methods:{onFocus:function(t){this.errorInfo[t]=""},getErrorMessageByKey:function(t){var e=this.data[t].trim();switch(t){case"name":return e?"":p("nameInvalid");case"tel":return this.telValidator(e)?"":p("telInvalid")}},onSave:function(){var t=this;["name","tel"].every((function(e){var n=t.getErrorMessageByKey(e);return n&&(t.errorInfo[e]=n),!n}))&&!this.isSaving&&this.$emit("save",this.data)},onDelete:function(){var t=this;l.default.confirm({title:p("confirmDelete")}).then((function(){t.$emit("delete",t.data)}))}},render:function(){var t=this,e=arguments[0],n=this.data,r=this.errorInfo,i=function(e){return function(){return t.onFocus(e)}};return e("div",{class:h()},[e("div",{class:h("fields")},[e(s.default,{attrs:{clearable:!0,maxlength:"30",label:p("name"),placeholder:p("nameEmpty"),errorMessage:r.name},on:{focus:i("name")},model:{value:n.name,callback:function(e){t.$set(n,"name",e)}}}),e(s.default,{attrs:{clearable:!0,type:"tel",label:p("tel"),placeholder:p("telEmpty"),errorMessage:r.tel},on:{focus:i("tel")},model:{value:n.tel,callback:function(e){t.$set(n,"tel",e)}}})]),this.showSetDefault&&e(a.default,{attrs:{title:this.setDefaultLabel,border:!1},class:h("switch-cell")},[e(c.default,{attrs:{size:24},slot:"right-icon",on:{change:function(e){t.$emit("change-default",e)}},model:{value:n.isDefault,callback:function(e){t.$set(n,"isDefault",e)}}})]),e("div",{class:h("buttons")},[e(u.default,{attrs:{block:!0,round:!0,type:"danger",text:p("save"),loading:this.isSaving},on:{click:this.onSave}}),this.isEdit&&e(u.default,{attrs:{block:!0,round:!0,text:p("delete"),loading:this.isDeleting},on:{click:this.onDelete}})])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(9),s=n(3),u=n(38),l=n(5),c=n(12),f=n(47),d=n(14),h=n(48),p=Object(o.createNamespace)("contact-list"),v=p[0],g=p[1],m=p[2];function y(t,e,n,r){var o=e.list&&e.list.map((function(n,i){function o(){Object(s.emit)(r,"input",n.id),Object(s.emit)(r,"select",n,i)}return t(c.default,{key:n.id,attrs:{isLink:!0,center:!0,valueClass:g("item-value")},class:g("item"),scopedSlots:{icon:function(){return t(l.default,{attrs:{name:"edit"},class:g("edit"),on:{click:function(t){t.stopPropagation(),Object(s.emit)(r,"edit",n,i)}}})},default:function(){var r=[n.name+","+n.tel];return n.isDefault&&e.defaultTagText&&r.push(t(u.default,{attrs:{type:"danger",round:!0},class:g("item-tag")},[e.defaultTagText])),r},"right-icon":function(){return t(f.default,{attrs:{name:n.id,iconSize:16,checkedColor:a.RED},on:{click:o}})}},on:{click:o}})}));return t("div",i()([{class:g()},Object(s.inherit)(r)]),[t(h.default,{attrs:{value:e.value},class:g("group")},[o]),t("div",{class:g("bottom")},[t(d.default,{attrs:{round:!0,block:!0,type:"danger",text:e.addText||m("addText")},class:g("add"),on:{click:function(){Object(s.emit)(r,"add")}}})])])}y.props={value:null,list:Array,addText:String,defaultTagText:String},e.default=v(y)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(16),a=n(90),s=Object(r.createNamespace)("count-down"),u=s[0],l=s[1];e.default=u({props:{millisecond:Boolean,time:{type:[Number,String],default:0},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0}},data:function(){return{remain:0}},computed:{timeData:function(){return Object(a.parseTimeData)(this.remain)},formattedTime:function(){return Object(a.parseFormat)(this.format,this.timeData)}},watch:{time:{immediate:!0,handler:"reset"}},activated:function(){this.keepAlivePaused&&(this.counting=!0,this.keepAlivePaused=!1,this.tick())},deactivated:function(){this.counting&&(this.pause(),this.keepAlivePaused=!0)},beforeDestroy:function(){this.pause()},methods:{start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+this.remain,this.tick())},pause:function(){this.counting=!1,Object(o.cancelRaf)(this.rafId)},reset:function(){this.pause(),this.remain=+this.time,this.autoStart&&this.start()},tick:function(){i.inBrowser&&(this.millisecond?this.microTick():this.macroTick())},microTick:function(){var t=this;this.rafId=Object(o.raf)((function(){t.counting&&(t.setRemain(t.getRemain()),t.remain>0&&t.microTick())}))},macroTick:function(){var t=this;this.rafId=Object(o.raf)((function(){if(t.counting){var e=t.getRemain();Object(a.isSameSecond)(e,t.remain)&&0!==e||t.setRemain(e),t.remain>0&&t.macroTick()}}))},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},setRemain:function(t){this.remain=t,this.$emit("change",this.timeData),0===t&&(this.pause(),this.$emit("finish"))}},render:function(){var t=arguments[0];return t("div",{class:l()},[this.slots("default",this.timeData)||this.formattedTime])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(0),s=n(3),u=n(12),l=Object(o.createNamespace)("coupon-cell"),c=l[0],f=l[1],d=l[2];function h(t,e,n,r){var o=e.coupons[+e.chosenCoupon],l=function(t){var e=t.coupons,n=t.chosenCoupon,r=t.currency,i=e[+n];if(i){var o=0;return Object(a.isDef)(i.value)?o=i.value:Object(a.isDef)(i.denominations)&&(o=i.denominations),"-"+r+" "+(o/100).toFixed(2)}return 0===e.length?d("tips"):d("count",e.length)}(e);return t(u.default,i()([{class:f(),attrs:{value:l,title:e.title||d("title"),border:e.border,isLink:e.editable,valueClass:f("value",{selected:o})}},Object(s.inherit)(r,!0)]))}h.model={prop:"chosenCoupon"},h.props={title:String,coupons:{type:Array,default:function(){return[]}},currency:{type:String,default:"¥"},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},chosenCoupon:{type:[Number,String],default:-1}},e.default=c(h)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(40),o=n(49),a=n(22),s=n(14),u=n(57),l=Object(r.createNamespace)("coupon-list"),c=l[0],f=l[1],d=l[2];e.default=c({model:{prop:"code"},props:{code:String,closeButtonText:String,inputPlaceholder:String,enabledTitle:String,disabledTitle:String,exchangeButtonText:String,exchangeButtonLoading:Boolean,exchangeButtonDisabled:Boolean,exchangeMinLength:{type:Number,default:1},chosenCoupon:{type:Number,default:-1},coupons:{type:Array,default:function(){return[]}},disabledCoupons:{type:Array,default:function(){return[]}},displayedCouponIndex:{type:Number,default:-1},showExchangeBar:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},showCount:{type:Boolean,default:!0},currency:{type:String,default:"¥"},emptyImage:{type:String,default:"https://img01.yzcdn.cn/vant/coupon-empty.png"}},data:function(){return{tab:0,winHeight:window.innerHeight,currentCode:this.code||""}},computed:{buttonDisabled:function(){return!this.exchangeButtonLoading&&(this.exchangeButtonDisabled||!this.currentCode||this.currentCode.length<this.exchangeMinLength)},listStyle:function(){return{height:this.winHeight-(this.showExchangeBar?140:94)+"px"}}},watch:{code:function(t){this.currentCode=t},currentCode:function(t){this.$emit("input",t)},displayedCouponIndex:"scrollToShowCoupon"},mounted:function(){this.scrollToShowCoupon(this.displayedCouponIndex)},methods:{onClickExchangeButton:function(){this.$emit("exchange",this.currentCode),this.code||(this.currentCode="")},scrollToShowCoupon:function(t){var e=this;-1!==t&&this.$nextTick((function(){var n=e.$refs,r=n.card,i=n.list;i&&r&&r[t]&&(i.scrollTop=r[t].$el.offsetTop-100)}))},genEmpty:function(){var t=this.$createElement;return t("div",{class:f("empty")},[t("img",{attrs:{src:this.emptyImage}}),t("p",[d("empty")])])},genExchangeButton:function(){return(0,this.$createElement)(s.default,{attrs:{plain:!0,type:"danger",text:this.exchangeButtonText||d("exchange"),loading:this.exchangeButtonLoading,disabled:this.buttonDisabled},class:f("exchange"),on:{click:this.onClickExchangeButton}})}},render:function(){var t=this,e=arguments[0],n=this.coupons,r=this.disabledCoupons,l=this.showCount?" ("+n.length+")":"",c=(this.enabledTitle||d("enable"))+l,h=this.showCount?" ("+r.length+")":"",p=(this.disabledTitle||d("disabled"))+h,v=this.showExchangeBar&&e("div",{class:f("exchange-bar")},[e(a.default,{attrs:{clearable:!0,border:!1,placeholder:this.inputPlaceholder||d("placeholder"),maxlength:"20"},class:f("field"),model:{value:t.currentCode,callback:function(e){t.currentCode=e}}}),this.genExchangeButton()]),g=function(e){return function(){return t.$emit("change",e)}},m=e(i.default,{attrs:{title:c}},[e("div",{class:f("list",{"with-bottom":this.showCloseButton}),style:this.listStyle},[n.map((function(n,r){return e(u.default,{ref:"card",key:n.id,attrs:{coupon:n,currency:t.currency,chosen:r===t.chosenCoupon},nativeOn:{click:g(r)}})})),!n.length&&this.genEmpty()])]),y=e(i.default,{attrs:{title:p}},[e("div",{class:f("list",{"with-bottom":this.showCloseButton}),style:this.listStyle},[r.map((function(n){return e(u.default,{attrs:{disabled:!0,coupon:n,currency:t.currency},key:n.id})})),!r.length&&this.genEmpty()])]);return e("div",{class:f()},[v,e(o.default,{class:f("tab"),attrs:{border:!1},model:{value:t.tab,callback:function(e){t.tab=e}}},[m,y]),e("div",{class:f("bottom")},[e(s.default,{directives:[{name:"show",value:this.showCloseButton}],attrs:{round:!0,type:"danger",block:!0,text:this.closeButtonText||d("close")},class:f("close"),on:{click:g(-1)}})])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=Object(o.createNamespace)("divider"),u=s[0],l=s[1];function c(t,e,n,r){var o;return t("div",i()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:l((o={dashed:e.dashed,hairline:e.hairline},o["content-"+e.contentPosition]=n.default,o))},Object(a.inherit)(r,!0)]),[n.default&&n.default()])}c.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}},e.default=u(c)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(7),o=n(53),a=n(6),s=n(12),u=n(5),l=n(21),c=Object(r.createNamespace)("dropdown-item"),f=c[0],d=c[1];e.default=f({mixins:[Object(o.PortalMixin)({ref:"wrapper"}),Object(a.ChildrenMixin)("vanDropdownMenu")],props:{value:null,title:String,disabled:Boolean,titleClass:String,options:{type:Array,default:function(){return[]}},lazyRender:{type:Boolean,default:!0}},data:function(){return{transition:!0,showPopup:!1,showWrapper:!1}},computed:{displayTitle:function(){var t=this;if(this.title)return this.title;var e=this.options.filter((function(e){return e.value===t.value}));return e.length?e[0].text:""}},watch:{showPopup:function(t){this.bindScroll(t)}},beforeCreate:function(){var t=this,e=function(e){return function(){return t.$emit(e)}};this.onOpen=e("open"),this.onClose=e("close"),this.onOpened=e("opened")},methods:{toggle:function(t,e){void 0===t&&(t=!this.showPopup),void 0===e&&(e={}),t!==this.showPopup&&(this.transition=!e.immediate,this.showPopup=t,t&&(this.parent.updateOffset(),this.showWrapper=!0))},bindScroll:function(t){var e=this.parent.scroller;(t?i.on:i.off)(e,"scroll",this.onScroll,!0)},onScroll:function(){this.parent.updateOffset()},onClickWrapper:function(t){this.getContainer&&t.stopPropagation()}},render:function(){var t=this,e=arguments[0],n=this.parent,r=n.zIndex,i=n.offset,o=n.overlay,a=n.duration,c=n.direction,f=n.activeColor,h=n.closeOnClickOverlay,p=this.options.map((function(n){var r=n.value===t.value;return e(s.default,{attrs:{clickable:!0,icon:n.icon,title:n.text},key:n.value,class:d("option",{active:r}),style:{color:r?f:""},on:{click:function(){t.showPopup=!1,n.value!==t.value&&(t.$emit("input",n.value),t.$emit("change",n.value))}}},[r&&e(u.default,{class:d("icon"),attrs:{color:f,name:"success"}})])})),v={zIndex:r};return"down"===c?v.top=i+"px":v.bottom=i+"px",e("div",[e("div",{directives:[{name:"show",value:this.showWrapper}],ref:"wrapper",style:v,class:d([c]),on:{click:this.onClickWrapper}},[e(l.default,{attrs:{overlay:o,position:"down"===c?"top":"bottom",duration:this.transition?a:0,lazyRender:this.lazyRender,overlayStyle:{position:"absolute"},closeOnClickOverlay:h},class:d("content"),on:{open:this.onOpen,close:this.onClose,opened:this.onOpened,closed:function(){t.showWrapper=!1,t.$emit("closed")}},model:{value:t.showPopup,callback:function(e){t.showPopup=e}}},[p,this.slots("default")])])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(11),a=n(6),s=n(58),u=Object(r.createNamespace)("dropdown-menu"),l=u[0],c=u[1];e.default=l({mixins:[Object(a.ParentMixin)("vanDropdownMenu"),Object(s.ClickOutsideMixin)({event:"click",method:"onClickOutside"})],props:{zIndex:[Number,String],activeColor:String,overlay:{type:Boolean,default:!0},duration:{type:[Number,String],default:.2},direction:{type:String,default:"down"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{offset:0}},computed:{scroller:function(){return Object(o.getScroller)(this.$el)},opened:function(){return this.children.some((function(t){return t.showWrapper}))},barStyle:function(){if(this.opened&&Object(i.isDef)(this.zIndex))return{zIndex:1+this.zIndex}}},methods:{updateOffset:function(){if(this.$refs.bar){var t=this.$refs.bar.getBoundingClientRect();"down"===this.direction?this.offset=t.bottom:this.offset=window.innerHeight-t.top}},toggleItem:function(t){this.children.forEach((function(e,n){n===t?e.toggle():e.showPopup&&e.toggle(!1,{immediate:!0})}))},onClickOutside:function(){this.children.forEach((function(t){t.toggle(!1)}))}},render:function(){var t=this,e=arguments[0],n=this.children.map((function(n,r){return e("div",{attrs:{role:"button",tabindex:n.disabled?-1:0},class:c("item",{disabled:n.disabled}),on:{click:function(){n.disabled||t.toggleItem(r)}}},[e("span",{class:[c("title",{active:n.showPopup,down:n.showPopup===("down"===t.direction)}),n.titleClass],style:{color:n.showPopup?t.activeColor:""}},[e("div",{class:"van-ellipsis"},[n.slots("title")||n.displayTitle])])])}));return e("div",{class:c()},[e("div",{ref:"bar",style:this.barStyle,class:c("bar",{opened:this.opened})},[n]),this.slots("default")])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(179),a=Object(r.createNamespace)("empty"),s=a[0],u=a[1],l=["error","search","default"];e.default=s({props:{imageSize:[Number,String],description:String,image:{type:String,default:"default"}},methods:{genImageContent:function(){var t=this.$createElement,e=this.slots("image");if(e)return e;if("network"===this.image)return t(o.default);var n=this.image;return-1!==l.indexOf(n)&&(n="https://img01.yzcdn.cn/vant/empty-image-"+n+".png"),t("img",{attrs:{src:n}})},genImage:function(){var t=this.$createElement,e={width:Object(i.addUnit)(this.imageSize),height:Object(i.addUnit)(this.imageSize)};return t("div",{class:u("image"),style:e},[this.genImageContent()])},genDescription:function(){var t=this.$createElement,e=this.slots("description")||this.description;if(e)return t("p",{class:u("description")},[e])},genBottom:function(){var t=this.$createElement,e=this.slots();if(e)return t("div",{class:u("bottom")},[e])}},render:function(){var t=arguments[0];return t("div",{class:u()},[this.genImage(),this.genDescription(),this.genBottom()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(77),o=Object(r.createNamespace)("form"),a=o[0],s=o[1];e.default=a({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{vanForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(t){return t?this.fields.filter((function(e){return-1!==t.indexOf(e.name)})):this.fields},validateSeq:function(t){var e=this;return new Promise((function(n,r){var i=[];e.getFieldsByNames(t).reduce((function(t,e){return t.then((function(){if(!i.length)return e.validate().then((function(t){t&&i.push(t)}))}))}),Promise.resolve()).then((function(){i.length?r(i):n()}))}))},validateFields:function(t){var e=this;return new Promise((function(n,r){var i=e.getFieldsByNames(t);Promise.all(i.map((function(t){return t.validate()}))).then((function(t){(t=t.filter((function(t){return t}))).length?r(t):n()}))}))},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(t){var e=this.fields.filter((function(e){return e.name===t}));return e.length?new Promise((function(t,n){e[0].validate().then((function(e){e?n(e):t()}))})):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach((function(t){t.resetValidation()}))},scrollToField:function(t,e){this.fields.some((function(n){return n.name===t&&(n.$el.scrollIntoView(e),!0)}))},addField:function(t){this.fields.push(t),Object(i.sortChildren)(this.fields,this)},removeField:function(t){this.fields=this.fields.filter((function(e){return e!==t}))},getValues:function(){return this.fields.reduce((function(t,e){return t[e.name]=e.formValue,t}),{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var t=this,e=this.getValues();this.validate().then((function(){t.$emit("submit",e)})).catch((function(n){t.$emit("failed",{values:e,errors:n}),t.scrollToError&&t.scrollToField(n[0].name)}))}},render:function(){var t=arguments[0];return t("form",{class:s(),on:{submit:this.onSubmit}},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(17),a=n(6),s=n(25),u=n(5),l=Object(i.createNamespace)("goods-action-icon"),c=l[0],f=l[1];e.default=c({mixins:[Object(a.ChildrenMixin)("vanGoodsAction")],props:Object(r.default)({},o.routeProps,{dot:Boolean,text:String,icon:String,color:String,info:[Number,String],badge:[Number,String],iconClass:null}),methods:{onClick:function(t){this.$emit("click",t),Object(o.route)(this.$router,this)},genIcon:function(){var t,e=this.$createElement,n=this.slots("icon"),r=null!=(t=this.badge)?t:this.info;return n?e("div",{class:f("icon")},[n,e(s.default,{attrs:{dot:this.dot,info:r}})]):e(u.default,{class:[f("icon"),this.iconClass],attrs:{tag:"div",dot:this.dot,name:this.icon,badge:r,color:this.color}})}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"button",tabindex:"0"},class:f(),on:{click:this.onClick}},[this.genIcon(),this.slots()||this.text])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(9),a=n(6),s=Object(r.createNamespace)("grid"),u=s[0],l=s[1];e.default=u({mixins:[Object(a.ParentMixin)("vanGrid")],props:{square:Boolean,gutter:[Number,String],iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4},center:{type:Boolean,default:!0},border:{type:Boolean,default:!0}},computed:{style:function(){var t=this.gutter;if(t)return{paddingLeft:Object(i.addUnit)(t)}}},render:function(){var t,e=arguments[0];return e("div",{style:this.style,class:[l(),(t={},t[o.BORDER_TOP]=this.border&&!this.gutter,t)]},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(10),a=n(9),s=n(17),u=n(6),l=n(25),c=n(5),f=Object(i.createNamespace)("grid-item"),d=f[0],h=f[1];e.default=d({mixins:[Object(u.ChildrenMixin)("vanGrid")],props:Object(r.default)({},s.routeProps,{dot:Boolean,text:String,icon:String,iconPrefix:String,info:[Number,String],badge:[Number,String]}),computed:{style:function(){var t=this.parent,e=t.square,n=t.gutter,r=t.columnNum,i=100/r+"%",a={flexBasis:i};if(e)a.paddingTop=i;else if(n){var s=Object(o.addUnit)(n);a.paddingRight=s,this.index>=r&&(a.marginTop=s)}return a},contentStyle:function(){var t=this.parent,e=t.square,n=t.gutter;if(e&&n){var r=Object(o.addUnit)(n);return{right:r,bottom:r,height:"auto"}}}},methods:{onClick:function(t){this.$emit("click",t),Object(s.route)(this.$router,this)},genIcon:function(){var t,e=this.$createElement,n=this.slots("icon"),r=null!=(t=this.badge)?t:this.info;return n?e("div",{class:h("icon-wrapper")},[n,e(l.default,{attrs:{dot:this.dot,info:r}})]):this.icon?e(c.default,{attrs:{name:this.icon,dot:this.dot,badge:r,size:this.parent.iconSize,classPrefix:this.iconPrefix},class:h("icon")}):void 0},getText:function(){var t=this.$createElement,e=this.slots("text");return e||(this.text?t("span",{class:h("text")},[this.text]):void 0)},genContent:function(){var t=this.slots();return t||[this.genIcon(),this.getText()]}},render:function(){var t,e=arguments[0],n=this.parent,r=n.center,i=n.border,o=n.square,s=n.gutter,u=n.direction,l=n.clickable;return e("div",{class:[h({square:o})],style:this.style},[e("div",{style:this.contentStyle,attrs:{role:l?"button":null,tabindex:l?0:null},class:[h("content",[u,{center:r,square:o,clickable:l,surround:i&&s}]),(t={},t[a.BORDER]=i,t)],on:{click:this.onClick}},[this.genContent()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=n(9),a=n(11),s=Object(r.createNamespace)("index-anchor"),u=s[0],l=s[1];e.default=u({mixins:[Object(i.ChildrenMixin)("vanIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,left:null,rect:{top:0,height:0},width:null,active:!1}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{zIndex:""+this.parent.zIndex,left:this.left?this.left+"px":null,width:this.width?this.width+"px":null,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){var t=this.$el.getBoundingClientRect();this.rect.height=t.height},methods:{scrollIntoView:function(){this.$el.scrollIntoView()},getRect:function(t,e){var n=this.$el.getBoundingClientRect();return this.rect.height=n.height,t===window||t===document.body?this.rect.top=n.top+Object(a.getRootScrollTop)():this.rect.top=n.top+Object(a.getScrollTop)(t)-e.top,this.rect}},render:function(){var t,e=arguments[0],n=this.sticky;return e("div",{style:{height:n?this.rect.height+"px":null}},[e("div",{style:this.anchorStyle,class:[l({sticky:n}),(t={},t[o.BORDER_BOTTOM]=n,t)]},[this.slots("default")||this.index])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(36),a=n(7),s=n(11),u=n(18),l=n(6),c=n(23);var f=Object(r.createNamespace)("index-bar"),d=f[0],h=f[1];e.default=d({mixins:[u.TouchMixin,Object(l.ParentMixin)("vanIndexBar"),Object(c.BindEventMixin)((function(t){this.scroller||(this.scroller=Object(s.getScroller)(this.$el)),t(this.scroller,"scroll",this.onScroll)}))],props:{zIndex:[Number,String],highlightColor:String,sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),n=0;n<26;n++)t.push(String.fromCharCode(e+n));return t}}},data:function(){return{activeAnchorIndex:null}},computed:{sidebarStyle:function(){if(Object(i.isDef)(this.zIndex))return{zIndex:this.zIndex+1}},highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)},activeAnchorIndex:function(t){t&&this.$emit("change",t)}},methods:{onScroll:function(){var t=this;if(!Object(o.isHidden)(this.$el)){var e=Object(s.getScrollTop)(this.scroller),n=this.getScrollerRect(),r=this.children.map((function(e){return e.getRect(t.scroller,n)})),i=this.getActiveAnchorIndex(e,r);this.activeAnchorIndex=this.indexList[i],this.sticky&&this.children.forEach((function(o,a){if(a===i||a===i-1){var s=o.$el.getBoundingClientRect();o.left=s.left,o.width=s.width}else o.left=null,o.width=null;if(a===i)o.active=!0,o.top=Math.max(t.stickyOffsetTop,r[a].top-e)+n.top;else if(a===i-1){var u=r[i].top-e;o.active=u>0,o.top=u+n.top-r[a].height}else o.active=!1}))}},getScrollerRect:function(){return this.scroller.getBoundingClientRect?this.scroller.getBoundingClientRect():{top:0,left:0}},getActiveAnchorIndex:function(t,e){for(var n=this.children.length-1;n>=0;n--){var r=n>0?e[n-1].height:0;if(t+(this.sticky?r+this.stickyOffsetTop:0)>=e[n].top)return n}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){if(this.touchMove(t),"vertical"===this.direction){Object(a.preventDefault)(t);var e=t.touches[0],n=e.clientX,r=e.clientY,i=document.elementFromPoint(n,r);if(i){var o=i.dataset.index;this.touchActiveIndex!==o&&(this.touchActiveIndex=o,this.scrollToElement(i))}}},scrollTo:function(t){var e=this.children.filter((function(e){return String(e.index)===t}));e[0]&&(e[0].scrollIntoView(),this.sticky&&this.stickyOffsetTop&&Object(s.setRootScrollTop)(Object(s.getRootScrollTop)()-this.stickyOffsetTop),this.$emit("select",e[0].index))},scrollToElement:function(t){var e=t.dataset.index;this.scrollTo(e)},onTouchEnd:function(){this.active=null}},render:function(){var t=this,e=arguments[0],n=this.indexList.map((function(n){var r=n===t.activeAnchorIndex;return e("span",{class:h("index",{active:r}),style:r?t.highlightStyle:null,attrs:{"data-index":n}},[n])}));return e("div",{class:h()},[e("div",{class:h("sidebar"),style:this.sidebarStyle,on:{click:this.onClick,touchstart:this.touchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[n]),this.slots("default")])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(36),o=n(11),a=n(23),s=n(19),u=Object(r.createNamespace)("list"),l=u[0],c=u[1],f=u[2];e.default=l({mixins:[Object(a.BindEventMixin)((function(t){this.scroller||(this.scroller=Object(o.getScroller)(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,n=t.$el,r=t.scroller,o=t.offset,a=t.direction;if(!((e=r.getBoundingClientRect?r.getBoundingClientRect():{top:0,bottom:r.innerHeight}).bottom-e.top)||Object(i.isHidden)(n))return!1;var s=t.$refs.placeholder.getBoundingClientRect();("up"===a?e.top-s.top<=o:s.bottom-e.bottom<=o)&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:c("loading")},[this.slots("loading")||t(s.default,{attrs:{size:"16"}},[this.loadingText||f("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:c("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:c("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:c("placeholder")});return t("div",{class:c(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(9),o=n(5),a=Object(r.createNamespace)("nav-bar"),s=a[0],u=a[1];e.default=s({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(o.default,{class:u("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:u("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:u("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[u({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),(t={},t[i.BORDER_BOTTOM]=this.border,t)]},[e("div",{class:u("content")},[this.hasLeft()&&e("div",{class:u("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[u("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:u("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:u("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(16),a=n(23),s=n(5),u=Object(r.createNamespace)("notice-bar"),l=u[0],c=u[1];e.default=l({mixins:[Object(a.BindEventMixin)((function(t){t(window,"pageshow",this.start)}))],props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:60}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"start",text:{handler:"start",immediate:!0}},activated:function(){this.start()},methods:{onClickIcon:function(t){"closeable"===this.mode&&(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,this.duration=0,Object(o.raf)((function(){Object(o.doubleRaf)((function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")}))}))},reset:function(){this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0},start:function(){var t=this,e=Object(i.isDef)(this.delay)?1e3*this.delay:0;this.reset(),clearTimeout(this.startTimer),this.startTimer=setTimeout((function(){var e=t.$refs,n=e.wrap,r=e.content;if(n&&r&&!1!==t.scrollable){var i=n.getBoundingClientRect().width,a=r.getBoundingClientRect().width;(t.scrollable||a>i)&&Object(o.doubleRaf)((function(){t.offset=-a,t.duration=a/t.speed,t.wrapWidth=i,t.contentWidth=a}))}}),e)}},render:function(){var t=this,e=arguments[0],n=this.slots,r=this.mode,i=this.leftIcon,o=this.onClickIcon,a={color:this.color,background:this.background},u={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};function l(){var t=n("left-icon");return t||(i?e(s.default,{class:c("left-icon"),attrs:{name:i}}):void 0)}function f(){var t,i=n("right-icon");return i||("closeable"===r?t="cross":"link"===r&&(t="arrow"),t?e(s.default,{class:c("right-icon"),attrs:{name:t},on:{click:o}}):void 0)}return e("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:c({wrapable:this.wrapable}),style:a,on:{click:function(e){t.$emit("click",e)}}},[l(),e("div",{ref:"wrap",class:c("wrap"),attrs:{role:"marquee"}},[e("div",{ref:"content",class:[c("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:u,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),f()])}})},function(t,e,n){"use strict";n.r(e);var r,i,o=n(1),a=n(15),s=n(92),u=n(0),l=n(3);function c(t){var e;if(!u.isServer)return i||(i=Object(l.mount)(s.default,{on:{click:function(t){i.onClick&&i.onClick(t)},close:function(){i.onClose&&i.onClose()},opened:function(){i.onOpened&&i.onOpened()}}})),t=Object(o.default)({},c.currentOptions,(e=t,Object(u.isObject)(e)?e:{message:e})),Object(o.default)(i,t),clearTimeout(r),t.duration&&t.duration>0&&(r=setTimeout(c.clear,t.duration)),i}c.clear=function(){i&&(i.value=!1)},c.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null},c.setDefaultOptions=function(t){Object(o.default)(c.currentOptions,t)},c.resetDefaultOptions=function(){c.currentOptions={type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null}},c.install=function(){a.default.use(s.default)},c.Component=s.default,a.default.prototype.$notify=c,e.default=c},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(7),o=n(53),a=n(23),s=n(93),u=Object(r.createNamespace)("number-keyboard"),l=u[0],c=u[1];e.default=l({mixins:[Object(o.PortalMixin)(),Object(a.BindEventMixin)((function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)}))],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort((function(){return Math.random()>.5?1:-1})),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey,n=Array.isArray(e)?e:[e];return 1===n.length?t.push({text:0,wider:!0},{text:n[0],type:"extra"}):2===n.length&&t.push({text:n[0],type:"extra"},{text:0},{text:n[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){if(""!==t){var n=this.value;"delete"===e?(this.$emit("delete"),this.$emit("update:value",n.slice(0,n.length-1))):"close"===e?this.onClose():n.length<this.maxlength&&(this.$emit("input",t),this.$emit("update:value",n+t))}else"extra"===e&&this.onBlur()},genTitle:function(){var t=this.$createElement,e=this.title,n=this.theme,r=this.closeButtonText,i=this.slots("title-left"),o=r&&"default"===n;if(e||o||i)return t("div",{class:c("header")},[i&&t("span",{class:c("title-left")},[i]),e&&t("h2",{class:c("title")},[e]),o&&t("button",{attrs:{type:"button"},class:c("close"),on:{click:this.onClose}},[r])])},genKeys:function(){var t=this,e=this.$createElement;return this.keys.map((function(n){return e(s.default,{key:n.text,attrs:{text:n.text,type:n.type,wider:n.wider,color:n.color},on:{press:t.onPress}},["delete"===n.type&&t.slots("delete"),"extra"===n.type&&t.slots("extra-key")])}))},genSidebar:function(){var t=this.$createElement;if("custom"===this.theme)return t("div",{class:c("sidebar")},[this.showDeleteKey&&t(s.default,{attrs:{large:!0,text:this.deleteButtonText,type:"delete"},on:{press:this.onPress}},[this.slots("delete")]),t(s.default,{attrs:{large:!0,text:this.closeButtonText,type:"close",color:"blue",loading:this.closeButtonLoading},on:{press:this.onPress}})])}},render:function(){var t=arguments[0],e=this.genTitle();return t("transition",{attrs:{name:this.transition?"van-slide-up":""}},[t("div",{directives:[{name:"show",value:this.show}],style:{zIndex:this.zIndex},class:c({unfit:!this.safeAreaInsetBottom,"with-title":e}),on:{touchstart:i.stopPropagation,animationend:this.onAnimationEnd,webkitAnimationEnd:this.onAnimationEnd}},[e,t("div",{class:c("body")},[t("div",{class:c("keys")},[this.genKeys()]),this.genSidebar()])])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(9),o=Object(r.createNamespace)("pagination"),a=o[0],s=o[1],u=o[2];function l(t,e,n){return{number:t,text:e,active:n}}e.default=a({props:{prevText:String,nextText:String,forceEllipses:Boolean,mode:{type:String,default:"multi"},value:{type:Number,default:0},pageCount:{type:[Number,String],default:0},totalItems:{type:[Number,String],default:0},itemsPerPage:{type:[Number,String],default:10},showPageSize:{type:[Number,String],default:5}},computed:{count:function(){var t=this.pageCount||Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(1,t)},pages:function(){var t=[],e=this.count,n=+this.showPageSize;if("multi"!==this.mode)return t;var r=1,i=e,o=n<e;o&&(i=(r=Math.max(this.value-Math.floor(n/2),1))+n-1)>e&&(r=(i=e)-n+1);for(var a=r;a<=i;a++){var s=l(a,a,a===this.value);t.push(s)}if(o&&n>0&&this.forceEllipses){if(r>1){var u=l(r-1,"...",!1);t.unshift(u)}if(i<e){var c=l(i+1,"...",!1);t.push(c)}}return t}},watch:{value:{handler:function(t){this.select(t||this.value)},immediate:!0}},methods:{select:function(t,e){t=Math.min(this.count,Math.max(1,t)),this.value!==t&&(this.$emit("input",t),e&&this.$emit("change",t))}},render:function(){var t,e,n=this,r=arguments[0],o=this.value,a="multi"!==this.mode,l=function(t){return function(){n.select(t,!0)}};return r("ul",{class:s({simple:a})},[r("li",{class:[s("item",{disabled:1===o}),s("prev"),i.BORDER],on:{click:l(o-1)}},[(null!=(t=this.slots("prev-text"))?t:this.prevText)||u("prev")]),this.pages.map((function(t){var e;return r("li",{class:[s("item",{active:t.active}),s("page"),i.BORDER],on:{click:l(t.number)}},[null!=(e=n.slots("page",t))?e:t.text])})),a&&r("li",{class:s("page-desc")},[this.slots("pageDesc")||o+"/"+this.count]),r("li",{class:[s("item",{disabled:o===this.count}),s("next"),i.BORDER],on:{click:l(o+1)}},[(null!=(e=this.slots("next-text"))?e:this.nextText)||u("next")])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(9),u=n(12),l=n(66),c=Object(o.createNamespace)("panel"),f=c[0],d=c[1];function h(t,e,n,r){return t(l.default,i()([{class:d(),scopedSlots:{default:function(){return[n.header?n.header():t(u.default,{attrs:{icon:e.icon,label:e.desc,title:e.title,value:e.status,valueClass:d("header-value")},class:d("header")}),t("div",{class:d("content")},[n.default&&n.default()]),n.footer&&t("div",{class:[d("footer"),s.BORDER_TOP]},[n.footer()])]}}},Object(a.inherit)(r,!0)]))}h.props={icon:String,desc:String,title:String,status:String},e.default=f(h)},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(3),u=n(9),l=Object(o.createNamespace)("password-input"),c=l[0],f=l[1];function d(t,e,n,r){for(var o,l=e.mask,c=e.value,d=e.length,h=e.gutter,p=e.focused,v=e.errorInfo,g=v||e.info,m=[],y=0;y<d;y++){var _,b=c[y],x=0!==y&&!h,w=p&&y===c.length,j=void 0;0!==y&&h&&(j={marginLeft:Object(a.addUnit)(h)}),m.push(t("li",{class:[(_={},_[u.BORDER_LEFT]=x,_),f("item",{focus:w})],style:j},[l?t("i",{style:{visibility:b?"visible":"hidden"}}):b,w&&t("div",{class:f("cursor")})]))}return t("div",{class:f()},[t("ul",i()([{class:[f("security"),(o={},o[u.BORDER_SURROUND]=!h,o)],on:{touchstart:function(t){t.stopPropagation(),Object(s.emit)(r,"focus",t)}}},Object(s.inherit)(r,!0)]),[m]),g&&t("div",{class:f(v?"error-info":"info")},[g])])}d.props={info:String,gutter:[Number,String],focused:Boolean,errorInfo:String,mask:{type:Boolean,default:!0},value:{type:String,default:""},length:{type:[Number,String],default:6}},e.default=c(d)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(153),o=n(2),a=n(9),s=n(58),u=n(5),l=n(21),c=Object(o.createNamespace)("popover"),f=c[0],d=c[1];e.default=f({mixins:[Object(s.ClickOutsideMixin)({event:"touchstart",method:"onClickOutside"})],props:{value:Boolean,trigger:String,overlay:Boolean,offset:{type:Array,default:function(){return[0,8]}},theme:{type:String,default:"light"},actions:{type:Array,default:function(){return[]}},placement:{type:String,default:"bottom"},getContainer:{type:[String,Function],default:"body"},closeOnClickAction:{type:Boolean,default:!0}},watch:{value:"updateLocation",placement:"updateLocation"},mounted:function(){this.updateLocation()},beforeDestroy:function(){this.popper&&(this.popper.destroy(),this.popper=null)},methods:{createPopper:function(){return Object(i.createPopper)(this.$refs.wrapper,this.$refs.popover.$el,{placement:this.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},Object(r.default)({},i.offsetModifier,{options:{offset:this.offset}})]})},updateLocation:function(){var t=this;this.$nextTick((function(){t.value&&(t.popper?t.popper.setOptions({placement:t.placement}):t.popper=t.createPopper())}))},renderAction:function(t,e){var n=this,r=this.$createElement,i=t.icon,o=t.text,s=t.disabled,l=t.className;return r("div",{attrs:{role:"menuitem"},class:[d("action",{disabled:s,"with-icon":i}),l],on:{click:function(){return n.onClickAction(t,e)}}},[i&&r(u.default,{attrs:{name:i},class:d("action-icon")}),r("div",{class:[d("action-text"),a.BORDER_BOTTOM]},[o])])},onToggle:function(t){this.$emit("input",t)},onClickWrapper:function(){"click"===this.trigger&&this.onToggle(!this.value)},onTouchstart:function(t){t.stopPropagation(),this.$emit("touchstart",t)},onClickAction:function(t,e){t.disabled||(this.$emit("select",t,e),this.closeOnClickAction&&this.$emit("input",!1))},onClickOutside:function(){this.$emit("input",!1)},onOpen:function(){this.$emit("open")},onOpened:function(){this.$emit("opened")},onClose:function(){this.$emit("close")},onClosed:function(){this.$emit("closed")}},render:function(){var t=arguments[0];return t("span",{ref:"wrapper",class:d("wrapper"),on:{click:this.onClickWrapper}},[t(l.default,{ref:"popover",attrs:{value:this.value,overlay:this.overlay,position:null,transition:"van-popover-zoom",lockScroll:!1,getContainer:this.getContainer},class:d([this.theme]),on:{open:this.onOpen,close:this.onClose,input:this.onToggle,opened:this.onOpened,closed:this.onClosed},nativeOn:{touchstart:this.onTouchstart}},[t("div",{class:d("arrow")}),t("div",{class:d("content"),attrs:{role:"menu"}},[this.slots("default")||this.actions.map(this.renderAction)])]),this.slots("reference")])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=Object(r.createNamespace)("progress"),a=o[0],s=o[1];e.default=a({props:{color:String,inactive:Boolean,pivotText:String,textColor:String,pivotColor:String,trackColor:String,strokeWidth:[Number,String],percentage:{type:[Number,String],required:!0,validator:function(t){return t>=0&&t<=100}},showPivot:{type:Boolean,default:!0}},data:function(){return{pivotWidth:0,progressWidth:0}},mounted:function(){this.resize()},watch:{showPivot:"resize",pivotText:"resize"},methods:{resize:function(){var t=this;this.$nextTick((function(){t.progressWidth=t.$el.offsetWidth,t.pivotWidth=t.$refs.pivot?t.$refs.pivot.offsetWidth:0}))}},render:function(){var t=arguments[0],e=this.pivotText,n=this.percentage,r=null!=e?e:n+"%",o=this.showPivot&&r,a=this.inactive?"#cacaca":this.color,u={color:this.textColor,left:(this.progressWidth-this.pivotWidth)*n/100+"px",background:this.pivotColor||a},l={background:a,width:this.progressWidth*n/100+"px"},c={background:this.trackColor,height:Object(i.addUnit)(this.strokeWidth)};return t("div",{class:s(),style:c},[t("span",{class:s("portion"),style:l},[o&&t("span",{ref:"pivot",style:u,class:s("pivot")},[r])])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(7),o=n(11),a=n(18),s=n(19),u=Object(r.createNamespace)("pull-refresh"),l=u[0],c=u[1],f=u[2],d=["pulling","loosing","success"];e.default=l({mixins:[a.TouchMixin],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=Object(o.getScroller)(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===Object(o.getScrollTop)(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(Object(i.preventDefault)(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var n;n=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,n!==this.status&&(this.status=n)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,r=this.slots(e,{distance:n});if(r)return r;var i=[],o=this[e+"Text"]||f(e);return-1!==d.indexOf(e)&&i.push(t("div",{class:c("text")},[o])),"loading"===e&&i.push(t(s.default,{attrs:{size:"16"}},[o])),i},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:c()},[t("div",{ref:"track",class:c("track"),style:e},[t("div",{class:c("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(7),a=n(18),s=n(24),u=n(5),l=Object(r.createNamespace)("rate"),c=l[0],f=l[1];e.default=c({mixins:[a.TouchMixin,s.FieldMixin],props:{size:[Number,String],color:String,gutter:[Number,String],readonly:Boolean,disabled:Boolean,allowHalf:Boolean,voidColor:String,iconPrefix:String,disabledColor:String,value:{type:Number,default:0},icon:{type:String,default:"star"},voidIcon:{type:String,default:"star-o"},count:{type:[Number,String],default:5},touchable:{type:Boolean,default:!0}},computed:{list:function(){for(var t,e,n,r=[],i=1;i<=this.count;i++)r.push((t=this.value,e=i,n=this.allowHalf,t>=e?"full":t+.5>=e&&n?"half":"void"));return r},sizeWithUnit:function(){return Object(i.addUnit)(this.size)},gutterWithUnit:function(){return Object(i.addUnit)(this.gutter)}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{select:function(t){this.disabled||this.readonly||t===this.value||(this.$emit("input",t),this.$emit("change",t))},onTouchStart:function(t){var e=this;if(!this.readonly&&!this.disabled&&this.touchable){this.touchStart(t);var n=this.$refs.items.map((function(t){return t.getBoundingClientRect()})),r=[];n.forEach((function(t,n){e.allowHalf?r.push({score:n+.5,left:t.left},{score:n+1,left:t.left+t.width/2}):r.push({score:n+1,left:t.left})})),this.ranges=r}},onTouchMove:function(t){if(!this.readonly&&!this.disabled&&this.touchable&&(this.touchMove(t),"horizontal"===this.direction)){Object(o.preventDefault)(t);var e=t.touches[0].clientX;this.select(this.getScoreByPosition(e))}},getScoreByPosition:function(t){for(var e=this.ranges.length-1;e>0;e--)if(t>this.ranges[e].left)return this.ranges[e].score;return this.allowHalf?.5:1},genStar:function(t,e){var n,r=this,i=this.$createElement,o=this.icon,a=this.color,s=this.count,l=this.voidIcon,c=this.disabled,d=this.voidColor,h=this.disabledColor,p=e+1,v="full"===t,g="void"===t;return this.gutterWithUnit&&p!==+s&&(n={paddingRight:this.gutterWithUnit}),i("div",{ref:"items",refInFor:!0,key:e,attrs:{role:"radio",tabindex:"0","aria-setsize":s,"aria-posinset":p,"aria-checked":String(!g)},style:n,class:f("item")},[i(u.default,{attrs:{size:this.sizeWithUnit,name:v?o:l,color:c?h:v?a:d,classPrefix:this.iconPrefix,"data-score":p},class:f("icon",{disabled:c,full:v}),on:{click:function(){r.select(p)}}}),this.allowHalf&&i(u.default,{attrs:{size:this.sizeWithUnit,name:g?l:o,color:c?h:g?d:a,classPrefix:this.iconPrefix,"data-score":p-.5},class:f("icon",["half",{disabled:c,full:!g}]),on:{click:function(){r.select(p-.5)}}})])}},render:function(){var t=this,e=arguments[0];return e("div",{class:f({readonly:this.readonly,disabled:this.disabled}),attrs:{tabindex:"0",role:"radiogroup"}},[this.list.map((function(e,n){return t.genStar(e,n)}))])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=Object(r.createNamespace)("row"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.ParentMixin)("vanRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var t=Number(this.gutter);if(t){var e=[],n=[[]],r=0;return this.children.forEach((function(t,e){(r+=Number(t.span))>24?(n.push([e]),r-=24):n[n.length-1].push(e)})),n.forEach((function(n){var r=t*(n.length-1)/n.length;n.forEach((function(n,i){if(0===i)e.push({right:r});else{var o=t-e[n-1].right,a=r-o;e.push({left:o,right:a})}}))})),e}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=arguments[0],n=this.align,r=this.justify,i="flex"===this.type;return e(this.tag,{class:s((t={flex:i},t["align-"+n]=i&&n,t["justify-"+r]=i&&r,t)),on:{click:this.onClick}},[this.slots()])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(1),a=n(2),s=n(3),u=n(7),l=n(22),c=Object(a.createNamespace)("search"),f=c[0],d=c[1],h=c[2];function p(t,e,n,r){var a={attrs:r.data.attrs,on:Object(o.default)({},r.listeners,{keypress:function(t){13===t.keyCode&&(Object(u.preventDefault)(t),Object(s.emit)(r,"search",e.value)),Object(s.emit)(r,"keypress",t)}})},c=Object(s.inherit)(r);return c.attrs=void 0,t("div",i()([{class:d({"show-action":e.showAction}),style:{background:e.background}},c]),[null==n.left?void 0:n.left(),t("div",{class:d("content",e.shape)},[function(){if(n.label||e.label)return t("div",{class:d("label")},[n.label?n.label():e.label])}(),t(l.default,i()([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":n["left-icon"],"right-icon":n["right-icon"]}},a]))]),function(){if(e.showAction)return t("div",{class:d("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){n.action||(Object(s.emit)(r,"input",""),Object(s.emit)(r,"cancel"))}}},[n.action?n.action():e.actionText||h("cancel")])}()])}p.props={value:String,label:String,rightIcon:String,actionText:String,background:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"search"}},e.default=f(p)},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(28),a=n(21),s=["qq","link","weibo","wechat","poster","qrcode","weapp-qrcode","wechat-moments"],u=Object(i.createNamespace)("share-sheet"),l=u[0],c=u[1],f=u[2];e.default=l({props:Object(r.default)({},o.popupMixinProps,{title:String,duration:String,cancelText:String,description:String,getContainer:[String,Function],options:{type:Array,default:function(){return[]}},overlay:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),methods:{onCancel:function(){this.toggle(!1),this.$emit("cancel")},onSelect:function(t,e){this.$emit("select",t,e)},toggle:function(t){this.$emit("input",t)},getIconURL:function(t){return-1!==s.indexOf(t)?"https://img01.yzcdn.cn/vant/share-sheet-"+t+".png":t},genHeader:function(){var t=this.$createElement,e=this.slots("title")||this.title,n=this.slots("description")||this.description;if(e||n)return t("div",{class:c("header")},[e&&t("h2",{class:c("title")},[e]),n&&t("span",{class:c("description")},[n])])},genOptions:function(t,e){var n=this,r=this.$createElement;return r("div",{class:c("options",{border:e})},[t.map((function(t,e){return r("div",{attrs:{role:"button",tabindex:"0"},class:[c("option"),t.className],on:{click:function(){n.onSelect(t,e)}}},[r("img",{attrs:{src:n.getIconURL(t.icon)},class:c("icon")}),t.name&&r("span",{class:c("name")},[t.name]),t.description&&r("span",{class:c("option-description")},[t.description])])}))])},genRows:function(){var t=this,e=this.options;return Array.isArray(e[0])?e.map((function(e,n){return t.genOptions(e,0!==n)})):this.genOptions(e)},genCancelText:function(){var t,e=this.$createElement,n=null!=(t=this.cancelText)?t:f("cancel");if(n)return e("button",{attrs:{type:"button"},class:c("cancel"),on:{click:this.onCancel}},[n])},onClickOverlay:function(){this.$emit("click-overlay")}},render:function(){var t=arguments[0];return t(a.default,{attrs:{round:!0,value:this.value,position:"bottom",overlay:this.overlay,duration:this.duration,lazyRender:this.lazyRender,lockScroll:this.lockScroll,getContainer:this.getContainer,closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:c(),on:{input:this.toggle,"click-overlay":this.onClickOverlay}},[this.genHeader(),this.genRows(),this.genCancelText()])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(3),u=Object(o.createNamespace)("skeleton"),l=u[0],c=u[1];function f(t,e,n,r){if(!e.loading)return n.default&&n.default();return t("div",i()([{class:c({animate:e.animate,round:e.round})},Object(s.inherit)(r)]),[function(){if(e.avatar){var n=Object(a.addUnit)(e.avatarSize);return t("div",{class:c("avatar",e.avatarShape),style:{width:n,height:n}})}}(),t("div",{class:c("content")},[function(){if(e.title)return t("h3",{class:c("title"),style:{width:Object(a.addUnit)(e.titleWidth)}})}(),function(){for(var n,r=[],i=e.rowWidth,o=0;o<e.row;o++)r.push(t("div",{class:c("row"),style:{width:Object(a.addUnit)((n=o,"100%"===i&&n===+e.row-1?"60%":Array.isArray(i)?i[n]:i))}}));return r}()])])}f.props={title:Boolean,round:Boolean,avatar:Boolean,titleWidth:[Number,String],avatarSize:[Number,String],row:{type:[Number,String],default:0},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},avatarShape:{type:String,default:"round"},rowWidth:{type:[Number,String,Array],default:"100%"}},e.default=l(f)},function(t,e,n){"use strict";n.r(e);var r=n(183),i=n(29),o=n(34),a=n(33),s=n(39),u=n(88),l=n(83),c=n(60),f=n(87),d=n(86),h=n(43),p=n(84),v=n(85);s.default.add(r.default),a.default.SkuActions=u.default,a.default.SkuHeader=l.default,a.default.SkuHeaderItem=c.default,a.default.SkuMessages=f.default,a.default.SkuStepper=d.default,a.default.SkuRow=h.default,a.default.SkuRowItem=p.default,a.default.SkuRowPropItem=v.default,a.default.skuHelper=o.default,a.default.skuConstants=i.default,e.default=a.default},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(75),a=n(7),s=n(18),u=n(24),l=Object(r.createNamespace)("slider"),c=l[0],f=l[1],d=function(t,e){return JSON.stringify(t)===JSON.stringify(e)};e.default=c({mixins:[s.TouchMixin,u.FieldMixin],props:{disabled:Boolean,vertical:Boolean,range:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:String,inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},value:{type:[Number,Array],default:0}},data:function(){return{dragStatus:""}},computed:{scope:function(){return this.max-this.min},buttonStyle:function(){if(this.buttonSize){var t=Object(i.addUnit)(this.buttonSize);return{width:t,height:t}}}},created:function(){this.updateValue(this.value)},mounted:function(){this.range?(this.bindTouchEvent(this.$refs.wrapper0),this.bindTouchEvent(this.$refs.wrapper1)):this.bindTouchEvent(this.$refs.wrapper)},methods:{onTouchStart:function(t){this.disabled||(this.touchStart(t),this.currentValue=this.value,this.range?this.startValue=this.value.map(this.format):this.startValue=this.format(this.value),this.dragStatus="start")},onTouchMove:function(t){if(!this.disabled){"start"===this.dragStatus&&this.$emit("drag-start"),Object(a.preventDefault)(t,!0),this.touchMove(t),this.dragStatus="draging";var e=this.$el.getBoundingClientRect(),n=(this.vertical?this.deltaY:this.deltaX)/(this.vertical?e.height:e.width)*this.scope;this.range?this.currentValue[this.index]=this.startValue[this.index]+n:this.currentValue=this.startValue+n,this.updateValue(this.currentValue)}},onTouchEnd:function(){this.disabled||("draging"===this.dragStatus&&(this.updateValue(this.currentValue,!0),this.$emit("drag-end")),this.dragStatus="")},onClick:function(t){if(t.stopPropagation(),!this.disabled){var e=this.$el.getBoundingClientRect(),n=this.vertical?t.clientY-e.top:t.clientX-e.left,r=this.vertical?e.height:e.width,i=+this.min+n/r*this.scope;if(this.range){var o=this.value,a=o[0],s=o[1];i<=(a+s)/2?a=i:s=i,i=[a,s]}this.startValue=this.value,this.updateValue(i,!0)}},handleOverlap:function(t){return t[0]>t[1]?(t=Object(o.deepClone)(t)).reverse():t},updateValue:function(t,e){t=this.range?this.handleOverlap(t).map(this.format):this.format(t),d(t,this.value)||this.$emit("input",t),e&&!d(t,this.startValue)&&this.$emit("change",t)},format:function(t){return Math.round(Math.max(this.min,Math.min(t,this.max))/this.step)*this.step}},render:function(){var t,e,n=this,r=arguments[0],o=this.vertical,a=o?"height":"width",s=o?"width":"height",u=((t={background:this.inactiveColor})[s]=Object(i.addUnit)(this.barHeight),t),l=function(){var t=n.value,e=n.min,r=n.range,i=n.scope;return r?100*(t[1]-t[0])/i+"%":100*(t-e)/i+"%"},c=function(){var t=n.value,e=n.min,r=n.range,i=n.scope;return r?100*(t[0]-e)/i+"%":null},d=((e={})[a]=l(),e.left=this.vertical?null:c(),e.top=this.vertical?c():null,e.background=this.activeColor,e);this.dragStatus&&(d.transition="none");var h=function(t){var e=["left","right"],i="number"==typeof t;return r("div",{ref:i?"wrapper"+t:"wrapper",attrs:{role:"slider",tabindex:n.disabled?-1:0,"aria-valuemin":n.min,"aria-valuenow":n.value,"aria-valuemax":n.max,"aria-orientation":n.vertical?"vertical":"horizontal"},class:f(i?"button-wrapper-"+e[t]:"button-wrapper"),on:{touchstart:function(){i&&(n.index=t)},click:function(t){return t.stopPropagation()}}},[n.slots("button")||r("div",{class:f("button"),style:n.buttonStyle})])};return r("div",{style:u,class:f({disabled:this.disabled,vertical:o}),on:{click:this.onClick}},[r("div",{class:f("bar"),style:d},[this.range?[h(0),h(1)]:h()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(9),o=n(6),a=n(5),s=Object(r.createNamespace)("step"),u=s[0],l=s[1];e.default=u({mixins:[Object(o.ChildrenMixin)("vanSteps")],computed:{status:function(){return this.index<this.parent.active?"finish":this.index===+this.parent.active?"process":void 0},active:function(){return"process"===this.status},lineStyle:function(){return"finish"===this.status?{background:this.parent.activeColor}:{background:this.parent.inactiveColor}},titleStyle:function(){return this.active?{color:this.parent.activeColor}:this.status?void 0:{color:this.parent.inactiveColor}}},methods:{genCircle:function(){var t=this.$createElement,e=this.parent,n=e.activeIcon,r=e.iconPrefix,i=e.activeColor,o=e.finishIcon,s=e.inactiveIcon;if(this.active)return this.slots("active-icon")||t(a.default,{class:l("icon","active"),attrs:{name:n,color:i,classPrefix:r}});var u=this.slots("finish-icon");if("finish"===this.status&&(o||u))return u||t(a.default,{class:l("icon","finish"),attrs:{name:o,color:i,classPrefix:r}});var c=this.slots("inactive-icon");return s||c?c||t(a.default,{class:l("icon"),attrs:{name:s,classPrefix:r}}):t("i",{class:l("circle"),style:this.lineStyle})},onClickStep:function(){this.parent.$emit("click-step",this.index)}},render:function(){var t,e=arguments[0],n=this.status,r=this.active,o=this.parent.direction;return e("div",{class:[i.BORDER,l([o,(t={},t[n]=n,t)])]},[e("div",{class:l("title",{active:r}),style:this.titleStyle,on:{click:this.onClickStep}},[this.slots()]),e("div",{class:l("circle-container"),on:{click:this.onClickStep}},[this.genCircle()]),e("div",{class:l("line"),style:this.lineStyle})])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(6),o=Object(r.createNamespace)("steps"),a=o[0],s=o[1];e.default=a({mixins:[Object(i.ParentMixin)("vanSteps")],props:{iconPrefix:String,finishIcon:String,activeColor:String,inactiveIcon:String,inactiveColor:String,active:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},activeIcon:{type:String,default:"checked"}},render:function(){var t=arguments[0];return t("div",{class:s([this.direction])},[t("div",{class:s("items")},[this.slots()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(3),s=n(5),u=n(14),l=Object(o.createNamespace)("submit-bar"),c=l[0],f=l[1],d=l[2];function h(t,e,n,r){var o=e.tip,l=e.price,c=e.tipIcon;return t("div",i()([{class:f({unfit:!e.safeAreaInsetBottom})},Object(a.inherit)(r)]),[n.top&&n.top(),function(){if(n.tip||o)return t("div",{class:f("tip")},[c&&t(s.default,{class:f("tip-icon"),attrs:{name:c}}),o&&t("span",{class:f("tip-text")},[o]),n.tip&&n.tip()])}(),t("div",{class:f("bar")},[n.default&&n.default(),function(){if("number"==typeof l){var n=(l/100).toFixed(e.decimalLength).split("."),r=e.decimalLength?"."+n[1]:"";return t("div",{style:{textAlign:e.textAlign?e.textAlign:""},class:f("text")},[t("span",[e.label||d("label")]),t("span",{class:f("price")},[e.currency,t("span",{class:f("price","integer")},[n[0]]),r]),e.suffixLabel&&t("span",{class:f("suffix-label")},[e.suffixLabel])])}}(),n.button?n.button():t(u.default,{attrs:{round:!0,type:e.buttonType,text:e.loading?"":e.buttonText,color:e.buttonColor,loading:e.loading,disabled:e.disabled},class:f("button",e.buttonType),on:{click:function(){Object(a.emit)(r,"submit")}}})])])}h.props={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,disabled:Boolean,textAlign:String,buttonText:String,buttonColor:String,suffixLabel:String,safeAreaInsetBottom:{type:Boolean,default:!0},decimalLength:{type:[Number,String],default:2},currency:{type:String,default:"¥"},buttonType:{type:String,default:"danger"}},e.default=c(h)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(20),o=n(7),a=n(18),s=n(58),u=Object(r.createNamespace)("swipe-cell"),l=u[0],c=u[1];e.default=l({mixins:[a.TouchMixin,Object(s.ClickOutsideMixin)({event:"touchstart",method:"onClick"})],props:{onClose:Function,disabled:Boolean,leftWidth:[Number,String],rightWidth:[Number,String],beforeClose:Function,stopPropagation:Boolean,name:{type:[Number,String],default:""}},data:function(){return{offset:0,dragging:!1}},computed:{computedLeftWidth:function(){return+this.leftWidth||this.getWidthByRef("left")},computedRightWidth:function(){return+this.rightWidth||this.getWidthByRef("right")}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{getWidthByRef:function(t){return this.$refs[t]?this.$refs[t].getBoundingClientRect().width:0},open:function(t){var e="left"===t?this.computedLeftWidth:-this.computedRightWidth;this.opened=!0,this.offset=e,this.$emit("open",{position:t,name:this.name,detail:this.name})},close:function(t){this.offset=0,this.opened&&(this.opened=!1,this.$emit("close",{position:t,name:this.name}))},onTouchStart:function(t){this.disabled||(this.startOffset=this.offset,this.touchStart(t))},onTouchMove:function(t){this.disabled||(this.touchMove(t),"horizontal"===this.direction&&(this.dragging=!0,this.lockClick=!0,(!this.opened||this.deltaX*this.startOffset<0)&&Object(o.preventDefault)(t,this.stopPropagation),this.offset=Object(i.range)(this.deltaX+this.startOffset,-this.computedRightWidth,this.computedLeftWidth)))},onTouchEnd:function(){var t=this;this.disabled||this.dragging&&(this.toggle(this.offset>0?"left":"right"),this.dragging=!1,setTimeout((function(){t.lockClick=!1}),0))},toggle:function(t){var e=Math.abs(this.offset),n=this.opened?.85:.15,r=this.computedLeftWidth,i=this.computedRightWidth;i&&"right"===t&&e>i*n?this.open("right"):r&&"left"===t&&e>r*n?this.open("left"):this.close()},onClick:function(t){void 0===t&&(t="outside"),this.$emit("click",t),this.opened&&!this.lockClick&&(this.beforeClose?this.beforeClose({position:t,name:this.name,instance:this}):this.onClose?this.onClose(t,this,{name:this.name}):this.close(t))},getClickHandler:function(t,e){var n=this;return function(r){e&&r.stopPropagation(),n.onClick(t)}},genLeftPart:function(){var t=this.$createElement,e=this.slots("left");if(e)return t("div",{ref:"left",class:c("left"),on:{click:this.getClickHandler("left",!0)}},[e])},genRightPart:function(){var t=this.$createElement,e=this.slots("right");if(e)return t("div",{ref:"right",class:c("right"),on:{click:this.getClickHandler("right",!0)}},[e])}},render:function(){var t=arguments[0],e={transform:"translate3d("+this.offset+"px, 0, 0)",transitionDuration:this.dragging?"0s":".6s"};return t("div",{class:c(),on:{click:this.getClickHandler("cell")}},[t("div",{class:c("wrapper"),style:e},[this.genLeftPart(),this.slots(),this.genRightPart()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(4),o=n.n(i),a=n(2),s=n(3),u=n(12),l=n(37),c=n(78),f=Object(a.createNamespace)("switch-cell"),d=f[0],h=f[1];function p(t,e,n,i){return t(u.default,o()([{attrs:{center:!0,size:e.cellSize,title:e.title,border:e.border},class:h([e.cellSize])},Object(s.inherit)(i)]),[t(l.default,{props:Object(r.default)({},e),on:Object(r.default)({},i.listeners)})])}p.props=Object(r.default)({},c.switchProps,{title:String,cellSize:String,border:{type:Boolean,default:!0},size:{type:String,default:"24px"}}),e.default=d(p)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(9),o=n(82),a=n(6),s=Object(r.createNamespace)("tabbar"),u=s[0],l=s[1];e.default=u({mixins:[Object(a.ParentMixin)("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(e,n){e.active=(e.name||n)===t.value}))},onChange:function(t){var e=this;t!==this.value&&Object(o.callInterceptor)({interceptor:this.beforeChange,args:[t],done:function(){e.$emit("input",t),e.$emit("change",t)}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[(t={},t[i.BORDER_TOP_BOTTOM]=this.border,t),l({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){var t=arguments[0];return this.placeholder&&this.fixed?t("div",{class:l("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(0),a=n(17),s=n(6),u=n(5),l=n(25),c=Object(i.createNamespace)("tabbar-item"),f=c[0],d=c[1];e.default=f({mixins:[Object(s.ChildrenMixin)("vanTabbar")],props:Object(r.default)({},a.routeProps,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,e=this.$route;if(t&&e){var n=Object(o.isObject)(t)?t:{path:t},r=n.path===e.path,i=Object(o.isDef)(n.name)&&n.name===e.name;return r||i}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),Object(a.route)(this.$router,this)},genIcon:function(t){var e=this.$createElement,n=this.slots("icon",{active:t});return n||(this.icon?e(u.default,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t,e=arguments[0],n=this.parent.route?this.routeActive:this.active,r=this.parent[n?"activeColor":"inactiveColor"];return e("div",{class:d({active:n}),style:{color:r},on:{click:this.onClick}},[e("div",{class:d("icon")},[this.genIcon(n),e(l.default,{attrs:{dot:this.dot,info:null!=(t=this.badge)?t:this.info}})]),e("div",{class:d("text")},[this.slots("default",{active:n})])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(2),a=n(10),s=n(3),u=n(5),l=n(71),c=n(72),f=Object(o.createNamespace)("tree-select"),d=f[0],h=f[1];function p(t,e,n,r){var o=e.items,f=e.height,d=e.activeId,p=e.selectedIcon,v=e.mainActiveIndex;var g=(o[+v]||{}).children||[],m=Array.isArray(d);function y(t){return m?-1!==d.indexOf(t):d===t}var _=o.map((function(e){var n;return t(c.default,{attrs:{dot:e.dot,info:null!=(n=e.badge)?n:e.info,title:e.text,disabled:e.disabled},class:[h("nav-item"),e.className]})}));return t("div",i()([{class:h(),style:{height:Object(a.addUnit)(f)}},Object(s.inherit)(r)]),[t(l.default,{class:h("nav"),attrs:{activeKey:v},on:{change:function(t){Object(s.emit)(r,"update:main-active-index",t),Object(s.emit)(r,"click-nav",t),Object(s.emit)(r,"navclick",t)}}},[_]),t("div",{class:h("content")},[n.content?n.content():g.map((function(n){return t("div",{key:n.id,class:["van-ellipsis",h("item",{active:y(n.id),disabled:n.disabled})],on:{click:function(){if(!n.disabled){var t=n.id;if(m){var i=(t=d.slice()).indexOf(n.id);-1!==i?t.splice(i,1):t.length<e.max&&t.push(n.id)}Object(s.emit)(r,"update:active-id",t),Object(s.emit)(r,"click-item",n),Object(s.emit)(r,"itemclick",n)}}}},[n.text,y(n.id)&&t(u.default,{attrs:{name:p},class:h("selected")})])}))])])}p.props={max:{type:[Number,String],default:1/0},items:{type:Array,default:function(){return[]}},height:{type:[Number,String],default:300},activeId:{type:[Number,String,Array],default:0},selectedIcon:{type:String,default:"success"},mainActiveIndex:{type:[Number,String],default:0}},e.default=d(p)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(171),a=n(28),s=n(5),u=n(19),l=Object(r.createNamespace)("toast"),c=l[0],f=l[1];e.default=c({mixins:[Object(a.PopupMixin)()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&(this.clickable=t,Object(o.lockClick)(t))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,n=this.type,r=this.iconPrefix,i=this.loadingType;return e||"success"===n||"fail"===n?t(s.default,{class:f("icon"),attrs:{classPrefix:r,name:e||n}}):"loading"===n?t(u.default,{class:f("loading"),attrs:{type:i}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,n=this.message;if(Object(i.isDef)(n)&&""!==n)return"html"===e?t("div",{class:f("text"),domProps:{innerHTML:n}}):t("div",{class:f("text")},[n])}},render:function(){var t,e=arguments[0];return e("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[e("div",{directives:[{name:"show",value:this.value}],class:[f([this.position,(t={},t[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}})},function(t,e,n){"use strict";n.r(e),n.d(e,"scrollLeftTo",(function(){return a})),n.d(e,"scrollTopTo",(function(){return s}));var r,i=n(16),o=n(11);function a(t,e,n){Object(i.cancelRaf)(r);var o=0,a=t.scrollLeft,s=0===n?1:Math.round(1e3*n/16);!function n(){t.scrollLeft+=(e-a)/s,++o<s&&(r=Object(i.raf)(n))}()}function s(t,e,n,r){var a=Object(o.getScrollTop)(t),s=a<e,u=0===n?1:Math.round(1e3*n/16),l=(e-a)/u;!function n(){a+=l,(s&&a>e||!s&&a<e)&&(a=e),Object(o.setScrollTop)(t,a),s&&a<e||!s&&a>e?Object(i.raf)(n):r&&Object(i.raf)(r)}()}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(13),a=n(20),s=n(59),u=Object(i.createNamespace)("time-picker")[0];e.default=u({mixins:[s.TimePickerMixin],props:Object(r.default)({},s.sharedProps,{minHour:{type:[Number,String],default:0},maxHour:{type:[Number,String],default:23},minMinute:{type:[Number,String],default:0},maxMinute:{type:[Number,String],default:59}}),computed:{ranges:function(){return[{type:"hour",range:[+this.minHour,+this.maxHour]},{type:"minute",range:[+this.minMinute,+this.maxMinute]}]}},watch:{filter:"updateInnerValue",minHour:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxHour:"updateInnerValue",minMinute:"updateInnerValue",maxMinute:"updateInnerValue",value:function(t){(t=this.formatValue(t))!==this.innerValue&&(this.innerValue=t,this.updateColumnValue())}},methods:{formatValue:function(t){t||(t=Object(o.padZero)(this.minHour)+":"+Object(o.padZero)(this.minMinute));var e=t.split(":"),n=e[0],r=e[1];return(n=Object(o.padZero)(Object(a.range)(n,this.minHour,this.maxHour)))+":"+(r=Object(o.padZero)(Object(a.range)(r,this.minMinute,this.maxMinute)))},updateInnerValue:function(){var t=this.getPicker().getIndexes(),e=t[0],n=t[1],r=this.originColumns,i=r[0],o=r[1],a=i.values[e]||i.values[0],s=o.values[n]||o.values[0];this.innerValue=this.formatValue(a+":"+s),this.updateColumnValue()},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.formatter,n=this.innerValue.split(":"),r=[e("hour",n[0]),e("minute",n[1])];this.$nextTick((function(){t.getPicker().setValues(r)}))}}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(51),a=n(13),s=n(42),u=n(59),l=(new Date).getFullYear(),c=Object(i.createNamespace)("date-picker")[0];e.default=c({mixins:[u.TimePickerMixin],props:Object(r.default)({},u.sharedProps,{type:{type:String,default:"datetime"},minDate:{type:Date,default:function(){return new Date(l-10,0,1)},validator:o.isDate},maxDate:{type:Date,default:function(){return new Date(l+10,11,31)},validator:o.isDate}}),watch:{filter:"updateInnerValue",minDate:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxDate:"updateInnerValue",value:function(t){(t=this.formatValue(t))&&t.valueOf()!==this.innerValue.valueOf()&&(this.innerValue=t)}},computed:{ranges:function(){var t=this.getBoundary("max",this.innerValue?this.innerValue:this.minDate),e=t.maxYear,n=t.maxDate,r=t.maxMonth,i=t.maxHour,o=t.maxMinute,a=this.getBoundary("min",this.innerValue?this.innerValue:this.minDate),s=a.minYear,u=a.minDate,l=[{type:"year",range:[s,e]},{type:"month",range:[a.minMonth,r]},{type:"day",range:[u,n]},{type:"hour",range:[a.minHour,i]},{type:"minute",range:[a.minMinute,o]}];switch(this.type){case"date":l=l.slice(0,3);break;case"year-month":l=l.slice(0,2);break;case"month-day":l=l.slice(1,3);break;case"datehour":l=l.slice(0,4)}if(this.columnsOrder){var c=this.columnsOrder.concat(l.map((function(t){return t.type})));l.sort((function(t,e){return c.indexOf(t.type)-c.indexOf(e.type)}))}return l}},methods:{formatValue:function(t){return Object(o.isDate)(t)?(t=Math.max(t,this.minDate.getTime()),t=Math.min(t,this.maxDate.getTime()),new Date(t)):null},getBoundary:function(t,e){var n,r=this[t+"Date"],i=r.getFullYear(),o=1,a=1,u=0,l=0;return"max"===t&&(o=12,a=Object(s.getMonthEndDay)(e.getFullYear(),e.getMonth()+1),u=23,l=59),e.getFullYear()===i&&(o=r.getMonth()+1,e.getMonth()+1===o&&(a=r.getDate(),e.getDate()===a&&(u=r.getHours(),e.getHours()===u&&(l=r.getMinutes())))),(n={})[t+"Year"]=i,n[t+"Month"]=o,n[t+"Date"]=a,n[t+"Hour"]=u,n[t+"Minute"]=l,n},updateInnerValue:function(){var t,e,n,r=this,i=this.type,o=this.getPicker().getIndexes(),a=function(t){var e=0;r.originColumns.forEach((function(n,r){t===n.type&&(e=r)}));var n=r.originColumns[e].values;return Object(s.getTrueValue)(n[o[e]])};"month-day"===i?(t=(this.innerValue?this.innerValue:this.minDate).getFullYear(),e=a("month"),n=a("day")):(t=a("year"),e=a("month"),n="year-month"===i?1:a("day"));var u=Object(s.getMonthEndDay)(t,e);n=n>u?u:n;var l=0,c=0;"datehour"===i&&(l=a("hour")),"datetime"===i&&(l=a("hour"),c=a("minute"));var f=new Date(t,e-1,n,l,c);this.innerValue=this.formatValue(f)},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.innerValue?this.innerValue:this.minDate,n=this.formatter,r=this.originColumns.map((function(t){switch(t.type){case"year":return n("year",""+e.getFullYear());case"month":return n("month",Object(a.padZero)(e.getMonth()+1));case"day":return n("day",Object(a.padZero)(e.getDate()));case"hour":return n("hour",Object(a.padZero)(e.getHours()));case"minute":return n("minute",Object(a.padZero)(e.getMinutes()));default:return null}}));this.$nextTick((function(){t.getPicker().setValues(r)}))}}})},function(t,e,n){"use strict";function r(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function o(t){var e=i(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function a(t){return t instanceof i(t).Element||t instanceof Element}function s(t){return t instanceof i(t).HTMLElement||t instanceof HTMLElement}function u(t){return t?(t.nodeName||"").toLowerCase():null}function l(t){return((a(t)?t.ownerDocument:t.document)||window.document).documentElement}function c(t){return i(t).getComputedStyle(t)}function f(t){var e=c(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function d(t,e,n){void 0===n&&(n=!1);var a,c,d=l(e),h=r(t),p=s(e),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(p||!p&&!n)&&(("body"!==u(e)||f(d))&&(v=(a=e)!==i(a)&&s(a)?{scrollLeft:(c=a).scrollLeft,scrollTop:c.scrollTop}:o(a)),s(e)?((g=r(e)).x+=e.clientLeft,g.y+=e.clientTop):d&&(g.x=function(t){return r(l(t)).left+o(t).scrollLeft}(d))),{x:h.left+v.scrollLeft-g.x,y:h.top+v.scrollTop-g.y,width:h.width,height:h.height}}function h(t){return"html"===u(t)?t:t.assignedSlot||t.parentNode||(e=t,"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)?t.host:null)||l(t);var e}function p(t,e){var n;void 0===e&&(e=[]);var r=function t(e){return["html","body","#document"].indexOf(u(e))>=0?e.ownerDocument.body:s(e)&&f(e)?e:t(h(e))}(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),a=i(r),l=o?[a].concat(a.visualViewport||[],f(r)?r:[]):r,c=e.concat(l);return o?c:c.concat(p(h(l)))}function v(t){return["table","td","th"].indexOf(u(t))>=0}function g(t){return s(t)&&"fixed"!==c(t).position?t.offsetParent:null}function m(t){for(var e=i(t),n=g(t);n&&v(n)&&"static"===c(n).position;)n=g(n);return n&&("html"===u(n)||"body"===u(n)&&"static"===c(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(t)&&"fixed"===c(t).position)return null;for(var n=h(t);s(n)&&["html","body"].indexOf(u(n))<0;){var r=c(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}n.r(e),n.d(e,"createPopper",(function(){return A})),n.d(e,"offsetModifier",(function(){return I}));var y="top",_="right",b="left",x=[].concat([y,"bottom",_,b],["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function j(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var i=e.get(r);i&&t(i)}})),r.push(i)}(t)})),r}function S(t){return t.split("-")[0]}var O=Math.round;var k={placement:"bottom",modifiers:[],strategy:"absolute"};function E(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function C(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,o=e.defaultOptions,s=void 0===o?k:o;return function(t,e,n){void 0===n&&(n=s);var o,u,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},k,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],f=!1,h={state:l,setOptions:function(n){v(),l.options=Object.assign({},s,l.options,n),l.scrollParents={reference:a(t)?p(t):t.contextElement?p(t.contextElement):[],popper:p(e)};var r=function(t){var e=j(t);return w.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=r.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:l,name:e,instance:h,options:r});c.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!f){var t=l.elements,e=t.reference,n=t.popper;if(E(e,n)){var i,o,a,s;l.rects={reference:d(e,m(n),"fixed"===l.options.strategy),popper:(i=n,o=r(i),a=i.offsetWidth,s=i.offsetHeight,Math.abs(o.width-a)<=1&&(a=o.width),Math.abs(o.height-s)<=1&&(s=o.height),{x:i.offsetLeft,y:i.offsetTop,width:a,height:s})},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var u=0;u<l.orderedModifiers.length;u++)if(!0!==l.reset){var c=l.orderedModifiers[u],p=c.fn,v=c.options,g=void 0===v?{}:v,y=c.name;"function"==typeof p&&(l=p({state:l,options:g,name:y,instance:h})||l)}else l.reset=!1,u=-1}}},update:(o=function(){return new Promise((function(t){h.forceUpdate(),t(l)}))},function(){return u||(u=new Promise((function(t){Promise.resolve().then((function(){u=void 0,t(o())}))}))),u}),destroy:function(){v(),f=!0}};if(!E(t,e))return h;function v(){c.forEach((function(t){return t()})),c=[]}return h.setOptions(n).then((function(t){!f&&n.onFirstUpdate&&n.onFirstUpdate(t)})),h}}var M={passive:!0};var T={top:"auto",right:"auto",bottom:"auto",left:"auto"};function P(t){var e,n=t.popper,r=t.popperRect,o=t.placement,a=t.offsets,s=t.position,u=t.gpuAcceleration,f=t.adaptive,d=t.roundOffsets,h=!0===d?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:O(O(e*r)/r)||0,y:O(O(n*r)/r)||0}}(a):"function"==typeof d?d(a):a,p=h.x,v=void 0===p?0:p,g=h.y,x=void 0===g?0:g,w=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),S=b,k=y,E=window;if(f){var C=m(n),M="clientHeight",P="clientWidth";C===i(n)&&"static"!==c(C=l(n)).position&&(M="scrollHeight",P="scrollWidth"),C=C,o===y&&(k="bottom",x-=C[M]-r.height,x*=u?1:-1),o===b&&(S=_,v-=C[P]-r.width,v*=u?1:-1)}var A,I=Object.assign({position:s},f&&T);return u?Object.assign({},I,((A={})[k]=j?"0":"",A[S]=w?"0":"",A.transform=(E.devicePixelRatio||1)<2?"translate("+v+"px, "+x+"px)":"translate3d("+v+"px, "+x+"px, 0)",A)):Object.assign({},I,((e={})[k]=j?x+"px":"",e[S]=w?v+"px":"",e.transform="",e))}var A=C({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,a=void 0===o||o,s=r.resize,u=void 0===s||s,l=i(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&c.forEach((function(t){t.addEventListener("scroll",n.update,M)})),u&&l.addEventListener("resize",n.update,M),function(){a&&c.forEach((function(t){t.removeEventListener("scroll",n.update,M)})),u&&l.removeEventListener("resize",n.update,M)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=function(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?S(i):null,a=i?function(t){return t.split("-")[1]}(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case y:e={x:s,y:n.y-r.height};break;case"bottom":e={x:s,y:n.y+n.height};break;case _:e={x:n.x+n.width,y:u};break;case b:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var l=o?function(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}(o):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case"start":e[l]=e[l]-(n[c]/2-r[c]/2);break;case"end":e[l]=e[l]+(n[c]/2-r[c]/2)}}return e}({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,l={placement:S(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,P(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,P(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];s(i)&&u(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});s(r)&&u(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]}]});var I={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,a=x.reduce((function(t,n){return t[n]=function(t,e,n){var r=S(t),i=[b,y].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[b,_].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],u=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=a}}},function(t,e,n){"use strict";n.r(e),n.d(e,"stringToDate",(function(){return i})),n.d(e,"dateToString",(function(){return o}));var r=n(13);function i(t){return t?new Date(t.replace(/-/g,"/")):null}function o(t,e){if(void 0===e&&(e="date"),!t)return"";var n=t.getFullYear(),i=t.getMonth()+1,o=t.getDate(),a=n+"-"+Object(r.padZero)(i)+"-"+Object(r.padZero)(o);if("datetime"===e){var s=t.getHours(),u=t.getMinutes();a+=" "+Object(r.padZero)(s)+":"+Object(r.padZero)(u)}return a}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(30);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(30),i=n(197),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(159)),s),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(o)})),t.exports=u}).call(this,n(94))},function(t,e,n){"use strict";var r=n(30),i=n(198),o=n(200),a=n(156),s=n(201),u=n(204),l=n(205),c=n(160);t.exports=function(t){return new Promise((function(e,n){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+v)}var g=s(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};i(e,n,o),h=null}},h.onabort=function(){h&&(n(c("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=(t.withCredentials||l(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;m&&(d[t.xsrfHeaderName]=m)}if("setRequestHeader"in h&&r.forEach(d,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete d[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),f||(f=null),h.send(f)}))}},function(t,e,n){"use strict";var r=n(199);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";var r=n(30);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function l(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(o,l),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var c=i.concat(o).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===c.indexOf(t)}));return r.forEach(f,l),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";n.r(e);var r=n(187),i=n.n(r);e.default=i.a},function(t,e,n){"use strict";n.r(e),n.d(e,"unifySlots",(function(){return s})),n.d(e,"createComponent",(function(){return u}));var r=n(0),i=n(13),o=n(165);function a(t){var e=this.name;t.component(e,this),t.component(Object(i.camelize)("-"+e),this)}function s(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}function u(t){return function(e){var n;return Object(r.isFunction)(e)&&(e={functional:!0,props:(n=e).props,model:n.model,render:function(t,e){return n(t,e.props,s(e),e)}}),e.functional||(e.mixins=e.mixins||[],e.mixins.push(o.SlotsMixin)),e.name=t,e.install=a,e}}},function(t,e,n){"use strict";n.r(e),n.d(e,"SlotsMixin",(function(){return r}));var r={methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,r=this.$scopedSlots[t];return r?r(e):n[t]}}}},function(t,e,n){"use strict";function r(t){return function(e,n){return e&&"string"!=typeof e&&(n=e,e=""),""+(e=e?t+"__"+e:t)+function t(e,n){return n?"string"==typeof n?" "+e+"--"+n:Array.isArray(n)?n.reduce((function(n,r){return n+t(e,r)}),""):Object.keys(n).reduce((function(r,i){return r+(n[i]?t(e,i):"")}),""):""}(e,n)}}n.r(e),n.d(e,"createBEM",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"createI18N",(function(){return a}));var r=n(0),i=n(13),o=n(39);function a(t){var e=Object(i.camelize)(t)+".";return function(t){for(var n=o.default.messages(),i=Object(r.get)(n,e+t)||Object(r.get)(n,t),a=arguments.length,s=new Array(a>1?a-1:0),u=1;u<a;u++)s[u-1]=arguments[u];return Object(r.isFunction)(i)?i.apply(void 0,s):i}}},function(t,e,n){"use strict";n.r(e),e.default={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}}},function(t,e,n){"use strict";n.r(e),n.d(e,"deepAssign",(function(){return o}));var r=n(0),i=Object.prototype.hasOwnProperty;function o(t,e){return Object.keys(e).forEach((function(n){!function(t,e,n){var a=e[n];Object(r.isDef)(a)&&(i.call(t,n)&&Object(r.isObject)(a)?t[n]=o(Object(t[n]),e[n]):t[n]=a)}(t,e,n)})),t}},function(t,e,n){"use strict";n.r(e),n.d(e,"CloseOnPopstateMixin",(function(){return o}));var r=n(7),i=n(23),o={mixins:[Object(i.BindEventMixin)((function(t,e){this.handlePopstate(e&&this.closeOnPopstate)}))],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&(this.bindStatus=t,(t?r.on:r.off)(window,"popstate",this.onPopstate))}}}},function(t,e,n){"use strict";n.r(e),n.d(e,"lockClick",(function(){return i}));var r=0;function i(t){t?(r||document.body.classList.add("van-toast--unclickable"),r++):--r||document.body.classList.remove("van-toast--unclickable")}},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(80),a=n(12),s=n(22),u=Object(i.createNamespace)("address-edit-detail"),l=u[0],c=u[1],f=u[2],d=Object(o.isAndroid)();e.default=l({props:{value:String,errorMessage:String,focused:Boolean,detailRows:[Number,String],searchResult:Array,detailMaxlength:[Number,String],showSearchResult:Boolean},computed:{shouldShowSearchResult:function(){return this.focused&&this.searchResult&&this.showSearchResult}},methods:{onSelect:function(t){this.$emit("select-search",t),this.$emit("input",((t.address||"")+" "+(t.name||"")).trim())},onFinish:function(){this.$refs.field.blur()},genFinish:function(){var t=this.$createElement;if(this.value&&this.focused&&d)return t("div",{class:c("finish"),on:{click:this.onFinish}},[f("complete")])},genSearchResult:function(){var t=this,e=this.$createElement,n=this.value,r=this.shouldShowSearchResult,i=this.searchResult;if(r)return i.map((function(r){return e(a.default,{key:r.name+r.address,attrs:{clickable:!0,border:!1,icon:"location-o",label:r.address},class:c("search-item"),on:{click:function(){t.onSelect(r)}},scopedSlots:{title:function(){if(r.name){var t=r.name.replace(n,"<span class="+c("keyword")+">"+n+"</span>");return e("div",{domProps:{innerHTML:t}})}}}})}))}},render:function(){var t=arguments[0];return t(a.default,{class:c()},[t(s.default,{attrs:{autosize:!0,rows:this.detailRows,clearable:!d,type:"textarea",value:this.value,errorMessage:this.errorMessage,border:!this.shouldShowSearchResult,label:f("label"),maxlength:this.detailMaxlength,placeholder:f("placeholder")},ref:"field",scopedSlots:{icon:this.genFinish},on:Object(r.default)({},this.$listeners)}),this.genSearchResult()])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(75),a=n(2),s=n(0),u=n(20),l=n(7),c=n(18),f=Object(a.createNamespace)("picker-column"),d=f[0],h=f[1];function p(t){return Object(s.isObject)(t)&&t.disabled}e.default=d({mixins:[c.TouchMixin],props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:Object(o.deepClone)(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=Object(o.deepClone)(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){if(!this.readonly){if(this.touchStart(t),this.moving){var e=function(t){var e=window.getComputedStyle(t),n=e.transform||e.webkitTransform,r=n.slice(7,n.length-1).split(", ")[5];return Number(r)}(this.$refs.wrapper);this.offset=Math.min(0,e-this.baseOffset),this.startOffset=this.offset}else this.startOffset=this.offset;this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset}},onTouchMove:function(t){if(!this.readonly){this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,Object(l.preventDefault)(t,!0)),this.offset=Object(u.range)(this.startOffset+this.deltaY,-this.count*this.itemHeight,this.itemHeight);var e=Date.now();e-this.touchStartTime>300&&(this.touchStartTime=e,this.momentumOffset=this.offset)}},onTouchEnd:function(){var t=this;if(!this.readonly){var e=this.offset-this.momentumOffset,n=Date.now()-this.touchStartTime;if(n<300&&Math.abs(e)>15)this.momentum(e,n);else{var r=this.getIndexByOffset(this.offset);this.duration=200,this.setIndex(r,!0),setTimeout((function(){t.moving=!1}),0)}}},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=Object(u.range)(t,0,this.count);e<this.count;e++)if(!p(this.options[e]))return e;for(var n=t-1;n>=0;n--)if(!p(this.options[n]))return n},getOptionText:function(t){return Object(s.isObject)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){var n=this,r=-(t=this.adjustIndex(t)||0)*this.itemHeight,i=function(){t!==n.currentIndex&&(n.currentIndex=t,e&&n.$emit("change",t))};this.moving&&r!==this.offset?this.transitionEndTrigger=i:i(),this.offset=r},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]},getIndexByOffset:function(t){return Object(u.range)(Math.round(-t/this.itemHeight),0,this.count-1)},momentum:function(t,e){var n=Math.abs(t/e);t=this.offset+n/.003*(t<0?-1:1);var r=this.getIndexByOffset(t);this.duration=+this.swipeDuration,this.setIndex(r,!0)},stopMomentum:function(){this.moving=!1,this.duration=0,this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},genOptions:function(){var t=this,e=this.$createElement,n={height:this.itemHeight+"px"};return this.options.map((function(r,o){var a,s=t.getOptionText(r),u=p(r),l={style:n,attrs:{role:"button",tabindex:u?-1:0},class:[h("item",{disabled:u,selected:o===t.currentIndex})],on:{click:function(){t.onClickItem(o)}}},c={class:"van-ellipsis",domProps:(a={},a[t.allowHtml?"innerHTML":"textContent"]=s,a)};return e("li",i()([{},l]),[t.slots("option",r)||e("div",i()([{},c]))])}))}},render:function(){var t=arguments[0],e={transform:"translate3d(0, "+(this.offset+this.baseOffset)+"px, 0)",transitionDuration:this.duration+"ms",transitionProperty:this.duration?"all":"none"};return t("div",{class:[h(),this.className]},[t("ul",{ref:"wrapper",style:e,class:h("wrapper"),on:{transitionend:this.onTransitionEnd}},[this.genOptions()])])}})},function(t,e,n){"use strict";n.r(e);var r=n(4),i=n.n(r),o=n(1),a=n(2),s=n(3),u=n(38),l=n(5),c=n(12),f=n(47),d=Object(a.createNamespace)("address-item"),h=d[0],p=d[1];function v(t,e,n,r){var a=e.disabled,d=e.switchable;return t("div",{class:p({disabled:a}),on:{click:function(){d&&Object(s.emit)(r,"select"),Object(s.emit)(r,"click")}}},[t(c.default,i()([{attrs:{border:!1,valueClass:p("value")},scopedSlots:{default:function(){var r=e.data,i=[t("div",{class:p("name")},[r.name+" "+r.tel,n.tag?n.tag(Object(o.default)({},e.data)):e.data.isDefault&&e.defaultTagText?t(u.default,{attrs:{type:"danger",round:!0},class:p("tag")},[e.defaultTagText]):void 0]),t("div",{class:p("address")},[r.address])];return d&&!a?t(f.default,{attrs:{name:r.id,iconSize:18}},[i]):i},"right-icon":function(){return t(l.default,{attrs:{name:"edit"},class:p("edit"),on:{click:function(t){t.stopPropagation(),Object(s.emit)(r,"edit"),Object(s.emit)(r,"click")}}})}}},Object(s.inherit)(r)])),null==n.bottom?void 0:n.bottom(Object(o.default)({},e.data,{disabled:a}))])}v.props={data:Object,disabled:Boolean,switchable:Boolean,defaultTagText:String},e.default=h(v)},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(10),o=n(11),a=n(8),s=n(42),u=Object(r.createNamespace)("calendar-month")[0];e.default=u({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return Object(a.formatMonthTitle)(this.date)},rowHeightWithUnit:function(){return Object(i.addUnit)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return Object(s.getMonthEndDay)(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),n=1;n<=e;n++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),n=this.date.getMonth(),r=1;r<=this.totalDay;r++){var i=new Date(e,n,r),o=this.getDayType(i),a={date:i,type:o,text:r,bottomInfo:this.getBottomInfo(o)};this.formatter&&(a=this.formatter(a)),t.push(a)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},scrollIntoView:function(t){var e=this.$refs,n=e.days,r=e.month,i=(this.showSubtitle?n:r).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;Object(o.setScrollTop)(t,i)},getMultipleDayType:function(t){var e=this,n=function(t){return e.currentDate.some((function(e){return 0===Object(a.compareDay)(e,t)}))};if(n(t)){var r=Object(a.getPrevDay)(t),i=Object(a.getNextDay)(t),o=n(r),s=n(i);return o&&s?"multiple-middle":o?"end":s?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,n=e[0],r=e[1];if(!n)return"";var i=Object(a.compareDay)(t,n);if(!r)return 0===i?"start":"";var o=Object(a.compareDay)(t,r);return 0===i&&0===o&&this.allowSameDay?"start-end":0===i?"start":0===o?"end":i>0&&o<0?"middle":void 0},getDayType:function(t){var e=this.type,n=this.minDate,r=this.maxDate,i=this.currentDate;return Object(a.compareDay)(t,n)<0||Object(a.compareDay)(t,r)>0?"disabled":null!==i?"single"===e?0===Object(a.compareDay)(t,i)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type){if("start"===t||"end"===t)return Object(a.t)(t);if("start-end"===t)return Object(a.t)("startEnd")}},getDayStyle:function(t,e){var n={height:this.rowHeightWithUnit};return"placeholder"===t?(n.width="100%",n):(0===e&&(n.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?n.background=this.color:"middle"===t&&(n.color=this.color)),n)},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle)return t("div",{class:Object(a.bem)("month-title")},[this.title])},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:Object(a.bem)("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:Object(a.bem)("days")},[this.genMark(),e.map(this.genDay)])},genDay:function(t,e){var n=this,r=this.$createElement,i=t.type,o=t.topInfo,s=t.bottomInfo,u=this.getDayStyle(i,e),l="disabled"===i,c=function(){l||n.$emit("click",t)},f=o&&r("div",{class:Object(a.bem)("top-info")},[o]),d=s&&r("div",{class:Object(a.bem)("bottom-info")},[s]);return"selected"===i?r("div",{attrs:{role:"gridcell",tabindex:-1},style:u,class:[Object(a.bem)("day"),t.className],on:{click:c}},[r("div",{class:Object(a.bem)("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[f,t.text,d])]):r("div",{attrs:{role:"gridcell",tabindex:l?null:-1},style:u,class:[Object(a.bem)("day",i),t.className],on:{click:c}},[f,t.text,d])}},render:function(){var t=arguments[0];return t("div",{class:Object(a.bem)("month"),ref:"month"},[this.genTitle(),this.genDays()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(8),o=Object(r.createNamespace)("calendar-header")[0];e.default=o({props:{title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||Object(i.t)("title");return t("div",{class:Object(i.bem)("header-title")},[e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:Object(i.bem)("header-subtitle")},[this.subtitle])},genWeekDays:function(){var t=this.$createElement,e=Object(i.t)("weekdays"),n=this.firstDayOfWeek,r=[].concat(e.slice(n,7),e.slice(0,n));return t("div",{class:Object(i.bem)("weekdays")},[r.map((function(e){return t("span",{class:Object(i.bem)("weekday")},[e])}))])}},render:function(){var t=arguments[0];return t("div",{class:Object(i.bem)("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(0),o=n(25),a=Object(r.createNamespace)("tab"),s=a[0],u=a[1];e.default=s({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,n=this.isActive,r="card"===this.type;e&&r&&(t.borderColor=e,this.disabled||(n?t.backgroundColor=e:t.color=e));var i=n?this.activeColor:this.inactiveColor;return i&&(t.color=i),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:u("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||Object(i.isDef)(this.info)&&""!==this.info?t("span",{class:u("text-wrapper")},[e,t(o.default,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[u({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}})},function(t,e,n){"use strict";n.r(e);var r=n(1),i=n(2),o=n(18),a=Object(i.createNamespace)("tabs"),s=a[0],u=a[1];e.default=s({mixins:[o.TouchMixin],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,n=this.currentIndex;"horizontal"===t&&this.offsetX>=50&&(e>0&&0!==n?this.$emit("change",n-1):e<0&&n!==this.count-1&&this.$emit("change",n+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:u("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:u("content",{animated:this.animated}),on:Object(r.default)({},this.listeners)},[this.genChildren()])}})},function(t,e,n){"use strict";n.r(e);var r="van-empty-network-";e.default={render:function(){var t=arguments[0],e=function(e,n,r){return t("stop",{attrs:{"stop-color":e,offset:n+"%","stop-opacity":r}})};return t("svg",{attrs:{viewBox:"0 0 160 160",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{id:r+"1",x1:"64.022%",y1:"100%",x2:"64.022%",y2:"0%"}},[e("#FFF",0,.5),e("#F2F3F5",100)]),t("linearGradient",{attrs:{id:r+"2",x1:"50%",y1:"0%",x2:"50%",y2:"84.459%"}},[e("#EBEDF0",0),e("#DCDEE0",100,0)]),t("linearGradient",{attrs:{id:r+"3",x1:"100%",y1:"0%",x2:"100%",y2:"100%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:r+"4",x1:"100%",y1:"100%",x2:"100%",y2:"0%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:r+"5",x1:"0%",y1:"43.982%",x2:"100%",y2:"54.703%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("linearGradient",{attrs:{id:r+"6",x1:"94.535%",y1:"43.837%",x2:"5.465%",y2:"54.948%"}},[e("#EAEDF0",0),e("#DCDEE0",100)]),t("radialGradient",{attrs:{id:r+"7",cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54835 0 .5 -.5)"}},[e("#EBEDF0",0),e("#FFF",100,0)])]),t("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[t("g",{attrs:{opacity:".8"}},[t("path",{attrs:{d:"M0 124V46h20v20h14v58H0z",fill:"url(#"+r+"1)",transform:"matrix(-1 0 0 1 36 7)"}}),t("path",{attrs:{d:"M121 8h22.231v14H152v77.37h-31V8z",fill:"url(#"+r+"1)",transform:"translate(2 7)"}})]),t("path",{attrs:{fill:"url(#"+r+"7)",d:"M0 139h160v21H0z"}}),t("path",{attrs:{d:"M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",fill:"url(#"+r+"2)","fill-rule":"nonzero",transform:"translate(43 36)"}}),t("g",{attrs:{opacity:".6","stroke-linecap":"round","stroke-width":"7"}},[t("path",{attrs:{d:"M20.875 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+r+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M9.849 0C3.756 6.225 0 14.747 0 24.146c0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+r+"3)",transform:"translate(43 36)"}}),t("path",{attrs:{d:"M57.625 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#"+r+"4)",transform:"rotate(-180 76.483 42.257)"}}),t("path",{attrs:{d:"M73.216 0c-6.093 6.225-9.849 14.747-9.849 24.146 0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#"+r+"4)",transform:"rotate(-180 89.791 42.146)"}})]),t("g",{attrs:{transform:"translate(31 105)","fill-rule":"nonzero"}},[t("rect",{attrs:{fill:"url(#"+r+"5)",width:"98",height:"34",rx:"2"}}),t("rect",{attrs:{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.114"}}),t("rect",{attrs:{fill:"url(#"+r+"6)",x:"15",y:"12",width:"18",height:"6",rx:"1.114"}})])])])}}},function(t,e,n){"use strict";n.r(e);var r=n(35),i=n(20),o=n(7),a=n(18),s=n(31),u=n(19),l=n(70);function c(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}e.default={mixins:[a.TouchMixin],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight/t;return this.imageRatio>e},imageStyle:function(){var t=this.scale,e={transitionDuration:this.zooming||this.moving?"0s":".3s"};if(1!==t){var n=this.moveX/t,r=this.moveY/t;e.transform="scale("+t+", "+t+") translate("+n+"px, "+r+"px)"}return e},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{active:"resetScale",show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){(t=Object(i.range)(t,+this.minZoom,+this.maxZoom))!==this.scale&&(this.scale=t,this.$emit("scale",{scale:this.scale,index:this.active}))},toggleScale:function(){var t=this.scale>1?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,n=this.offsetX,r=void 0===n?0:n;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!r,this.zooming&&(this.startScale=this.scale,this.startDistance=c(t.touches))},onTouchMove:function(t){var e=t.touches;if(this.touchMove(t),(this.moving||this.zooming)&&Object(o.preventDefault)(t,!0),this.moving){var n=this.deltaX+this.startMoveX,r=this.deltaY+this.startMoveY;this.moveX=Object(i.range)(n,-this.maxMoveX,this.maxMoveX),this.moveY=Object(i.range)(r,-this.maxMoveY,this.maxMoveY)}if(this.zooming&&2===e.length){var a=c(e),s=this.startScale*a/this.startDistance;this.setScale(s)}},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=Object(i.range)(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=Object(i.range)(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),Object(o.preventDefault)(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,n=void 0===e?0:e,r=this.offsetY,i=void 0===r?0:r,o=new Date-this.touchStartTime;n<10&&i<10&&o<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout((function(){t.$emit("close"),t.doubleTapTimer=null}),250))},onLoad:function(t){var e=t.target,n=e.naturalWidth,r=e.naturalHeight;this.imageRatio=r/n}},render:function(){var t=arguments[0],e={loading:function(){return t(u.default,{attrs:{type:"spinner"}})}};return t(l.default,{class:Object(r.bem)("swipe-item")},[t(s.default,{attrs:{src:this.src,fit:"contain"},class:Object(r.bem)("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}}},function(t,e,n){"use strict";n.r(e),e.default={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}}},function(t,e,n){"use strict";n.r(e),e.default={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}}},function(t,e,n){"use strict";n.r(e),e.default={"zh-CN":{vanSku:{select:"请选择",selected:"已选",selectSku:"请先选择商品规格",soldout:"库存不足",originPrice:"原价",minusTip:"至少选择一件",minusStartTip:function(t){return t+"件起售"},unavailable:"商品已经无法购买啦",stock:"剩余",stockUnit:"件",quotaTip:function(t){return"每人限购"+t+"件"},quotaUsedTip:function(t,e){return"每人限购"+t+"件,你已购买"+e+"件"}},vanSkuActions:{buy:"立即购买",addCart:"加入购物车"},vanSkuImgUploader:{oversize:function(t){return"最大可上传图片为"+t+"MB,请尝试压缩图片尺寸"},fail:"上传失败",uploading:"上传中..."},vanSkuStepper:{quotaLimit:function(t){return"限购"+t+"件"},quotaStart:function(t){return t+"件起售"},comma:",",num:"购买数量"},vanSkuMessages:{fill:"请填写",upload:"请上传",imageLabel:"仅限一张",invalid:{tel:"请填写正确的数字格式留言",mobile:"手机号长度为6-20位数字",email:"请填写正确的邮箱",id_no:"请填写正确的身份证号码"},placeholder:{id_no:"请填写身份证号",text:"请填写留言",tel:"请填写数字",email:"请填写邮箱",date:"请选择日期",time:"请选择时间",textarea:"请填写留言",mobile:"请填写手机号"}},vanSkuRow:{multiple:"可多选"},vanSkuDatetimeField:{title:{date:"选择年月日",time:"选择时间",datetime:"选择日期时间"},format:{year:"年",month:"月",day:"日",hour:"时",minute:"分"}}}}},function(t,e,n){"use strict";function r(t){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)}n.r(e),n.d(e,"isEmail",(function(){return r}))},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(74),o=Object(r.createNamespace)("sku-img-uploader"),a=o[0],s=o[2];e.default=a({props:{value:String,uploadImg:Function,maxSize:{type:Number,default:6}},data:function(){return{fileList:[]}},watch:{value:function(t){this.fileList=t?[{url:t,isImage:!0}]:[]}},methods:{afterReadFile:function(t){var e=this;t.status="uploading",t.message=s("uploading"),this.uploadImg(t.file,t.content).then((function(n){t.status="done",e.$emit("input",n)})).catch((function(){t.status="failed",t.message=s("fail")}))},onOversize:function(){this.$toast(s("oversize",this.maxSize))},onDelete:function(){this.$emit("input","")}},render:function(){var t=this,e=arguments[0];return e(i.default,{attrs:{maxCount:1,afterRead:this.afterReadFile,maxSize:1024*this.maxSize*1024},on:{oversize:this.onOversize,delete:this.onDelete},model:{value:t.fileList,callback:function(e){t.fileList=e}}})}})},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n(154),o=n(21),a=n(68),s=n(22),u=Object(r.createNamespace)("sku-datetime-field"),l=u[0],c=u[2];e.default=l({props:{value:String,label:String,required:Boolean,placeholder:String,type:{type:String,default:"date"}},data:function(){return{showDatePicker:!1,currentDate:"time"===this.type?"":new Date,minDate:new Date((new Date).getFullYear()-60,0,1)}},watch:{value:function(t){switch(this.type){case"time":this.currentDate=t;break;case"date":case"datetime":this.currentDate=Object(i.stringToDate)(t)||new Date}}},computed:{title:function(){return c("title."+this.type)}},methods:{onClick:function(){this.showDatePicker=!0},onConfirm:function(t){var e=t;"time"!==this.type&&(e=Object(i.dateToString)(t,this.type)),this.$emit("input",e),this.showDatePicker=!1},onCancel:function(){this.showDatePicker=!1},formatter:function(t,e){return""+e+c("format."+t)}},render:function(){var t=this,e=arguments[0];return e(s.default,{attrs:{readonly:!0,"is-link":!0,center:!0,value:this.value,label:this.label,required:this.required,placeholder:this.placeholder},on:{click:this.onClick}},[e(o.default,{attrs:{round:!0,position:"bottom",getContainer:"body"},slot:"extra",model:{value:t.showDatePicker,callback:function(e){t.showDatePicker=e}}},[e(a.default,{attrs:{type:this.type,title:this.title,value:this.currentDate,minDate:this.minDate,formatter:this.formatter},on:{cancel:this.onCancel,confirm:this.onConfirm}})])])}})},function(t,e,n){
- /*!
- * Vue-Lazyload.js v1.2.3
- * (c) 2018 Awe <hilongjw@gmail.com>
- * Released under the MIT License.
- */
- t.exports=function(){"use strict";function t(t){t=t||{};var r=arguments.length,i=0;if(1===r)return t;for(;++i<r;){var o=arguments[i];d(t)&&(t=o),n(o)&&e(t,o)}return t}function e(e,i){for(var o in h(e,i),i)if("__proto__"!==o&&r(i,o)){var a=i[o];n(a)?("undefined"===v(e[o])&&"function"===v(a)&&(e[o]=a),e[o]=t(e[o]||{},a)):e[o]=a}return e}function n(t){return"object"===v(t)||"function"===v(t)}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function i(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function o(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n=t.getAttribute("data-srcset"),r=[],i=t.parentNode.offsetWidth*e,o=void 0,a=void 0,s=void 0;(n=n.trim().split(",")).map((function(t){t=t.trim(),-1===(o=t.lastIndexOf(" "))?(a=t,s=999998):(a=t.substr(0,o),s=parseInt(t.substr(o+1,t.length-o-2),10)),r.push([s,a])})),r.sort((function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var u="",l=void 0,c=r.length,f=0;f<c;f++)if((l=r[f])[0]>=i){u=l[1];break}return u}}function a(t,e){for(var n=void 0,r=0,i=t.length;r<i;r++)if(e(t[r])){n=t[r];break}return n}function s(){if(!m)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(e){t=!1}return t}function u(){}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},f=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":l(t))},h=function(t,e){if(null==t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var n=Object.prototype.propertyIsEnumerable,r=Object(t),i=arguments.length,o=0;++o<i;)for(var a=Object(arguments[o]),s=Object.getOwnPropertySymbols(a),u=0;u<s.length;u++){var l=s[u];n.call(a,l)&&(r[l]=a[l])}return r},p=Object.prototype.toString,v=function(t){var e=void 0===t?"undefined":l(t);return"undefined"===e?"undefined":null===t?"null":!0===t||!1===t||t instanceof Boolean?"boolean":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?void 0!==t.constructor.name&&"Generator"===t.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(t)?"array":t instanceof RegExp?"regexp":t instanceof Date?"date":"[object RegExp]"===(e=p.call(t))?"regexp":"[object Date]"===e?"date":"[object Arguments]"===e?"arguments":"[object Error]"===e?"error":"[object Promise]"===e?"promise":function(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}(t)?"buffer":"[object Set]"===e?"set":"[object WeakSet]"===e?"weakset":"[object Map]"===e?"map":"[object WeakMap]"===e?"weakmap":"[object Symbol]"===e?"symbol":"[object Map Iterator]"===e?"mapiterator":"[object Set Iterator]"===e?"setiterator":"[object String Iterator]"===e?"stringiterator":"[object Array Iterator]"===e?"arrayiterator":"[object Int8Array]"===e?"int8array":"[object Uint8Array]"===e?"uint8array":"[object Uint8ClampedArray]"===e?"uint8clampedarray":"[object Int16Array]"===e?"int16array":"[object Uint16Array]"===e?"uint16array":"[object Int32Array]"===e?"int32array":"[object Uint32Array]"===e?"uint32array":"[object Float32Array]"===e?"float32array":"[object Float64Array]"===e?"float64array":"object"},g=t,m="undefined"!=typeof window,y=m&&"IntersectionObserver"in window,_="event",b="observer",x=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}if(m)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return m&&window.devicePixelRatio||t},j=function(){if(m){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),S={on:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];j?t.addEventListener(e,n,{capture:r,passive:!0}):t.addEventListener(e,n,r)},off:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,r)}},O=function(t,e,n){var r=new Image;r.src=t.src,r.onload=function(){e({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src})},r.onerror=function(t){n(t)}},k=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},E=function(t){return k(t,"overflow")+k(t,"overflow-y")+k(t,"overflow-x")},C={},M=function(){function t(e){var n=e.el,r=e.src,i=e.error,o=e.loading,a=e.bindType,s=e.$parent,u=e.options,l=e.elRenderer;c(this,t),this.el=n,this.src=r,this.error=i,this.loading=o,this.bindType=a,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.rect=null,this.$parent=s,this.elRenderer=l,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return f(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,r=t.error,i=this.src;this.src=e,this.loading=n,this.error=r,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;(function(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e})(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;O({src:this.loading},(function(n){e.render("loading",!1),t()}),(function(){t(),e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void e()):this.state.loaded||C[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),O({src:t.src},(function(n){t.naturalHeight=n.naturalHeight,t.naturalWidth=n.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),C[t.src]=1,e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",P=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],A={rootMargin:"0px",threshold:0},I=function(t){return function(){function e(t){var n=t.preLoad,r=t.error,i=t.throttleWait,o=t.preLoadTop,a=t.dispatchEvent,u=t.loading,l=t.attempt,f=t.silent,d=void 0===f||f,h=t.scale,p=t.listenEvents,v=(t.hasbind,t.filter),g=t.adapter,m=t.observer,y=t.observerOptions;c(this,e),this.version="1.2.3",this.mode=_,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:i||200,preLoad:n||1.3,preLoadTop:o||0,error:r||T,loading:u||T,attempt:l||3,scale:h||w(h),ListenEvents:p||P,hasbind:!1,supportWebp:s(),filter:v||{},adapter:g||{},observer:!!m,observerOptions:y||A},this._initEvent(),this.lazyLoadHandler=function(t,e){var n=null,r=0;return function(){if(!n){var i=Date.now()-r,o=this,a=arguments,s=function(){r=Date.now(),n=!1,t.apply(o,a)};i>=e?s():n=setTimeout(s,e)}}}(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?b:_)}return f(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),m&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,n,r){var i=this;if(function(t,e){for(var n=!1,r=0,i=t.length;r<i;r++)if(e(t[r])){n=!0;break}return n}(this.ListenerQueue,(function(t){return t.el===e})))return this.update(e,n),t.nextTick(this.lazyLoadHandler);var a=this._valueFormatter(n.value),s=a.src,u=a.loading,l=a.error;t.nextTick((function(){s=o(e,i.options.scale)||s,i._observer&&i._observer.observe(e);var a=Object.keys(n.modifiers)[0],c=void 0;a&&(c=(c=r.context.$refs[a])?c.$el||c:document.getElementById(a)),c||(c=function(t){if(m){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(E(e)))return e;e=e.parentNode}return window}}(e));var f=new M({bindType:n.arg,$parent:c,el:e,loading:u,error:l,src:s,elRenderer:i._elRenderer.bind(i),options:i.options});i.ListenerQueue.push(f),m&&(i._addListenerTarget(window),i._addListenerTarget(c)),i.lazyLoadHandler(),t.nextTick((function(){return i.lazyLoadHandler()}))}))}},{key:"update",value:function(e,n){var r=this,i=this._valueFormatter(n.value),s=i.src,u=i.loading,l=i.error;s=o(e,this.options.scale)||s;var c=a(this.ListenerQueue,(function(t){return t.el===e}));c&&c.update({src:s,loading:u,error:l}),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),t.nextTick((function(){return r.lazyLoadHandler()}))}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=a(this.ListenerQueue,(function(e){return e.el===t}));e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),i(this.ListenerQueue,e)&&e.destroy())}}},{key:"removeComponent",value:function(t){t&&(i(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;y||t!==b||(t=_),this.mode=t,t===_?(this._observer&&(this.ListenerQueue.forEach((function(t){e._observer.unobserve(t.el)})),this._observer=null),this.TargetQueue.forEach((function(t){e._initListen(t.el,!0)}))):(this.TargetQueue.forEach((function(t){e._initListen(t.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=a(this.TargetQueue,(function(e){return e.el===t}));return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===_&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach((function(n,r){n.el===t&&(--n.childrenCount||(e._initListen(n.el,!1),e.TargetQueue.splice(r,1),n=null))}))}},{key:"_initListen",value:function(t,e){var n=this;this.options.ListenEvents.forEach((function(r){return S[e?"on":"off"](t,r,n.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,n){t.Event.listeners[e].push(n)},this.$once=function(e,n){var r=t;t.$on(e,(function t(){r.$off(e,t),n.apply(r,arguments)}))},this.$off=function(e,n){n?i(t.Event.listeners[e],n):t.Event.listeners[e]=[]},this.$emit=function(e,n,r){t.Event.listeners[e].forEach((function(t){return t(n,r)}))}}},{key:"_lazyLoadHandler",value:function(){var t=this;this.ListenerQueue.forEach((function(e,n){e.state.loaded||e.checkInView()&&e.load((function(){!e.error&&e.loaded&&t.ListenerQueue.splice(n,1)}))}))}},{key:"_initIntersectionObserver",value:function(){var t=this;y&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(e){t._observer.observe(e.el)})))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach((function(t){t.isIntersecting&&n.ListenerQueue.forEach((function(e){if(e.el===t.target){if(e.state.loaded)return n._observer.unobserve(e.el);e.load()}}))}))}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var r=t.el,i=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(i?r.style[i]='url("'+o+'")':r.getAttribute("src")!==o&&r.setAttribute("src",o),r.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new x(e,{detail:t});r.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e=t,n=this.options.loading,r=this.options.error;return function(t){return null!==t&&"object"===(void 0===t?"undefined":l(t))}(t)&&(t.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+t),e=t.src,n=t.loading||this.options.loading,r=t.error||this.options.error),{src:e,loading:n,error:r}}}]),e}()},N=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),m&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},D=function(){function t(e){var n=e.lazy;c(this,t),this.lazy=n,n.lazyContainerMananger=this,this._queue=[]}return f(t,[{key:"bind",value:function(t,e,n){var r=new L({el:t,binding:e,vnode:n,lazy:this.lazy});this._queue.push(r)}},{key:"update",value:function(t,e,n){var r=a(this._queue,(function(e){return e.el===t}));r&&r.update({el:t,binding:e,vnode:n})}},{key:"unbind",value:function(t,e,n){var r=a(this._queue,(function(e){return e.el===t}));r&&(r.clear(),i(this._queue,r))}}]),t}(),R={selector:"img"},L=function(){function t(e){var n=e.el,r=e.binding,i=e.vnode,o=e.lazy;c(this,t),this.el=null,this.vnode=i,this.binding=r,this.options={},this.lazy=o,this._queue=[],this.update({el:n,binding:r})}return f(t,[{key:"update",value:function(t){var e=this,n=t.el,r=t.binding;this.el=n,this.options=g({},R,r.value),this.getImgs().forEach((function(t){e.lazy.add(t,g({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return function(t){for(var e=t.length,n=[],r=0;r<e;r++)n.push(t[r]);return n}(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var t=this;this.getImgs().forEach((function(e){return t.lazy.remove(e)})),this.vnode=null,this.binding=null,this.lazy=null}}]),t}();return{install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=I(t),r=new n(e),i=new D({lazy:r}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=r,e.lazyComponent&&t.component("lazy-component",N(r)),o?(t.directive("lazy",{bind:r.add.bind(r),update:r.update.bind(r),componentUpdated:r.lazyLoadHandler.bind(r),unbind:r.remove.bind(r)}),t.directive("lazy-container",{bind:i.bind.bind(i),update:i.update.bind(i),unbind:i.unbind.bind(i)})):(t.directive("lazy",{bind:r.lazyLoadHandler.bind(r),update:function(t,e){g(this.vm.$refs,this.vm.$els),r.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){i.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){i.unbind(this.el)}}))}}}()},function(t,e,n){t.exports=n},function(t,e,n){var r;window,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="./src/index.ts")}({"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js":
- /*!********************************************************************************!*\
- !*** ./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js ***!
- \********************************************************************************/
- /*! no static exports found */function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=31)}([function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Array.isArray?Array.isArray(t):Object(r.a)(t,"Array")}},function(t,e,n){"use strict";e.a=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";var r=n(0),i=n(13);e.a=function(t,e){if(t)if(Object(r.a)(t))for(var n=0,o=t.length;n<o&&!1!==e(t[n],n);n++);else if(Object(i.a)(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Function")}},function(t,e,n){"use strict";var r={}.toString;e.a=function(t,e){return r.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Number")}},function(t,e,n){"use strict";e.a=function(t){return null==t}},function(t,e,n){var r=n(33).mix;t.exports={assign:r}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"String")}},function(t,e,n){"use strict";var r=n(15),i=n(4);e.a=function(t){if(!Object(r.a)(t)||!Object(i.a)(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";var r=n(6);e.a=function(t){return Object(r.a)(t)?"":t.toString()}},function(t,e,n){var r=n(18),i=function(){function t(t,e){void 0===e&&(e={}),this.options=e,this.rootNode=r(t,e)}return t.prototype.execute=function(){throw new Error("please override this method")},t}();t.exports=i},function(t,e,n){"use strict";var r=n(1);e.a=function(t,e){return!!Object(r.a)(t)&&t.indexOf(e)>-1}},function(t,e,n){"use strict";e.a=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e}},function(t,e,n){"use strict";var r=n(2),i=n(1);e.a=function(t,e){if(!Object(i.a)(t))return t;var n=[];return Object(r.a)(t,(function(t,r){e(t,r)&&n.push(t)})),n}},function(t,e,n){"use strict";e.a=function(t){return"object"==typeof t&&null!==t}},function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}e.a=function(t,e,n,i){return e&&r(t,e),n&&r(t,n),i&&r(t,i),t}},function(t,e,n){var r=n(30),i=["LR","RL","TB","BT","H","V"],o=["LR","RL","H"],a=i[0];t.exports=function(t,e,n){var s=e.direction||a;if(e.isHorizontal=function(t){return o.indexOf(t)>-1}(s),s&&-1===i.indexOf(s))throw new TypeError("Invalid direction: "+s);if(s===i[0])n(t,e);else if(s===i[1])n(t,e),t.right2left();else if(s===i[2])n(t,e);else if(s===i[3])n(t,e),t.bottom2top();else if(s===i[4]||s===i[5]){var u=r(t,e),l=u.left,c=u.right;n(l,e),n(c,e),e.isHorizontal?l.right2left():l.bottom2top(),c.translate(l.x-c.x,l.y-c.y),t.x=l.x,t.y=c.y;var f=t.getBoundingBox();e.isHorizontal?f.top<0&&t.translate(0,-f.top):f.left<0&&t.translate(-f.left,0)}var d=e.fixedRoot;return void 0===d&&(d=!0),d&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,e,n){var r=n(7),i={getId:function(t){return t.id||t.name},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var e=t.label||" ";return t.width||18*e.split("").length}};function o(t,e){var n=this;if(n.vgap=n.hgap=0,t instanceof o)return t;n.data=t;var r=e.getHGap(t),i=e.getVGap(t);return n.width=e.getWidth(t),n.height=e.getHeight(t),n.id=e.getId(t),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,i),n}r.assign(o.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(t,e){this.hgap+=t,this.vgap+=e,this.width+=2*t,this.height+=2*e},eachNode:function(t){for(var e,n=[this];e=n.shift();)t(e),n=e.children.concat(n)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var e,n=[this];e=n.shift();)t(e),n=n.concat(e.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode((function(e){t.left=Math.min(t.left,e.x),t.top=Math.min(t.top,e.y),t.width=Math.max(t.width,e.x+e.width),t.height=Math.max(t.height,e.y+e.height)})),t},translate:function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.eachNode((function(n){n.x+=t,n.y+=e}))},right2left:function(){var t=this.getBoundingBox();this.eachNode((function(e){e.x=e.x-2*(e.x-t.left)-e.width})),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode((function(e){e.y=e.y-2*(e.y-t.top)-e.height})),this.translate(0,t.height)}}),t.exports=function(t,e,n){void 0===e&&(e={});var a,s=new o(t,e=r.assign({},i,e)),u=[s];if(!n&&!t.collapsed)for(;a=u.shift();)if(!a.data.collapsed){var l=e.getChildren(a.data),c=l?l.length:0;if(a.children=new Array(c),l&&c)for(var f=0;f<c;f++){var d=new o(l[f],e);a.children[f]=d,u.push(d),d.parent=a,d.depth=a.depth+1}}return s}},function(t,e,n){"use strict";var r=n(6),i=n(20);e.a=function(t,e){var n=Object(i.a)(e),o=n.length;if(Object(r.a)(t))return!o;for(var a=0;a<o;a+=1){var s=n[a];if(e[s]!==t[s]||!(s in t))return!1}return!0}},function(t,e,n){"use strict";var r=n(2),i=n(3),o=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return Object(r.a)(t,(function(n,r){Object(i.a)(t)&&"prototype"===r||e.push(r)})),e};e.a=o},function(t,e,n){"use strict";var r=n(1),i=Array.prototype.splice;e.a=function(t,e){if(!Object(r.a)(t))return[];for(var n=t?e.length:0,o=n-1;n--;){var a=void 0,s=e[n];n!==o&&s===a||(a=s,i.call(t,s,1))}return t}},function(t,e,n){"use strict";var r=n(12),i=n(2);e.a=function(t){var e=[];return Object(i.a)(t,(function(t){Object(r.a)(e,t)||e.push(t)})),e}},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(24);e.a=function(t,e){if(!e)return{0:t};if(!Object(i.a)(e)){var n=Object(r.a)(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,i=n.length;r<i;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}return Object(o.a)(t,e)}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3),a=Object.prototype.hasOwnProperty;e.a=function(t,e){if(!e||!Object(i.a)(t))return{};var n,s={},u=Object(o.a)(e)?e:function(t){return t[e]};return Object(r.a)(t,(function(t){n=u(t),a.call(s,n)?s[n].push(t):s[n]=[t]})),s}},function(t,e,n){"use strict";e.a=function(t,e){return t.hasOwnProperty(e)}},function(t,e,n){"use strict";var r=n(2),i=n(3),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return Object(r.a)(t,(function(n,r){Object(i.a)(t)&&"prototype"===r||e.push(n)})),e};e.a=o},function(t,e,n){"use strict";var r={}.toString;e.a=function(t){return r.call(t).replace(/^\[object /,"").replace(/]$/,"")}},function(t,e,n){"use strict";var r=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,n){"use strict";var r=n(15),i=n(1),o=n(8),a=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(Object(o.a)(t)||Object(o.a)(e))return!1;if(Object(i.a)(t)||Object(i.a)(e)){if(t.length!==e.length)return!1;for(var n=!0,s=0;s<t.length&&(n=a(t[s],e[s]));s++);return n}if(Object(r.a)(t)||Object(r.a)(e)){var u=Object.keys(t),l=Object.keys(e);if(u.length!==l.length)return!1;for(n=!0,s=0;s<u.length&&(n=a(t[u[s]],e[u[s]]));s++);return n}return!1};e.a=a},function(t,e,n){var r=n(18);t.exports=function(t,e){for(var n=r(t.data,e,!0),i=r(t.data,e,!0),o=t.children.length,a=Math.round(o/2),s=e.getSide||function(t,e){return e<a?"right":"left"},u=0;u<o;u++){var l=t.children[u];"right"===s(l,u)?i.children.push(l):n.children.push(l)}return n.eachNode((function(t){t.isRoot()||(t.side="left")})),i.eachNode((function(t){t.isRoot()||(t.side="right")})),{left:n,right:i}}},function(t,e,n){var r={compactBox:n(32),dendrogram:n(114),indented:n(116),mindmap:n(118)};t.exports=r},function(t,e,n){var r=n(11),i=n(113),o=n(17),a=n(7),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return o(this.rootNode,this.options,i)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);n.d(e,"contains",(function(){return r.a})),n.d(e,"includes",(function(){return r.a}));var i=n(34);n.d(e,"difference",(function(){return i.a}));var o=n(35);n.d(e,"find",(function(){return o.a}));var a=n(36);n.d(e,"findIndex",(function(){return a.a}));var s=n(37);n.d(e,"firstValue",(function(){return s.a}));var u=n(38);n.d(e,"flatten",(function(){return u.a}));var l=n(39);n.d(e,"flattenDeep",(function(){return l.a}));var c=n(40);n.d(e,"getRange",(function(){return c.a}));var f=n(41);n.d(e,"pull",(function(){return f.a}));var d=n(21);n.d(e,"pullAt",(function(){return d.a}));var h=n(42);n.d(e,"reduce",(function(){return h.a}));var p=n(43);n.d(e,"remove",(function(){return p.a}));var v=n(44);n.d(e,"sortBy",(function(){return v.a}));var g=n(45);n.d(e,"union",(function(){return g.a}));var m=n(22);n.d(e,"uniq",(function(){return m.a}));var y=n(46);n.d(e,"valuesOfKey",(function(){return y.a}));var _=n(47);n.d(e,"head",(function(){return _.a}));var b=n(48);n.d(e,"last",(function(){return b.a}));var x=n(49);n.d(e,"startsWith",(function(){return x.a}));var w=n(50);n.d(e,"endsWith",(function(){return w.a}));var j=n(14);n.d(e,"filter",(function(){return j.a}));var S=n(51);n.d(e,"every",(function(){return S.a}));var O=n(52);n.d(e,"some",(function(){return O.a}));var k=n(53);n.d(e,"group",(function(){return k.a}));var E=n(24);n.d(e,"groupBy",(function(){return E.a}));var C=n(23);n.d(e,"groupToMap",(function(){return C.a}));var M=n(54);n.d(e,"getWrapBehavior",(function(){return M.a}));var T=n(55);n.d(e,"wrapBehavior",(function(){return T.a}));var P=n(56);n.d(e,"number2color",(function(){return P.a}));var A=n(57);n.d(e,"parseRadius",(function(){return A.a}));var I=n(58);n.d(e,"clamp",(function(){return I.a}));var N=n(59);n.d(e,"fixedBase",(function(){return N.a}));var D=n(60);n.d(e,"isDecimal",(function(){return D.a}));var R=n(61);n.d(e,"isEven",(function(){return R.a}));var L=n(62);n.d(e,"isInteger",(function(){return L.a}));var B=n(63);n.d(e,"isNegative",(function(){return B.a}));var $=n(64);n.d(e,"isNumberEqual",(function(){return $.a}));var F=n(65);n.d(e,"isOdd",(function(){return F.a}));var z=n(66);n.d(e,"isPositive",(function(){return z.a}));var V=n(67);n.d(e,"maxBy",(function(){return V.a}));var q=n(68);n.d(e,"minBy",(function(){return q.a}));var H=n(69);n.d(e,"mod",(function(){return H.a}));var G=n(70);n.d(e,"toDegree",(function(){return G.a}));var U=n(71);n.d(e,"toInteger",(function(){return U.a}));var Y=n(72);n.d(e,"toRadian",(function(){return Y.a}));var W=n(73);n.d(e,"forIn",(function(){return W.a}));var X=n(25);n.d(e,"has",(function(){return X.a}));var K=n(74);n.d(e,"hasKey",(function(){return K.a}));var Z=n(75);n.d(e,"hasValue",(function(){return Z.a}));var Q=n(20);n.d(e,"keys",(function(){return Q.a}));var J=n(19);n.d(e,"isMatch",(function(){return J.a}));var tt=n(26);n.d(e,"values",(function(){return tt.a}));var et=n(76);n.d(e,"lowerCase",(function(){return et.a}));var nt=n(77);n.d(e,"lowerFirst",(function(){return nt.a}));var rt=n(78);n.d(e,"substitute",(function(){return rt.a}));var it=n(79);n.d(e,"upperCase",(function(){return it.a}));var ot=n(80);n.d(e,"upperFirst",(function(){return ot.a}));var at=n(27);n.d(e,"getType",(function(){return at.a}));var st=n(81);n.d(e,"isArguments",(function(){return st.a}));var ut=n(0);n.d(e,"isArray",(function(){return ut.a}));var lt=n(1);n.d(e,"isArrayLike",(function(){return lt.a}));var ct=n(82);n.d(e,"isBoolean",(function(){return ct.a}));var ft=n(83);n.d(e,"isDate",(function(){return ft.a}));var dt=n(84);n.d(e,"isError",(function(){return dt.a}));var ht=n(3);n.d(e,"isFunction",(function(){return ht.a}));var pt=n(85);n.d(e,"isFinite",(function(){return pt.a}));var vt=n(6);n.d(e,"isNil",(function(){return vt.a}));var gt=n(86);n.d(e,"isNull",(function(){return gt.a}));var mt=n(5);n.d(e,"isNumber",(function(){return mt.a}));var yt=n(13);n.d(e,"isObject",(function(){return yt.a}));var _t=n(15);n.d(e,"isObjectLike",(function(){return _t.a}));var bt=n(9);n.d(e,"isPlainObject",(function(){return bt.a}));var xt=n(28);n.d(e,"isPrototype",(function(){return xt.a}));var wt=n(87);n.d(e,"isRegExp",(function(){return wt.a}));var jt=n(8);n.d(e,"isString",(function(){return jt.a}));var St=n(4);n.d(e,"isType",(function(){return St.a}));var Ot=n(88);n.d(e,"isUndefined",(function(){return Ot.a}));var kt=n(89);n.d(e,"isElement",(function(){return kt.a}));var Et=n(90);n.d(e,"requestAnimationFrame",(function(){return Et.a}));var Ct=n(91);n.d(e,"clearAnimationFrame",(function(){return Ct.a}));var Mt=n(92);n.d(e,"augment",(function(){return Mt.a}));var Tt=n(93);n.d(e,"clone",(function(){return Tt.a}));var Pt=n(94);n.d(e,"debounce",(function(){return Pt.a}));var At=n(95);n.d(e,"memoize",(function(){return At.a}));var It=n(96);n.d(e,"deepMix",(function(){return It.a}));var Nt=n(2);n.d(e,"each",(function(){return Nt.a}));var Dt=n(97);n.d(e,"extend",(function(){return Dt.a}));var Rt=n(98);n.d(e,"indexOf",(function(){return Rt.a}));var Lt=n(99);n.d(e,"isEmpty",(function(){return Lt.a}));var Bt=n(29);n.d(e,"isEqual",(function(){return Bt.a}));var $t=n(100);n.d(e,"isEqualWith",(function(){return $t.a}));var Ft=n(101);n.d(e,"map",(function(){return Ft.a}));var zt=n(102);n.d(e,"mapValues",(function(){return zt.a}));var Vt=n(16);n.d(e,"mix",(function(){return Vt.a})),n.d(e,"assign",(function(){return Vt.a}));var qt=n(103);n.d(e,"get",(function(){return qt.a}));var Ht=n(104);n.d(e,"set",(function(){return Ht.a}));var Gt=n(105);n.d(e,"pick",(function(){return Gt.a}));var Ut=n(106);n.d(e,"throttle",(function(){return Ut.a}));var Yt=n(107);n.d(e,"toArray",(function(){return Yt.a}));var Wt=n(10);n.d(e,"toString",(function(){return Wt.a}));var Xt=n(108);n.d(e,"uniqueId",(function(){return Xt.a}));var Kt=n(109);n.d(e,"noop",(function(){return Kt.a}));var Zt=n(110);n.d(e,"identity",(function(){return Zt.a}));var Qt=n(111);n.d(e,"size",(function(){return Qt.a}));var Jt=n(112);n.d(e,"Cache",(function(){return Jt.a}))},function(t,e,n){"use strict";var r=n(14),i=n(12);e.a=function(t,e){return void 0===e&&(e=[]),Object(r.a)(t,(function(t){return!Object(i.a)(e,t)}))}},function(t,e,n){"use strict";var r=n(3),i=n(19),o=n(0),a=n(9);e.a=function(t,e){if(!Object(o.a)(t))return null;var n;if(Object(r.a)(e)&&(n=e),Object(a.a)(e)&&(n=function(t){return Object(i.a)(t,e)}),n)for(var s=0;s<t.length;s+=1)if(n(t[s]))return t[s];return null}},function(t,e,n){"use strict";e.a=function(t,e,n){void 0===n&&(n=0);for(var r=n;r<t.length;r++)if(e(t[r],r))return r;return-1}},function(t,e,n){"use strict";var r=n(6),i=n(0);e.a=function(t,e){for(var n=null,o=0;o<t.length;o++){var a=t[o][e];if(!Object(r.a)(a)){n=Object(i.a)(a)?a[0]:a;break}}return n}},function(t,e,n){"use strict";var r=n(0);e.a=function(t){if(!Object(r.a)(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},function(t,e,n){"use strict";var r=n(0),i=function(t,e){if(void 0===e&&(e=[]),Object(r.a)(t))for(var n=0;n<t.length;n+=1)i(t[n],e);else e.push(t);return e};e.a=i},function(t,e,n){"use strict";var r=n(0),i=n(14);e.a=function(t){if(!(t=Object(i.a)(t,(function(t){return!isNaN(t)}))).length)return{min:0,max:0};if(Object(r.a)(t[0])){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);t=e}var o=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:o}}},function(t,e,n){"use strict";var r=Array.prototype,i=r.splice,o=r.indexOf;e.a=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++)for(var a=e[r],s=-1;(s=o.call(t,a))>-1;)i.call(t,s,1);return t}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(9);e.a=function(t,e,n){if(!Object(i.a)(t)&&!Object(o.a)(t))return t;var a=n;return Object(r.a)(t,(function(t,n){a=e(a,t,n)})),a}},function(t,e,n){"use strict";var r=n(1),i=n(21);e.a=function(t,e){var n=[];if(!Object(r.a)(t))return n;for(var o=-1,a=[],s=t.length;++o<s;){var u=t[o];e(u,o,t)&&(n.push(u),a.push(o))}return Object(i.a)(t,a),n}},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(3);e.a=function(t,e){var n;if(Object(o.a)(e))n=function(t,n){return e(t)-e(n)};else{var a=[];Object(i.a)(e)?a.push(e):Object(r.a)(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var r=a[n];if(t[r]>e[r])return 1;if(t[r]<e[r])return-1}return 0}}return t.sort(n),t}},function(t,e,n){"use strict";var r=n(22);e.a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Object(r.a)([].concat.apply([],t))}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(6);e.a=function(t,e){var n=[],a={};return t.forEach((function(t){var s=t[e];Object(o.a)(s)||(Object(i.a)(s)||(s=[s]),Object(r.a)(s,(function(t){a[t]||(n.push(t),a[t]=!0)})))})),n}},function(t,e,n){"use strict";e.a=function(t){if(Object(r.a)(t))return t[0]};var r=n(1)},function(t,e,n){"use strict";e.a=function(t){if(Object(r.a)(t))return t[t.length-1]};var r=n(1)},function(t,e,n){"use strict";var r=n(0),i=n(8);e.a=function(t,e){return!(!Object(r.a)(t)&&!Object(i.a)(t))&&t[0]===e}},function(t,e,n){"use strict";var r=n(0),i=n(8);e.a=function(t,e){return!(!Object(r.a)(t)&&!Object(i.a)(t))&&t[t.length-1]===e}},function(t,e,n){"use strict";e.a=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0}},function(t,e,n){"use strict";e.a=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1}},function(t,e,n){"use strict";var r=n(23);e.a=function(t,e){if(!e)return[t];var n=Object(r.a)(t,e),i=[];for(var o in n)i.push(n[o]);return i}},function(t,e,n){"use strict";e.a=function(t,e){return t["_wrap_"+e]}},function(t,e,n){"use strict";e.a=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}},function(t,e,n){"use strict";var r={};e.a=function(t){var e=r[t];if(!e){for(var n=t.toString(16),i=n.length;i<6;i++)n="0"+n;e="#"+n,r[t]=e}return e}},function(t,e,n){"use strict";var r=n(0);e.a=function(t){var e=0,n=0,i=0,o=0;return Object(r.a)(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,{r1:e,r2:n,r3:i,r4:o}}},function(t,e,n){"use strict";e.a=function(t,e,n){return t<e?e:t>n?n:t}},function(t,e,n){"use strict";e.a=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t%1!=0}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t%2==0}},function(t,e,n){"use strict";var r=n(5),i=Number.isInteger?Number.isInteger:function(t){return Object(r.a)(t)&&t%1==0};e.a=i},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t<0}},function(t,e,n){"use strict";e.a=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t%2!=0}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t>0}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3);e.a=function(t,e){if(Object(i.a)(t)){var n,a,s=t[0];return n=Object(o.a)(e)?e(t[0]):t[0][e],Object(r.a)(t,(function(t){(a=Object(o.a)(e)?e(t):t[e])>n&&(s=t,n=a)})),s}}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3);e.a=function(t,e){if(Object(i.a)(t)){var n,a,s=t[0];return n=Object(o.a)(e)?e(t[0]):t[0][e],Object(r.a)(t,(function(t){(a=Object(o.a)(e)?e(t):t[e])<n&&(s=t,n=a)})),s}}},function(t,e,n){"use strict";e.a=function(t,e){return(t%e+e)%e}},function(t,e,n){"use strict";var r=180/Math.PI;e.a=function(t){return r*t}},function(t,e,n){"use strict";e.a=parseInt},function(t,e,n){"use strict";var r=Math.PI/180;e.a=function(t){return r*t}},function(t,e,n){"use strict";var r=n(2);e.a=r.a},function(t,e,n){"use strict";var r=n(25);e.a=r.a},function(t,e,n){"use strict";var r=n(12),i=n(26);e.a=function(t,e){return Object(r.a)(Object(i.a)(t),e)}},function(t,e,n){"use strict";var r=n(10);e.a=function(t){return Object(r.a)(t).toLowerCase()}},function(t,e,n){"use strict";var r=n(10);e.a=function(t){var e=Object(r.a)(t);return e.charAt(0).toLowerCase()+e.substring(1)}},function(t,e,n){"use strict";e.a=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}},function(t,e,n){"use strict";var r=n(10);e.a=function(t){return Object(r.a)(t).toUpperCase()}},function(t,e,n){"use strict";var r=n(10);e.a=function(t){var e=Object(r.a)(t);return e.charAt(0).toUpperCase()+e.substring(1)}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Arguments")}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Boolean")}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Date")}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"Error")}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&isFinite(t)}},function(t,e,n){"use strict";e.a=function(t){return null===t}},function(t,e,n){"use strict";var r=n(4);e.a=function(t){return Object(r.a)(t,"RegExp")}},function(t,e,n){"use strict";e.a=function(t){return void 0===t}},function(t,e,n){"use strict";e.a=function(t){return t instanceof Element||t instanceof HTMLDocument}},function(t,e,n){"use strict";e.a=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}},function(t,e,n){"use strict";e.a=function(t){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}},function(t,e,n){"use strict";var r=n(16),i=n(3);e.a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],o=1;o<t.length;o++){var a=t[o];Object(i.a)(a)&&(a=a.prototype),Object(r.a)(n.prototype,a)}}},function(t,e,n){"use strict";var r=n(0),i=function(t){if("object"!=typeof t||null===t)return t;var e;if(Object(r.a)(t)){e=[];for(var n=0,o=t.length;n<o;n++)"object"==typeof t[n]&&null!=t[n]?e[n]=i(t[n]):e[n]=t[n]}else for(var a in e={},t)"object"==typeof t[a]&&null!=t[a]?e[a]=i(t[a]):e[a]=t[a];return e};e.a=i},function(t,e,n){"use strict";e.a=function(t,e,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||t.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,e),s&&t.apply(i,o)}}},function(t,e,n){"use strict";var r=n(3);e.a=function(t,e){if(!Object(r.a)(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,r);return a.set(o,s),s};return n.cache=new Map,n}},function(t,e,n){"use strict";var r=n(0),i=n(9);function o(t,e,n,a){for(var s in n=n||0,a=a||5,e)if(e.hasOwnProperty(s)){var u=e[s];null!==u&&Object(i.a)(u)?(Object(i.a)(t[s])||(t[s]={}),n<a?o(t[s],u,n+1,a):t[s]=e[s]):Object(r.a)(u)?(t[s]=[],t[s]=t[s].concat(u)):void 0!==u&&(t[s]=u)}}e.a=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)o(t,e[r]);return t}},function(t,e,n){"use strict";var r=n(16),i=n(3);e.a=function(t,e,n,o){Object(i.a)(e)||(n=e,e=t,t=function(){});var a=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},s=a(e.prototype,t);return t.prototype=Object(r.a)(s,t.prototype),t.superclass=a(e.prototype,e),Object(r.a)(s,n),Object(r.a)(t,o),t}},function(t,e,n){"use strict";var r=n(1);e.a=function(t,e){if(!Object(r.a)(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var i=-1,o=0;o<t.length;o++)if(t[o]===e){i=o;break}return i}},function(t,e,n){"use strict";var r=n(6),i=n(1),o=n(27),a=n(28),s=Object.prototype.hasOwnProperty;e.a=function(t){if(Object(r.a)(t))return!0;if(Object(i.a)(t))return!t.length;var e=Object(o.a)(t);if("Map"===e||"Set"===e)return!t.size;if(Object(a.a)(t))return!Object.keys(t).length;for(var n in t)if(s.call(t,n))return!1;return!0}},function(t,e,n){"use strict";var r=n(3),i=n(29);e.a=function(t,e,n){return Object(r.a)(n)?!!n(t,e):Object(i.a)(t,e)}},function(t,e,n){"use strict";var r=n(2),i=n(1);e.a=function(t,e){if(!Object(i.a)(t))return t;var n=[];return Object(r.a)(t,(function(t,r){n.push(e(t,r))})),n}},function(t,e,n){"use strict";var r=n(6),i=n(13),o=function(t){return t};e.a=function(t,e){void 0===e&&(e=o);var n={};return Object(i.a)(t)&&!Object(r.a)(t)&&Object.keys(t).forEach((function(r){n[r]=e(t[r],r)})),n}},function(t,e,n){"use strict";var r=n(8);e.a=function(t,e,n){for(var i=0,o=Object(r.a)(e)?e.split("."):e;t&&i<o.length;)t=t[o[i++]];return void 0===t||i<o.length?n:t}},function(t,e,n){"use strict";var r=n(13),i=n(8),o=n(5);e.a=function(t,e,n){var a=t,s=Object(i.a)(e)?e.split("."):e;return s.forEach((function(t,e){e<s.length-1?(Object(r.a)(a[t])||(a[t]=Object(o.a)(s[e+1])?[]:{}),a=a[t]):a[t]=n})),t}},function(t,e,n){"use strict";var r=n(2),i=n(9),o=Object.prototype.hasOwnProperty;e.a=function(t,e){if(null===t||!Object(i.a)(t))return{};var n={};return Object(r.a)(e,(function(e){o.call(t,e)&&(n[e]=t[e])})),n}},function(t,e,n){"use strict";e.a=function(t,e,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var c=e-(l-s);return i=this,o=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}},function(t,e,n){"use strict";var r=n(1);e.a=function(t){return Object(r.a)(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";var r={};e.a=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";e.a=function(t){return Object(r.a)(t)?0:Object(i.a)(t)?t.length:Object.keys(t).length};var r=n(6),i=n(1)},function(t,e,n){"use strict";var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.a=r},function(t,e){function n(t,e,n,r){void 0===r&&(r=[]);var i=this;i.w=t||0,i.h=e||0,i.y=n||0,i.x=0,i.c=r||[],i.cs=r.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0}function r(t,e){var n=function t(e,n){var r=n?e.y:e.x;return e.children.forEach((function(e){r=Math.min(t(e,n),r)})),r}(t,e);!function t(e,n,r){r?e.y+=n:e.x+=n,e.children.forEach((function(e){t(e,n,r)}))}(t,-n,e)}n.fromNode=function(t,e){if(!t)return null;var r=[];return t.children.forEach((function(t){r.push(n.fromNode(t,e))})),e?new n(t.height,t.width,t.x,r):new n(t.width,t.height,t.y,r)},t.exports=function(t,e){void 0===e&&(e={});var i=e.isHorizontal;function o(t){0===t.cs?(t.el=t,t.er=t,t.msel=t.mser=0):(t.el=t.c[0].el,t.msel=t.c[0].msel,t.er=t.c[t.cs-1].er,t.mser=t.c[t.cs-1].mser)}function a(t,e,n){for(var r=t.c[e-1],i=r.mod,o=t.c[e],a=o.mod;null!==r&&null!==o;){c(r)>n.low&&(n=n.nxt);var f=i+r.prelim+r.w-(a+o.prelim);f>0&&(a+=f,s(t,e,n.index,f));var d=c(r),h=c(o);d<=h&&null!==(r=l(r))&&(i+=r.mod),d>=h&&null!==(o=u(o))&&(a+=o.mod)}!r&&o?function(t,e,n,r){var i=t.c[0].el;i.tl=n;var o=r-n.mod-t.c[0].msel;i.mod+=o,i.prelim-=o,t.c[0].el=t.c[e].el,t.c[0].msel=t.c[e].msel}(t,e,o,a):r&&!o&&function(t,e,n,r){var i=t.c[e].er;i.tr=n;var o=r-n.mod-t.c[e].mser;i.mod+=o,i.prelim-=o,t.c[e].er=t.c[e-1].er,t.c[e].mser=t.c[e-1].mser}(t,e,r,i)}function s(t,e,n,r){t.c[e].mod+=r,t.c[e].msel+=r,t.c[e].mser+=r,function(t,e,n,r){if(n!==e-1){var i=e-n;t.c[n+1].shift+=r/i,t.c[e].shift-=r/i,t.c[e].change-=r-r/i}}(t,e,n,r)}function u(t){return 0===t.cs?t.tl:t.c[0]}function l(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function c(t){return t.y+t.h}function f(t,e,n){for(;null!==n&&t>=n.low;)n=n.nxt;return{low:t,index:e,nxt:n}}!function t(e,n,r){void 0===r&&(r=0),n?(e.x=r,r+=e.width):(e.y=r,r+=e.height),e.children.forEach((function(e){t(e,n,r)}))}(t,i);var d=n.fromNode(t,i);return function t(e){if(0!==e.cs){t(e.c[0]);for(var n=f(c(e.c[0].el),0,null),r=1;r<e.cs;++r){t(e.c[r]);var i=c(e.c[r].er);a(e,r,n),n=f(i,r,n)}!function(t){t.prelim=(t.c[0].prelim+t.c[0].mod+t.c[t.cs-1].mod+t.c[t.cs-1].prelim+t.c[t.cs-1].w)/2-t.w/2}(e),o(e)}else o(e)}(d),function t(e,n){n+=e.mod,e.x=e.prelim+n,function(t){for(var e=0,n=0,r=0;r<t.cs;r++)e+=t.c[r].shift,n+=e+t.c[r].change,t.c[r].mod+=n}(e);for(var r=0;r<e.cs;r++)t(e.c[r],n)}(d,0),function t(e,n,r){r?n.y=e.x:n.x=e.x,e.c.forEach((function(e,i){t(e,n.children[i],r)}))}(d,t,i),r(t,i),t}},function(t,e,n){var r=n(11),i=n(115),o=n(17),a=n(7),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return this.rootNode.width=0,o(this.rootNode,this.options,i)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){var r=n(7);function i(t,e){void 0===t&&(t=0),void 0===e&&(e=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=e}var o={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},o,e);var n,a=0,s=function t(e){if(!e)return null;e.width=0,e.depth&&e.depth>a&&(a=e.depth);var n=e.children,r=n.length,o=new i(e.height,[]);return n.forEach((function(e,n){var i=t(e);o.children.push(i),0===n&&(o.leftChild=i),n===r-1&&(o.rightChild=i)})),o.originNode=e,o.isLeaf=e.isLeaf(),o}(t);return function t(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=a;else{var n=e.children.map((function(e){return t(e)})),r=Math.min.apply(null,n);e.drawingDepth=r-1}return e.drawingDepth}(s),function t(r){r.x=r.drawingDepth*e.rankSep,r.isLeaf?(r.y=0,n&&(r.y=n.y+n.height+e.nodeSep,r.originNode.parent!==n.originNode.parent&&(r.y+=e.subTreeSep)),n=r):(r.children.forEach((function(e){t(e)})),r.y=(r.leftChild.y+r.rightChild.y)/2)}(s),function t(e,n,r){r?(n.x=e.x,n.y=e.y):(n.x=e.y,n.y=e.x),e.children.forEach((function(e,i){t(e,n.children[i],r)}))}(s,t,e.isHorizontal),t}},function(t,e,n){var r=n(11),i=n(117),o=n(30),a=n(7),s=["LR","RL","H"],u=s[0],l=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){var t=this.options,e=this.rootNode;t.isHorizontal=!0;var n=t.indent,r=void 0===n?20:n,a=t.dropCap,l=void 0===a||a,c=t.direction||u;if(c&&-1===s.indexOf(c))throw new TypeError("Invalid direction: "+c);if(c===s[0])i(e,r,l);else if(c===s[1])i(e,r,l),e.right2left();else if(c===s[2]){var f=o(e,t),d=f.left,h=f.right;i(d,r,l),d.right2left(),i(h,r,l);var p=d.getBoundingBox();h.translate(p.width,0),e.x=h.x-e.width/2}return e},r}(r),c={};t.exports=function(t,e){return e=a.assign({},c,e),new l(t,e).execute()}},function(t,e){t.exports=function(t,e,n){var r=null;t.eachNode((function(t){!function(t,e,n,r){if(!r)try{if(t.id===t.parent.children[0].id)return t.x+=n*t.depth,void(t.y=e?e.y:0)}catch(t){}t.x+=n*t.depth,t.y=e?e.y+e.height:0}(t,r,e,n),r=t}))}},function(t,e,n){var r=n(11),i=n(119),o=n(17),a=n(7),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return o(this.rootNode,this.options,i)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){var r=n(7),i={getSubTreeSep:function(){return 0}};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},i,e),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse((function(t){t.x=t.parent.x+t.parent.width})),t.parent=null,function t(e,n){var r=0;return e.children.length?e.children.forEach((function(e){r+=t(e,n)})):r=e.height,e._subTreeSep=n.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,r)+2*e._subTreeSep,e.totalHeight}(t,e),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode((function(t){var e=t.children,n=e.length;if(n){var r=e[0];if(r.startY=t.startY+t._subTreeSep,1===n)r.y=t.y+t.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var i=1;i<n;i++){var o=e[i];o.startY=e[i-1].startY+e[i-1].totalHeight,o.y=o.startY+o.totalHeight/2-o.height/2}}}})),function t(e){var n=e.children,r=n.length;if(r){n.forEach((function(e){t(e)}));var i=n[0],o=n[r-1],a=o.y-i.y+o.height,s=0;if(n.forEach((function(t){s+=t.totalHeight})),a>e.height)e.y=i.y+a/2-e.height/2;else if(1!==n.length||e.height>s){var u=e.y+(e.height-a)/2-i.y;n.forEach((function(t){t.translate(0,u)}))}else e.y=(i.y+i.height/2+o.y+o.height/2)/2-e.height/2}}(t)}}])},t.exports=r()},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/augment.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/augment.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./mix */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mix.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],o=1;o<t.length;o++){var a=t[o];i.default(a)&&(a=a.prototype),r.default(n.prototype,a)}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/cache.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/cache.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clamp.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/clamp.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return t<e?e:t>n?n:t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clear-animation-frame.js":
- /*!*********************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/clear-animation-frame.js ***!
- \*********************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clone.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/clone.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=function(t){if("object"!=typeof t||null===t)return t;var e;if(r.default(t)){e=[];for(var n=0,o=t.length;n<o;n++)"object"==typeof t[n]&&null!=t[n]?e[n]=i(t[n]):e[n]=t[n]}else for(var a in e={},t)"object"==typeof t[a]&&null!=t[a]?e[a]=i(t[a]):e[a]=t[a];return e};e.default=i},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t,e){return!!r.default(t)&&t.indexOf(e)>-1}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/debounce.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/debounce.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||t.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,e),s&&t.apply(i,o)}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/deep-mix.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/deep-mix.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js");function o(t,e,n,a){for(var s in n=n||0,a=a||5,e)if(e.hasOwnProperty(s)){var u=e[s];null!==u&&i.default(u)?(i.default(t[s])||(t[s]={}),n<a?o(t[s],u,n+1,a):t[s]=e[s]):r.default(u)?(t[s]=[],t[s]=t[s].concat(u)):void 0!==u&&(t[s]=u)}}e.default=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)o(t,e[r]);return t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/difference.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/difference.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./filter */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/filter.js"),i=n(/*! ./contains */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js");e.default=function(t,e){return void 0===e&&(e=[]),r.default(t,(function(t){return!i.default(e,t)}))}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js");e.default=function(t,e){if(t)if(r.default(t))for(var n=0,o=t.length;n<o&&!1!==e(t[n],n);n++);else if(i.default(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/ends-with.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/ends-with.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js");e.default=function(t,e){return!(!r.default(t)&&!i.default(t))&&t[t.length-1]===e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/every.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/every.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/extend.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/extend.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./mix */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mix.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(t,e,n,o){i.default(e)||(n=e,e=t,t=function(){});var a=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},s=a(e.prototype,t);return t.prototype=r.default(s,t.prototype),t.superclass=a(e.prototype,e),r.default(s,n),r.default(t,o),t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/filter.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/filter.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!r.default(t))return t;for(var n=[],i=0;i<t.length;i++){var o=t[i];e(o,i)&&n.push(o)}return n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/find-index.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/find-index.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){void 0===n&&(n=0);for(var r=n;r<t.length;r++)if(e(t[r],r))return r;return-1}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/find.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/find.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),i=n(/*! ./is-match */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-match.js"),o=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),a=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js");e.default=function(t,e){if(!o.default(t))return null;var n;if(r.default(e)&&(n=e),a.default(e)&&(n=function(t){return i.default(t,e)}),n)for(var s=0;s<t.length;s+=1)if(n(t[s]))return t[s];return null}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/first-value.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/first-value.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),i=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js");e.default=function(t,e){for(var n=null,o=0;o<t.length;o++){var a=t[o][e];if(!r.default(a)){n=i.default(a)?a[0]:a;break}}return n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/fixed-base.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/fixed-base.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten-deep.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten-deep.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=function(t,e){if(void 0===e&&(e=[]),r.default(t))for(var n=0;n<t.length;n+=1)i(t[n],e);else e.push(t);return e};e.default=i},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js");e.default=function(t){if(!r.default(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/for-in.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/for-in.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js");e.default=r.default},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-range.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-range.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js");e.default=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(r.default(t[0])){for(var n=[],i=0;i<t.length;i++)n=n.concat(t[i]);e=n}var o=Math.max.apply(null,e);return{min:Math.min.apply(null,e),max:o}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-type.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-type.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString;e.default=function(t){return r.call(t).replace(/^\[object /,"").replace(/]$/,"")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-wrap-behavior.js":
- /*!*****************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-wrap-behavior.js ***!
- \*****************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t["_wrap_"+e]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/get.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js");e.default=function(t,e,n){for(var i=0,o=r.default(e)?e.split("."):e;t&&i<o.length;)t=t[o[i++]];return void 0===t||i<o.length?n:t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-by.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-by.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),o=Object.prototype.hasOwnProperty;e.default=function(t,e){if(!e||!r.default(t))return{};for(var n,a={},s=i.default(e)?e:function(t){return t[e]},u=0;u<t.length;u++){var l=t[u];n=s(l),o.call(a,n)?a[n].push(l):a[n]=[l]}return a}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-to-map.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-to-map.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),o=n(/*! ./group-by */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-by.js");e.default=function(t,e){if(!e)return{0:t};if(!i.default(e)){var n=r.default(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,i=n.length;r<i;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}return o.default(t,e)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/group.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./group-to-map */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-to-map.js");e.default=function(t,e){if(!e)return[t];var n=r.default(t,e),i=[];for(var o in n)i.push(n[o]);return i}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-key.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-key.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./has */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has.js");e.default=r.default},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-value.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-value.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./contains */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js"),i=n(/*! ./values */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/values.js");e.default=function(t,e){return r.default(i.default(t),e)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/has.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.hasOwnProperty(e)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/head.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/head.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t){if(r.default(t))return t[0]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/identity.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/identity.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index-of.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/index-of.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!r.default(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var i=-1,o=0;o<t.length;o++)if(t[o]===e){i=o;break}return i}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./contains */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js");Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return r.default}});var i=n(/*! ./difference */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/difference.js");Object.defineProperty(e,"difference",{enumerable:!0,get:function(){return i.default}});var o=n(/*! ./find */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/find.js");Object.defineProperty(e,"find",{enumerable:!0,get:function(){return o.default}});var a=n(/*! ./find-index */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/find-index.js");Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return a.default}});var s=n(/*! ./first-value */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/first-value.js");Object.defineProperty(e,"firstValue",{enumerable:!0,get:function(){return s.default}});var u=n(/*! ./flatten */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten.js");Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return u.default}});var l=n(/*! ./flatten-deep */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten-deep.js");Object.defineProperty(e,"flattenDeep",{enumerable:!0,get:function(){return l.default}});var c=n(/*! ./get-range */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-range.js");Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return c.default}});var f=n(/*! ./pull */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull.js");Object.defineProperty(e,"pull",{enumerable:!0,get:function(){return f.default}});var d=n(/*! ./pull-at */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull-at.js");Object.defineProperty(e,"pullAt",{enumerable:!0,get:function(){return d.default}});var h=n(/*! ./reduce */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/reduce.js");Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return h.default}});var p=n(/*! ./remove */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/remove.js");Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return p.default}});var v=n(/*! ./sort-by */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/sort-by.js");Object.defineProperty(e,"sortBy",{enumerable:!0,get:function(){return v.default}});var g=n(/*! ./union */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/union.js");Object.defineProperty(e,"union",{enumerable:!0,get:function(){return g.default}});var m=n(/*! ./uniq */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/uniq.js");Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return m.default}});var y=n(/*! ./values-of-key */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/values-of-key.js");Object.defineProperty(e,"valuesOfKey",{enumerable:!0,get:function(){return y.default}});var _=n(/*! ./head */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/head.js");Object.defineProperty(e,"head",{enumerable:!0,get:function(){return _.default}});var b=n(/*! ./last */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/last.js");Object.defineProperty(e,"last",{enumerable:!0,get:function(){return b.default}});var x=n(/*! ./starts-with */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/starts-with.js");Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return x.default}});var w=n(/*! ./ends-with */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/ends-with.js");Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return w.default}});var j=n(/*! ./filter */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/filter.js");Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return j.default}});var S=n(/*! ./every */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/every.js");Object.defineProperty(e,"every",{enumerable:!0,get:function(){return S.default}});var O=n(/*! ./some */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/some.js");Object.defineProperty(e,"some",{enumerable:!0,get:function(){return O.default}});var k=n(/*! ./group */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group.js");Object.defineProperty(e,"group",{enumerable:!0,get:function(){return k.default}});var E=n(/*! ./group-by */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-by.js");Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return E.default}});var C=n(/*! ./group-to-map */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/group-to-map.js");Object.defineProperty(e,"groupToMap",{enumerable:!0,get:function(){return C.default}});var M=n(/*! ./get-wrap-behavior */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-wrap-behavior.js");Object.defineProperty(e,"getWrapBehavior",{enumerable:!0,get:function(){return M.default}});var T=n(/*! ./wrap-behavior */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/wrap-behavior.js");Object.defineProperty(e,"wrapBehavior",{enumerable:!0,get:function(){return T.default}});var P=n(/*! ./number2color */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/number2color.js");Object.defineProperty(e,"number2color",{enumerable:!0,get:function(){return P.default}});var A=n(/*! ./parse-radius */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/parse-radius.js");Object.defineProperty(e,"parseRadius",{enumerable:!0,get:function(){return A.default}});var I=n(/*! ./clamp */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clamp.js");Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return I.default}});var N=n(/*! ./fixed-base */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/fixed-base.js");Object.defineProperty(e,"fixedBase",{enumerable:!0,get:function(){return N.default}});var D=n(/*! ./is-decimal */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-decimal.js");Object.defineProperty(e,"isDecimal",{enumerable:!0,get:function(){return D.default}});var R=n(/*! ./is-even */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-even.js");Object.defineProperty(e,"isEven",{enumerable:!0,get:function(){return R.default}});var L=n(/*! ./is-integer */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-integer.js");Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return L.default}});var B=n(/*! ./is-negative */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-negative.js");Object.defineProperty(e,"isNegative",{enumerable:!0,get:function(){return B.default}});var $=n(/*! ./is-number-equal */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number-equal.js");Object.defineProperty(e,"isNumberEqual",{enumerable:!0,get:function(){return $.default}});var F=n(/*! ./is-odd */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-odd.js");Object.defineProperty(e,"isOdd",{enumerable:!0,get:function(){return F.default}});var z=n(/*! ./is-positive */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-positive.js");Object.defineProperty(e,"isPositive",{enumerable:!0,get:function(){return z.default}});var V=n(/*! ./max-by */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/max-by.js");Object.defineProperty(e,"maxBy",{enumerable:!0,get:function(){return V.default}});var q=n(/*! ./min-by */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/min-by.js");Object.defineProperty(e,"minBy",{enumerable:!0,get:function(){return q.default}});var H=n(/*! ./mod */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mod.js");Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return H.default}});var G=n(/*! ./to-degree */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-degree.js");Object.defineProperty(e,"toDegree",{enumerable:!0,get:function(){return G.default}});var U=n(/*! ./to-integer */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-integer.js");Object.defineProperty(e,"toInteger",{enumerable:!0,get:function(){return U.default}});var Y=n(/*! ./to-radian */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-radian.js");Object.defineProperty(e,"toRadian",{enumerable:!0,get:function(){return Y.default}});var W=n(/*! ./for-in */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/for-in.js");Object.defineProperty(e,"forIn",{enumerable:!0,get:function(){return W.default}});var X=n(/*! ./has */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has.js");Object.defineProperty(e,"has",{enumerable:!0,get:function(){return X.default}});var K=n(/*! ./has-key */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-key.js");Object.defineProperty(e,"hasKey",{enumerable:!0,get:function(){return K.default}});var Z=n(/*! ./has-value */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/has-value.js");Object.defineProperty(e,"hasValue",{enumerable:!0,get:function(){return Z.default}});var Q=n(/*! ./keys */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js");Object.defineProperty(e,"keys",{enumerable:!0,get:function(){return Q.default}});var J=n(/*! ./is-match */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-match.js");Object.defineProperty(e,"isMatch",{enumerable:!0,get:function(){return J.default}});var tt=n(/*! ./values */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/values.js");Object.defineProperty(e,"values",{enumerable:!0,get:function(){return tt.default}});var et=n(/*! ./lower-case */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-case.js");Object.defineProperty(e,"lowerCase",{enumerable:!0,get:function(){return et.default}});var nt=n(/*! ./lower-first */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-first.js");Object.defineProperty(e,"lowerFirst",{enumerable:!0,get:function(){return nt.default}});var rt=n(/*! ./substitute */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/substitute.js");Object.defineProperty(e,"substitute",{enumerable:!0,get:function(){return rt.default}});var it=n(/*! ./upper-case */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-case.js");Object.defineProperty(e,"upperCase",{enumerable:!0,get:function(){return it.default}});var ot=n(/*! ./upper-first */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-first.js");Object.defineProperty(e,"upperFirst",{enumerable:!0,get:function(){return ot.default}});var at=n(/*! ./get-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-type.js");Object.defineProperty(e,"getType",{enumerable:!0,get:function(){return at.default}});var st=n(/*! ./is-arguments */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-arguments.js");Object.defineProperty(e,"isArguments",{enumerable:!0,get:function(){return st.default}});var ut=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js");Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return ut.default}});var lt=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");Object.defineProperty(e,"isArrayLike",{enumerable:!0,get:function(){return lt.default}});var ct=n(/*! ./is-boolean */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-boolean.js");Object.defineProperty(e,"isBoolean",{enumerable:!0,get:function(){return ct.default}});var ft=n(/*! ./is-date */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-date.js");Object.defineProperty(e,"isDate",{enumerable:!0,get:function(){return ft.default}});var dt=n(/*! ./is-error */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-error.js");Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return dt.default}});var ht=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return ht.default}});var pt=n(/*! ./is-finite */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-finite.js");Object.defineProperty(e,"isFinite",{enumerable:!0,get:function(){return pt.default}});var vt=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js");Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return vt.default}});var gt=n(/*! ./is-null */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-null.js");Object.defineProperty(e,"isNull",{enumerable:!0,get:function(){return gt.default}});var mt=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");Object.defineProperty(e,"isNumber",{enumerable:!0,get:function(){return mt.default}});var yt=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js");Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return yt.default}});var _t=n(/*! ./is-object-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object-like.js");Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return _t.default}});var bt=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js");Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return bt.default}});var xt=n(/*! ./is-prototype */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js");Object.defineProperty(e,"isPrototype",{enumerable:!0,get:function(){return xt.default}});var wt=n(/*! ./is-reg-exp */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-reg-exp.js");Object.defineProperty(e,"isRegExp",{enumerable:!0,get:function(){return wt.default}});var jt=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js");Object.defineProperty(e,"isString",{enumerable:!0,get:function(){return jt.default}});var St=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return St.default}});var Ot=n(/*! ./is-undefined */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-undefined.js");Object.defineProperty(e,"isUndefined",{enumerable:!0,get:function(){return Ot.default}});var kt=n(/*! ./is-element */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-element.js");Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return kt.default}});var Et=n(/*! ./request-animation-frame */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/request-animation-frame.js");Object.defineProperty(e,"requestAnimationFrame",{enumerable:!0,get:function(){return Et.default}});var Ct=n(/*! ./clear-animation-frame */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clear-animation-frame.js");Object.defineProperty(e,"clearAnimationFrame",{enumerable:!0,get:function(){return Ct.default}});var Mt=n(/*! ./augment */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/augment.js");Object.defineProperty(e,"augment",{enumerable:!0,get:function(){return Mt.default}});var Tt=n(/*! ./clone */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clone.js");Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return Tt.default}});var Pt=n(/*! ./debounce */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/debounce.js");Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return Pt.default}});var At=n(/*! ./memoize */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/memoize.js");Object.defineProperty(e,"memoize",{enumerable:!0,get:function(){return At.default}});var It=n(/*! ./deep-mix */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/deep-mix.js");Object.defineProperty(e,"deepMix",{enumerable:!0,get:function(){return It.default}});var Nt=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js");Object.defineProperty(e,"each",{enumerable:!0,get:function(){return Nt.default}});var Dt=n(/*! ./extend */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/extend.js");Object.defineProperty(e,"extend",{enumerable:!0,get:function(){return Dt.default}});var Rt=n(/*! ./index-of */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index-of.js");Object.defineProperty(e,"indexOf",{enumerable:!0,get:function(){return Rt.default}});var Lt=n(/*! ./is-empty */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-empty.js");Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Lt.default}});var Bt=n(/*! ./is-equal */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal.js");Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return Bt.default}});var $t=n(/*! ./is-equal-with */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal-with.js");Object.defineProperty(e,"isEqualWith",{enumerable:!0,get:function(){return $t.default}});var Ft=n(/*! ./map */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map.js");Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Ft.default}});var zt=n(/*! ./map-values */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map-values.js");Object.defineProperty(e,"mapValues",{enumerable:!0,get:function(){return zt.default}});var Vt=n(/*! ./mix */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mix.js");Object.defineProperty(e,"mix",{enumerable:!0,get:function(){return Vt.default}}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return Vt.default}});var qt=n(/*! ./get */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get.js");Object.defineProperty(e,"get",{enumerable:!0,get:function(){return qt.default}});var Ht=n(/*! ./set */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/set.js");Object.defineProperty(e,"set",{enumerable:!0,get:function(){return Ht.default}});var Gt=n(/*! ./pick */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pick.js");Object.defineProperty(e,"pick",{enumerable:!0,get:function(){return Gt.default}});var Ut=n(/*! ./throttle */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/throttle.js");Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Ut.default}});var Yt=n(/*! ./to-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-array.js");Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Yt.default}});var Wt=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js");Object.defineProperty(e,"toString",{enumerable:!0,get:function(){return Wt.default}});var Xt=n(/*! ./unique-id */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/unique-id.js");Object.defineProperty(e,"uniqueId",{enumerable:!0,get:function(){return Xt.default}});var Kt=n(/*! ./noop */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/noop.js");Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return Kt.default}});var Zt=n(/*! ./identity */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/identity.js");Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return Zt.default}});var Qt=n(/*! ./size */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/size.js");Object.defineProperty(e,"size",{enumerable:!0,get:function(){return Qt.default}});var Jt=n(/*! ./cache */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/cache.js");Object.defineProperty(e,"Cache",{enumerable:!0,get:function(){return Jt.default}})},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-arguments.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-arguments.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Arguments")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return Array.isArray?Array.isArray(t):r.default(t,"Array")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-boolean.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-boolean.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Boolean")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-date.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-date.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Date")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-decimal.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-decimal.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%1!=0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-element.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-element.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t instanceof Element||t instanceof HTMLDocument}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-empty.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-empty.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),i=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),o=n(/*! ./get-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/get-type.js"),a=n(/*! ./is-prototype */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js"),s=Object.prototype.hasOwnProperty;e.default=function(t){if(r.default(t))return!0;if(i.default(t))return!t.length;var e=o.default(t);if("Map"===e||"Set"===e)return!t.size;if(a.default(t))return!Object.keys(t).length;for(var n in t)if(s.call(t,n))return!1;return!0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal-with.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal-with.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),i=n(/*! ./is-equal */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal.js");e.default=function(t,e,n){return r.default(n)?!!n(t,e):i.default(t,e)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-equal.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-object-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object-like.js"),i=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),o=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js"),a=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(o.default(t)||o.default(e))return!1;if(i.default(t)||i.default(e)){if(t.length!==e.length)return!1;for(var n=!0,s=0;s<t.length&&(n=a(t[s],e[s]));s++);return n}if(r.default(t)||r.default(e)){var u=Object.keys(t),l=Object.keys(e);if(u.length!==l.length)return!1;for(n=!0,s=0;s<u.length&&(n=a(t[u[s]],e[u[s]]));s++);return n}return!1};e.default=a},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-error.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-error.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Error")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-even.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-even.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%2==0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-finite.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-finite.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&isFinite(t)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Function")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-integer.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-integer.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js"),i=Number.isInteger?Number.isInteger:function(t){return r.default(t)&&t%1==0};e.default=i},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-match.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-match.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),i=n(/*! ./keys */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js");e.default=function(t,e){var n=i.default(e),o=n.length;if(r.default(t))return!o;for(var a=0;a<o;a+=1){var s=n[a];if(e[s]!==t[s]||!(s in t))return!1}return!0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-negative.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-negative.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t<0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null==t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-null.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-null.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null===t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number-equal.js":
- /*!***************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number-equal.js ***!
- \***************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Number")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object-like.js":
- /*!**************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object-like.js ***!
- \**************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"object"==typeof t&&null!==t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-odd.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-odd.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%2!=0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js":
- /*!***************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js ***!
- \***************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-object-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object-like.js"),i=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){if(!r.default(t)||!i.default(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-positive.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-positive.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t>0}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.prototype;e.default=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-reg-exp.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-reg-exp.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"RegExp")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"String")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-undefined.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-undefined.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return void 0===t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),o=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return r.default(t,(function(n,r){i.default(t)&&"prototype"===r||e.push(r)})),e};e.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/last.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/last.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t){if(r.default(t))return t[t.length-1]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-case.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-case.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js");e.default=function(t){return r.default(t).toLowerCase()}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-first.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-first.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js");e.default=function(t){var e=r.default(t);return e.charAt(0).toLowerCase()+e.substring(1)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map-values.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/map-values.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),i=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js"),o=function(t){return t};e.default=function(t,e){void 0===e&&(e=o);var n={};return i.default(t)&&!r.default(t)&&Object.keys(t).forEach((function(r){n[r]=e(t[r],r)})),n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/map.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!r.default(t))return t;for(var n=[],i=0;i<t.length;i++){var o=t[i];n.push(e(o,i))}return n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/max-by.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/max-by.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(t,e){if(i.default(t)){var n,a,s=t[0];return n=o.default(e)?e(t[0]):t[0][e],r.default(t,(function(t){(a=o.default(e)?e(t):t[e])>n&&(s=t,n=a)})),s}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/memoize.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/memoize.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(t,e){if(!r.default(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,r);return a.set(o,s),s};return n.cache=new Map,n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/min-by.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/min-by.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(t,e){if(i.default(t)){var n,a,s=t[0];return n=o.default(e)?e(t[0]):t[0][e],r.default(t,(function(t){(a=o.default(e)?e(t):t[e])<n&&(s=t,n=a)})),s}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mix.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/mix.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){return e&&r(t,e),n&&r(t,n),i&&r(t,i),t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/mod.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/mod.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(t%e+e)%e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/noop.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/noop.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/number2color.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/number2color.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default=function(t){var e=r[t];if(!e){for(var n=t.toString(16),i=n.length;i<6;i++)n="0"+n;e="#"+n,r[t]=e}return e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/parse-radius.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/parse-radius.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js");e.default=function(t){var e=0,n=0,i=0,o=0;return r.default(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,{r1:e,r2:n,r3:i,r4:o}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pick.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/pick.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js"),o=Object.prototype.hasOwnProperty;e.default=function(t,e){if(null===t||!i.default(t))return{};var n={};return r.default(e,(function(e){o.call(t,e)&&(n[e]=t[e])})),n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull-at.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull-at.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),i=Array.prototype.splice;e.default=function(t,e){if(!r.default(t))return[];for(var n=t?e.length:0,o=n-1;n--;){var a=void 0,s=e[n];n!==o&&s===a||(a=s,i.call(t,s,1))}return t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Array.prototype,i=r.splice,o=r.indexOf;e.default=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++)for(var a=e[r],s=-1;(s=o.call(t,a))>-1;)i.call(t,s,1);return t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/reduce.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/reduce.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js");e.default=function(t,e,n){if(!i.default(t)&&!o.default(t))return t;var a=n;return r.default(t,(function(t,n){a=e(a,t,n)})),a}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/remove.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/remove.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),i=n(/*! ./pull-at */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull-at.js");e.default=function(t,e){var n=[];if(!r.default(t))return n;for(var o=-1,a=[],s=t.length;++o<s;){var u=t[o];e(u,o,t)&&(n.push(u),a.push(o))}return i.default(t,a),n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/request-animation-frame.js":
- /*!***********************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/request-animation-frame.js ***!
- \***********************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/set.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/set.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js"),i=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js"),o=n(/*! ./is-number */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-number.js");e.default=function(t,e,n){var a=t,s=i.default(e)?e.split("."):e;return s.forEach((function(t,e){e<s.length-1?(r.default(a[t])||(a[t]=o.default(s[e+1])?[]:{}),a=a[t]):a[t]=n})),t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/size.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/size.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),i=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t){return r.default(t)?0:i.default(t)?t.length:Object.keys(t).length}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/some.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/some.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/sort-by.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/sort-by.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js"),o=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");e.default=function(t,e){var n;if(o.default(e))n=function(t,n){return e(t)-e(n)};else{var a=[];i.default(e)?a.push(e):r.default(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var r=a[n];if(t[r]>e[r])return 1;if(t[r]<e[r])return-1}return 0}}return t.sort(n),t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/starts-with.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/starts-with.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js");e.default=function(t,e){return!(!r.default(t)&&!i.default(t))&&t[0]===e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/substitute.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/substitute.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/throttle.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/throttle.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var c=e-(l-s);return i=this,o=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-array.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-array.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");e.default=function(t){return r.default(t)?Array.prototype.slice.call(t):[]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-degree.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-degree.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=180/Math.PI;e.default=function(t){return r*t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-integer.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-integer.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=parseInt},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-radian.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-radian.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Math.PI/180;e.default=function(t){return r*t}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js");e.default=function(t){return r.default(t)?"":t.toString()}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/union.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/union.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./uniq */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/uniq.js");e.default=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.default([].concat.apply([],t))}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/uniq.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/uniq.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./contains */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/contains.js"),i=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js");e.default=function(t){var e=[];return i.default(t,(function(t){r.default(e,t)||e.push(t)})),e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/unique-id.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/unique-id.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-case.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-case.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js");e.default=function(t){return r.default(t).toUpperCase()}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-first.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/upper-first.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js");e.default=function(t){var e=r.default(t);return e.charAt(0).toUpperCase()+e.substring(1)}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/values-of-key.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/values-of-key.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js");e.default=function(t,e){for(var n=[],o={},a=0;a<t.length;a++){var s=t[a][e];if(!i.default(s)){r.default(s)||(s=[s]);for(var u=0;u<s.length;u++){var l=s[u];o[l]||(n.push(l),o[l]=!0)}}}return n}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/values.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/values.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return r.default(t,(function(n,r){i.default(t)&&"prototype"===r||e.push(n)})),e};e.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/wrap-behavior.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/wrap-behavior.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}},"./node_modules/_abs-svg-path@0.1.1@abs-svg-path/index.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_abs-svg-path@0.1.1@abs-svg-path/index.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=0,n=0,r=0,i=0;return t.map((function(t){var o=(t=t.slice())[0],a=o.toUpperCase();if(o!=a)switch(t[0]=a,o){case"a":t[6]+=r,t[7]+=i;break;case"v":t[1]+=i;break;case"h":t[1]+=r;break;default:for(var s=1;s<t.length;)t[s++]+=r,t[s++]+=i}switch(a){case"Z":r=e,i=n;break;case"H":r=t[1];break;case"V":i=t[1];break;case"M":r=e=t[1],i=n=t[2];break;default:r=t[t.length-2],i=t[t.length-1]}return t}))}},"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function n(t){var n;return 1===t.length&&(n=t,t=function(t,r){return e(n(t),r)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}var r=n(e),i=r.right,o=r.left;function a(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function u(t,e){var n,r,i=t.length,o=0,a=-1,u=0,l=0;if(null==e)for(;++a<i;)isNaN(n=s(t[a]))||(l+=(r=n-u)*(n-(u+=r/++o)));else for(;++a<i;)isNaN(n=s(e(t[a],a,t)))||(l+=(r=n-u)*(n-(u+=r/++o)));if(o>1)return l/(o-1)}function l(t,e){var n=u(t,e);return n?Math.sqrt(n):n}function c(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=i=n;++a<o;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var f=Array.prototype,d=f.slice,h=f.map;function p(t){return function(){return t}}function v(t){return t}function g(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}var m=Math.sqrt(50),y=Math.sqrt(10),_=Math.sqrt(2);function b(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=m?10:o>=y?5:o>=_?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=m?10:o>=y?5:o>=_?2:1)}function x(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=m?i*=10:o>=y?i*=5:o>=_&&(i*=2),e<t?-i:i}function w(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function j(t,e,n){if(null==n&&(n=s),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function S(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r}function O(t){if(!(i=t.length))return[];for(var e=-1,n=S(t,k),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function k(t){return t.length}t.bisect=i,t.bisectRight=i,t.bisectLeft=o,t.ascending=e,t.bisector=n,t.cross=function(t,e,n){var r,i,o,s,u=t.length,l=e.length,c=new Array(u*l);for(null==n&&(n=a),r=o=0;r<u;++r)for(s=t[r],i=0;i<l;++i,++o)c[o]=n(s,e[i]);return c},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=l,t.extent=c,t.histogram=function(){var t=v,e=c,n=w;function r(r){var o,a,s=r.length,u=new Array(s);for(o=0;o<s;++o)u[o]=t(r[o],o,r);var l=e(u),c=l[0],f=l[1],d=n(u,c,f);Array.isArray(d)||(d=x(c,f,d),d=g(Math.ceil(c/d)*d,f,d));for(var h=d.length;d[0]<=c;)d.shift(),--h;for(;d[h-1]>f;)d.pop(),--h;var p,v=new Array(h+1);for(o=0;o<=h;++o)(p=v[o]=[]).x0=o>0?d[o-1]:c,p.x1=o<h?d[o]:f;for(o=0;o<s;++o)c<=(a=u[o])&&a<=f&&v[i(d,a,0,h)].push(r[o]);return v}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:p(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:p([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?p(d.call(t)):p(t),r):n},r},t.thresholdFreedmanDiaconis=function(t,n,r){return t=h.call(t,s).sort(e),Math.ceil((r-n)/(2*(j(t,.75)-j(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,n){return Math.ceil((n-e)/(3.5*l(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=w,t.max=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&n>r&&(r=n);return r},t.mean=function(t,e){var n,r=t.length,i=r,o=-1,a=0;if(null==e)for(;++o<r;)isNaN(n=s(t[o]))?--i:a+=n;else for(;++o<r;)isNaN(n=s(e(t[o],o,t)))?--i:a+=n;if(i)return a/i},t.median=function(t,n){var r,i=t.length,o=-1,a=[];if(null==n)for(;++o<i;)isNaN(r=s(t[o]))||a.push(r);else for(;++o<i;)isNaN(r=s(n(t[o],o,t)))||a.push(r);return j(a.sort(e),.5)},t.merge=function(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n},t.min=S,t.pairs=function(t,e){null==e&&(e=a);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return o},t.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},t.quantile=j,t.range=g,t.scan=function(t,n){if(r=t.length){var r,i,o=0,a=0,s=t[a];for(null==n&&(n=e);++o<r;)(n(i=t[o],s)<0||0!==n(s,s))&&(s=i,a=o);return 0===n(s,s)?a:void 0}},t.shuffle=function(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},t.sum=function(t,e){var n,r=t.length,i=-1,o=0;if(null==e)for(;++i<r;)(n=+t[i])&&(o+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(o+=n);return o},t.ticks=function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=b(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o},t.tickIncrement=b,t.tickStep=x,t.transpose=O,t.variance=u,t.zip=function(){return O(arguments)},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-array@2.11.0@d3-array/dist/d3-array.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_d3-array@2.11.0@d3-array/dist/d3-array.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js");!function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function n(t){var n=t,r=t;function i(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)<0?n=o+1:i=o}return n}return 1===t.length&&(n=function(e,n){return t(e)-n},r=function(t){return function(n,r){return e(t(n),r)}}(t)),{left:i,center:function(t,e,r,o){null==r&&(r=0),null==o&&(o=t.length);var a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)>0?i=o:n=o+1}return n}}}function i(t){return null===t?NaN:+t}var o=n(e),a=o.right,s=o.left,u=n(i).center;function l(t,e){var n,i,o,a,s=0;if(void 0===e)try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next())null!=(h=l.value)&&(h=+h)>=h&&++s}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}else{var c=-1;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h;null!=(h=e(h=d.value,++c,t))&&(h=+h)>=h&&++s}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}return s}function c(t){return 0|t.length}function f(t){return!(t>0)}function d(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function h(t){return function(e){return t.apply(void 0,r.__spread(e))}}function p(t,e){var n,i,o,a,s,u=0,l=0,c=0;if(void 0===e)try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next())null!=(g=d.value)&&(g=+g)>=g&&(c+=(s=g-l)*(g-(l+=s/++u)))}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}else{var h=-1;try{for(var p=r.__values(t),v=p.next();!v.done;v=p.next()){var g;null!=(g=e(g=v.value,++h,t))&&(g=+g)>=g&&(c+=(s=g-l)*(g-(l+=s/++u)))}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}if(u>1)return c/(u-1)}function v(t,e){var n=p(t,e);return n?Math.sqrt(n):n}function g(t,e){var n,i,o,a,s,u;if(void 0===e)try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next())null!=(p=c.value)&&(void 0===s?p>=p&&(s=u=p):(s>p&&(s=p),u<p&&(u=p)))}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}else{var f=-1;try{for(var d=r.__values(t),h=d.next();!h.done;h=d.next()){var p;null!=(p=e(p=h.value,++f,t))&&(void 0===s?p>=p&&(s=u=p):(s>p&&(s=p),u<p&&(u=p)))}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}return[s,u]}var m=function(){function t(){this._partials=new Float64Array(32),this._n=0}return t.prototype.add=function(t){for(var e=this._partials,n=0,r=0;r<this._n&&r<32;r++){var i=e[r],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[n++]=a),t=o}return e[n]=t,this._n=n+1,this},t.prototype.valueOf=function(){var t,e,n,r=this._partials,i=this._n,o=0;if(i>0){for(o=r[--i];i>0&&(t=o,!(n=(e=r[--i])-((o=t+e)-t))););i>0&&(n<0&&r[i-1]<0||n>0&&r[i-1]>0)&&(e=2*n)==(t=o+e)-o&&(o=t)}return o},t}(),y=function(t){function e(e,n){var i,o;void 0===e&&(e=[]),void 0===n&&(n=j);var a=t.call(this)||this;Object.defineProperties(a,{_intern:{value:new Map},_key:{value:n}});try{for(var s=r.__values(e),u=s.next();!u.done;u=s.next()){var l=r.__read(u.value,2),c=l[0],f=l[1];a.set(c,f)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}return r.__extends(e,t),e.prototype.get=function(e){return t.prototype.get.call(this,b(this,e))},e.prototype.has=function(e){return t.prototype.has.call(this,b(this,e))},e.prototype.set=function(e,n){return t.prototype.set.call(this,x(this,e),n)},e.prototype.delete=function(e){return t.prototype.delete.call(this,w(this,e))},e}(Map),_=function(t){function e(e,n){var i,o;void 0===e&&(e=[]),void 0===n&&(n=j);var a=t.call(this)||this;Object.defineProperties(a,{_intern:{value:new Map},_key:{value:n}});try{for(var s=r.__values(e),u=s.next();!u.done;u=s.next()){var l=u.value;a.add(l)}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}return r.__extends(e,t),e.prototype.has=function(e){return t.prototype.has.call(this,b(this,e))},e.prototype.add=function(e){return t.prototype.add.call(this,x(this,e))},e.prototype.delete=function(e){return t.prototype.delete.call(this,w(this,e))},e}(Set);function b(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)?n.get(r):e}function x(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)?n.get(r):(n.set(r,e),e)}function w(t,e){var n=t._intern,r=(0,t._key)(e);return n.has(r)&&(e=n.get(e),n.delete(r)),e}function j(t){return null!==t&&"object"==typeof t?t.valueOf():t}function S(t){return t}function O(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return C(t,S,S,e)}function k(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return C(t,S,e,n)}function E(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function C(t,e,n,i){return function t(o,a){var s,u,l,c;if(a>=i.length)return n(o);var f=new y,d=i[a++],h=-1;try{for(var p=r.__values(o),v=p.next();!v.done;v=p.next()){var g=v.value,m=d(g,++h,o),_=f.get(m);_?_.push(g):f.set(m,[g])}}catch(t){s={error:t}}finally{try{v&&!v.done&&(u=p.return)&&u.call(p)}finally{if(s)throw s.error}}try{for(var b=r.__values(f),x=b.next();!x.done;x=b.next()){var w=r.__read(x.value,2),j=(m=w[0],w[1]);f.set(m,t(j,a))}}catch(t){l={error:t}}finally{try{x&&!x.done&&(c=b.return)&&c.call(b)}finally{if(l)throw l.error}}return e(f)}(t,0)}function M(t,e){return Array.from(e,(function(e){return t[e]}))}function T(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);var o=r.__read(n,1),a=o[0],s=void 0===a?e:a;if(1===s.length||n.length>1){var u=Uint32Array.from(t,(function(t,e){return e}));return n.length>1?(n=n.map((function(e){return t.map(e)})),u.sort((function(t,i){var o,a;try{for(var s=r.__values(n),u=s.next();!u.done;u=s.next()){var l=u.value,c=e(l[t],l[i]);if(c)return c}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}}))):(s=t.map(s),u.sort((function(t,n){return e(s[t],s[n])}))),M(t,u)}return t.sort(s)}var P=Array.prototype.slice;function A(t){return function(){return t}}var I=Math.sqrt(50),N=Math.sqrt(10),D=Math.sqrt(2);function R(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=L(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(a=-a,t=Math.ceil(t*a),e=Math.floor(e*a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)/a;return r&&o.reverse(),o}function L(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=I?10:o>=N?5:o>=D?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=I?10:o>=N?5:o>=D?2:1)}function B(t,e,n){for(var r;;){var i=L(t,e,n);if(i===r||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),r=i}}function $(t){return Math.ceil(Math.log(l(t))/Math.LN2)+1}function F(){var t=S,e=g,n=$;function i(i){var o;Array.isArray(i)||(i=Array.from(i));var s,u,l=i.length,c=new Array(l);for(s=0;s<l;++s)c[s]=t(i[s],s,i);var f=e(c),d=f[0],h=f[1],p=n(c,d,h);if(!Array.isArray(p)){var v=h,m=+p;if(e===g&&(d=(o=r.__read(B(d,h,m),2))[0],h=o[1]),(p=R(d,h,m))[p.length-1]>=h)if(v>=h&&e===g){var y=L(d,h,m);isFinite(y)&&(y>0?h=(Math.floor(h/y)+1)*y:y<0&&(h=(Math.ceil(h*-y)+1)/-y))}else p.pop()}for(var _=p.length;p[0]<=d;)p.shift(),--_;for(;p[_-1]>h;)p.pop(),--_;var b,x=new Array(_+1);for(s=0;s<=_;++s)(b=x[s]=[]).x0=s>0?p[s-1]:d,b.x1=s<_?p[s]:h;for(s=0;s<l;++s)d<=(u=c[s])&&u<=h&&x[a(p,u,0,_)].push(i[s]);return x}return i.value=function(e){return arguments.length?(t="function"==typeof e?e:A(e),i):t},i.domain=function(t){return arguments.length?(e="function"==typeof t?t:A([t[0],t[1]]),i):e},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?A(P.call(t)):A(t),i):n},i}function z(t,e){var n,i,o,a,s;if(void 0===e)try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next())null!=(h=l.value)&&(s<h||void 0===s&&h>=h)&&(s=h)}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}else{var c=-1;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h;null!=(h=e(h=d.value,++c,t))&&(s<h||void 0===s&&h>=h)&&(s=h)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}return s}function V(t,e){var n,i,o,a,s;if(void 0===e)try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next())null!=(h=l.value)&&(s>h||void 0===s&&h>=h)&&(s=h)}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}else{var c=-1;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h;null!=(h=e(h=d.value,++c,t))&&(s>h||void 0===s&&h>=h)&&(s=h)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}return s}function q(t,n,r,i,o){for(void 0===r&&(r=0),void 0===i&&(i=t.length-1),void 0===o&&(o=e);i>r;){if(i-r>600){var a=i-r+1,s=n-r+1,u=Math.log(a),l=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*l*(a-l)/a)*(s-a/2<0?-1:1);q(t,n,Math.max(r,Math.floor(n-s*l/a+c)),Math.min(i,Math.floor(n+(a-s)*l/a+c)),o)}var f=t[n],d=r,h=i;for(H(t,r,n),o(t[i],f)>0&&H(t,r,i);d<h;){for(H(t,d,h),++d,--h;o(t[d],f)<0;)++d;for(;o(t[h],f)>0;)--h}0===o(t[r],f)?H(t,r,h):H(t,++h,i),h<=n&&(r=h+1),n<=h&&(i=h-1)}return t}function H(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function G(t,e,n){if(i=(t=Float64Array.from(function(t,e){var n,i,o,a,s,u,l,c,f,d,h,p;return r.__generator(this,(function(v){switch(v.label){case 0:if(void 0!==e)return[3,9];v.label=1;case 1:v.trys.push([1,6,7,8]),n=r.__values(t),i=n.next(),v.label=2;case 2:return i.done?[3,5]:null!=(l=i.value)&&(l=+l)>=l?[4,l]:[3,4];case 3:v.sent(),v.label=4;case 4:return i=n.next(),[3,2];case 5:return[3,8];case 6:return o=v.sent(),f={error:o},[3,8];case 7:try{i&&!i.done&&(d=n.return)&&d.call(n)}finally{if(f)throw f.error}return[7];case 8:return[3,17];case 9:a=-1,v.label=10;case 10:v.trys.push([10,15,16,17]),s=r.__values(t),u=s.next(),v.label=11;case 11:return u.done?[3,14]:(l=u.value,null!=(l=e(l,++a,t))&&(l=+l)>=l?[4,l]:[3,13]);case 12:v.sent(),v.label=13;case 13:return u=s.next(),[3,11];case 14:return[3,17];case 15:return c=v.sent(),h={error:c},[3,17];case 16:try{u&&!u.done&&(p=s.return)&&p.call(s)}finally{if(h)throw h.error}return[7];case 17:return[2]}}))}(t,n))).length){if((e=+e)<=0||i<2)return V(t);if(e>=1)return z(t);var i,o=(i-1)*e,a=Math.floor(o),s=z(q(t,a).subarray(0,a+1));return s+(V(t.subarray(a+1))-s)*(o-a)}}function U(t,e){var n,i,o,a,s,u=-1,l=-1;if(void 0===e)try{for(var c=r.__values(t),f=c.next();!f.done;f=c.next()){var d=f.value;++l,null!=d&&(s<d||void 0===s&&d>=d)&&(s=d,u=l)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}else try{for(var h=r.__values(t),p=h.next();!p.done;p=h.next())null!=(d=e(d=p.value,++l,t))&&(s<d||void 0===s&&d>=d)&&(s=d,u=l)}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}return u}function Y(t,e){var n,i,o,a,s,u=-1,l=-1;if(void 0===e)try{for(var c=r.__values(t),f=c.next();!f.done;f=c.next()){var d=f.value;++l,null!=d&&(s>d||void 0===s&&d>=d)&&(s=d,u=l)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}else try{for(var h=r.__values(t),p=h.next();!p.done;p=h.next())null!=(d=e(d=p.value,++l,t))&&(s>d||void 0===s&&d>=d)&&(s=d,u=l)}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}return u}function W(t,e){return[t,e]}function X(t,n){var i,o,a;if(void 0===n&&(n=e),1===n.length)return Y(t,n);var s=-1,u=-1;try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next()){var f=c.value;++u,(s<0?0===n(f,f):n(f,a)<0)&&(a=f,s=u)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return s}var K=Z(Math.random);function Z(t){return function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=e.length);for(var i=r-(n=+n);i;){var o=t()*i--|0,a=e[i+n];e[i+n]=e[o+n],e[o+n]=a}return e}}function Q(t){if(!(i=t.length))return[];for(var e=-1,n=V(t,J),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function J(t){return t.length}function tt(t){return t instanceof Set?t:new Set(t)}function et(t,e){var n,i,o,a=t[Symbol.iterator](),s=new Set;try{for(var u=r.__values(e),l=u.next();!l.done;l=u.next()){var c=l.value;if(!s.has(c))for(var f=void 0,d=void 0;f=(o=a.next()).value,d=o.done,o;){if(d)return!1;if(s.add(f),Object.is(c,f))break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return!0}t.Adder=m,t.InternMap=y,t.InternSet=_,t.ascending=e,t.bin=F,t.bisect=a,t.bisectCenter=u,t.bisectLeft=s,t.bisectRight=a,t.bisector=n,t.count=l,t.cross=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n="function"==typeof t[t.length-1]&&h(t.pop()),r=(t=t.map(d)).map(c),i=t.length-1,o=new Array(i+1).fill(0),a=[];if(i<0||r.some(f))return a;for(;;){a.push(o.map((function(e,n){return t[n][e]})));for(var s=i;++o[s]===r[s];){if(0===s)return n?a.map(n):a;o[s--]=0}}},t.cumsum=function(t,e){var n=0,r=0;return Float64Array.from(t,void 0===e?function(t){return n+=+t||0}:function(i){return n+=+e(i,r++,t)||0})},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=v,t.difference=function(t){for(var e,n,i,o,a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];t=new Set(t);try{for(var u=r.__values(a),l=u.next();!l.done;l=u.next()){var c=l.value;try{for(var f=(i=void 0,r.__values(c)),d=f.next();!d.done;d=f.next()){var h=d.value;t.delete(h)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return t},t.disjoint=function(t,e){var n,i,o,a=e[Symbol.iterator](),s=new Set;try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next()){var c=l.value;if(s.has(c))return!1;for(var f=void 0,d=void 0;f=(o=a.next()).value,d=o.done,o&&!d;){if(Object.is(c,f))return!1;s.add(f)}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return!0},t.every=function(t,e){var n,i;if("function"!=typeof e)throw new TypeError("test is not a function");var o=-1;try{for(var a=r.__values(t),s=a.next();!s.done;s=a.next())if(!e(s.value,++o,t))return!1}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return!0},t.extent=g,t.filter=function(t,e){var n,i;if("function"!=typeof e)throw new TypeError("test is not a function");var o=[],a=-1;try{for(var s=r.__values(t),u=s.next();!u.done;u=s.next()){var l=u.value;e(l,++a,t)&&o.push(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o},t.fsum=function(t,e){var n,i,o,a,s=new m;if(void 0===e)try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next())(h=+(h=l.value))&&s.add(h)}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}else{var c=-1;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h;(h=+e(h=d.value,++c,t))&&s.add(h)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}return+s},t.greatest=function(t,n){var i,o,a,s,u;void 0===n&&(n=e);var l=!1;if(1===n.length){var c=void 0;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h=d.value,p=n(h);(l?e(p,c)>0:0===e(p,p))&&(u=h,c=p,l=!0)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}else try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next())p=g.value,(l?n(p,u)>0:0===n(p,p))&&(u=p,l=!0)}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}return u},t.greatestIndex=function(t,n){var i,o,a;if(void 0===n&&(n=e),1===n.length)return U(t,n);var s=-1,u=-1;try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next()){var f=c.value;++u,(s<0?0===n(f,f):n(f,a)>0)&&(a=f,s=u)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return s},t.group=O,t.groupSort=function(t,n,i){return(1===n.length?T(k(t,n,i),(function(t,n){var i=r.__read(t,2),o=i[0],a=i[1],s=r.__read(n,2),u=s[0];return e(a,s[1])||e(o,u)})):T(O(t,i),(function(t,i){var o=r.__read(t,2),a=o[0],s=o[1],u=r.__read(i,2),l=u[0],c=u[1];return n(s,c)||e(a,l)}))).map((function(t){return r.__read(t,1)[0]}))},t.groups=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return C(t,Array.from,S,e)},t.histogram=F,t.index=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return C(t,S,E,e)},t.indexes=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return C(t,Array.from,E,e)},t.intersection=function(t){for(var e,n,i,o,a=[],s=1;s<arguments.length;s++)a[s-1]=arguments[s];t=new Set(t),a=a.map(tt);try{t:for(var u=r.__values(t),l=u.next();!l.done;l=u.next()){var c=l.value;try{for(var f=(i=void 0,r.__values(a)),d=f.next();!d.done;d=f.next()){var h=d.value;if(!h.has(c)){t.delete(c);continue t}}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return t},t.least=function(t,n){var i,o,a,s,u;void 0===n&&(n=e);var l=!1;if(1===n.length){var c=void 0;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h=d.value,p=n(h);(l?e(p,c)<0:0===e(p,p))&&(u=h,c=p,l=!0)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}else try{for(var v=r.__values(t),g=v.next();!g.done;g=v.next())p=g.value,(l?n(p,u)<0:0===n(p,p))&&(u=p,l=!0)}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}return u},t.leastIndex=X,t.map=function(t,e){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!=typeof e)throw new TypeError("mapper is not a function");return Array.from(t,(function(n,r){return e(n,r,t)}))},t.max=z,t.maxIndex=U,t.mean=function(t,e){var n,i,o,a,s=0,u=0;if(void 0===e)try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next())null!=(p=c.value)&&(p=+p)>=p&&(++s,u+=p)}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}else{var f=-1;try{for(var d=r.__values(t),h=d.next();!h.done;h=d.next()){var p;null!=(p=e(p=h.value,++f,t))&&(p=+p)>=p&&(++s,u+=p)}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}if(s)return u/s},t.median=function(t,e){return G(t,.5,e)},t.merge=function(t){return Array.from(function(t){var e,n,i,o,a,s;return r.__generator(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),e=r.__values(t),n=e.next(),u.label=1;case 1:return n.done?[3,4]:(i=n.value,[5,r.__values(i)]);case 2:u.sent(),u.label=3;case 3:return n=e.next(),[3,1];case 4:return[3,7];case 5:return o=u.sent(),a={error:o},[3,7];case 6:try{n&&!n.done&&(s=e.return)&&s.call(e)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}(t))},t.min=V,t.minIndex=Y,t.nice=B,t.pairs=function(t,e){var n,i;void 0===e&&(e=W);var o,a=[],s=!1;try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next()){var c=l.value;s&&a.push(e(o,c)),o=c,s=!0}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return a},t.permute=M,t.quantile=G,t.quantileSorted=function(t,e,n){if(void 0===n&&(n=i),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,a=Math.floor(o),s=+n(t[a],a,t);return s+(+n(t[a+1],a+1,t)-s)*(o-a)}},t.quickselect=q,t.range=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o},t.reduce=function(t,e,n){var r,i;if("function"!=typeof e)throw new TypeError("reducer is not a function");var o,a,s=t[Symbol.iterator](),u=-1;if(arguments.length<3){if(o=(r=s.next()).done,n=r.value,o)return;++u}for(;o=(i=s.next()).done,a=i.value,!o;)n=e(n,a,++u,t);return n},t.reverse=function(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()},t.rollup=k,t.rollups=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return C(t,Array.from,e,n)},t.scan=function(t,e){var n=X(t,e);return n<0?void 0:n},t.shuffle=K,t.shuffler=Z,t.some=function(t,e){var n,i;if("function"!=typeof e)throw new TypeError("test is not a function");var o=-1;try{for(var a=r.__values(t),s=a.next();!s.done;s=a.next())if(e(s.value,++o,t))return!0}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return!1},t.sort=T,t.subset=function(t,e){return et(e,t)},t.sum=function(t,e){var n,i,o,a,s=0;if(void 0===e)try{for(var u=r.__values(t),l=u.next();!l.done;l=u.next())(h=+(h=l.value))&&(s+=h)}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}else{var c=-1;try{for(var f=r.__values(t),d=f.next();!d.done;d=f.next()){var h;(h=+e(h=d.value,++c,t))&&(s+=h)}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}}return s},t.superset=et,t.thresholdFreedmanDiaconis=function(t,e,n){return Math.ceil((n-e)/(2*(G(t,.75)-G(t,.25))*Math.pow(l(t),-1/3)))},t.thresholdScott=function(t,e,n){return Math.ceil((n-e)/(3.5*v(t)*Math.pow(l(t),-1/3)))},t.thresholdSturges=$,t.tickIncrement=L,t.tickStep=function(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=I?i*=10:o>=N?i*=5:o>=D&&(i*=2),e<t?-i:i},t.ticks=R,t.transpose=Q,t.union=function(){for(var t,e,n,i,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=new Set;try{for(var u=r.__values(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{for(var f=(n=void 0,r.__values(c)),d=f.next();!d.done;d=f.next()){var h=d.value;s.add(h)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}return s},t.variance=p,t.zip=function(){return Q(arguments)},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js":
- /*!*******************************************************************************!*\
- !*** ./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js ***!
- \*******************************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(){}function n(t,n){var r=new e;if(t instanceof e)t.each((function(t,e){r.set(e,t)}));else if(Array.isArray(t)){var i,o=-1,a=t.length;if(null==n)for(;++o<a;)r.set(o,t[o]);else for(;++o<a;)r.set(n(i=t[o],o,t),i)}else if(t)for(var s in t)r.set(s,t[s]);return r}function r(){return{}}function i(t,e,n){t[e]=n}function o(){return n()}function a(t,e,n){t.set(e,n)}function s(){}e.prototype=n.prototype={constructor:e,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var u=n.prototype;function l(t,e){var n=new s;if(t instanceof s)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}s.prototype=l.prototype={constructor:s,has:u.has,add:function(t){return this["$"+(t+="")]=t,this},remove:u.remove,clear:u.clear,values:u.keys,size:u.size,empty:u.empty,each:u.each},t.nest=function(){var t,e,s,u=[],l=[];function c(r,i,o,a){if(i>=u.length)return null!=t&&r.sort(t),null!=e?e(r):r;for(var s,l,f,d=-1,h=r.length,p=u[i++],v=n(),g=o();++d<h;)(f=v.get(s=p(l=r[d])+""))?f.push(l):v.set(s,[l]);return v.each((function(t,e){a(g,e,c(t,i,o,a))})),g}return s={object:function(t){return c(t,0,r,i)},map:function(t){return c(t,0,o,a)},entries:function(t){return function t(n,r){if(++r>u.length)return n;var i,o=l[r-1];return null!=e&&r>=u.length?i=n.entries():(i=[],n.each((function(e,n){i.push({key:n,values:t(e,r)})}))),null!=o?i.sort((function(t,e){return o(t.key,e.key)})):i}(c(t,0,o,a),0)},key:function(t){return u.push(t),s},sortKeys:function(t){return l[u.length-1]=t,s},sortValues:function(e){return t=e,s},rollup:function(t){return e=t,s}}},t.set=l,t.map=n,t.keys=function(t){var e=[];for(var n in t)e.push(n);return e},t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-composite-projections@1.4.0@d3-composite-projections/d3-composite-projections.js":
- /*!***********************************************************************************************************!*\
- !*** ./node_modules/_d3-composite-projections@1.4.0@d3-composite-projections/d3-composite-projections.js ***!
- \***********************************************************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js");!function(t,e,n){"use strict";var i=1e-6;function o(){}var a=1/0,s=a,u=-a,l=u,c={point:function(t,e){t<a&&(a=t),t>u&&(u=t),e<s&&(s=e),e>l&&(l=e)},lineStart:o,lineEnd:o,polygonStart:o,polygonEnd:o,result:function(){var t=[[a,s],[u,l]];return u=l=-(s=a=1/0),t}};function f(t,n,r){var i=n[1][0]-n[0][0],o=n[1][1]-n[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=a&&t.clipExtent(null),e.geoStream(r,t.stream(c));var s=c.result(),u=Math.min(i/(s[1][0]-s[0][0]),o/(s[1][1]-s[0][1])),l=+n[0][0]+(i-u*(s[1][0]+s[0][0]))/2,f=+n[0][1]+(o-u*(s[1][1]+s[0][1]))/2;return null!=a&&t.clipExtent(a),t.scale(150*u).translate([l,f])}function d(t,e,n){return f(t,[[0,0],e],n)}t.geoAlbersUk=function(){var t,r,o,a,s,u=e.geoAlbers().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),l=e.geoAlbers().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),c={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,o.point(e,n),s||(a.point(e,n),s)}function p(){return t=r=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.089&&i<.06&&r>=.029&&r<.046?l:u).invert(t)},h.stream=function(e){return t&&r===e?t:(n=[u.stream(r=e),l.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),p()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],r=+t[1];return o=u.translate(t).clipExtent([[n-.065*e,r-.089*e],[n+.075*e,r+.089*e]]).stream(c),a=l.translate([n+.01*e,r+.025*e]).clipExtent([[n+.029*e+i,r-.089*e+i],[n+.046*e-i,r-.06*e-i]]).stream(c),p()},h.fitExtent=function(t,e){return f(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e,n,r,i;e=u([-1.113205870242365,59.64920050773357]),n=u([.807899092399606,59.59085836472269]),r=u([.5778611961420386,57.93467822832577]),i=u([-1.25867782078448,57.99029450085142]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2800)},t.geoAlbersUsa=function(){var t,r,o,a,s,u,l=e.geoAlbers(),c=e.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),h=e.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),p={point:function(t,e){u=[t,e]}};function v(t){var e=t[0],n=t[1];return u=null,o.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function g(){return t=r=null,v}return v.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?c:i>=.166&&i<.234&&r>=-.214&&r<-.115?h:l).invert(t)},v.stream=function(e){return t&&r===e?t:(n=[l.stream(r=e),c.stream(e),h.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),g()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(.35*t),h.scale(t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],r=+t[1];return o=l.translate(t).clipExtent([[n-.455*e,r-.238*e],[n+.455*e,r+.238*e]]).stream(p),a=c.translate([n-.307*e,r+.201*e]).clipExtent([[n-.425*e+i,r+.12*e+i],[n-.214*e-i,r+.234*e-i]]).stream(p),s=h.translate([n-.205*e,r+.212*e]).clipExtent([[n-.214*e+i,r+.166*e+i],[n-.115*e-i,r+.234*e-i]]).stream(p),g()},v.fitExtent=function(t,e){return f(v,t,e)},v.fitSize=function(t,e){return d(v,t,e)},v.drawCompositionBorders=function(t){var e=l([-102.91,26.3]),n=l([-104,27.5]),r=l([-108,29.1]),i=l([-110,29.1]),o=l([-110,26.7]),a=l([-112.8,27.6]),s=l([-114.3,30.6]),u=l([-119.3,30.1]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(1070)},t.geoAlbersUsaTerritories=function(){var t,r,o,a,s,u,l,c,h,p=e.geoAlbers(),v=e.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),g=e.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),m=e.geoConicEqualArea().rotate([66,0]).center([0,18]).parallels([8,18]),y=e.geoEquirectangular().rotate([173,14]),_=e.geoEquirectangular().rotate([-145,-16.8]),b={point:function(t,e){h=[t,e]}};function x(t){var e=t[0],n=t[1];return h=null,o.point(e,n),h||(a.point(e,n),h)||(s.point(e,n),h)||(u.point(e,n),h)||(l.point(e,n),h)||(c.point(e,n),h)}function w(){return t=r=null,x}return x.invert=function(t){var e=p.scale(),n=p.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?v:i>=.166&&i<.234&&r>=-.214&&r<-.115?g:i>=.2064&&i<.2413&&r>=.312&&r<.385?m:i>=.09&&i<.1197&&r>=-.4243&&r<-.3232?y:i>=-.0518&&i<.0895&&r>=-.4243&&r<-.3824?_:p).invert(t)},x.stream=function(e){return t&&r===e?t:(n=[p.stream(r=e),v.stream(e),g.stream(e),m.stream(e),y.stream(e),_.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},x.precision=function(t){return arguments.length?(p.precision(t),v.precision(t),g.precision(t),m.precision(t),y.precision(t),_.precision(t),w()):p.precision()},x.scale=function(t){return arguments.length?(p.scale(t),v.scale(.35*t),g.scale(t),m.scale(t),y.scale(2*t),_.scale(t),x.translate(p.translate())):p.scale()},x.translate=function(t){if(!arguments.length)return p.translate();var e=p.scale(),n=+t[0],r=+t[1];return o=p.translate(t).clipExtent([[n-.455*e,r-.238*e],[n+.455*e,r+.238*e]]).stream(b),a=v.translate([n-.307*e,r+.201*e]).clipExtent([[n-.425*e+i,r+.12*e+i],[n-.214*e-i,r+.233*e-i]]).stream(b),s=g.translate([n-.205*e,r+.212*e]).clipExtent([[n-.214*e+i,r+.166*e+i],[n-.115*e-i,r+.233*e-i]]).stream(b),u=m.translate([n+.35*e,r+.224*e]).clipExtent([[n+.312*e+i,r+.2064*e+i],[n+.385*e-i,r+.233*e-i]]).stream(b),l=y.translate([n-.492*e,r+.09*e]).clipExtent([[n-.4243*e+i,r+.0903*e+i],[n-.3233*e-i,r+.1197*e-i]]).stream(b),c=_.translate([n-.408*e,r+.018*e]).clipExtent([[n-.4244*e+i,r-.0519*e+i],[n-.3824*e-i,r+.0895*e-i]]).stream(b),w()},x.fitExtent=function(t,e){return f(x,t,e)},x.fitSize=function(t,e){return d(x,t,e)},x.drawCompositionBorders=function(t){var e=p([-110.4641,28.2805]),n=p([-104.0597,28.9528]),r=p([-103.7049,25.1031]),i=p([-109.8337,24.4531]),o=p([-124.4745,28.1407]),a=p([-110.931,30.8844]),s=p([-109.8337,24.4531]),u=p([-122.4628,21.8562]),l=p([-76.8579,25.1544]),c=p([-72.429,24.2097]),f=p([-72.8265,22.7056]),d=p([-77.1852,23.6392]),h=p([-125.0093,29.7791]),v=p([-118.5193,31.3262]),g=p([-118.064,29.6912]),m=p([-124.4369,28.169]),y=p([-128.1314,37.4582]),_=p([-125.2132,38.214]),b=p([-122.3616,30.5115]),x=p([-125.0315,29.8211]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(c[0],c[1]),t.lineTo(f[0],f[1]),t.lineTo(f[0],f[1]),t.lineTo(d[0],d[1]),t.closePath(),t.moveTo(h[0],h[1]),t.lineTo(v[0],v[1]),t.lineTo(g[0],g[1]),t.lineTo(g[0],g[1]),t.lineTo(m[0],m[1]),t.closePath(),t.moveTo(y[0],y[1]),t.lineTo(_[0],_[1]),t.lineTo(b[0],b[1]),t.lineTo(b[0],b[1]),t.lineTo(x[0],x[1]),t.closePath()},x.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},x.scale(1070)},t.geoConicConformalEurope=function(){var t,r,o,a,s,u,l,c,h,p,v,g,m,y,_,b=e.geoConicConformal().rotate([-10,-53]).parallels([0,60]),x=e.geoMercator().center([-61.46,16.14]),w=e.geoMercator().center([-53.2,3.9]),j=e.geoConicConformal().rotate([27.8,-38.9]).parallels([0,60]),S=e.geoConicConformal().rotate([25.43,-37.398]).parallels([0,60]),O=e.geoConicConformal().rotate([31.17,-39.539]).parallels([0,60]),k=e.geoConicConformal().rotate([17,-32.7]).parallels([0,60]),E=e.geoConicConformal().rotate([16,-28.5]).parallels([0,60]),C=e.geoMercator().center([-61.03,14.67]),M=e.geoMercator().center([45.16,-12.8]),T=e.geoMercator().center([55.52,-21.13]),P=e.geoConicConformal().rotate([-14.4,-35.95]).parallels([0,60]),A={point:function(t,e){_=[t,e]}};function I(t){var e=t[0],n=t[1];return _=null,o.point(e,n),_||(s.point(e,n),_)||(v.point(e,n),_)||(a.point(e,n),_)||(p.point(e,n),_)||(h.point(e,n),_)||(g.point(e,n),_)||(m.point(e,n),_)||(y.point(e,n),_)||(u.point(e,n),_)||(l.point(e,n),_)||(c.point(e,n),_)}function N(){return t=r=null,I}return I.invert=function(t){var e=b.scale(),n=b.translate(),r=(t[0]-(n[0]+.08*e))/e,i=(t[1]-n[1])/e;return(i>=-.31&&i<-.24&&r>=.14&&r<.24?x:i>=-.24&&i<-.17&&r>=.14&&r<.24?w:i>=-.17&&i<-.12&&r>=.21&&r<.24?S:i>=-.17&&i<-.14&&r>=.14&&r<.165?O:i>=-.17&&i<-.1&&r>=.14&&r<.24?j:i>=-.1&&i<-.03&&r>=.14&&r<.24?k:i>=-.03&&i<.04&&r>=.14&&r<.24?E:i>=-.31&&i<-.24&&r>=.24&&r<.34?C:i>=-.24&&i<-.17&&r>=.24&&r<.34?M:i>=-.17&&i<-.1&&r>=.24&&r<.34?T:i>=-.1&&i<-.03&&r>=.24&&r<.34?P:b).invert(t)},I.stream=function(e){return t&&r===e?t:(n=[b.stream(r=e),w.stream(e),C.stream(e),x.stream(e),E.stream(e),k.stream(e),M.stream(e),T.stream(e),P.stream(e),j.stream(e),S.stream(e),O.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},I.precision=function(t){return arguments.length?(b.precision(t),w.precision(t),C.precision(t),x.precision(t),E.precision(t),k.precision(t),M.precision(t),T.precision(t),P.precision(t),j.precision(t),S.precision(t),O.precision(t),N()):b.precision()},I.scale=function(t){return arguments.length?(b.scale(t),x.scale(3*t),w.scale(.8*t),C.scale(3.5*t),T.scale(2.7*t),j.scale(2*t),S.scale(2*t),O.scale(2*t),k.scale(3*t),E.scale(t),M.scale(5.5*t),P.scale(6*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],r=+t[1];return o=b.translate([n-.08*e,r]).clipExtent([[n-.51*e,r-.33*e],[n+.5*e,r+.33*e]]).stream(A),a=x.translate([n+.19*e,r-.275*e]).clipExtent([[n+.14*e+i,r-.31*e+i],[n+.24*e-i,r-.24*e-i]]).stream(A),s=w.translate([n+.19*e,r-.205*e]).clipExtent([[n+.14*e+i,r-.24*e+i],[n+.24*e-i,r-.17*e-i]]).stream(A),u=j.translate([n+.19*e,r-.135*e]).clipExtent([[n+.14*e+i,r-.17*e+i],[n+.24*e-i,r-.1*e-i]]).stream(A),l=S.translate([n+.225*e,r-.147*e]).clipExtent([[n+.21*e+i,r-.17*e+i],[n+.24*e-i,r-.12*e-i]]).stream(A),c=O.translate([n+.153*e,r-.15*e]).clipExtent([[n+.14*e+i,r-.17*e+i],[n+.165*e-i,r-.14*e-i]]).stream(A),h=k.translate([n+.19*e,r-.065*e]).clipExtent([[n+.14*e+i,r-.1*e+i],[n+.24*e-i,r-.03*e-i]]).stream(A),p=E.translate([n+.19*e,r+.005*e]).clipExtent([[n+.14*e+i,r-.03*e+i],[n+.24*e-i,r+.04*e-i]]).stream(A),v=C.translate([n+.29*e,r-.275*e]).clipExtent([[n+.24*e+i,r-.31*e+i],[n+.34*e-i,r-.24*e-i]]).stream(A),g=M.translate([n+.29*e,r-.205*e]).clipExtent([[n+.24*e+i,r-.24*e+i],[n+.34*e-i,r-.17*e-i]]).stream(A),m=T.translate([n+.29*e,r-.135*e]).clipExtent([[n+.24*e+i,r-.17*e+i],[n+.34*e-i,r-.1*e-i]]).stream(A),y=P.translate([n+.29*e,r-.065*e]).clipExtent([[n+.24*e+i,r-.1*e+i],[n+.34*e-i,r-.03*e-i]]).stream(A),N()},I.fitExtent=function(t,e){return f(I,t,e)},I.fitSize=function(t,e){return d(I,t,e)},I.drawCompositionBorders=function(t){var e,n,r,i;e=b([42.45755610828648,63.343658547914934]),n=b([52.65837266667029,59.35045080290929]),r=b([47.19754502247785,56.12653496548117]),i=b([37.673034273363044,59.61638268506111]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([59.41110754003403,62.35069727399336]),n=b([66.75050228640794,57.11797303636038]),r=b([60.236065725110436,54.63331433818992]),i=b([52.65837313153311,59.350450804599355]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([48.81091130080243,66.93353402634641]),n=b([59.41110730654679,62.35069740653086]),r=b([52.6583728974441,59.3504509222445]),i=b([42.45755631675751,63.34365868805821]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([31.054198418446475,52.1080673766184]),n=b([39.09869284884117,49.400700047190554]),r=b([36.0580811499175,46.02944174908498]),i=b([28.690508588835726,48.433126979386415]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([33.977877745912025,55.849945501331]),n=b([42.75328432167726,52.78455122462353]),r=b([39.09869297540224,49.400700176148625]),i=b([31.05419851807008,52.10806751810923]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([52.658372900759296,59.35045068526415]),n=b([60.23606549583304,54.63331423800264]),r=b([54.6756370953122,51.892298789399455]),i=b([47.19754524788189,56.126534861222794]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([47.19754506082455,56.126534735591456]),n=b([54.675636900123514,51.892298681337095]),r=b([49.94448648951486,48.98775484983285]),i=b([42.75328468716108,52.78455126060818]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([42.75328453416769,52.78455113209101]),n=b([49.94448632339758,48.98775473706457]),r=b([45.912339990394315,45.99361784987003]),i=b([39.09869317356607,49.40070009378711]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([47.197544835420544,56.126534839849846]),r=b([42.75328447467064,52.78455135314068]),i=b([33.977877870363905,55.849945644671145]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([44.56748486446032,57.26489367845818]),r=b([43.9335791193588,53.746540942601726]),i=b([43,56]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([40.25902691953466,58.83002044222639]),r=b([38.458270492742024,57.26232178028002]),i=b([35.97754948030156,58.00266637992386]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},I.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},I.scale(750)},t.geoConicConformalFrance=function(){var t,r,o,a,s,u,l,c,h,p,v,g,m,y,_,b=e.geoConicConformal().rotate([-3,-46.2]).parallels([0,60]),x=e.geoMercator().center([-53.2,3.9]),w=e.geoMercator().center([-61.03,14.67]),j=e.geoMercator().center([-61.46,16.14]),S=e.geoMercator().center([-62.85,17.92]),O=e.geoMercator().center([-56.23,46.93]),k=e.geoMercator().center([45.16,-12.8]),E=e.geoMercator().center([55.52,-21.13]),C=e.geoMercator().center([165.8,-21.07]),M=e.geoMercator().center([-178.1,-14.3]),T=e.geoMercator().center([-150.55,-17.11]),P=e.geoMercator().center([-150.55,-17.11]),A={point:function(t,e){_=[t,e]}};function I(t){var e=t[0],n=t[1];return _=null,o.point(e,n),_||(a.point(e,n),_)||(s.point(e,n),_)||(u.point(e,n),_)||(l.point(e,n),_)||(c.point(e,n),_)||(h.point(e,n),_)||(p.point(e,n),_)||(v.point(e,n),_)||(g.point(e,n),_)||(m.point(e,n),_)||(y.point(e,n),_)}function N(){return t=r=null,I}return I.invert=function(t){var e=b.scale(),n=b.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.029&&i<.0864&&r>=-.14&&r<-.0996?x:i>=0&&i<.029&&r>=-.14&&r<-.0996?w:i>=-.032&&i<0&&r>=-.14&&r<-.0996?j:i>=-.052&&i<-.032&&r>=-.14&&r<-.0996?S:i>=-.076&&i<.052&&r>=-.14&&r<-.0996?O:i>=-.076&&i<-.052&&r>=.0967&&r<.1371?k:i>=-.052&&i<-.02&&r>=.0967&&r<.1371?E:i>=-.02&&i<.012&&r>=.0967&&r<.1371?C:i>=.012&&i<.033&&r>=.0967&&r<.1371?M:i>=.033&&i<.0864&&r>=.0967&&r<.1371?T:b).invert(t)},I.stream=function(e){return t&&r===e?t:(n=[b.stream(r=e),x.stream(e),w.stream(e),j.stream(e),S.stream(e),O.stream(e),k.stream(e),E.stream(e),C.stream(e),M.stream(e),T.stream(e),P.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},I.precision=function(t){return arguments.length?(b.precision(t),x.precision(t),w.precision(t),j.precision(t),S.precision(t),O.precision(t),k.precision(t),E.precision(t),C.precision(t),M.precision(t),T.precision(t),P.precision(t),N()):b.precision()},I.scale=function(t){return arguments.length?(b.scale(t),x.scale(.6*t),w.scale(1.6*t),j.scale(1.4*t),S.scale(5*t),O.scale(1.3*t),k.scale(1.6*t),E.scale(1.2*t),C.scale(.3*t),M.scale(2.7*t),T.scale(.5*t),P.scale(.06*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],r=+t[1];return o=b.translate(t).clipExtent([[n-.0996*e,r-.0908*e],[n+.0967*e,r+.0864*e]]).stream(A),a=x.translate([n-.12*e,r+.0575*e]).clipExtent([[n-.14*e+i,r+.029*e+i],[n-.0996*e-i,r+.0864*e-i]]).stream(A),s=w.translate([n-.12*e,r+.013*e]).clipExtent([[n-.14*e+i,r+0*e+i],[n-.0996*e-i,r+.029*e-i]]).stream(A),u=j.translate([n-.12*e,r-.014*e]).clipExtent([[n-.14*e+i,r-.032*e+i],[n-.0996*e-i,r+0*e-i]]).stream(A),l=S.translate([n-.12*e,r-.044*e]).clipExtent([[n-.14*e+i,r-.052*e+i],[n-.0996*e-i,r-.032*e-i]]).stream(A),c=O.translate([n-.12*e,r-.065*e]).clipExtent([[n-.14*e+i,r-.076*e+i],[n-.0996*e-i,r-.052*e-i]]).stream(A),h=k.translate([n+.117*e,r-.064*e]).clipExtent([[n+.0967*e+i,r-.076*e+i],[n+.1371*e-i,r-.052*e-i]]).stream(A),p=E.translate([n+.116*e,r-.0355*e]).clipExtent([[n+.0967*e+i,r-.052*e+i],[n+.1371*e-i,r-.02*e-i]]).stream(A),v=C.translate([n+.116*e,r-.0048*e]).clipExtent([[n+.0967*e+i,r-.02*e+i],[n+.1371*e-i,r+.012*e-i]]).stream(A),g=M.translate([n+.116*e,r+.022*e]).clipExtent([[n+.0967*e+i,r+.012*e+i],[n+.1371*e-i,r+.033*e-i]]).stream(A),y=P.translate([n+.11*e,r+.045*e]).clipExtent([[n+.0967*e+i,r+.033*e+i],[n+.1371*e-i,r+.06*e-i]]).stream(A),m=T.translate([n+.115*e,r+.075*e]).clipExtent([[n+.0967*e+i,r+.06*e+i],[n+.1371*e-i,r+.0864*e-i]]).stream(A),N()},I.fitExtent=function(t,e){return f(I,t,e)},I.fitSize=function(t,e){return d(I,t,e)},I.drawCompositionBorders=function(t){var e,n,r,i;e=b([-7.938886725111036,43.7219460918835]),n=b([-4.832080896458295,44.12930268549372]),r=b([-4.205299743793263,40.98096346967365]),i=b([-7.071796453126152,40.610037319181444]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([-8.42751373617692,45.32889452553031]),n=b([-5.18599305777107,45.7566442062976]),r=b([-4.832080905154431,44.129302726751426]),i=b([-7.938886737126192,43.72194613263854]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([-9.012656899657046,47.127733821030176]),n=b([-5.6105244772793155,47.579777861410626]),r=b([-5.185993067168585,45.756644248170346]),i=b([-8.427513749141811,45.32889456686326]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([-9.405747558985553,48.26506375557457]),n=b([-5.896175018439575,48.733352850851624]),r=b([-5.610524487556043,47.57977790393761]),i=b([-9.012656913808351,47.127733862971255]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([-9.908436061346974,49.642448789505856]),n=b([-6.262026716233124,50.131426841787174]),r=b([-5.896175029331232,48.73335289377258]),i=b([-9.40574757396393,48.26506379787767]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([11.996907706504462,50.16039028163579]),n=b([15.649907879773343,49.68279246765253]),r=b([15.156712840526632,48.30371557625831]),i=b([11.64122661754411,48.761078240546816]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([11.641226606955788,48.7610781975889]),n=b([15.156712825832164,48.30371553390465]),r=b([14.549932166241172,46.4866532486199]),i=b([11.204443787952183,46.91899233914248]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([11.204443778297161,46.918992296823646]),n=b([14.549932152815039,46.486653206856396]),r=b([13.994409796764009,44.695833444323256]),i=b([10.805306599253848,45.105133870684924]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([10.805306590412085,45.10513382903308]),n=b([13.99440978444733,44.695833403183606]),r=b([13.654633799024392,43.53552468558152]),i=b([10.561516803980956,43.930671459798624]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([10.561516795617383,43.93067141859757]),n=b([13.654633787361952,43.5355246448671]),r=b([12.867691604239901,40.640701985019405]),i=b([9.997809515987688,41.00288343254471]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=b([10.8,42.4]),n=b([12.8,42.13]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1])},I.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},I.scale(2700)},t.geoConicConformalNetherlands=function(){var t,o,a,s,u,l,c=e.geoConicConformal().rotate([-5.5,-52.2]).parallels([0,60]),h=e.geoMercator().center([-68.25,12.2]),p=e.geoMercator().center([-63.1,17.5]),v={point:function(t,e){l=[t,e]}};function g(t){var e=r.__read(t,2),n=e[0],i=e[1];return l=null,a.point(n,i),l||(s.point(n,i),l)||(u.point(n,i),l)}function m(){return t=o=null,g}return g.invert=function(t){var e=c.scale(),n=c.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.0067&&i<.0015&&r>=-.0232&&r<-.0154?h:i>=-.022&&i<-.014&&r>=-.023&&r<-.014?p:c).invert(t)},g.stream=function(e){return t&&o===e?t:(n=[c.stream(o=e),h.stream(e),p.stream(e)],r=n.length,t={point:function(t,e){for(var i=-1;++i<r;)n[i].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},g.precision=function(t){return arguments.length?(c.precision(t),h.precision(t),p.precision(t),m()):c.precision()},g.scale=function(t){return arguments.length?(c.scale(t),h.scale(t),p.scale(t),g.translate(c.translate())):c.scale()},g.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),n=+t[0],r=+t[1];return a=c.translate(t).clipExtent([[n-.0245*e,r-.026*e],[n+.023*e,r+.026*e]]).stream(v),s=h.translate([n-.0186*e,r-.00325*e]).clipExtent([[n-.0232*e+i,r-.0067*e+i],[n-.0154*e-i,r+.0015*e-i]]).stream(v),u=p.translate([n-.0185*e,r-.017*e]).clipExtent([[n-.023*e+i,r-.022*e+i],[n-.014*e-i,r-.014*e-i]]).stream(v),m()},g.fitExtent=function(t,e){return f(g,t,e)},g.fitSize=function(t,e){return d(g,t,e)},g.drawCompositionBorders=function(t){var e=c([3.30573,52.5562]),n=c([4.043,52.572]),r=c([4.0646,52.1017]),i=c([3.3382,52.0861]),o=c([3.262,53.439]),a=c([4.1373,53.4571]),s=c([4.1574,52.9946]),u=c([3.2951,52.9768]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath()},g.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},g.scale(4200)},t.geoConicConformalPortugal=function(){var t,r,o,a,s,u,l=e.geoConicConformal().rotate([10,-39.3]).parallels([0,60]),c=e.geoConicConformal().rotate([17,-32.7]).parallels([0,60]),h=e.geoConicConformal().rotate([27.8,-38.6]).parallels([0,60]),p={point:function(t,e){u=[t,e]}};function v(t){var e=t[0],n=t[1];return u=null,o.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function g(){return t=r=null,v}return v.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.0093&&i<.03678&&r>=-.03875&&r<-.0116?c:i>=-.0412&&i<.0091&&r>=-.07782&&r<-.01166?h:l).invert(t)},v.stream=function(e){return t&&r===e?t:(n=[l.stream(r=e),c.stream(e),h.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),g()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),h.scale(.6*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],r=+t[1];return o=l.translate(t).clipExtent([[n-.0115*e,r-.1138*e],[n+.2105*e,r+.0673*e]]).stream(p),a=c.translate([n-.0265*e,r+.025*e]).clipExtent([[n-.0388*e+i,r+.0093*e+i],[n-.0116*e-i,r+.0368*e-i]]).stream(p),s=h.translate([n-.045*e,r+-.02*e]).clipExtent([[n-.0778*e+i,r-.0413*e+i],[n-.0117*e-i,r+.0091*e-i]]).stream(p),g()},v.fitExtent=function(t,e){return f(v,t,e)},v.fitSize=function(t,e){return d(v,t,e)},v.drawCompositionBorders=function(t){var e=l([-12.8351,38.7113]),n=l([-10.8482,38.7633]),r=l([-10.8181,37.2072]),i=l([-12.7345,37.1573]),o=l([-16.0753,41.4436]),a=l([-10.9168,41.6861]),s=l([-10.8557,38.7747]),u=l([-15.6728,38.5505]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath()},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(4200)},t.geoConicConformalSpain=function(){var t,r,o,a,s,u=e.geoConicConformal().rotate([5,-38.6]).parallels([0,60]),l=e.geoConicConformal().rotate([5,-38.6]).parallels([0,60]),c={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,o.point(e,n),s||(a.point(e,n),s)}function p(){return t=r=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.05346&&i<.0897&&r>=-.13388&&r<-.0322?l:u).invert(t)},h.stream=function(e){return t&&r===e?t:(n=[u.stream(r=e),l.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),p()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],r=+t[1];return o=u.translate(t).clipExtent([[n-.06857*e,r-.1288*e],[n+.13249*e,r+.06*e]]).stream(c),a=l.translate([n+.1*e,r-.094*e]).clipExtent([[n-.1331*e+i,r+.053457*e+i],[n-.0354*e-i,r+.08969*e-i]]).stream(c),p()},h.fitExtent=function(t,e){return f(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-14.034675,34.965007]),n=u([-7.4208899,35.536988]),r=u([-7.3148275,33.54359]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2700)},t.geoConicEquidistantJapan=function(){var t,r,o,a,s,u,l=e.geoConicEquidistant().rotate([-136,-22]).parallels([40,34]),c=e.geoConicEquidistant().rotate([-146,-26]).parallels([40,34]),h=e.geoConicEquidistant().rotate([-126,-19]).parallels([40,34]),p={point:function(t,e){u=[t,e]}};function v(t){var e=t[0],n=t[1];return u=null,o.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function g(){return t=r=null,v}return v.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.10925&&i<-.02701&&r>=-.135&&r<-.0397?c:i>=.04713&&i<.11138&&r>=-.03986&&r<.051?h:l).invert(t)},v.stream=function(e){return t&&r===e?t:(n=[l.stream(r=e),c.stream(e),h.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),g()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),h.scale(.7*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],r=+t[1];return o=l.translate(t).clipExtent([[n-.1352*e,r-.1091*e],[n+.117*e,r+.098*e]]).stream(p),a=c.translate([n-.0425*e,r-.005*e]).clipExtent([[n-.135*e+i,r-.1093*e+i],[n-.0397*e-i,r-.027*e-i]]).stream(p),s=h.translate(t).clipExtent([[n-.0399*e+i,r+.0471*e+i],[n+.051*e-i,r+.1114*e-i]]).stream(p),g()},v.fitExtent=function(t,e){return f(v,t,e)},v.fitSize=function(t,e){return d(v,t,e)},v.drawCompositionBorders=function(t){var e=l([126.01320483689143,41.621090310215585]),n=l([133.04304387025903,42.15087523707186]),r=l([133.3021766080688,37.43975444725098]),i=l([126.87889168628224,36.95488945159779]),o=l([132.9,29.8]),a=l([134,33]),s=l([139.3,33.2]),u=l([139.16,30.5]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(2200)},t.geoMercatorEcuador=function(){var t,r,o,a,s,u=e.geoMercator().rotate([80,1.5]),l=e.geoMercator().rotate([90.73,1]),c={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,o.point(e,n),s||(a.point(e,n),s)}function p(){return t=r=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.0676&&i<-.026&&r>=-.0857&&r<-.0263?l:u).invert(t)},h.stream=function(e){return t&&r===e?t:(n=[u.stream(r=e),l.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),p()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],r=+t[1];return o=u.translate(t).clipExtent([[n-.0262*e,r-.0734*e],[n+.1741*e,r+.079*e]]).stream(c),a=l.translate([n-.06*e,r-.04*e]).clipExtent([[n-.0857*e+i,r-.0676*e+i],[n-.0263*e-i,r-.026*e-i]]).stream(c),p()},h.fitExtent=function(t,e){return f(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-84.9032,2.3757]),n=u([-81.5047,2.3708]),r=u([-81.5063,-.01]),i=u([-84.9086,-.005]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(3500)},t.geoMercatorEquatorialGuinea=function(){var t,r,o,a,s,u,l=e.geoMercator().rotate([-9.5,-1.5]),c=e.geoMercator().rotate([-8.6,-3.5]),h=e.geoMercator().rotate([-5.6,1.45]),p={point:function(t,e){u=[t,e]}};function v(t){var e=t[0],n=t[1];return u=null,o.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function g(){return t=r=null,v}return v.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.02&&i<0&&r>=-.038&&r<-.005?c:i>=0&&i<.02&&r>=-.038&&r<-.005?h:l).invert(t)},v.stream=function(e){return t&&r===e?t:(n=[l.stream(r=e),c.stream(e),h.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),g()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(1.5*t),h.scale(4*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],r=+t[1];return o=l.translate(t).clipExtent([[n-.005*e,r-.02*e],[n+.038*e,r+.02*e]]).stream(p),a=c.translate([n-.025*e,r-.01*e]).clipExtent([[n-.038*e+i,r-.02*e+i],[n-.005*e-i,r+0*e-i]]).stream(p),s=h.translate([n-.025*e,r+.01*e]).clipExtent([[n-.038*e+i,r-0*e+i],[n-.005*e-i,r+.02*e-i]]).stream(p),g()},v.fitExtent=function(t,e){return f(v,t,e)},v.fitSize=function(t,e){return d(v,t,e)},v.drawCompositionBorders=function(t){var e,n,r,i;e=l([9.21327272751682,2.645820439454123]),n=l([11.679126293239872,2.644755519268689]),r=l([11.676845389029227,.35307824637606433]),i=l([9.213572917774014,.35414205204417754]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=l([7.320873711543669,2.64475551449975]),n=l([9.213272722738658,2.645820434679803]),r=l([9.213422896480349,1.4999812505283054]),i=l([7.322014760520787,1.4989168878985566]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),e=l([7.3220147605302905,1.4989168783492766]),n=l([9.213422896481598,1.499981240979021]),r=l([9.213572912999604,.354142056817247]),i=l([7.323154615739809,.353078251154504]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(12e3)},t.geoMercatorMalaysia=function(){var t,r,o,a,s,u=e.geoMercator().center([105.25,4]),l=e.geoMercator().center([118.65,2.86]),c={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,o.point(e,n),s||(a.point(e,n),s)}function p(){return t=r=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=-.0521&&i<.0229&&r>=-.0111&&r<.1?l:u).invert(t)},h.stream=function(e){return t&&r===e?t:(n=[u.stream(r=e),l.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),p()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(.615*t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],r=+t[1];return o=u.translate(t).clipExtent([[n-.11*e,r-.0521*e],[n-.0111*e,r+.0521*e]]).stream(c),a=l.translate([n+.09*e,r-0*e]).clipExtent([[n-.0111*e+i,r-.0521*e+i],[n+.1*e-i,r+.024*e-i]]).stream(c),p()},h.fitExtent=function(t,e){return f(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([106.3214,2.0228]),n=u([105.1843,2.3761]),r=u([104.2151,3.3618]),i=u([104.215,4.5651]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(4800)},t.geoTransverseMercatorChile=function(){var t,r,o,a,s,u,l,c=e.geoTransverseMercator().rotate([72,37]),h=e.geoStereographic().rotate([72,0]),p=e.geoMercator().rotate([80,33.5]),v=e.geoMercator().rotate([110,25]),g={point:function(t,e){l=[t,e]}};function m(t){var e=t[0],n=t[1];return l=null,o.point(e,n),l||(a.point(e,n),l)||(s.point(e,n),l)||(u.point(e,n),l)}function y(){return t=r=null,m}return m.invert=function(t){var e=c.scale(),n=c.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.2582&&i<.32&&r>=-.1036&&r<-.087?h:i>=-.01298&&i<.0133&&r>=-.11396&&r<-.05944?p:i>=.01539&&i<.03911&&r>=-.089&&r<-.0588?v:c).invert(t)},m.stream=function(e){return t&&r===e?t:(n=[c.stream(r=e),h.stream(e),p.stream(e),v.stream(e)],i=n.length,t={point:function(t,e){for(var r=-1;++r<i;)n[r].point(t,e)},sphere:function(){for(var t=-1;++t<i;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)n[t].polygonEnd()}});var n,i},m.precision=function(t){return arguments.length?(c.precision(t),h.precision(t),p.precision(t),v.precision(t),y()):c.precision()},m.scale=function(t){return arguments.length?(c.scale(t),h.scale(.15*t),p.scale(1.5*t),v.scale(1.5*t),m.translate(c.translate())):c.scale()},m.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),n=+t[0],r=+t[1];return o=c.translate(t).clipExtent([[n-.059*e,r-.3835*e],[n+.4498*e,r+.3375*e]]).stream(g),a=h.translate([n-.087*e,r+.17*e]).clipExtent([[n-.1166*e+i,r+.2582*e+i],[n-.06*e-i,r+.32*e-i]]).stream(g),s=p.translate([n-.092*e,r-0*e]).clipExtent([[n-.114*e+i,r-.013*e+i],[n-.0594*e-i,r+.0133*e-i]]).stream(g),u=v.translate([n-.089*e,r-.0265*e]).clipExtent([[n-.089*e+i,r+.0154*e+i],[n-.0588*e-i,r+.0391*e-i]]).stream(g),y()},m.fitExtent=function(t,e){return f(m,t,e)},m.fitSize=function(t,e){return d(m,t,e)},m.drawCompositionBorders=function(t){var e=c([-82.6999,-51.3043]),n=c([-77.5442,-51.6631]),r=c([-78.0254,-55.186]),i=c([-83.6106,-54.7785]),o=c([-80.0638,-35.984]),a=c([-76.2153,-36.1811]),s=c([-76.2994,-37.6839]),u=c([-80.2231,-37.4757]),l=c([-78.442,-37.706]),f=c([-76.263,-37.8054]),d=c([-76.344,-39.1595]),h=c([-78.5638,-39.0559]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(f[0],f[1]),t.lineTo(d[0],d[1]),t.lineTo(d[0],d[1]),t.lineTo(h[0],h[1]),t.closePath()},m.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},m.scale(700)},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-geo */"./node_modules/_d3-geo@2.0.1@d3-geo/dist/d3-geo.js"),n(/*! d3-path */"./node_modules/_d3-path@2.0.0@d3-path/dist/d3-path.js"))},"./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";var e={},n={};function r(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function i(t){var e=Object.create(null),n=[];return t.forEach((function(t){for(var r in t)r in e||n.push(e[r]=r)})),n}function o(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function a(t){var e,n=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),a=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+o(-e,6):e>9999?"+"+o(e,6):o(e,4))+"-"+o(t.getUTCMonth()+1,2)+"-"+o(t.getUTCDate(),2)+(a?"T"+o(n,2)+":"+o(r,2)+":"+o(i,2)+"."+o(a,3)+"Z":i?"T"+o(n,2)+":"+o(r,2)+":"+o(i,2)+"Z":r||n?"T"+o(n,2)+":"+o(r,2)+"Z":"")}function s(t){var o=new RegExp('["'+t+"\n\r]"),s=t.charCodeAt(0);function u(t,r){var i,o=[],a=t.length,u=0,l=0,c=a<=0,f=!1;function d(){if(c)return n;if(f)return f=!1,e;var r,i,o=u;if(34===t.charCodeAt(o)){for(;u++<a&&34!==t.charCodeAt(u)||34===t.charCodeAt(++u););return(r=u)>=a?c=!0:10===(i=t.charCodeAt(u++))?f=!0:13===i&&(f=!0,10===t.charCodeAt(u)&&++u),t.slice(o+1,r-1).replace(/""/g,'"')}for(;u<a;){if(10===(i=t.charCodeAt(r=u++)))f=!0;else if(13===i)f=!0,10===t.charCodeAt(u)&&++u;else if(i!==s)continue;return t.slice(o,r)}return c=!0,t.slice(o,a)}for(10===t.charCodeAt(a-1)&&--a,13===t.charCodeAt(a-1)&&--a;(i=d())!==n;){for(var h=[];i!==e&&i!==n;)h.push(i),i=d();r&&null==(h=r(h,l++))||o.push(h)}return o}function l(e,n){return e.map((function(e){return n.map((function(t){return f(e[t])})).join(t)}))}function c(e){return e.map(f).join(t)}function f(t){return null==t?"":t instanceof Date?a(t):o.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=u(t,(function(t,o){if(n)return n(t,o-1);i=t,n=e?function(t,e){var n=r(t);return function(r,i){return e(n(r),i,t)}}(t,e):r(t)}));return o.columns=i||[],o},parseRows:u,format:function(e,n){return null==n&&(n=i(e)),[n.map(f).join(t)].concat(l(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=i(t)),l(t,e).join("\n")},formatRows:function(t){return t.map(c).join("\n")},formatRow:c,formatValue:f}}var u=s(","),l=u.parse,c=u.parseRows,f=u.format,d=u.formatBody,h=u.formatRows,p=u.formatRow,v=u.formatValue,g=s("\t"),m=g.parse,y=g.parseRows,_=g.format,b=g.formatBody,x=g.formatRows,w=g.formatRow,j=g.formatValue,S=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();t.autoType=function(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;S&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t},t.csvFormat=f,t.csvFormatBody=d,t.csvFormatRow=p,t.csvFormatRows=h,t.csvFormatValue=v,t.csvParse=l,t.csvParseRows=c,t.dsvFormat=s,t.tsvFormat=_,t.tsvFormatBody=b,t.tsvFormatRow=w,t.tsvFormatRows=x,t.tsvFormatValue=j,t.tsvParse=m,t.tsvParseRows=y,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js":
- /*!********************************************************************************************!*\
- !*** ./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js ***!
- \********************************************************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e,n){"use strict";var r=Math.abs,i=Math.atan,o=Math.atan2,a=Math.cos,s=Math.exp,u=Math.floor,l=Math.log,c=Math.max,f=Math.min,d=Math.pow,h=Math.round,p=Math.sign||function(t){return t>0?1:t<0?-1:0},v=Math.sin,g=Math.tan,m=1e-6,y=Math.PI,_=y/2,b=y/4,x=Math.SQRT1_2,w=M(2),j=M(y),S=2*y,O=180/y,k=y/180;function E(t){return t>1?_:t<-1?-_:Math.asin(t)}function C(t){return t>1?0:t<-1?y:Math.acos(t)}function M(t){return t>0?Math.sqrt(t):0}function T(t){return(s(t)-s(-t))/2}function P(t){return(s(t)+s(-t))/2}function A(t){var e=g(t/2),n=2*l(a(t/2))/(e*e);function i(t,e){var r=a(t),i=a(e),o=v(e),s=i*r,u=-((1-s?l((1+s)/2)/(1-s):-.5)+n/(1+s));return[u*i*v(t),u*o]}return i.invert=function(e,i){var s,u=M(e*e+i*i),c=-t/2,f=50;if(!u)return[0,0];do{var d=c/2,h=a(d),p=v(d),y=g(d),_=l(1/h);c-=s=(2/y*_-n*y-u)/(-_/(p*p)+1-n/(2*h*h))}while(r(s)>m&&--f>0);var b=v(c);return[o(e*b,u*a(c)),E(i*b/u)]},i}function I(t,e){var n=a(e),r=function(t){return t?t/Math.sin(t):1}(C(n*a(t/=2)));return[2*n*v(t)*r,v(e)*r]}function N(t){var e=v(t),n=a(t),i=t>=0?1:-1,s=g(i*t),u=(1+e-n)/2;function l(t,r){var l=a(r),c=a(t/=2);return[(1+l)*v(t),(i*r>-o(c,s)-.001?0:10*-i)+u+v(r)*n-(1+l)*e*c]}return l.invert=function(t,l){var c=0,f=0,d=50;do{var h=a(c),p=v(c),g=a(f),y=v(f),_=1+g,b=_*p-t,x=u+y*n-_*e*h-l,w=_*h/2,j=-p*y,S=e*_*p/2,O=n*g+e*h*y,k=j*S-O*w,E=(x*j-b*O)/k/2,C=(b*S-x*w)/k;c-=E,f-=C}while((r(E)>m||r(C)>m)&&--d>0);return i*f>-o(a(c),s)-.001?[2*c,f]:null},l}function D(t,e){var n=g(e/2),r=M(1-n*n),i=1+r*a(t/=2),o=v(t)*r/i,s=n/i,u=o*o,l=s*s;return[4/3*o*(3+u-3*l),4/3*s*(3+3*u-l)]}I.invert=function(t,e){if(!(t*t+4*e*e>y*y+m)){var n=t,i=e,o=25;do{var s,u=v(n),l=v(n/2),c=a(n/2),f=v(i),d=a(i),h=v(2*i),p=f*f,g=d*d,_=l*l,b=1-g*c*c,x=b?C(d*c)*M(s=1/b):s=0,w=2*x*d*l-t,j=x*f-e,S=s*(g*_+x*d*c*p),O=s*(.5*u*h-2*x*f*l),k=.25*s*(h*l-x*f*g*u),E=s*(p*c+x*_*d),T=O*k-E*S;if(!T)break;var P=(j*O-w*E)/T,A=(w*k-j*S)/T;n-=P,i-=A}while((r(P)>m||r(A)>m)&&--o>0);return[n,i]}},D.invert=function(t,e){if(e*=3/8,!(t*=3/8)&&r(e)>1)return null;var n=1+t*t+e*e,i=M((n-M(n*n-4*e*e))/2),s=E(i)/3,u=i?function(t){return l(t+M(t*t-1))}(r(e/i))/3:function(t){return l(t+M(t*t+1))}(r(t))/3,c=a(s),f=P(u),d=f*f-c*c;return[2*p(t)*o(T(u)*c,.25-d),2*p(e)*o(f*v(s),.25+d)]};var R=M(8),L=l(1+w);function B(t,e){var n=r(e);return n<b?[t,l(g(b+e/2))]:[t*a(n)*(2*w-1/v(n)),p(e)*(2*w*(n-b)-l(g(n/2)))]}function $(t){var n=2*y/t;function s(t,i){var s=e.geoAzimuthalEquidistantRaw(t,i);if(r(t)>_){var u=o(s[1],s[0]),l=M(s[0]*s[0]+s[1]*s[1]),c=n*h((u-_)/n)+_,f=o(v(u-=c),2-a(u));u=c+E(y/l*v(f))-f,s[0]=l*a(u),s[1]=l*v(u)}return s}return s.invert=function(t,r){var s=M(t*t+r*r);if(s>_){var u=o(r,t),l=n*h((u-_)/n)+_,c=u>l?-1:1,f=s*a(l-u),d=1/g(c*C((f-y)/M(y*(y-2*f)+s*s)));u=l+2*i((d+c*M(d*d-3))/3),t=s*a(u),r=s*v(u)}return e.geoAzimuthalEquidistantRaw.invert(t,r)},s}function F(t,e){var n,i=t*v(e),o=30;do{e-=n=(e+v(e)-i)/(1+a(e))}while(r(n)>m&&--o>0);return e/2}function z(t,e,n){function r(r,i){return[t*r*a(i=F(n,i)),e*v(i)]}return r.invert=function(r,i){return i=E(i/e),[r/(t*a(i)),E((2*i+v(2*i))/n)]},r}B.invert=function(t,e){if((o=r(e))<L)return[t,2*i(s(e))-_];var n,o,u=b,c=25;do{var f=a(u/2),d=g(u/2);u-=n=(R*(u-b)-l(d)-o)/(R-f*f/(2*d))}while(r(n)>1e-12&&--c>0);return[t/(a(u)*(R-1/v(u))),p(e)*u]};var V=z(w/_,w,y),q=2.00276,H=1.11072;function G(t,e){var n=F(y,e);return[q*t/(1/a(e)+H/a(n)),(e+w*v(n))/q]}G.invert=function(t,e){var n,i,o=q*e,s=e<0?-b:b,u=25;do{i=o-w*v(s),s-=n=(v(2*s)+2*s-y*v(i))/(2*a(2*s)+2+y*a(i)*w*a(s))}while(r(n)>m&&--u>0);return i=o-w*v(s),[t*(1/a(i)+H/a(s))/q,i]};var U=function(t){var n=0,r=e.geoProjectionMutator(t),i=r(n);return i.parallel=function(t){return arguments.length?r(n=t*k):n*O},i};function Y(t,e){return[t*a(e),e]}function W(t){if(!t)return Y;var e=1/g(t);function n(n,r){var i=e+t-r,o=i?n*a(r)/i:i;return[i*v(o),e-i*a(o)]}return n.invert=function(n,r){var i=M(n*n+(r=e-r)*r),s=e+t-i;return[i/a(s)*o(n,r),s]},n}function X(t){function e(e,n){var r=_-n,i=r?e*t*v(r)/r:r;return[r*v(i)/t,_-r*a(i)]}return e.invert=function(e,n){var r=e*t,i=_-n,a=M(r*r+i*i),s=o(r,i);return[(a?a/v(a):1)*s/t,_-a]},e}Y.invert=function(t,e){return[t/a(e),e]};var K=z(1,4/y,y);function Z(t,e,n,i,s,u){var l,c=a(u);if(r(t)>1||r(u)>1)l=C(n*s+e*i*c);else{var f=v(t/2),d=v(u/2);l=2*E(M(f*f+e*i*d*d))}return r(l)>m?[l,o(i*v(u),e*s-n*i*c)]:[0,0]}function Q(t,e,n){return C((t*t+e*e-n*n)/(2*t*e))}function J(t){return t-2*y*u((t+y)/(2*y))}function tt(t,e,n){for(var r,i=[[t[0],t[1],v(t[1]),a(t[1])],[e[0],e[1],v(e[1]),a(e[1])],[n[0],n[1],v(n[1]),a(n[1])]],o=i[2],s=0;s<3;++s,o=r)r=i[s],o.v=Z(r[1]-o[1],o[3],o[2],r[3],r[2],r[0]-o[0]),o.point=[0,0];var u=Q(i[0].v[0],i[2].v[0],i[1].v[0]),l=Q(i[0].v[0],i[1].v[0],i[2].v[0]),c=y-u;i[2].point[1]=0,i[0].point[0]=-(i[1].point[0]=i[0].v[0]/2);var f=[i[2].point[0]=i[0].point[0]+i[2].v[0]*a(u),2*(i[0].point[1]=i[1].point[1]=i[2].v[0]*v(u))];return function(t,e){var n,r=v(e),o=a(e),s=new Array(3);for(n=0;n<3;++n){var u=i[n];if(s[n]=Z(e-u[1],u[3],u[2],o,r,t-u[0]),!s[n][0])return u.point;s[n][1]=J(s[n][1]-u.v[1])}var d=f.slice();for(n=0;n<3;++n){var h=2==n?0:n+1,p=Q(i[n].v[0],s[n][0],s[h][0]);s[n][1]<0&&(p=-p),n?1==n?(p=l-p,d[0]-=s[n][0]*a(p),d[1]-=s[n][0]*v(p)):(p=c-p,d[0]+=s[n][0]*a(p),d[1]+=s[n][0]*v(p)):(d[0]+=s[n][0]*a(p),d[1]-=s[n][0]*v(p))}return d[0]/=3,d[1]/=3,d}}function et(t){return t[0]*=k,t[1]*=k,t}function nt(t,n,r){var i=e.geoCentroid({type:"MultiPoint",coordinates:[t,n,r]}),o=[-i[0],-i[1]],a=e.geoRotation(o),s=e.geoProjection(tt(et(a(t)),et(a(n)),et(a(r)))).rotate(o),u=s.center;return delete s.rotate,s.center=function(t){return arguments.length?u(a(t)):a.invert(u())},s.clipAngle(90)}function rt(t,e){var n=M(1-v(e));return[2/j*t*n,j*(1-n)]}function it(t){var e=g(t);function n(t,n){return[t,(t?t/v(t):1)*(v(n)*a(t)-e*a(n))]}return n.invert=e?function(t,n){t&&(n*=v(t)/t);var r=a(t);return[t,2*o(M(r*r+e*e-n*n)-r,e-n)]}:function(t,e){return[t,E(t?e*g(t)/t:e)]},n}rt.invert=function(t,e){var n=(n=e/j-1)*n;return[n>0?t*M(y/n)/2:0,E(1-n)]};var ot=M(3);function at(t,e){return[ot*t*(2*a(2*e/3)-1)/j,ot*j*v(e/3)]}function st(t){var e=a(t);function n(t,n){return[t*e,v(n)/e]}return n.invert=function(t,n){return[t/e,E(n*e)]},n}function ut(t){var e=a(t);function n(t,n){return[t*e,(1+e)*g(n/2)]}return n.invert=function(t,n){return[t/e,2*i(n/(1+e))]},n}function lt(t,e){var n=M(8/(3*y));return[n*t*(1-r(e)/y),n*e]}function ct(t,e){var n=M(4-3*v(r(e)));return[2/M(6*y)*t*n,p(e)*M(2*y/3)*(2-n)]}function ft(t,e){var n=M(y*(4+y));return[2/n*t*(1+M(1-4*e*e/(y*y))),4/n*e]}function dt(t,e){var n=(2+_)*v(e);e/=2;for(var i=0,o=1/0;i<10&&r(o)>m;i++){var s=a(e);e-=o=(e+v(e)*(s+2)-n)/(2*s*(1+s))}return[2/M(y*(4+y))*t*(1+a(e)),2*M(y/(4+y))*v(e)]}function ht(t,e){return[t*(1+a(e))/M(2+y),2*e/M(2+y)]}function pt(t,e){for(var n=(1+_)*v(e),i=0,o=1/0;i<10&&r(o)>m;i++)e-=o=(e+v(e)-n)/(1+a(e));return n=M(2+y),[t*(1+a(e))/n,2*e/n]}at.invert=function(t,e){var n=3*E(e/(ot*j));return[j*t/(ot*(2*a(2*n/3)-1)),n]},lt.invert=function(t,e){var n=M(8/(3*y)),i=e/n;return[t/(n*(1-r(i)/y)),i]},ct.invert=function(t,e){var n=2-r(e)/M(2*y/3);return[t*M(6*y)/(2*n),p(e)*E((4-n*n)/3)]},ft.invert=function(t,e){var n=M(y*(4+y))/2;return[t*n/(1+M(1-e*e*(4+y)/(4*y))),e*n/2]},dt.invert=function(t,e){var n=e*M((4+y)/y)/2,r=E(n),i=a(r);return[t/(2/M(y*(4+y))*(1+i)),E((r+n*(i+2))/(2+_))]},ht.invert=function(t,e){var n=M(2+y),r=e*n/2;return[n*t/(1+a(r)),r]},pt.invert=function(t,e){var n=1+_,r=M(n/2);return[2*t*r/(1+a(e*=r)),E((e+v(e))/n)]};var vt=3+2*w;function gt(t,e){var n=v(t/=2),r=a(t),o=M(a(e)),s=a(e/=2),u=v(e)/(s+w*r*o),c=M(2/(1+u*u)),f=M((w*s+(r+n)*o)/(w*s+(r-n)*o));return[vt*(c*(f-1/f)-2*l(f)),vt*(c*u*(f+1/f)-2*i(u))]}gt.invert=function(t,e){if(!(n=D.invert(t/1.2,1.065*e)))return null;var n,o=n[0],s=n[1],u=20;t/=vt,e/=vt;do{var d=o/2,h=s/2,p=v(d),g=a(d),y=v(h),b=a(h),j=a(s),S=M(j),O=y/(b+w*g*S),k=O*O,E=M(2/(1+k)),C=(w*b+(g+p)*S)/(w*b+(g-p)*S),T=M(C),P=T-1/T,A=T+1/T,I=E*P-2*l(T)-t,N=E*O*A-2*i(O)-e,R=y&&x*S*p*k/y,L=(w*g*b+S)/(2*(b+w*g*S)*(b+w*g*S)*S),B=-.5*O*E*E*E,$=B*R,F=B*L,z=(z=2*b+w*S*(g-p))*z*T,V=(w*g*b*S+j)/z,q=-w*p*y/(S*z),H=P*$-2*V/T+E*(V+V/C),G=P*F-2*q/T+E*(q+q/C),U=O*A*$-2*R/(1+k)+E*A*R+E*O*(V-V/C),Y=O*A*F-2*L/(1+k)+E*A*L+E*O*(q-q/C),W=G*U-Y*H;if(!W)break;var X=(N*G-I*Y)/W,K=(I*U-N*H)/W;o-=X,s=c(-_,f(_,s-K))}while((r(X)>m||r(K)>m)&&--u>0);return r(r(s)-_)<m?[0,s]:u&&[o,s]};var mt=a(35*k);function yt(t,e){var n=g(e/2);return[t*mt*M(1-n*n),(1+mt)*n]}function _t(t,e){var n=e/2,r=a(n);return[2*t/j*a(e)*r*r,j*g(n)]}function bt(t){return[t[0]/2,E(g(t[1]/2*k))*O]}function xt(t){return[2*t[0],2*i(v(t[1]*k))*O]}function wt(t,n){var i=2*y/n,s=t*t;function u(n,u){var l=e.geoAzimuthalEquidistantRaw(n,u),c=l[0],f=l[1],d=c*c+f*f;if(d>s){var p=M(d),g=o(f,c),b=i*h(g/i),x=g-b,w=t*a(x),j=(t*v(x)-x*v(w))/(_-w),S=jt(x,j),O=(y-t)/St(S,w,y);c=p;var k,E=50;do{c-=k=(t+St(S,w,c)*O-p)/(S(c)*O)}while(r(k)>m&&--E>0);f=x*v(c),c<_&&(f-=j*(c-_));var C=v(b),T=a(b);l[0]=c*T-f*C,l[1]=c*C+f*T}return l}return u.invert=function(n,u){var l=n*n+u*u;if(l>s){var c=M(l),f=o(u,n),d=i*h(f/i),p=f-d;n=c*a(p),u=c*v(p);for(var g=n-_,m=v(n),b=u/m,x=n<_?1/0:0,w=10;;){var j=t*v(b),S=t*a(b),O=v(S),k=_-S,E=(j-b*O)/k,C=jt(b,E);if(r(x)<1e-12||!--w)break;b-=x=(b*m-E*g-u)/(m-2*g*(k*(S+b*j*a(S)-O)-j*(j-b*O))/(k*k))}n=(c=t+St(C,S,n)*(y-t)/St(C,S,y))*a(f=d+b),u=c*v(f)}return e.geoAzimuthalEquidistantRaw.invert(n,u)},u}function jt(t,e){return function(n){var r=t*a(n);return n<_&&(r-=e),M(1+r*r)}}function St(t,e,n){for(var r=(n-e)/50,i=t(e)+t(n),o=1,a=e;o<50;++o)i+=2*t(a+=r);return.5*i*r}yt.invert=function(t,e){var n=e/(1+mt);return[t&&t/(mt*M(1-n*n)),2*i(n)]},_t.invert=function(t,e){var n=i(e/j),r=a(n),o=2*n;return[t*j/2/(a(o)*r*r),o]};var Ot=function(t,e,n,i,o,s,u,l){function c(r,c){if(!c)return[t*r/y,0];var f=c*c,d=t+f*(e+f*(n+f*i)),h=c*(o-1+f*(s-l+f*u)),p=(d*d+h*h)/(2*h),g=r*E(d/p)/y;return[p*v(g),c*(1+f*l)+p*(1-a(g))]}return arguments.length<8&&(l=0),c.invert=function(c,f){var d,h,p=y*c/t,g=f,_=50;do{var b=g*g,x=t+b*(e+b*(n+b*i)),w=g*(o-1+b*(s-l+b*u)),j=x*x+w*w,S=2*w,O=j/S,k=O*O,C=E(x/O)/y,T=p*C,P=x*x,A=(2*e+b*(4*n+6*b*i))*g,I=o+b*(3*s+5*b*u),N=(2*(x*A+w*(I-1))*S-j*(2*(I-1)))/(S*S),D=a(T),R=v(T),L=O*D,B=O*R,$=p/y*(1/M(1-P/k))*(A*O-x*N)/k,F=B-c,z=g*(1+b*l)+O-L-f,V=N*R+L*$,q=L*C,H=1+N-(N*D-B*$),G=B*C,U=V*G-H*q;if(!U)break;p-=d=(z*V-F*H)/U,g-=h=(F*G-z*q)/U}while((r(d)>m||r(h)>m)&&--_>0);return[p,g]},c},kt=Ot(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),Et=Ot(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),Ct=Ot(5/6*y,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Mt(t,e){var n=t*t,r=e*e;return[t*(1-.162388*r)*(.87-952426e-9*n*n),e*(1+r/12)]}Mt.invert=function(t,e){var n,i=t,o=e,a=50;do{var s=o*o;o-=n=(o*(1+s/12)-e)/(1+s/4)}while(r(n)>m&&--a>0);a=50,t/=1-.162388*s;do{var u=(u=i*i)*u;i-=n=(i*(.87-952426e-9*u)-t)/(.87-.00476213*u)}while(r(n)>m&&--a>0);return[i,o]};var Tt=Ot(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),Pt=function(t){var e=t(_,0)[0]-t(-_,0)[0];function n(n,r){var i=n>0?-.5:.5,o=t(n+i*y,r);return o[0]-=i*e,o}return t.invert&&(n.invert=function(n,r){var i=n>0?-.5:.5,o=t.invert(n+i*e,r),a=o[0]-i*y;return a<-y?a+=2*y:a>y&&(a-=2*y),o[0]=a,o}),n};function At(t,e){var n=p(t),i=p(e),s=a(e),u=a(t)*s,l=v(t)*s,c=v(i*e);t=r(o(l,c)),e=E(u),r(t-_)>m&&(t%=_);var f=function(t,e){if(e===_)return[0,0];var n,i,o=v(e),s=o*o,u=s*s,l=1+u,c=1+3*u,f=1-u,d=E(1/M(l)),h=f+s*l*d,p=(1-o)/h,g=M(p),b=p*l,x=M(b),w=g*f;if(0===t)return[0,-(w+s*x)];var j,S=a(e),O=1/S,k=2*o*S,C=(-h*S-(-3*s+d*c)*k*(1-o))/(h*h),T=-O*k,P=-O*(s*l*C+p*c*k),A=-2*O*(f*(.5*C/g)-2*s*g*k),I=4*t/y;if(t>.222*y||e<y/4&&t>.175*y){if(n=(w+s*M(b*(1+u)-w*w))/(1+u),t>y/4)return[n,n];var N=n,D=.5*n;n=.5*(D+N),i=50;do{var R=M(b-n*n),L=n*(A+T*R)+P*E(n/x)-I;if(!L)break;L<0?D=n:N=n,n=.5*(D+N)}while(r(N-D)>m&&--i>0)}else{n=m,i=25;do{var B=n*n,$=M(b-B),F=A+T*$,z=n*F+P*E(n/x)-I,V=F+(P-T*B)/$;n-=j=$?z/V:0}while(r(j)>m&&--i>0)}return[n,-w-s*M(b-n*n)]}(t>y/4?_-t:t,e);return t>y/4&&(c=f[0],f[0]=-f[1],f[1]=-c),f[0]*=n,f[1]*=-i,f}function It(t,e){var n,o,u,l,c,f;if(e<m)return[(l=v(t))-(n=e*(t-l*(o=a(t)))/4)*o,o+n*l,1-e*l*l/2,t-n];if(e>=1-m)return n=(1-e)/4,u=1/(o=P(t)),[(l=((f=s(2*(f=t)))-1)/(f+1))+n*((c=o*T(t))-t)/(o*o),u-n*l*u*(c-t),u+n*l*u*(c+t),2*i(s(t))-_+n*(c-t)/o];var d=[1,0,0,0,0,0,0,0,0],h=[M(e),0,0,0,0,0,0,0,0],p=0;for(o=M(1-e),c=1;r(h[p]/d[p])>m&&p<8;)n=d[p++],h[p]=(n-o)/2,d[p]=(n+o)/2,o=M(n*o),c*=2;u=c*d[p]*t;do{u=(E(l=h[p]*v(o=u)/d[p])+u)/2}while(--p);return[v(u),l=a(u),l/a(u-o),u]}function Nt(t,e){if(!e)return t;if(1===e)return l(g(t/2+b));for(var n=1,o=M(1-e),a=M(e),s=0;r(a)>m;s++){if(t%y){var u=i(o*g(t)/n);u<0&&(u+=y),t+=u+~~(t/y)*y}else t+=t;a=(n+o)/2,o=M(n*o),a=((n=a)-o)/2}return t/(d(2,s)*n)}function Dt(t,e){var n=(w-1)/(w+1),u=M(1-n*n),c=Nt(_,u*u),f=l(g(y/4+r(e)/2)),d=s(-1*f)/M(n),h=function(t,e){var n=t*t,r=e+1,i=1-n-e*e;return[.5*((t>=0?_:-_)-o(i,2*t)),-.25*l(i*i+4*n)+.5*l(r*r+n)]}(d*a(-1*t),d*v(-1*t)),m=function(t,e,n){var o=r(t),a=T(r(e));if(o){var s=1/v(o),u=1/(g(o)*g(o)),l=-(u+n*(a*a*s*s)-1+n),c=(-l+M(l*l-(n-1)*u*4))/2;return[Nt(i(1/M(c)),n)*p(t),Nt(i(M((c/u-1)/n)),1-n)*p(e)]}return[0,Nt(i(a),1-n)*p(e)]}(h[0],h[1],u*u);return[-m[1],(e>=0?1:-1)*(.5*c-m[0])]}function Rt(t,n){if(arguments.length<2&&(n=t),1===n)return e.geoAzimuthalEqualAreaRaw;if(n===1/0)return Lt;function r(r,i){var o=e.geoAzimuthalEqualAreaRaw(r/n,i);return o[0]*=t,o}return r.invert=function(r,i){var o=e.geoAzimuthalEqualAreaRaw.invert(r/t,i);return o[0]*=n,o},r}function Lt(t,e){return[t*a(e)/a(e/=2),2*v(e)]}function Bt(t){var e=v(t),n=a(t),i=$t(t);function s(t,o){var s=i(t,o);t=s[0],o=s[1];var u=v(o),l=a(o),c=a(t),f=C(e*u+n*l*c),d=v(f),h=r(d)>m?f/d:1;return[h*n*v(t),(r(t)>_?h:-h)*(e*l-n*u*c)]}return i.invert=$t(-t),s.invert=function(t,n){var r=M(t*t+n*n),s=-v(r),u=a(r),l=r*u,c=-n*s,f=r*e,d=M(l*l+c*c-f*f),h=o(l*f+c*d,c*f-l*d),p=(r>_?-1:1)*o(t*s,r*a(h)*u+n*v(h)*s);return i.invert(p,h)},s}function $t(t){var e=v(t),n=a(t);return function(t,r){var i=a(r),s=a(t)*i,u=v(t)*i,l=v(r);return[o(u,s*n-l*e),E(l*n+s*e)]}}At.invert=function(t,e){r(t)>1&&(t=2*p(t)-t),r(e)>1&&(e=2*p(e)-e);var n=p(t),i=p(e),s=-n*t,u=-i*e,l=u/s<1,c=function(t,e){for(var n=0,i=1,o=.5,s=50;;){var u=o*o,l=M(o),c=E(1/M(1+u)),f=1-u+o*(1+u)*c,d=(1-l)/f,h=M(d),p=d*(1+u),v=h*(1-u),g=M(p-t*t),m=e+v+o*g;if(r(i-n)<1e-12||0==--s||0===m)break;m>0?n=o:i=o,o=.5*(n+i)}if(!s)return null;var _=E(l),b=a(_),x=1/b,w=2*l*b,j=(-f*b-(-3*o+c*(1+3*u))*w*(1-l))/(f*f);return[y/4*(t*(-2*x*(.5*j/h*(1-u)-2*o*h*w)+-x*w*g)+-x*(o*(1+u)*j+d*(1+3*u)*w)*E(t/M(p))),_]}(l?u:s,l?s:u),f=c[0],d=c[1],h=a(d);return l&&(f=-_-f),[n*(o(v(f)*h,-v(d))+y),i*E(a(f)*h)]},Dt.invert=function(t,e){var n,r,a,u,c,f,d=(w-1)/(w+1),h=M(1-d*d),p=Nt(_,h*h),v=(r=-t,a=h*h,(n=.5*p-e)?(u=It(n,a),r?(f=(c=It(r,1-a))[1]*c[1]+a*u[0]*u[0]*c[0]*c[0],[[u[0]*c[2]/f,u[1]*u[2]*c[0]*c[1]/f],[u[1]*c[1]/f,-u[0]*u[2]*c[0]*c[2]/f],[u[2]*c[1]*c[2]/f,-a*u[0]*u[1]*c[0]/f]]):[[u[0],0],[u[1],0],[u[2],0]]):[[0,(c=It(r,1-a))[0]/c[1]],[1/c[1],0],[c[2]/c[1],0]]),g=function(t,e){var n=e[0]*e[0]+e[1]*e[1];return[(t[0]*e[0]+t[1]*e[1])/n,(t[1]*e[0]-t[0]*e[1])/n]}(v[0],v[1]);return[o(g[1],g[0])/-1,2*i(s(-.5*l(d*g[0]*g[0]+d*g[1]*g[1])))-_]},Lt.invert=function(t,e){var n=2*E(e/2);return[t*a(n/2)/a(n),n]};var Ft=st(0);function zt(t){var e=(41+48/36+37/3600)*k,n=rt(y,e)[0]-rt(-y,e)[0],i=Ft(0,e)[1],o=rt(0,e)[1],a=j-o,s=S/t,l=4/S,d=i+a*a*4/S;function h(h,p){var v,g=r(p);if(g>e){var m=f(t-1,c(0,u((h+y)/s)));(v=rt(h+=y*(t-1)/t-m*s,g))[0]=v[0]*S/n-S*(t-1)/(2*t)+m*S/t,v[1]=i+4*(v[1]-o)*a/S,p<0&&(v[1]=-v[1])}else v=Ft(h,p);return v[0]*=l,v[1]/=d,v}return h.invert=function(e,h){e/=l;var p=r(h*=d);if(p>i){var v=f(t-1,c(0,u((e+y)/s)));e=(e+y*(t-1)/t-v*s)*n/S;var g=rt.invert(e,.25*(p-i)*S/a+o);return g[0]-=y*(t-1)/t-v*s,h<0&&(g[1]=-g[1]),g}return Ft.invert(e,h)},h}function Vt(t){var e,n=1+t,i=E(v(1/n)),s=2*M(y/(e=y+4*i*n)),u=.5*s*(n+M(t*(2+t))),l=t*t,c=n*n;function f(f,d){var h,p,g=1-v(d);if(g&&g<2){var m,b=_-d,x=25;do{var w=v(b),j=a(b),S=i+o(w,n-j),O=1+c-2*n*j;b-=m=(b-l*i-n*w+O*S-.5*g*e)/(2*n*w*S)}while(r(m)>1e-12&&--x>0);h=s*M(O),p=f*S/y}else h=s*(t+g),p=f*i/y;return[h*v(p),u-h*a(p)]}return f.invert=function(t,r){var a=t*t+(r-=u)*r,f=(1+c-a/(s*s))/(2*n),d=C(f),h=v(d),p=i+o(h,n-f);return[E(t/M(a))*y/p,E(1-2*(d-l*i-n*h+(1+c-2*n*f)*p)/e)]},f}function qt(t,e){return e>-.7109889596207567?((t=V(t,e))[1]+=.0528035274542,t):Y(t,e)}function Ht(t,e){return r(e)>.7109889596207567?((t=V(t,e))[1]-=e>0?.0528035274542:-.0528035274542,t):Y(t,e)}function Gt(t,e){return r(t[0]-e[0])<m&&r(t[1]-e[1])<m}function Ut(t,e){for(var n,r,i,o=-1,a=t.length,s=t[0],u=[];++o<a;){r=((n=t[o])[0]-s[0])/e,i=(n[1]-s[1])/e;for(var l=0;l<e;++l)u.push([s[0]+l*r,s[1]+l*i]);s=n}return u.push(n),u}qt.invert=function(t,e){return e>-.7109889596207567?V.invert(t,e-.0528035274542):Y.invert(t,e)},Ht.invert=function(t,e){return r(e)>.7109889596207567?V.invert(t,e+(e>0?.0528035274542:-.0528035274542)):Y.invert(t,e)};var Yt=function(t,r){var i=function(t){var e,r,i,o,a,s,u,l=[],c=t[0].length;for(u=0;u<c;++u)r=(e=t[0][u])[0][0],i=e[0][1],o=e[1][1],a=e[2][0],s=e[2][1],l.push(Ut([[r+m,i+m],[r+m,o-m],[a-m,o-m],[a-m,s+m]],30));for(u=t[1].length-1;u>=0;--u)r=(e=t[1][u])[0][0],i=e[0][1],o=e[1][1],a=e[2][0],s=e[2][1],l.push(Ut([[a-m,s-m],[a-m,o+m],[r+m,o+m],[r+m,i-m]],30));return{type:"Polygon",coordinates:[n.merge(l)]}}(r),o=(r=r.map((function(t){return t.map((function(t){return[[t[0][0]*k,t[0][1]*k],[t[1][0]*k,t[1][1]*k],[t[2][0]*k,t[2][1]*k]]}))}))).map((function(e){return e.map((function(e){var n,r=t(e[0][0],e[0][1])[0],i=t(e[2][0],e[2][1])[0],o=t(e[1][0],e[0][1])[1],a=t(e[1][0],e[1][1])[1];return o>a&&(n=o,o=a,a=n),[[r,o],[i,a]]}))}));function a(e,n){for(var i=n<0?-1:1,o=r[+(n<0)],a=0,s=o.length-1;a<s&&e>o[a][2][0];++a);var u=t(e-o[a][1][0],n);return u[0]+=t(o[a][1][0],i*n>i*o[a][0][1]?o[a][0][1]:n)[0],u}t.invert&&(a.invert=function(e,n){for(var i=o[+(n<0)],s=r[+(n<0)],u=0,l=i.length;u<l;++u){var c=i[u];if(c[0][0]<=e&&e<c[1][0]&&c[0][1]<=n&&n<c[1][1]){var f=t.invert(e-t(s[u][1][0],0)[0],n);return f[0]+=s[u][1][0],Gt(a(f[0],f[1]),[e,n])?f:null}}});var s=e.geoProjection(a),u=s.stream;return s.stream=function(t){var n=s.rotate(),r=u(t),o=(s.rotate([0,0]),u(t));return s.rotate(n),r.sphere=function(){e.geoStream(i,o)},r},s},Wt=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],Xt=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],Kt=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],Zt=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]],Qt=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]],Jt=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function te(t,e){return[3/S*t*M(y*y/3-e*e),e]}function ee(t){function e(e,n){if(r(r(n)-_)<m)return[0,n<0?-2:2];var i=v(n),o=d((1+i)/(1-i),t/2),s=.5*(o+1/o)+a(e*=t);return[2*v(e)/s,(o-1/o)/s]}return e.invert=function(e,n){var i=r(n);if(r(i-2)<m)return e?null:[0,p(n)*_];if(i>2)return null;var a=(e/=2)*e,s=(n/=2)*n,u=2*n/(1+a+s);return u=d((1+u)/(1-u),1/t),[o(2*e,1-a-s)/t,E((u-1)/(u+1))]},e}te.invert=function(t,e){return[S/3*t/M(y*y/3-e*e),e]};var ne=y/w;function re(t,e){return[t*(1+M(a(e)))/2,e/(a(e/2)*a(t/6))]}function ie(t,e){var n=t*t,r=e*e;return[t*(.975534+r*(-.0143059*n-.119161+-.0547009*r)),e*(1.00384+n*(.0802894+-.02855*r+199025e-9*n)+r*(.0998909+-.0491032*r))]}function oe(t,e){return[v(t)/a(e),g(e)*a(t)]}function ae(t){var e=a(t),n=g(b+t/2);function i(i,o){var a=o-t,s=r(a)<m?i*e:r(s=b+o/2)<m||r(r(s)-_)<m?0:i*a/l(g(s)/n);return[s,a]}return i.invert=function(i,o){var a,s=o+t;return[r(o)<m?i/e:r(a=b+s/2)<m||r(r(a)-_)<m?0:i*l(g(a)/n)/o,s]},i}function se(t,e){return[t,1.25*l(g(b+.4*e))]}function ue(t){var e=t.length-1;function n(n,r){for(var i,o=a(r),s=2/(1+o*a(n)),u=s*o*v(n),l=s*v(r),c=e,f=t[c],d=f[0],h=f[1];--c>=0;)d=(f=t[c])[0]+u*(i=d)-l*h,h=f[1]+u*h+l*i;return[d=u*(i=d)-l*h,h=u*h+l*i]}return n.invert=function(n,s){var u=20,l=n,c=s;do{for(var f,d=e,h=t[d],p=h[0],g=h[1],m=0,y=0;--d>=0;)m=p+l*(f=m)-c*y,y=g+l*y+c*f,p=(h=t[d])[0]+l*(f=p)-c*g,g=h[1]+l*g+c*f;var _,b,x=(m=p+l*(f=m)-c*y)*m+(y=g+l*y+c*f)*y;l-=_=((p=l*(f=p)-c*g-n)*m+(g=l*g+c*f-s)*y)/x,c-=b=(g*m-p*y)/x}while(r(_)+r(b)>1e-12&&--u>0);if(u){var w=M(l*l+c*c),j=2*i(.5*w),S=v(j);return[o(l*S,w*a(j)),w?E(c*S/w):0]}},n}re.invert=function(t,e){var n=r(t),i=r(e),o=m,s=_;i<ne?s*=i/ne:o+=6*C(ne/i);for(var u=0;u<25;u++){var l=v(s),c=M(a(s)),f=v(s/2),d=a(s/2),h=v(o/6),p=a(o/6),g=.5*o*(1+c)-n,y=s/(d*p)-i,b=c?-.25*o*l/c:0,x=.5*(1+c),w=(1+.5*s*f/d)/(d*p),j=s/d*(h/6)/(p*p),S=b*j-w*x,O=(g*j-y*x)/S,k=(y*b-g*w)/S;if(s-=O,o-=k,r(O)<m&&r(k)<m)break}return[t<0?-o:o,e<0?-s:s]},ie.invert=function(t,e){var n=p(t)*y,i=e/2,o=50;do{var a=n*n,s=i*i,u=n*i,l=n*(.975534+s*(-.0143059*a-.119161+-.0547009*s))-t,c=i*(1.00384+a*(.0802894+-.02855*s+199025e-9*a)+s*(.0998909+-.0491032*s))-e,f=.975534-s*(.119161+3*a*.0143059+.0547009*s),d=-u*(.238322+.2188036*s+.0286118*a),h=u*(.1605788+7961e-7*a+-.0571*s),v=1.00384+a*(.0802894+199025e-9*a)+s*(3*(.0998909-.02855*a)-.245516*s),g=d*h-v*f,_=(c*d-l*v)/g,b=(l*h-c*f)/g;n-=_,i-=b}while((r(_)>m||r(b)>m)&&--o>0);return o&&[n,i]},oe.invert=function(t,e){var n=t*t,r=e*e,i=r+1,o=t?x*M((i-M(n*n+2*n*(r-1)+i*i))/n+1):1/M(i);return[E(t*o),p(e)*C(o)]},se.invert=function(t,e){return[t,2.5*i(s(.8*e))-.625*y]};var le=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],ce=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],fe=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],de=[[.9245,0],[0,0],[.01943,0]],he=[[.721316,0],[0,0],[-.00881625,-.00617325]];function pe(t,n){var r=e.geoProjection(ue(t)).rotate(n).clipAngle(90),i=e.geoRotation(n),o=r.center;return delete r.rotate,r.center=function(t){return arguments.length?o(i(t)):i.invert(o())},r}var ve=M(6),ge=M(7);function me(t,e){var n=E(7*v(e)/(3*ve));return[ve*t*(2*a(2*n/3)-1)/ge,9*v(n/3)/ge]}function ye(t,e){for(var n,i=(1+x)*v(e),o=e,s=0;s<25&&(o-=n=(v(o/2)+v(o)-i)/(.5*a(o/2)+a(o)),!(r(n)<m));s++);return[t*(1+2*a(o)/a(o/2))/(3*w),2*M(3)*v(o/2)/M(2+w)]}function _e(t,e){for(var n,i=M(6/(4+y)),o=(1+y/4)*v(e),s=e/2,u=0;u<25&&(s-=n=(s/2+v(s)-o)/(.5+a(s)),!(r(n)<m));u++);return[i*(.5+a(s))*t/1.5,i*s]}function be(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function xe(t,e){var n=e*e,r=n*n,i=n*r;return[t*(.84719-.13063*n+i*i*(.05494*n-.04515-.02326*r+.00331*i)),e*(1.01183+r*r*(.01926*n-.02625-.00396*r))]}function we(t,e){return[t*(1+a(e))/2,2*(e-g(e/2))]}function je(t,e){var n=e*e;return[t,e*(1.0148+n*n*(.23185+n*(.02406*n-.14499)))]}function Se(t,e){if(r(e)<m)return[t,0];var n=g(e),i=t*v(e);return[v(i)/n,e+(1-a(i))/n]}me.invert=function(t,e){var n=3*E(e*ge/9);return[t*ge/(ve*(2*a(2*n/3)-1)),E(3*v(n)*ve/7)]},ye.invert=function(t,e){var n=e*M(2+w)/(2*M(3)),r=2*E(n);return[3*w*t/(1+2*a(r)/a(r/2)),E((n+v(r))/(1+x))]},_e.invert=function(t,e){var n=M(6/(4+y)),i=e/n;return r(r(i)-_)<m&&(i=i<0?-_:_),[1.5*t/(n*(.5+a(i))),E((i/2+v(i))/(1+y/4))]},be.invert=function(t,e){var n,i=e,o=25;do{var a=i*i,s=a*a;i-=n=(i*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-e)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while(r(n)>m&&--o>0);return[t/(.8707+(a=i*i)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),i]},xe.invert=function(t,e){var n,i,o,a,s=e,u=25;do{s-=n=(s*(1.01183+(o=(i=s*s)*i)*o*(.01926*i-.02625-.00396*o))-e)/(1.01183+o*o*(.21186*i-.23625+-.05148*o))}while(r(n)>1e-12&&--u>0);return[t/(.84719-.13063*(i=s*s)+(a=i*(o=i*i))*a*(.05494*i-.04515-.02326*o+.00331*a)),s]},we.invert=function(t,e){for(var n=e/2,i=0,o=1/0;i<10&&r(o)>m;++i){var s=a(e/2);e-=o=(e-g(e/2)-n)/(1-.5/(s*s))}return[2*t/(1+a(e)),e]},je.invert=function(t,e){e>1.790857183?e=1.790857183:e<-1.790857183&&(e=-1.790857183);var n,i=e;do{var o=i*i;i-=n=(i*(1.0148+o*o*(.23185+o*(.02406*o-.14499)))-e)/(1.0148+o*o*(5*.23185+o*(.21654*o-1.01493)))}while(r(n)>m);return[t,i]},Se.invert=function(t,e){if(r(e)<m)return[t,0];var n,i=t*t+e*e,o=.5*e,s=10;do{var u=g(o),l=1/a(o),c=i-2*e*o+o*o;o-=n=(u*c+2*(o-e))/(2+c*l*l+2*(o-e)*u)}while(r(n)>m&&--s>0);return u=g(o),[(r(e)<r(o+1/u)?E(t*u):p(t)*(C(r(t*u))+_))/v(o),o]};var Oe=function(t,e){var n=Ee(t[1],t[0]),r=Ee(e[1],e[0]),i=function(t,e){return o(t[0]*e[1]-t[1]*e[0],t[0]*e[0]+t[1]*e[1])}(n,r),s=Ce(n)/Ce(r);return ke([1,0,t[0][0],0,1,t[0][1]],ke([s,0,0,0,s,0],ke([a(i),v(i),0,-v(i),a(i),0],[1,0,-e[0][0],0,1,-e[0][1]])))};function ke(t,e){return[t[0]*e[0]+t[1]*e[3],t[0]*e[1]+t[1]*e[4],t[0]*e[2]+t[1]*e[5]+t[2],t[3]*e[0]+t[4]*e[3],t[3]*e[1]+t[4]*e[4],t[3]*e[2]+t[4]*e[5]+t[5]]}function Ee(t,e){return[t[0]-e[0],t[1]-e[1]]}function Ce(t){return M(t[0]*t[0]+t[1]*t[1])}var Me=function(t,n,i){function o(t,e){var r,i=n(t,e),o=i.project([t*O,e*O]);return(r=i.transform)?[r[0]*o[0]+r[1]*o[1]+r[2],-(r[3]*o[0]+r[4]*o[1]+r[5])]:(o[1]=-o[1],o)}(function t(e,n){if(e.edges=function(t){for(var e=t.length,n=[],r=t[e-1],i=0;i<e;++i)n.push([r,r=t[i]]);return n}(e.face),n.face){var r=e.shared=function(t,e){for(var n,r,i=t.length,o=null,a=0;a<i;++a){n=t[a];for(var s=e.length;--s>=0;)if(r=e[s],n[0]===r[0]&&n[1]===r[1]){if(o)return[o,n];o=n}}}(e.face,n.face),i=Oe(r.map(n.project),r.map(e.project));e.transform=n.transform?ke(n.transform,i):i;for(var o=n.edges,a=0,s=o.length;a<s;++a)Te(r[0],o[a][1])&&Te(r[1],o[a][0])&&(o[a]=e),Te(r[0],o[a][0])&&Te(r[1],o[a][1])&&(o[a]=e);for(o=e.edges,a=0,s=o.length;a<s;++a)Te(r[0],o[a][0])&&Te(r[1],o[a][1])&&(o[a]=n),Te(r[0],o[a][1])&&Te(r[1],o[a][0])&&(o[a]=n)}else e.transform=n.transform;return e.children&&e.children.forEach((function(n){t(n,e)})),e})(t,{transform:[a(i=null==i?-y/6:i),v(i),0,-v(i),a(i),0]}),Pe(t)&&(o.invert=function(e,r){var i=function t(e,r){var i=e.project.invert,o=e.transform,a=r;if(o&&(o=function(t){var e=1/(t[0]*t[4]-t[1]*t[3]);return[e*t[4],-e*t[1],e*(t[1]*t[5]-t[2]*t[4]),-e*t[3],e*t[0],e*(t[2]*t[3]-t[0]*t[5])]}(o),a=[o[0]*a[0]+o[1]*a[1]+o[2],o[3]*a[0]+o[4]*a[1]+o[5]]),i&&e===function(t){return n(t[0]*k,t[1]*k)}(s=i(a)))return s;for(var s,u=e.children,l=0,c=u&&u.length;l<c;++l)if(s=t(u[l],r))return s}(t,[e,-r]);return i&&(i[0]*=k,i[1]*=k,i)});var s=e.geoProjection(o),u=s.stream;return s.stream=function(n){var i=s.rotate(),o=u(n),a=(s.rotate([0,0]),u(n));return s.rotate(i),o.sphere=function(){a.polygonStart(),a.lineStart(),function t(n,i,o){var a,s,u=i.edges,l=u.length,c={type:"MultiPoint",coordinates:i.face},f=i.face.filter((function(t){return 90!==r(t[1])})),d=e.geoBounds({type:"MultiPoint",coordinates:f}),h=!1,p=-1,v=d[1][0]-d[0][0],g=180===v||360===v?[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]:e.geoCentroid(c);if(o)for(;++p<l&&u[p]!==o;);++p;for(var y=0;y<l;++y)s=u[(y+p)%l],Array.isArray(s)?(h||(n.point((a=e.geoInterpolate(s[0],g)(m))[0],a[1]),h=!0),n.point((a=e.geoInterpolate(s[1],g)(m))[0],a[1])):(h=!1,s!==o&&t(n,s,i))}(a,t),a.lineEnd(),a.polygonEnd()},o},s};function Te(t,e){return t&&e&&t[0]===e[0]&&t[1]===e[1]}function Pe(t){return t.project.invert||t.children&&t.children.some(Pe)}var Ae=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Ie=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map((function(t){return t.map((function(t){return Ae[t]}))})),Ne=2/M(3);function De(t,e){var n=rt(t,e);return[n[0]*Ne,n[1]]}function Re(t,e){for(var n=0,r=t.length,i=0;n<r;++n)i+=t[n]*e[n];return i}function Le(t){return[o(t[1],t[0])*O,E(c(-1,f(1,t[2])))*O]}function Be(t){var e=t[0]*k,n=t[1]*k,r=a(n);return[r*a(e),r*v(e),v(n)]}De.invert=function(t,e){return rt.invert(t/Ne,e)};var $e=function(){};function Fe(t,e){return{type:"FeatureCollection",features:t.features.map((function(t){return ze(t,e)}))}}function ze(t,e){return{type:"Feature",id:t.id,properties:t.properties,geometry:Ve(t.geometry,e)}}function Ve(t,n){if(!t)return null;if("GeometryCollection"===t.type)return function(t,e){return{type:"GeometryCollection",geometries:t.geometries.map((function(t){return Ve(t,e)}))}}(t,n);var r;switch(t.type){case"Point":case"MultiPoint":r=Ge;break;case"LineString":case"MultiLineString":r=Ue;break;case"Polygon":case"MultiPolygon":case"Sphere":r=Ye;break;default:return null}return e.geoStream(t,n(r)),r.result()}var qe=[],He=[],Ge={point:function(t,e){qe.push([t,e])},result:function(){var t=qe.length?qe.length<2?{type:"Point",coordinates:qe[0]}:{type:"MultiPoint",coordinates:qe}:null;return qe=[],t}},Ue={lineStart:$e,point:function(t,e){qe.push([t,e])},lineEnd:function(){qe.length&&(He.push(qe),qe=[])},result:function(){var t=He.length?He.length<2?{type:"LineString",coordinates:He[0]}:{type:"MultiLineString",coordinates:He}:null;return He=[],t}},Ye={polygonStart:$e,lineStart:$e,point:function(t,e){qe.push([t,e])},lineEnd:function(){var t=qe.length;if(t){do{qe.push(qe[0].slice())}while(++t<4);He.push(qe),qe=[]}},polygonEnd:$e,result:function(){if(!He.length)return null;var t=[],e=[];return He.forEach((function(n){!function(t){if((e=t.length)<4)return!1;for(var e,n=0,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r<=0}(n)?e.push(n):t.push([n])})),e.forEach((function(e){var n=e[0];t.some((function(t){if(function(t,e){for(var n=e[0],r=e[1],i=!1,o=0,a=t.length,s=a-1;o<a;s=o++){var u=t[o],l=u[0],c=u[1],f=t[s],d=f[0],h=f[1];c>r^h>r&&n<(d-l)*(r-c)/(h-c)+l&&(i=!i)}return i}(t[0],n))return t.push(e),!0}))||t.push([e])})),He=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}},We=function(t){var n=t(_,0)[0]-t(-_,0)[0];function i(e,i){var o=r(e)<_,a=t(o?e:e>0?e-y:e+y,i),s=(a[0]-a[1])*x,u=(a[0]+a[1])*x;if(o)return[s,u];var l=n*x,c=s>0^u>0?-1:1;return[c*s-p(u)*l,c*u-p(s)*l]}return t.invert&&(i.invert=function(e,i){var o=(e+i)*x,a=(i-e)*x,s=r(o)<.5*n&&r(a)<.5*n;if(!s){var u=n*x,l=o>0^a>0?-1:1,c=-l*e+(a>0?1:-1)*u,f=-l*i+(o>0?1:-1)*u;o=(-c-f)*x,a=(c-f)*x}var d=t.invert(o,a);return s||(d[0]+=o>0?y:-y),d}),e.geoProjection(i).rotate([-90,-90,45]).clipAngle(179.999)},Xe=function(){return We(Dt).scale(111.48)};function Ke(t){var e=v(t);function n(n,r){var o=e?g(n*e/2)/e:n/2;if(!r)return[2*o,-t];var s=2*i(o*v(r)),u=1/g(r);return[v(s)*u,r+(1-a(s))*u-t]}return n.invert=function(n,o){if(r(o+=t)<m)return[e?2*i(e*n/2)/e:n,0];var s,u=n*n+o*o,l=0,c=10;do{var f=g(l),d=1/a(l),h=u-2*o*l+l*l;l-=s=(f*h+2*(l-o))/(2+h*d*d+2*(l-o)*f)}while(r(s)>m&&--c>0);var p=n*(f=g(l)),_=g(r(o)<r(l+1/f)?.5*E(p):.5*C(p)+y/4)/v(l);return[e?2*i(e*_)/e:2*_,l]},n}var Ze=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function Qe(t,e){var n,i=f(18,36*r(e)/y),o=u(i),a=i-o,s=(n=Ze[o])[0],l=n[1],c=(n=Ze[++o])[0],d=n[1],h=(n=Ze[f(19,++o)])[0],p=n[1];return[t*(c+a*(h-s)/2+a*a*(h-2*c+s)/2),(e>0?_:-_)*(d+a*(p-l)/2+a*a*(p-2*d+l)/2)]}function Je(t,e){var n=function(t){function e(e,n){var r=a(n),i=(t-1)/(t-r*a(e));return[i*r*v(e),i*v(n)]}return e.invert=function(e,n){var r=e*e+n*n,i=M(r),a=(t-M(1-r*(t+1)/(t-1)))/((t-1)/i+i/(t-1));return[o(e*a,i*M(1-a*a)),i?E(n*a/i):0]},e}(t);if(!e)return n;var r=a(e),i=v(e);function s(e,o){var a=n(e,o),s=a[1],u=s*i/(t-1)+r;return[a[0]*r/u,s/u]}return s.invert=function(e,o){var a=(t-1)/(t-1-o*i);return n.invert(a*e,a*o*r)},s}Ze.forEach((function(t){t[1]*=1.0144})),Qe.invert=function(t,e){var n=e/_,i=90*n,o=f(18,r(i/5)),a=c(0,u(o));do{var s=Ze[a][1],l=Ze[a+1][1],d=Ze[f(19,a+2)][1],h=d-s,p=d-2*l+s,v=2*(r(n)-l)/h,g=p/h,m=v*(1-g*v*(1-2*g*v));if(m>=0||1===a){i=(e>=0?5:-5)*(m+o);var y,b=50;do{m=(o=f(18,r(i)/5))-(a=u(o)),s=Ze[a][1],l=Ze[a+1][1],d=Ze[f(19,a+2)][1],i-=(y=(e>=0?_:-_)*(l+m*(d-s)/2+m*m*(d-2*l+s)/2)-e)*O}while(r(y)>1e-12&&--b>0);break}}while(--a>=0);var x=Ze[a][0],w=Ze[a+1][0],j=Ze[f(19,a+2)][0];return[t/(w+m*(j-x)/2+m*m*(j-2*w+x)/2),i*k]};var tn=-179.9999,en=179.9999,nn=-89.9999;function rn(t){return t.length>0}function on(t){return-90===t||90===t?[0,t]:[-180,(e=t,Math.floor(1e4*e)/1e4)];var e}function an(t){var e=t[0],n=t[1],r=!1;return e<=tn?(e=-180,r=!0):e>=en&&(e=180,r=!0),n<=nn?(n=-90,r=!0):n>=89.9999&&(n=90,r=!0),r?[e,n]:t}function sn(t){return t.map(an)}function un(t,e,n){for(var r=0,i=t.length;r<i;++r){var o=t[r].slice();n.push({index:-1,polygon:e,ring:o});for(var a=0,s=o.length;a<s;++a){var u=o[a],l=u[0],c=u[1];if(l<=tn||l>=en||c<=nn||c>=89.9999){o[a]=an(u);for(var f=a+1;f<s;++f){var d=o[f],h=d[0],p=d[1];if(h>tn&&h<en&&p>nn&&p<89.9999)break}if(f===a+1)continue;if(a){var v={index:-1,polygon:e,ring:o.slice(0,a+1)};v.ring[v.ring.length-1]=on(c),n[n.length-1]=v}else n.pop();if(f>=s)break;n.push({index:-1,polygon:e,ring:o=o.slice(f-1)}),o[0]=on(o[0][1]),a=-1,s=o.length}}}}function ln(t){var e,n,r,i,o,a,s=t.length,u={},l={};for(e=0;e<s;++e)r=(n=t[e]).ring[0],o=n.ring[n.ring.length-1],r[0]!==o[0]||r[1]!==o[1]?(n.index=e,u[r]=l[o]=n):(n.polygon.push(n.ring),t[e]=null);for(e=0;e<s;++e)if(n=t[e]){if(r=n.ring[0],o=n.ring[n.ring.length-1],i=l[r],a=u[o],delete u[r],delete l[o],r[0]===o[0]&&r[1]===o[1]){n.polygon.push(n.ring);continue}i?(delete l[r],delete u[i.ring[0]],i.ring.pop(),t[i.index]=null,n={index:-1,polygon:i.polygon,ring:i.ring.concat(n.ring)},i===a?n.polygon.push(n.ring):(n.index=s++,t.push(u[n.ring[0]]=l[n.ring[n.ring.length-1]]=n))):a?(delete u[o],delete l[a.ring[a.ring.length-1]],n.ring.pop(),n={index:s++,polygon:a.polygon,ring:n.ring.concat(a.ring)},t[a.index]=null,t.push(u[n.ring[0]]=l[n.ring[n.ring.length-1]]=n)):(n.ring.push(n.ring[0]),n.polygon.push(n.ring))}}function cn(t){var e={type:"Feature",geometry:fn(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}function fn(t){if(null==t)return t;var e,n,r,i;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(fn)};break;case"Point":e={type:"Point",coordinates:an(t.coordinates)};break;case"MultiPoint":case"LineString":e={type:t.type,coordinates:sn(t.coordinates)};break;case"MultiLineString":e={type:"MultiLineString",coordinates:t.coordinates.map(sn)};break;case"Polygon":var o=[];un(t.coordinates,o,n=[]),ln(n),e={type:"Polygon",coordinates:o};break;case"MultiPolygon":n=[],r=-1,i=t.coordinates.length;for(var a=new Array(i);++r<i;)un(t.coordinates[r],a[r]=[],n);ln(n),e={type:"MultiPolygon",coordinates:a.filter(rn)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function dn(t,e){var n=g(e/2),r=v(b*n);return[t*(.74482-.34588*r*r),1.70711*n]}dn.invert=function(t,e){var n=e/1.70711,r=v(b*n);return[t/(.74482-.34588*r*r),2*i(n)]};var hn=function(t,n,r){var i=e.geoInterpolate(n,r),o=i(.5),a=e.geoRotation([-o[0],-o[1]])(n),s=i.distance/2,u=-E(v(a[1]*k)/v(s)),l=[-o[0],-o[1],-(a[0]>0?y-u:u)*O],c=e.geoProjection(t(s)).rotate(l),f=e.geoRotation(l),d=c.center;return delete c.rotate,c.center=function(t){return arguments.length?d(f(t)):f.invert(d())},c.clipAngle(90)};function pn(t){var n=a(t);function r(t,r){var i=e.geoGnomonicRaw(t,r);return i[0]*=n,i}return r.invert=function(t,r){return e.geoGnomonicRaw.invert(t/n,r)},r}function vn(t,e){return hn(pn,t,e)}function gn(t){if(!(t*=2))return e.geoAzimuthalEquidistantRaw;var n=-t/2,r=-n,i=t*t,s=g(r),u=.5/v(r);function l(e,o){var s=C(a(o)*a(e-n)),u=C(a(o)*a(e-r));return[((s*=s)-(u*=u))/(2*t),(o<0?-1:1)*M(4*i*u-(i-s+u)*(i-s+u))/(2*t)]}return l.invert=function(t,e){var i,l,c=e*e,f=a(M(c+(i=t+n)*i)),d=a(M(c+(i=t+r)*i));return[o(l=f-d,i=(f+d)*s),(e<0?-1:1)*C(M(i*i+l*l)*u)]},l}function mn(t,e){return hn(gn,t,e)}function yn(t,e){if(r(e)<m)return[t,0];var n=r(e/_),i=E(n);if(r(t)<m||r(r(e)-_)<m)return[0,p(e)*y*g(i/2)];var o=a(i),s=r(y/t-t/y)/2,u=s*s,l=o/(n+o-1),c=l*(2/n-1),f=c*c,d=f+u,h=l-f,v=u+l;return[p(t)*y*(s*h+M(u*h*h-d*(l*l-f)))/d,p(e)*y*(c*v-s*M((u+1)*d-v*v))/d]}function _n(t,e){if(r(e)<m)return[t,0];var n=r(e/_),i=E(n);if(r(t)<m||r(r(e)-_)<m)return[0,p(e)*y*g(i/2)];var o=a(i),s=r(y/t-t/y)/2,u=s*s,l=o*(M(1+u)-s*o)/(1+u*n*n);return[p(t)*y*l,p(e)*y*M(1-l*(2*s+l))]}function bn(t,e){if(r(e)<m)return[t,0];var n=e/_,i=E(n);if(r(t)<m||r(r(e)-_)<m)return[0,y*g(i/2)];var o=(y/t-t/y)/2,s=n/(1+a(i));return[y*(p(t)*M(o*o+1-s*s)-o),y*s]}function xn(t,e){if(!e)return[t,0];var n=r(e);if(!t||n===_)return[0,e];var i=n/_,o=i*i,a=(8*i-o*(o+2)-5)/(2*o*(i-1)),s=a*a,u=i*a,l=o+s+2*u,c=i+3*a,f=t/_,d=f+1/f,h=p(r(t)-_)*M(d*d-4),v=h*h,g=(h*(l+s-1)+2*M(l*(o+s*v-1)+(1-o)*(o*(c*c+4*s)+12*u*s+4*s*s)))/(4*l+v);return[p(t)*_*g,p(e)*_*M(1+h*r(g)-g*g)]}yn.invert=function(t,e){if(r(e)<m)return[t,0];if(r(t)<m)return[0,_*v(2*i(e/y))];var n=(t/=y)*t,o=(e/=y)*e,s=n+o,u=s*s,l=-r(e)*(1+s),c=l-2*o+n,f=-2*l+1+2*o+u,d=o/f+(2*c*c*c/(f*f*f)-9*l*c/(f*f))/27,h=(l-c*c/(3*f))/f,g=2*M(-h/3),b=C(3*d/(h*g))/3;return[y*(s-1+M(1+2*(n-o)+u))/(2*t),p(e)*y*(-g*a(b+y/3)-c/(3*f))]},_n.invert=function(t,e){if(!t)return[0,_*v(2*i(e/y))];var n=r(t/y),a=(1-n*n-(e/=y)*e)/(2*n),s=M(a*a+1);return[p(t)*y*(s-a),p(e)*_*v(2*o(M((1-2*a*n)*(a+s)-n),M(s+a+n)))]},bn.invert=function(t,e){if(!e)return[t,0];var n=e/y,r=(y*y*(1-n*n)-t*t)/(2*y*t);return[t?y*(p(t)*M(r*r+1)-r):0,_*v(2*i(n))]},xn.invert=function(t,e){var n;if(!t||!e)return[t,e];e/=y;var i=p(t)*t/_,o=(i*i-1+4*e*e)/r(i),a=o*o,s=2*e,u=50;do{var l=s*s,c=(8*s-l*(l+2)-5)/(2*l*(s-1)),f=(3*s-l*s-10)/(2*l*s),d=c*c,h=s*c,v=s+c,g=v*v,b=s+3*c,x=-2*v*(4*h*d+(1-4*l+3*l*l)*(1+f)+d*(14*l-6-a+(8*l-8-2*a)*f)+h*(12*l-8+(10*l-10-a)*f)),w=M(g*(l+d*a-1)+(1-l)*(l*(b*b+4*d)+d*(12*h+4*d)));s-=n=(o*(g+d-1)+2*w-i*(4*g+a))/(o*(2*c*f+2*v*(1+f))+x/w-8*v*(o*(-1+d+g)+2*w)*(1+f)/(a+4*g))}while(n>m&&--u>0);return[p(t)*(M(o*o+4)+o)*y/4,_*s]};var wn=4*y+3*M(3),jn=2*M(2*y*M(3)/wn),Sn=z(jn*M(3)/y,jn,wn/6);function On(t,e){return[t*M(1-3*e*e/(y*y)),e]}function kn(t,e){var n=.90631*v(e),r=M(1-n*n),i=M(2/(1+r*a(t/=3)));return[2.66723*r*i*v(t),1.24104*n*i]}function En(t,e){var n=a(e),r=a(t)*n,i=1-r,s=a(t=o(v(t)*n,-v(e))),u=v(t);return[u*(n=M(1-r*r))-s*i,-s*n-u*i]}function Cn(t,e){var n=I(t,e);return[(n[0]+t/_)/2,(n[1]+e)/2]}On.invert=function(t,e){return[t/M(1-3*e*e/(y*y)),e]},kn.invert=function(t,e){var n=t/2.66723,r=e/1.24104,i=M(n*n+r*r),a=2*E(i/2);return[3*o(t*g(a),2.66723*i),i&&E(e*v(a)/(1.24104*.90631*i))]},En.invert=function(t,e){var n=(t*t+e*e)/-2,r=M(-n*(2+n)),i=e*n+t*r,a=t*n-e*r,s=M(a*a+i*i);return[o(r*i,s*(1+n)),s?-E(r*a/s):0]},Cn.invert=function(t,e){var n=t,i=e,o=25;do{var s,u=a(i),l=v(i),c=v(2*i),f=l*l,d=u*u,h=v(n),p=a(n/2),g=v(n/2),y=g*g,b=1-d*p*p,x=b?C(u*p)*M(s=1/b):s=0,w=.5*(2*x*u*g+n/_)-t,j=.5*(x*l+i)-e,S=.5*s*(d*y+x*u*p*f)+.5/_,O=s*(h*c/4-x*l*g),k=.125*s*(c*g-x*l*d*h),E=.5*s*(f*p+x*y*u)+.5,T=O*k-E*S,P=(j*O-w*E)/T,A=(w*k-j*S)/T;n-=P,i-=A}while((r(P)>m||r(A)>m)&&--o>0);return[n,i]},t.geoAiry=function(){var t=_,n=e.geoProjectionMutator(A),r=n(t);return r.radius=function(e){return arguments.length?n(t=e*k):t*O},r.scale(179.976).clipAngle(147)},t.geoAiryRaw=A,t.geoAitoff=function(){return e.geoProjection(I).scale(152.63)},t.geoAitoffRaw=I,t.geoArmadillo=function(){var t=20*k,n=t>=0?1:-1,r=g(n*t),i=e.geoProjectionMutator(N),s=i(t),u=s.stream;return s.parallel=function(e){return arguments.length?(r=g((n=(t=e*k)>=0?1:-1)*t),i(t)):t*O},s.stream=function(e){var i=s.rotate(),l=u(e),c=(s.rotate([0,0]),u(e));return s.rotate(i),l.sphere=function(){c.polygonStart(),c.lineStart();for(var e=-180*n;n*e<180;e+=90*n)c.point(e,90*n);for(;n*(e-=t)>=-180;)c.point(e,n*-o(a(e*k/2),r)*O);c.lineEnd(),c.polygonEnd()},l},s.scale(218.695).center([0,28.0974])},t.geoArmadilloRaw=N,t.geoAugust=function(){return e.geoProjection(D).scale(66.1603)},t.geoAugustRaw=D,t.geoBaker=function(){return e.geoProjection(B).scale(112.314)},t.geoBakerRaw=B,t.geoBerghaus=function(){var t=5,n=e.geoProjectionMutator($),r=n(t),i=r.stream,s=-a(.01*k),u=v(.01*k);return r.lobes=function(e){return arguments.length?n(t=+e):t},r.stream=function(e){var n=r.rotate(),l=i(e),c=(r.rotate([0,0]),i(e));return r.rotate(n),l.sphere=function(){c.polygonStart(),c.lineStart();for(var e=0,n=360/t,r=2*y/t,i=90-180/t,l=_;e<t;++e,i-=n,l-=r)c.point(o(u*a(l),s)*O,E(u*v(l))*O),i<-90?(c.point(-90,-180-i-.01),c.point(-90,-180-i+.01)):(c.point(90,i+.01),c.point(90,i-.01));c.lineEnd(),c.polygonEnd()},l},r.scale(87.8076).center([0,17.1875]).clipAngle(179.999)},t.geoBerghausRaw=$,t.geoBoggs=function(){return e.geoProjection(G).scale(160.857)},t.geoBoggsRaw=G,t.geoBonne=function(){return U(W).scale(123.082).center([0,26.1441]).parallel(45)},t.geoBonneRaw=W,t.geoBottomley=function(){var t=.5,n=e.geoProjectionMutator(X),r=n(t);return r.fraction=function(e){return arguments.length?n(t=+e):t},r.scale(158.837)},t.geoBottomleyRaw=X,t.geoBromley=function(){return e.geoProjection(K).scale(152.63)},t.geoBromleyRaw=K,t.geoChamberlin=nt,t.geoChamberlinRaw=tt,t.geoChamberlinAfrica=function(){return nt([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])},t.geoCollignon=function(){return e.geoProjection(rt).scale(95.6464).center([0,30])},t.geoCollignonRaw=rt,t.geoCraig=function(){return U(it).scale(249.828).clipAngle(90)},t.geoCraigRaw=it,t.geoCraster=function(){return e.geoProjection(at).scale(156.19)},t.geoCrasterRaw=at,t.geoCylindricalEqualArea=function(){return U(st).parallel(38.58).scale(195.044)},t.geoCylindricalEqualAreaRaw=st,t.geoCylindricalStereographic=function(){return U(ut).scale(124.75)},t.geoCylindricalStereographicRaw=ut,t.geoEckert1=function(){return e.geoProjection(lt).scale(165.664)},t.geoEckert1Raw=lt,t.geoEckert2=function(){return e.geoProjection(ct).scale(165.664)},t.geoEckert2Raw=ct,t.geoEckert3=function(){return e.geoProjection(ft).scale(180.739)},t.geoEckert3Raw=ft,t.geoEckert4=function(){return e.geoProjection(dt).scale(180.739)},t.geoEckert4Raw=dt,t.geoEckert5=function(){return e.geoProjection(ht).scale(173.044)},t.geoEckert5Raw=ht,t.geoEckert6=function(){return e.geoProjection(pt).scale(173.044)},t.geoEckert6Raw=pt,t.geoEisenlohr=function(){return e.geoProjection(gt).scale(62.5271)},t.geoEisenlohrRaw=gt,t.geoFahey=function(){return e.geoProjection(yt).scale(137.152)},t.geoFaheyRaw=yt,t.geoFoucaut=function(){return e.geoProjection(_t).scale(135.264)},t.geoFoucautRaw=_t,t.geoGilbert=function(t){null==t&&(t=e.geoOrthographic);var n=t(),r=e.geoEquirectangular().scale(O).precision(0).clipAngle(null).translate([0,0]);function i(t){return n(bt(t))}function o(t){i[t]=function(e){return arguments.length?(n[t](e),i):n[t]()}}return n.invert&&(i.invert=function(t){return xt(n.invert(t))}),i.stream=function(t){var e=n.stream(t),i=r.stream({point:function(t,n){e.point(t/2,E(g(-n/2*k))*O)},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}});return i.sphere=e.sphere,i},i.rotate=function(t){return arguments.length?(r.rotate(t),i):r.rotate()},i.center=function(t){return arguments.length?(n.center(bt(t)),i):xt(n.center())},o("clipAngle"),o("clipExtent"),o("scale"),o("translate"),o("precision"),i.scale(249.5)},t.geoGingery=function(){var t=6,n=30*k,r=a(n),i=v(n),s=e.geoProjectionMutator(wt),u=s(n,t),l=u.stream,c=-a(.01*k),f=v(.01*k);return u.radius=function(e){return arguments.length?(r=a(n=e*k),i=v(n),s(n,t)):n*O},u.lobes=function(e){return arguments.length?s(n,t=+e):t},u.stream=function(e){var n=u.rotate(),s=l(e),d=(u.rotate([0,0]),l(e));return u.rotate(n),s.sphere=function(){d.polygonStart(),d.lineStart();for(var e=0,n=2*y/t,s=0;e<t;++e,s-=n)d.point(o(f*a(s),c)*O,E(f*v(s))*O),d.point(o(i*a(s-n/2),r)*O,E(i*v(s-n/2))*O);d.lineEnd(),d.polygonEnd()},s},u.rotate([90,-40]).scale(91.7095).clipAngle(179.999)},t.geoGingeryRaw=wt,t.geoGinzburg4=function(){return e.geoProjection(kt).scale(149.995)},t.geoGinzburg4Raw=kt,t.geoGinzburg5=function(){return e.geoProjection(Et).scale(153.93)},t.geoGinzburg5Raw=Et,t.geoGinzburg6=function(){return e.geoProjection(Ct).scale(130.945)},t.geoGinzburg6Raw=Ct,t.geoGinzburg8=function(){return e.geoProjection(Mt).scale(131.747)},t.geoGinzburg8Raw=Mt,t.geoGinzburg9=function(){return e.geoProjection(Tt).scale(131.087)},t.geoGinzburg9Raw=Tt,t.geoGringorten=function(){return e.geoProjection(Pt(At)).scale(239.75)},t.geoGringortenRaw=At,t.geoGuyou=function(){return e.geoProjection(Pt(Dt)).scale(151.496)},t.geoGuyouRaw=Dt,t.geoHammer=function(){var t=2,n=e.geoProjectionMutator(Rt),r=n(t);return r.coefficient=function(e){return arguments.length?n(t=+e):t},r.scale(169.529)},t.geoHammerRaw=Rt,t.geoHammerRetroazimuthal=function(){var t=0,n=e.geoProjectionMutator(Bt),r=n(t),i=r.rotate,o=r.stream,a=e.geoCircle();return r.parallel=function(e){if(!arguments.length)return t*O;var i=r.rotate();return n(t=e*k).rotate(i)},r.rotate=function(e){return arguments.length?(i.call(r,[e[0],e[1]-t*O]),a.center([-e[0],-e[1]]),r):((e=i.call(r))[1]+=t*O,e)},r.stream=function(t){return(t=o(t)).sphere=function(){t.polygonStart();var e,n=a.radius(89.99)().coordinates[0],r=n.length-1,i=-1;for(t.lineStart();++i<r;)t.point((e=n[i])[0],e[1]);for(t.lineEnd(),r=(n=a.radius(90.01)().coordinates[0]).length-1,t.lineStart();--i>=0;)t.point((e=n[i])[0],e[1]);t.lineEnd(),t.polygonEnd()},t},r.scale(79.4187).parallel(45).clipAngle(179.999)},t.geoHammerRetroazimuthalRaw=Bt,t.geoHealpix=function(){var t=4,r=e.geoProjectionMutator(zt),i=r(t),o=i.stream;return i.lobes=function(e){return arguments.length?r(t=+e):t},i.stream=function(r){var a=i.rotate(),s=o(r),u=(i.rotate([0,0]),o(r));return i.rotate(a),s.sphere=function(){var r;e.geoStream((r=180/t,{type:"Polygon",coordinates:[n.range(-180,180+r/2,r).map((function(t,e){return[t,1&e?89.999999:41+48/36+37/3600]})).concat(n.range(180,-180-r/2,-r).map((function(t,e){return[t,1&e?-89.999999:-42.343611111111116]})))]}),u)},s},i.scale(239.75)},t.geoHealpixRaw=zt,t.geoHill=function(){var t=1,n=e.geoProjectionMutator(Vt),r=n(t);return r.ratio=function(e){return arguments.length?n(t=+e):t},r.scale(167.774).center([0,18.67])},t.geoHillRaw=Vt,t.geoHomolosine=function(){return e.geoProjection(Ht).scale(152.63)},t.geoHomolosineRaw=Ht,t.geoInterrupt=Yt,t.geoInterruptedBoggs=function(){return Yt(G,Wt).scale(160.857)},t.geoInterruptedHomolosine=function(){return Yt(Ht,Xt).scale(152.63)},t.geoInterruptedMollweide=function(){return Yt(V,Kt).scale(169.529)},t.geoInterruptedMollweideHemispheres=function(){return Yt(V,Zt).scale(169.529).rotate([20,0])},t.geoInterruptedSinuMollweide=function(){return Yt(qt,Qt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoInterruptedSinusoidal=function(){return Yt(Y,Jt).scale(152.63).rotate([-20,0])},t.geoKavrayskiy7=function(){return e.geoProjection(te).scale(158.837)},t.geoKavrayskiy7Raw=te,t.geoLagrange=function(){var t=.5,n=e.geoProjectionMutator(ee),r=n(t);return r.spacing=function(e){return arguments.length?n(t=+e):t},r.scale(124.75)},t.geoLagrangeRaw=ee,t.geoLarrivee=function(){return e.geoProjection(re).scale(97.2672)},t.geoLarriveeRaw=re,t.geoLaskowski=function(){return e.geoProjection(ie).scale(139.98)},t.geoLaskowskiRaw=ie,t.geoLittrow=function(){return e.geoProjection(oe).scale(144.049).clipAngle(89.999)},t.geoLittrowRaw=oe,t.geoLoximuthal=function(){return U(ae).parallel(40).scale(158.837)},t.geoLoximuthalRaw=ae,t.geoMiller=function(){return e.geoProjection(se).scale(108.318)},t.geoMillerRaw=se,t.geoModifiedStereographic=pe,t.geoModifiedStereographicRaw=ue,t.geoModifiedStereographicAlaska=function(){return pe(le,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)},t.geoModifiedStereographicGs48=function(){return pe(ce,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])},t.geoModifiedStereographicGs50=function(){return pe(fe,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])},t.geoModifiedStereographicMiller=function(){return pe(de,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)},t.geoModifiedStereographicLee=function(){return pe(he,[165,10]).scale(250).clipAngle(130).center([-165,-10])},t.geoMollweide=function(){return e.geoProjection(V).scale(169.529)},t.geoMollweideRaw=V,t.geoMtFlatPolarParabolic=function(){return e.geoProjection(me).scale(164.859)},t.geoMtFlatPolarParabolicRaw=me,t.geoMtFlatPolarQuartic=function(){return e.geoProjection(ye).scale(188.209)},t.geoMtFlatPolarQuarticRaw=ye,t.geoMtFlatPolarSinusoidal=function(){return e.geoProjection(_e).scale(166.518)},t.geoMtFlatPolarSinusoidalRaw=_e,t.geoNaturalEarth=function(){return e.geoProjection(be).scale(175.295)},t.geoNaturalEarthRaw=be,t.geoNaturalEarth2=function(){return e.geoProjection(xe).scale(175.295)},t.geoNaturalEarth2Raw=xe,t.geoNellHammer=function(){return e.geoProjection(we).scale(152.63)},t.geoNellHammerRaw=we,t.geoPatterson=function(){return e.geoProjection(je).scale(139.319)},t.geoPattersonRaw=je,t.geoPolyconic=function(){return e.geoProjection(Se).scale(103.74)},t.geoPolyconicRaw=Se,t.geoPolyhedral=Me,t.geoPolyhedralButterfly=function(t){t=t||function(t){var n=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoGnomonic().scale(1).translate([0,0]).rotate([-n[0],-n[1]])};var n=Ie.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])})),Me(n[0],(function(t,e){return n[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]})).scale(101.858).center([0,45])},t.geoPolyhedralCollignon=function(t){t=t||function(t){var n=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoProjection(De).translate([0,0]).scale(1).rotate(n[1]>0?[-n[0],0]:[180-n[0],180])};var n=Ie.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])})),Me(n[0],(function(t,e){return n[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]})).scale(121.906).center([0,48.5904])},t.geoPolyhedralWaterman=function(t){t=t||function(t){var n=6===t.length?e.geoCentroid({type:"MultiPoint",coordinates:t}):t[0];return e.geoGnomonic().scale(1).translate([0,0]).rotate([-n[0],-n[1]])};var n=Ie.map((function(t){for(var e,n=t.map(Be),r=n.length,i=n[r-1],o=[],a=0;a<r;++a)e=n[a],o.push(Le([.9486832980505138*i[0]+.31622776601683794*e[0],.9486832980505138*i[1]+.31622776601683794*e[1],.9486832980505138*i[2]+.31622776601683794*e[2]]),Le([.9486832980505138*e[0]+.31622776601683794*i[0],.9486832980505138*e[1]+.31622776601683794*i[1],.9486832980505138*e[2]+.31622776601683794*i[2]])),i=e;return o})),r=[],i=[-1,0,0,1,0,1,4,5];n.forEach((function(t,e){for(var o,a,s=Ie[e],u=s.length,l=r[e]=[],c=0;c<u;++c)n.push([s[c],t[(2*c+2)%(2*u)],t[(2*c+1)%(2*u)]]),i.push(e),l.push((o=Be(t[(2*c+2)%(2*u)]),a=Be(t[(2*c+1)%(2*u)]),[o[1]*a[2]-o[2]*a[1],o[2]*a[0]-o[0]*a[2],o[0]*a[1]-o[1]*a[0]]))}));var o=n.map((function(e){return{project:t(e),face:e}}));return i.forEach((function(t,e){var n=o[t];n&&(n.children||(n.children=[])).push(o[e])})),Me(o[0],(function(t,e){var n=a(e),i=[n*a(t),n*v(t),v(e)],s=t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5,u=r[s];return o[Re(u[0],i)<0?8+3*s:Re(u[1],i)<0?8+3*s+1:Re(u[2],i)<0?8+3*s+2:s]})).scale(110.625).center([0,45])},t.geoProject=function(t,e){var n,r=e.stream;if(!r)throw new Error("invalid projection");switch(t&&t.type){case"Feature":n=ze;break;case"FeatureCollection":n=Fe;break;default:n=Ve}return n(t,r)},t.geoGringortenQuincuncial=function(){return We(At).scale(176.423)},t.geoPeirceQuincuncial=Xe,t.geoPierceQuincuncial=Xe,t.geoQuantize=function(t,e){if(!(0<=(e=+e)&&e<=20))throw new Error("invalid digits");function n(t){var n=t.length,r=2,i=new Array(n);for(i[0]=+t[0].toFixed(e),i[1]=+t[1].toFixed(e);r<n;)i[r]=t[r],++r;return i}function r(t){return t.map(n)}function i(t){return t.map(r)}function o(t){if(null==t)return t;var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(o)};break;case"Point":e={type:"Point",coordinates:n(t.coordinates)};break;case"MultiPoint":case"LineString":e={type:t.type,coordinates:r(t.coordinates)};break;case"MultiLineString":case"Polygon":e={type:t.type,coordinates:i(t.coordinates)};break;case"MultiPolygon":e={type:"MultiPolygon",coordinates:t.coordinates.map(i)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function a(t){var e={type:"Feature",properties:t.properties,geometry:o(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),e}if(null!=t)switch(t.type){case"Feature":return a(t);case"FeatureCollection":var s={type:"FeatureCollection",features:t.features.map(a)};return null!=t.bbox&&(s.bbox=t.bbox),s;default:return o(t)}return t},t.geoQuincuncial=We,t.geoRectangularPolyconic=function(){return U(Ke).scale(131.215)},t.geoRectangularPolyconicRaw=Ke,t.geoRobinson=function(){return e.geoProjection(Qe).scale(152.63)},t.geoRobinsonRaw=Qe,t.geoSatellite=function(){var t=2,n=0,r=e.geoProjectionMutator(Je),i=r(t,n);return i.distance=function(e){return arguments.length?r(t=+e,n):t},i.tilt=function(e){return arguments.length?r(t,n=e*k):n*O},i.scale(432.147).clipAngle(C(1/t)*O-1e-6)},t.geoSatelliteRaw=Je,t.geoSinuMollweide=function(){return e.geoProjection(qt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoSinuMollweideRaw=qt,t.geoSinusoidal=function(){return e.geoProjection(Y).scale(152.63)},t.geoSinusoidalRaw=Y,t.geoStitch=function(t){if(null==t)return t;switch(t.type){case"Feature":return cn(t);case"FeatureCollection":var e={type:"FeatureCollection",features:t.features.map(cn)};return null!=t.bbox&&(e.bbox=t.bbox),e;default:return fn(t)}},t.geoTimes=function(){return e.geoProjection(dn).scale(146.153)},t.geoTimesRaw=dn,t.geoTwoPointAzimuthal=vn,t.geoTwoPointAzimuthalRaw=pn,t.geoTwoPointAzimuthalUsa=function(){return vn([-158,21.5],[-77,39]).clipAngle(60).scale(400)},t.geoTwoPointEquidistant=mn,t.geoTwoPointEquidistantRaw=gn,t.geoTwoPointEquidistantUsa=function(){return mn([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)},t.geoVanDerGrinten=function(){return e.geoProjection(yn).scale(79.4183)},t.geoVanDerGrintenRaw=yn,t.geoVanDerGrinten2=function(){return e.geoProjection(_n).scale(79.4183)},t.geoVanDerGrinten2Raw=_n,t.geoVanDerGrinten3=function(){return e.geoProjection(bn).scale(79.4183)},t.geoVanDerGrinten3Raw=bn,t.geoVanDerGrinten4=function(){return e.geoProjection(xn).scale(127.16)},t.geoVanDerGrinten4Raw=xn,t.geoWagner4=function(){return e.geoProjection(Sn).scale(176.84)},t.geoWagner4Raw=Sn,t.geoWagner6=function(){return e.geoProjection(On).scale(152.63)},t.geoWagner6Raw=On,t.geoWagner7=function(){return e.geoProjection(kn).scale(172.632)},t.geoWagner7Raw=kn,t.geoWiechel=function(){return e.geoProjection(En).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)},t.geoWiechelRaw=En,t.geoWinkel3=function(){return e.geoProjection(Cn).scale(158.837)},t.geoWinkel3Raw=Cn,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-geo */"./node_modules/_d3-geo@1.12.1@d3-geo/dist/d3-geo.js"),n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-geo@1.12.1@d3-geo/dist/d3-geo.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_d3-geo@1.12.1@d3-geo/dist/d3-geo.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e){"use strict";function n(){return new r}function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){o(i,t,this.t),o(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function o(t,e,n){var r=t.s=e+n,i=r-e,o=r-i;t.t=e-o+(n-i)}var a=1e-6,s=Math.PI,u=s/2,l=s/4,c=2*s,f=180/s,d=s/180,h=Math.abs,p=Math.atan,v=Math.atan2,g=Math.cos,m=Math.ceil,y=Math.exp,_=Math.log,b=Math.pow,x=Math.sin,w=Math.sign||function(t){return t>0?1:t<0?-1:0},j=Math.sqrt,S=Math.tan;function O(t){return t>1?0:t<-1?s:Math.acos(t)}function k(t){return t>1?u:t<-1?-u:Math.asin(t)}function E(t){return(t=x(t/2))*t}function C(){}function M(t,e){t&&P.hasOwnProperty(t.type)&&P[t.type](t,e)}var T={Feature:function(t,e){M(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)M(n[r].geometry,e)}},P={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){A(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)A(n[r],e,0)},Polygon:function(t,e){I(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)I(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)M(n[r],e)}};function A(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function I(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)A(t[n],e,1);e.polygonEnd()}function N(t,e){t&&T.hasOwnProperty(t.type)?T[t.type](t,e):M(t,e)}var D,R,L,B,$,F=n(),z=n(),V={point:C,lineStart:C,lineEnd:C,polygonStart:function(){F.reset(),V.lineStart=q,V.lineEnd=H},polygonEnd:function(){var t=+F;z.add(t<0?c+t:t),this.lineStart=this.lineEnd=this.point=C},sphere:function(){z.add(c)}};function q(){V.point=G}function H(){U(D,R)}function G(t,e){V.point=U,D=t,R=e,L=t*=d,B=g(e=(e*=d)/2+l),$=x(e)}function U(t,e){var n=(t*=d)-L,r=n>=0?1:-1,i=r*n,o=g(e=(e*=d)/2+l),a=x(e),s=$*a,u=B*o+s*g(i),c=s*r*x(i);F.add(v(c,u)),L=t,B=o,$=a}function Y(t){return[v(t[1],t[0]),k(t[2])]}function W(t){var e=t[0],n=t[1],r=g(n);return[r*g(e),r*x(e),x(n)]}function X(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function K(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Z(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Q(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function J(t){var e=j(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var tt,et,nt,rt,it,ot,at,st,ut,lt,ct,ft,dt,ht,pt,vt,gt,mt,yt,_t,bt,xt,wt,jt,St,Ot,kt=n(),Et={point:Ct,lineStart:Tt,lineEnd:Pt,polygonStart:function(){Et.point=At,Et.lineStart=It,Et.lineEnd=Nt,kt.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),Et.point=Ct,Et.lineStart=Tt,Et.lineEnd=Pt,F<0?(tt=-(nt=180),et=-(rt=90)):kt>a?rt=90:kt<-a&&(et=-90),lt[0]=tt,lt[1]=nt},sphere:function(){tt=-(nt=180),et=-(rt=90)}};function Ct(t,e){ut.push(lt=[tt=t,nt=t]),e<et&&(et=e),e>rt&&(rt=e)}function Mt(t,e){var n=W([t*d,e*d]);if(st){var r=K(st,n),i=K([r[1],-r[0],0],r);J(i),i=Y(i);var o,a=t-it,s=a>0?1:-1,u=i[0]*f*s,l=h(a)>180;l^(s*it<u&&u<s*t)?(o=i[1]*f)>rt&&(rt=o):l^(s*it<(u=(u+360)%360-180)&&u<s*t)?(o=-i[1]*f)<et&&(et=o):(e<et&&(et=e),e>rt&&(rt=e)),l?t<it?Dt(tt,t)>Dt(tt,nt)&&(nt=t):Dt(t,nt)>Dt(tt,nt)&&(tt=t):nt>=tt?(t<tt&&(tt=t),t>nt&&(nt=t)):t>it?Dt(tt,t)>Dt(tt,nt)&&(nt=t):Dt(t,nt)>Dt(tt,nt)&&(tt=t)}else ut.push(lt=[tt=t,nt=t]);e<et&&(et=e),e>rt&&(rt=e),st=n,it=t}function Tt(){Et.point=Mt}function Pt(){lt[0]=tt,lt[1]=nt,Et.point=Ct,st=null}function At(t,e){if(st){var n=t-it;kt.add(h(n)>180?n+(n>0?360:-360):n)}else ot=t,at=e;V.point(t,e),Mt(t,e)}function It(){V.lineStart()}function Nt(){At(ot,at),V.lineEnd(),h(kt)>a&&(tt=-(nt=180)),lt[0]=tt,lt[1]=nt,st=null}function Dt(t,e){return(e-=t)<0?e+360:e}function Rt(t,e){return t[0]-e[0]}function Lt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Bt={sphere:C,point:$t,lineStart:zt,lineEnd:Ht,polygonStart:function(){Bt.lineStart=Gt,Bt.lineEnd=Ut},polygonEnd:function(){Bt.lineStart=zt,Bt.lineEnd=Ht}};function $t(t,e){t*=d;var n=g(e*=d);Ft(n*g(t),n*x(t),x(e))}function Ft(t,e,n){++ct,dt+=(t-dt)/ct,ht+=(e-ht)/ct,pt+=(n-pt)/ct}function zt(){Bt.point=Vt}function Vt(t,e){t*=d;var n=g(e*=d);jt=n*g(t),St=n*x(t),Ot=x(e),Bt.point=qt,Ft(jt,St,Ot)}function qt(t,e){t*=d;var n=g(e*=d),r=n*g(t),i=n*x(t),o=x(e),a=v(j((a=St*o-Ot*i)*a+(a=Ot*r-jt*o)*a+(a=jt*i-St*r)*a),jt*r+St*i+Ot*o);ft+=a,vt+=a*(jt+(jt=r)),gt+=a*(St+(St=i)),mt+=a*(Ot+(Ot=o)),Ft(jt,St,Ot)}function Ht(){Bt.point=$t}function Gt(){Bt.point=Yt}function Ut(){Wt(xt,wt),Bt.point=$t}function Yt(t,e){xt=t,wt=e,t*=d,e*=d,Bt.point=Wt;var n=g(e);jt=n*g(t),St=n*x(t),Ot=x(e),Ft(jt,St,Ot)}function Wt(t,e){t*=d;var n=g(e*=d),r=n*g(t),i=n*x(t),o=x(e),a=St*o-Ot*i,s=Ot*r-jt*o,u=jt*i-St*r,l=j(a*a+s*s+u*u),c=k(l),f=l&&-c/l;yt+=f*a,_t+=f*s,bt+=f*u,ft+=c,vt+=c*(jt+(jt=r)),gt+=c*(St+(St=i)),mt+=c*(Ot+(Ot=o)),Ft(jt,St,Ot)}function Xt(t){return function(){return t}}function Kt(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Zt(t,e){return[h(t)>s?t+Math.round(-t/c)*c:t,e]}function Qt(t,e,n){return(t%=c)?e||n?Kt(te(t),ee(e,n)):te(t):e||n?ee(e,n):Zt}function Jt(t){return function(e,n){return[(e+=t)>s?e-c:e<-s?e+c:e,n]}}function te(t){var e=Jt(t);return e.invert=Jt(-t),e}function ee(t,e){var n=g(t),r=x(t),i=g(e),o=x(e);function a(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*n+s*r;return[v(u*i-c*o,s*n-l*r),k(c*i+u*o)]}return a.invert=function(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*i-u*o;return[v(u*i+l*o,s*n+c*r),k(c*n-s*r)]},a}function ne(t){function e(e){return(e=t(e[0]*d,e[1]*d))[0]*=f,e[1]*=f,e}return t=Qt(t[0]*d,t[1]*d,t.length>2?t[2]*d:0),e.invert=function(e){return(e=t.invert(e[0]*d,e[1]*d))[0]*=f,e[1]*=f,e},e}function re(t,e,n,r,i,o){if(n){var a=g(e),s=x(e),u=r*n;null==i?(i=e+r*c,o=e-u/2):(i=ie(a,i),o=ie(a,o),(r>0?i<o:i>o)&&(i+=r*c));for(var l,f=i;r>0?f>o:f<o;f-=u)l=Y([a,-s*g(f),-s*x(f)]),t.point(l[0],l[1])}}function ie(t,e){(e=W(e))[0]-=t,J(e);var n=O(-e[1]);return((-e[2]<0?-n:n)+c-a)%c}function oe(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:C,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function ae(t,e){return h(t[0]-e[0])<a&&h(t[1]-e[1])<a}function se(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function ue(t,e,n,r,i){var o,s,u=[],l=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],s=t[e];if(ae(r,s)){if(!r[2]&&!s[2]){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}s[0]+=2*a}u.push(n=new se(r,t,null,!0)),l.push(n.o=new se(r,null,n,!1)),u.push(n=new se(s,t,null,!1)),l.push(n.o=new se(s,null,n,!0))}})),u.length){for(l.sort(e),le(u),le(l),o=0,s=l.length;o<s;++o)l[o].e=n=!n;for(var c,f,d=u[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,s=c.length;o<s;++o)i.point((f=c[o])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(c=h.p.z,o=c.length-1;o>=0;--o)i.point((f=c[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}c=(h=h.o).z,p=!p}while(!h.v);i.lineEnd()}}}function le(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}Zt.invert=Zt;var ce=n();function fe(t){return h(t[0])<=s?t[0]:w(t[0])*((h(t[0])+s)%c-s)}function de(t,e){var n=fe(e),r=e[1],i=x(r),o=[x(n),-g(n),0],f=0,d=0;ce.reset(),1===i?r=u+a:-1===i&&(r=-u-a);for(var h=0,p=t.length;h<p;++h)if(y=(m=t[h]).length)for(var m,y,_=m[y-1],b=fe(_),w=_[1]/2+l,j=x(w),S=g(w),O=0;O<y;++O,b=C,j=T,S=P,_=E){var E=m[O],C=fe(E),M=E[1]/2+l,T=x(M),P=g(M),A=C-b,I=A>=0?1:-1,N=I*A,D=N>s,R=j*T;if(ce.add(v(R*I*x(N),S*P+R*g(N))),f+=D?A+I*c:A,D^b>=n^C>=n){var L=K(W(_),W(E));J(L);var B=K(o,L);J(B);var $=(D^A>=0?-1:1)*k(B[2]);(r>$||r===$&&(L[0]||L[1]))&&(d+=D^A>=0?1:-1)}}return(f<-a||f<a&&ce<-a)^1&d}function he(t,n,r,i){return function(o){var a,s,u,l=n(o),c=oe(),f=n(c),d=!1,h={point:p,lineStart:g,lineEnd:m,polygonStart:function(){h.point=y,h.lineStart=_,h.lineEnd=b,s=[],a=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=m,s=e.merge(s);var t=de(a,i);s.length?(d||(o.polygonStart(),d=!0),ue(s,ve,t,r,o)):t&&(d||(o.polygonStart(),d=!0),o.lineStart(),r(null,null,1,o),o.lineEnd()),d&&(o.polygonEnd(),d=!1),s=a=null},sphere:function(){o.polygonStart(),o.lineStart(),r(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function p(e,n){t(e,n)&&o.point(e,n)}function v(t,e){l.point(t,e)}function g(){h.point=v,l.lineStart()}function m(){h.point=p,l.lineEnd()}function y(t,e){u.push([t,e]),f.point(t,e)}function _(){f.lineStart(),u=[]}function b(){y(u[0][0],u[0][1]),f.lineEnd();var t,e,n,r,i=f.clean(),l=c.result(),h=l.length;if(u.pop(),a.push(u),u=null,h)if(1&i){if((e=(n=l[0]).length-1)>0){for(d||(o.polygonStart(),d=!0),o.lineStart(),t=0;t<e;++t)o.point((r=n[t])[0],r[1]);o.lineEnd()}}else h>1&&2&i&&l.push(l.pop().concat(l.shift())),s.push(l.filter(pe))}return h}}function pe(t){return t.length>1}function ve(t,e){return((t=t.x)[0]<0?t[1]-u-a:u-t[1])-((e=e.x)[0]<0?e[1]-u-a:u-e[1])}var ge=he((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,l){var c=o>0?s:-s,f=h(o-n);h(f-s)<a?(t.point(n,r=(r+l)/2>0?u:-u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(o,r),e=0):i!==c&&f>=s&&(h(n-i)<a&&(n-=i*a),h(o-c)<a&&(o-=c*a),r=function(t,e,n,r){var i,o,s=x(t-n);return h(s)>a?p((x(e)*(o=g(r))*x(n)-x(r)*(i=g(e))*x(t))/(i*o*s)):(e+r)/2}(n,r,o,l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),e=0),t.point(n=o,r=l),i=c},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*u,r.point(-s,i),r.point(0,i),r.point(s,i),r.point(s,0),r.point(s,-i),r.point(0,-i),r.point(-s,-i),r.point(-s,0),r.point(-s,i);else if(h(t[0]-e[0])>a){var o=t[0]<e[0]?s:-s;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}),[-s,-u]);function me(t){var e=g(t),n=6*d,r=e>0,i=h(e)>a;function o(t,n){return g(t)*g(n)>e}function u(t,n,r){var i=[1,0,0],o=K(W(t),W(n)),u=X(o,o),l=o[0],c=u-l*l;if(!c)return!r&&t;var f=e*u/c,d=-e*l/c,p=K(i,o),v=Q(i,f);Z(v,Q(o,d));var g=p,m=X(v,g),y=X(g,g),_=m*m-y*(X(v,v)-1);if(!(_<0)){var b=j(_),x=Q(g,(-m-b)/y);if(Z(x,v),x=Y(x),!r)return x;var w,S=t[0],O=n[0],k=t[1],E=n[1];O<S&&(w=S,S=O,O=w);var C=O-S,M=h(C-s)<a;if(!M&&E<k&&(w=k,k=E,E=w),M||C<a?M?k+E>0^x[1]<(h(x[0]-S)<a?k:E):k<=x[1]&&x[1]<=E:C>s^(S<=x[0]&&x[0]<=O)){var T=Q(g,(-m+b)/y);return Z(T,v),[x,Y(T)]}}}function l(e,n){var i=r?t:s-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return he(o,(function(t){var e,n,a,c,f;return{lineStart:function(){c=a=!1,f=1},point:function(d,h){var p,v=[d,h],g=o(d,h),m=r?g?0:l(d,h):g?l(d+(d<0?s:-s),h):0;if(!e&&(c=a=g)&&t.lineStart(),g!==a&&(!(p=u(e,v))||ae(e,p)||ae(v,p))&&(v[2]=1),g!==a)f=0,g?(t.lineStart(),p=u(v,e),t.point(p[0],p[1])):(p=u(e,v),t.point(p[0],p[1],2),t.lineEnd()),e=p;else if(i&&e&&r^g){var y;m&n||!(y=u(v,e,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||e&&ae(e,v)||t.point(v[0],v[1]),e=v,a=g,n=m},lineEnd:function(){a&&t.lineEnd(),e=null},clean:function(){return f|(c&&a)<<1}}}),(function(e,r,i,o){re(o,t,n,i,e,r)}),r?[0,-t]:[-s,t-s])}function ye(t,n,r,i){function o(e,o){return t<=e&&e<=r&&n<=o&&o<=i}function s(e,o,a,s){var l=0,f=0;if(null==e||(l=u(e,a))!==(f=u(o,a))||c(e,o)<0^a>0)do{s.point(0===l||3===l?t:r,l>1?i:n)}while((l=(l+a+4)%4)!==f);else s.point(o[0],o[1])}function u(e,i){return h(e[0]-t)<a?i>0?0:3:h(e[0]-r)<a?i>0?2:1:h(e[1]-n)<a?i>0?1:0:i>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,f,d,h,p,v,g,m,y,_,b=a,x=oe(),w={point:j,lineStart:function(){w.point=S,c&&c.push(f=[]),y=!0,m=!1,v=g=NaN},lineEnd:function(){u&&(S(d,h),p&&m&&x.rejoin(),u.push(x.result())),w.point=j,m&&b.lineEnd()},polygonStart:function(){b=x,u=[],c=[],_=!0},polygonEnd:function(){var n=function(){for(var e=0,n=0,r=c.length;n<r;++n)for(var o,a,s=c[n],u=1,l=s.length,f=s[0],d=f[0],h=f[1];u<l;++u)o=d,a=h,f=s[u],d=f[0],h=f[1],a<=i?h>i&&(d-o)*(i-a)>(h-a)*(t-o)&&++e:h<=i&&(d-o)*(i-a)<(h-a)*(t-o)&&--e;return e}(),r=_&&n,o=(u=e.merge(u)).length;(r||o)&&(a.polygonStart(),r&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),o&&ue(u,l,n,s,a),a.polygonEnd()),b=a,u=c=f=null}};function j(t,e){o(t,e)&&b.point(t,e)}function S(e,a){var s=o(e,a);if(c&&f.push([e,a]),y)d=e,h=a,p=s,y=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&m)b.point(e,a);else{var u=[v=Math.max(-1e9,Math.min(1e9,v)),g=Math.max(-1e9,Math.min(1e9,g))],l=[e=Math.max(-1e9,Math.min(1e9,e)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,e,n,r,i,o){var a,s=t[0],u=t[1],l=0,c=1,f=e[0]-s,d=e[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<l)return;a<c&&(c=a)}else if(f>0){if(a>c)return;a>l&&(l=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>l&&(l=a)}else if(f>0){if(a<l)return;a<c&&(c=a)}if(a=r-u,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<c&&(c=a)}else if(d>0){if(a>c)return;a>l&&(l=a)}if(a=o-u,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<c&&(c=a)}return l>0&&(t[0]=s+l*f,t[1]=u+l*d),c<1&&(e[0]=s+c*f,e[1]=u+c*d),!0}}}}}(u,l,t,n,r,i)?s&&(b.lineStart(),b.point(e,a),_=!1):(m||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),_=!1)}v=e,g=a,m=s}return w}}var _e,be,xe,we=n(),je={sphere:C,point:C,lineStart:function(){je.point=Oe,je.lineEnd=Se},lineEnd:C,polygonStart:C,polygonEnd:C};function Se(){je.point=je.lineEnd=C}function Oe(t,e){_e=t*=d,be=x(e*=d),xe=g(e),je.point=ke}function ke(t,e){t*=d;var n=x(e*=d),r=g(e),i=h(t-_e),o=g(i),a=r*x(i),s=xe*n-be*r*o,u=be*n+xe*r*o;we.add(v(j(a*a+s*s),u)),_e=t,be=n,xe=r}function Ee(t){return we.reset(),N(t,je),+we}var Ce=[null,null],Me={type:"LineString",coordinates:Ce};function Te(t,e){return Ce[0]=t,Ce[1]=e,Ee(Me)}var Pe={Feature:function(t,e){return Ie(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Ie(n[r].geometry,e))return!0;return!1}},Ae={Sphere:function(){return!0},Point:function(t,e){return Ne(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Ne(n[r],e))return!0;return!1},LineString:function(t,e){return De(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(De(n[r],e))return!0;return!1},Polygon:function(t,e){return Re(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Re(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Ie(n[r],e))return!0;return!1}};function Ie(t,e){return!(!t||!Ae.hasOwnProperty(t.type))&&Ae[t.type](t,e)}function Ne(t,e){return 0===Te(t,e)}function De(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=Te(t[o],e)))return!0;if(o>0&&(i=Te(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<1e-12*i)return!0;n=r}return!1}function Re(t,e){return!!de(t.map(Le),Be(e))}function Le(t){return(t=t.map(Be)).pop(),t}function Be(t){return[t[0]*d,t[1]*d]}function $e(t,n,r){var i=e.range(t,n-a,r).concat(n);return function(t){return i.map((function(e){return[t,e]}))}}function Fe(t,n,r){var i=e.range(t,n-a,r).concat(n);return function(t){return i.map((function(e){return[e,t]}))}}function ze(){var t,n,r,i,o,s,u,l,c,f,d,p,v=10,g=v,y=90,_=360,b=2.5;function x(){return{type:"MultiLineString",coordinates:w()}}function w(){return e.range(m(i/y)*y,r,y).map(d).concat(e.range(m(l/_)*_,u,_).map(p)).concat(e.range(m(n/v)*v,t,v).filter((function(t){return h(t%y)>a})).map(c)).concat(e.range(m(s/g)*g,o,g).filter((function(t){return h(t%_)>a})).map(f))}return x.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(i).concat(p(u).slice(1),d(r).reverse().slice(1),p(l).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],i>r&&(t=i,i=r,r=t),l>u&&(t=l,l=u,u=t),x.precision(b)):[[i,l],[r,u]]},x.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],o=+e[1][1],n>t&&(e=n,n=t,t=e),s>o&&(e=s,s=o,o=e),x.precision(b)):[[n,s],[t,o]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],x):[y,_]},x.stepMinor=function(t){return arguments.length?(v=+t[0],g=+t[1],x):[v,g]},x.precision=function(e){return arguments.length?(b=+e,c=$e(s,o,90),f=Fe(n,t,b),d=$e(l,u,90),p=Fe(i,r,b),x):b},x.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function Ve(t){return t}var qe,He,Ge,Ue,Ye=n(),We=n(),Xe={point:C,lineStart:C,lineEnd:C,polygonStart:function(){Xe.lineStart=Ke,Xe.lineEnd=Je},polygonEnd:function(){Xe.lineStart=Xe.lineEnd=Xe.point=C,Ye.add(h(We)),We.reset()},result:function(){var t=Ye/2;return Ye.reset(),t}};function Ke(){Xe.point=Ze}function Ze(t,e){Xe.point=Qe,qe=Ge=t,He=Ue=e}function Qe(t,e){We.add(Ue*t-Ge*e),Ge=t,Ue=e}function Je(){Qe(qe,He)}var tn,en,nn,rn,on=1/0,an=on,sn=-on,un=sn,ln={point:function(t,e){t<on&&(on=t),t>sn&&(sn=t),e<an&&(an=e),e>un&&(un=e)},lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var t=[[on,an],[sn,un]];return sn=un=-(an=on=1/0),t}},cn=0,fn=0,dn=0,hn=0,pn=0,vn=0,gn=0,mn=0,yn=0,_n={point:bn,lineStart:xn,lineEnd:Sn,polygonStart:function(){_n.lineStart=On,_n.lineEnd=kn},polygonEnd:function(){_n.point=bn,_n.lineStart=xn,_n.lineEnd=Sn},result:function(){var t=yn?[gn/yn,mn/yn]:vn?[hn/vn,pn/vn]:dn?[cn/dn,fn/dn]:[NaN,NaN];return cn=fn=dn=hn=pn=vn=gn=mn=yn=0,t}};function bn(t,e){cn+=t,fn+=e,++dn}function xn(){_n.point=wn}function wn(t,e){_n.point=jn,bn(nn=t,rn=e)}function jn(t,e){var n=t-nn,r=e-rn,i=j(n*n+r*r);hn+=i*(nn+t)/2,pn+=i*(rn+e)/2,vn+=i,bn(nn=t,rn=e)}function Sn(){_n.point=bn}function On(){_n.point=En}function kn(){Cn(tn,en)}function En(t,e){_n.point=Cn,bn(tn=nn=t,en=rn=e)}function Cn(t,e){var n=t-nn,r=e-rn,i=j(n*n+r*r);hn+=i*(nn+t)/2,pn+=i*(rn+e)/2,vn+=i,gn+=(i=rn*t-nn*e)*(nn+t),mn+=i*(rn+e),yn+=3*i,bn(nn=t,rn=e)}function Mn(t){this._context=t}Mn.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,c)}},result:C};var Tn,Pn,An,In,Nn,Dn=n(),Rn={point:C,lineStart:function(){Rn.point=Ln},lineEnd:function(){Tn&&Bn(Pn,An),Rn.point=C},polygonStart:function(){Tn=!0},polygonEnd:function(){Tn=null},result:function(){var t=+Dn;return Dn.reset(),t}};function Ln(t,e){Rn.point=Bn,Pn=In=t,An=Nn=e}function Bn(t,e){In-=t,Nn-=e,Dn.add(j(In*In+Nn*Nn)),In=t,Nn=e}function $n(){this._string=[]}function Fn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function zn(t){return function(e){var n=new Vn;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Vn(){}function qn(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),N(n,t.stream(ln)),e(ln.result()),null!=r&&t.clipExtent(r),t}function Hn(t,e,n){return qn(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,s])}),n)}function Gn(t,e,n){return Hn(t,[[0,0],e],n)}function Un(t,e,n){return qn(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])}),n)}function Yn(t,e,n){return qn(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])}),n)}$n.prototype={_radius:4.5,_circle:Fn(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Fn(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Vn.prototype={constructor:Vn,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Wn=g(30*d);function Xn(t,e){return+e?function(t,e){function n(r,i,o,s,u,l,c,f,d,p,g,m,y,_){var b=c-r,x=f-i,w=b*b+x*x;if(w>4*e&&y--){var S=s+p,O=u+g,E=l+m,C=j(S*S+O*O+E*E),M=k(E/=C),T=h(h(E)-1)<a||h(o-d)<a?(o+d)/2:v(O,S),P=t(T,M),A=P[0],I=P[1],N=A-r,D=I-i,R=x*N-b*D;(R*R/w>e||h((b*N+x*D)/w-.5)>.3||s*p+u*g+l*m<Wn)&&(n(r,i,o,s,u,l,A,I,T,S/=C,O/=C,E,y,_),_.point(A,I),n(A,I,T,S,O,E,c,f,d,p,g,m,y,_))}}return function(e){var r,i,o,a,s,u,l,c,f,d,h,p,v={point:g,lineStart:m,lineEnd:_,polygonStart:function(){e.polygonStart(),v.lineStart=b},polygonEnd:function(){e.polygonEnd(),v.lineStart=m}};function g(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){c=NaN,v.point=y,e.lineStart()}function y(r,i){var o=W([r,i]),a=t(r,i);n(c,f,l,d,h,p,c=a[0],f=a[1],l=r,d=o[0],h=o[1],p=o[2],16,e),e.point(c,f)}function _(){v.point=g,e.lineEnd()}function b(){m(),v.point=x,v.lineEnd=w}function x(t,e){y(r=t,e),i=c,o=f,a=d,s=h,u=p,v.point=y}function w(){n(c,f,l,d,h,p,i,o,r,a,s,u,16,e),v.lineEnd=_,_()}return v}}(t,e):function(t){return zn({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var Kn=zn({point:function(t,e){this.stream.point(t*d,e*d)}});function Zn(t,e,n,r,i){function o(o,a){return[e+t*(o*=r),n-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*r,(n-a)/t*i]},o}function Qn(t,e,n,r,i,o){var a=g(o),s=x(o),u=a*t,l=s*t,c=a/t,f=s/t,d=(s*n-a*e)/t,h=(s*e+a*n)/t;function p(t,o){return[u*(t*=r)-l*(o*=i)+e,n-l*t-u*o]}return p.invert=function(t,e){return[r*(c*t-f*e+d),i*(h-f*t-c*e)]},p}function Jn(t){return tr((function(){return t}))()}function tr(t){var e,n,r,i,o,a,s,u,l,c,h=150,p=480,v=250,g=0,m=0,y=0,_=0,b=0,x=0,w=1,S=1,O=null,k=ge,E=null,C=Ve,M=.5;function T(t){return u(t[0]*d,t[1]*d)}function P(t){return(t=u.invert(t[0],t[1]))&&[t[0]*f,t[1]*f]}function A(){var t=Qn(h,0,0,w,S,x).apply(null,e(g,m)),r=(x?Qn:Zn)(h,p-t[0],v-t[1],w,S,x);return n=Qt(y,_,b),s=Kt(e,r),u=Kt(n,s),a=Xn(s,M),I()}function I(){return l=c=null,T}return T.stream=function(t){return l&&c===t?l:l=Kn(function(t){return zn({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(k(a(C(c=t)))))},T.preclip=function(t){return arguments.length?(k=t,O=void 0,I()):k},T.postclip=function(t){return arguments.length?(C=t,E=r=i=o=null,I()):C},T.clipAngle=function(t){return arguments.length?(k=+t?me(O=t*d):(O=null,ge),I()):O*f},T.clipExtent=function(t){return arguments.length?(C=null==t?(E=r=i=o=null,Ve):ye(E=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),I()):null==E?null:[[E,r],[i,o]]},T.scale=function(t){return arguments.length?(h=+t,A()):h},T.translate=function(t){return arguments.length?(p=+t[0],v=+t[1],A()):[p,v]},T.center=function(t){return arguments.length?(g=t[0]%360*d,m=t[1]%360*d,A()):[g*f,m*f]},T.rotate=function(t){return arguments.length?(y=t[0]%360*d,_=t[1]%360*d,b=t.length>2?t[2]%360*d:0,A()):[y*f,_*f,b*f]},T.angle=function(t){return arguments.length?(x=t%360*d,A()):x*f},T.reflectX=function(t){return arguments.length?(w=t?-1:1,A()):w<0},T.reflectY=function(t){return arguments.length?(S=t?-1:1,A()):S<0},T.precision=function(t){return arguments.length?(a=Xn(s,M=t*t),I()):j(M)},T.fitExtent=function(t,e){return Hn(T,t,e)},T.fitSize=function(t,e){return Gn(T,t,e)},T.fitWidth=function(t,e){return Un(T,t,e)},T.fitHeight=function(t,e){return Yn(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&P,A()}}function er(t){var e=0,n=s/3,r=tr(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*d,n=t[1]*d):[e*f,n*f]},i}function nr(t,e){var n=x(t),r=(n+x(e))/2;if(h(r)<a)return function(t){var e=g(t);function n(t,n){return[t*e,x(n)/e]}return n.invert=function(t,n){return[t/e,k(n*e)]},n}(t);var i=1+n*(2*r-n),o=j(i)/r;function u(t,e){var n=j(i-2*r*x(e))/r;return[n*x(t*=r),o-n*g(t)]}return u.invert=function(t,e){var n=o-e,a=v(t,h(n))*w(n);return n*r<0&&(a-=s*w(t)*w(n)),[a/r,k((i-(t*t+n*n)*r*r)/(2*r))]},u}function rr(){return er(nr).scale(155.424).center([0,33.6442])}function ir(){return rr().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function or(t){return function(e,n){var r=g(e),i=g(n),o=t(r*i);return[o*i*x(e),o*x(n)]}}function ar(t){return function(e,n){var r=j(e*e+n*n),i=t(r),o=x(i),a=g(i);return[v(e*o,r*a),k(r&&n*o/r)]}}var sr=or((function(t){return j(2/(1+t))}));sr.invert=ar((function(t){return 2*k(t/2)}));var ur=or((function(t){return(t=O(t))&&t/x(t)}));function lr(t,e){return[t,_(S((u+e)/2))]}function cr(t){var e,n,r,i=Jn(t),o=i.center,a=i.scale,u=i.translate,l=i.clipExtent,c=null;function f(){var o=s*a(),u=i(ne(i.rotate()).invert([0,0]));return l(null==c?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===lr?[[Math.max(u[0]-o,c),e],[Math.min(u[0]+o,n),r]]:[[c,Math.max(u[1]-o,e)],[n,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),f()):a()},i.translate=function(t){return arguments.length?(u(t),f()):u()},i.center=function(t){return arguments.length?(o(t),f()):o()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),f()):null==c?null:[[c,e],[n,r]]},f()}function fr(t){return S((u+t)/2)}function dr(t,e){var n=g(t),r=t===e?x(t):_(n/g(e))/_(fr(e)/fr(t)),i=n*b(fr(t),r)/r;if(!r)return lr;function o(t,e){i>0?e<-u+a&&(e=-u+a):e>u-a&&(e=u-a);var n=i/b(fr(e),r);return[n*x(r*t),i-n*g(r*t)]}return o.invert=function(t,e){var n=i-e,o=w(r)*j(t*t+n*n),a=v(t,h(n))*w(n);return n*r<0&&(a-=s*w(t)*w(n)),[a/r,2*p(b(i/o,1/r))-u]},o}function hr(t,e){return[t,e]}function pr(t,e){var n=g(t),r=t===e?x(t):(n-g(e))/(e-t),i=n/r+t;if(h(r)<a)return hr;function o(t,e){var n=i-e,o=r*t;return[n*x(o),i-n*g(o)]}return o.invert=function(t,e){var n=i-e,o=v(t,h(n))*w(n);return n*r<0&&(o-=s*w(t)*w(n)),[o/r,i-w(r)*j(t*t+n*n)]},o}ur.invert=ar((function(t){return t})),lr.invert=function(t,e){return[t,2*p(y(e))-u]},hr.invert=hr;var vr=1.340264,gr=-.081106,mr=893e-6,yr=.003796,_r=j(3)/2;function br(t,e){var n=k(_r*x(e)),r=n*n,i=r*r*r;return[t*g(n)/(_r*(vr+3*gr*r+i*(7*mr+9*yr*r))),n*(vr+gr*r+i*(mr+yr*r))]}function xr(t,e){var n=g(e),r=g(t)*n;return[n*x(t)/r,x(e)/r]}function wr(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function jr(t,e){return[g(e)*x(t),x(e)]}function Sr(t,e){var n=g(e),r=1+g(t)*n;return[n*x(t)/r,x(e)/r]}function Or(t,e){return[_(S((u+e)/2)),-t]}br.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(vr+gr*i+o*(mr+yr*i))-e)/(vr+3*gr*i+o*(7*mr+9*yr*i)))*r)*i*i,!(h(n)<1e-12));++a);return[_r*t*(vr+3*gr*i+o*(7*mr+9*yr*i))/g(r),k(x(r)/_r)]},xr.invert=ar(p),wr.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,s=o*o;r-=n=(r*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-e)/(1.007226+o*(.045255+s*(.259866*o-.311325-.005916*11*s)))}while(h(n)>a&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},jr.invert=ar(k),Sr.invert=ar((function(t){return 2*p(t)})),Or.invert=function(t,e){return[-e,2*p(y(t))-u]},t.geoAlbers=ir,t.geoAlbersUsa=function(){var t,e,n,r,i,o,s=ir(),u=rr().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=rr().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function f(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function d(){return t=e=null,f}return f.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:s).invert(t)},f.stream=function(n){return t&&e===n?t:(r=[s.stream(e=n),u.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},f.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),d()):s.precision()},f.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),f.translate(s.translate())):s.scale()},f.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),o=+t[0],f=+t[1];return n=s.translate(t).clipExtent([[o-.455*e,f-.238*e],[o+.455*e,f+.238*e]]).stream(c),r=u.translate([o-.307*e,f+.201*e]).clipExtent([[o-.425*e+a,f+.12*e+a],[o-.214*e-a,f+.234*e-a]]).stream(c),i=l.translate([o-.205*e,f+.212*e]).clipExtent([[o-.214*e+a,f+.166*e+a],[o-.115*e-a,f+.234*e-a]]).stream(c),d()},f.fitExtent=function(t,e){return Hn(f,t,e)},f.fitSize=function(t,e){return Gn(f,t,e)},f.fitWidth=function(t,e){return Un(f,t,e)},f.fitHeight=function(t,e){return Yn(f,t,e)},f.scale(1070)},t.geoArea=function(t){return z.reset(),N(t,V),2*z},t.geoAzimuthalEqualArea=function(){return Jn(sr).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=sr,t.geoAzimuthalEquidistant=function(){return Jn(ur).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=ur,t.geoBounds=function(t){var e,n,r,i,o,a,s;if(rt=nt=-(tt=et=1/0),ut=[],N(t,Et),n=ut.length){for(ut.sort(Rt),e=1,o=[r=ut[0]];e<n;++e)Lt(r,(i=ut[e])[0])||Lt(r,i[1])?(Dt(r[0],i[1])>Dt(r[0],r[1])&&(r[1]=i[1]),Dt(i[0],r[1])>Dt(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=Dt(r[1],i[0]))>a&&(a=s,tt=i[0],nt=r[1])}return ut=lt=null,tt===1/0||et===1/0?[[NaN,NaN],[NaN,NaN]]:[[tt,et],[nt,rt]]},t.geoCentroid=function(t){ct=ft=dt=ht=pt=vt=gt=mt=yt=_t=bt=0,N(t,Bt);var e=yt,n=_t,r=bt,i=e*e+n*n+r*r;return i<1e-12&&(e=vt,n=gt,r=mt,ft<a&&(e=dt,n=ht,r=pt),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[v(n,e)*f,k(r/j(i))*f]},t.geoCircle=function(){var t,e,n=Xt([0,0]),r=Xt(90),i=Xt(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=f,n[1]*=f}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*d,u=i.apply(this,arguments)*d;return t=[],e=Qt(-a[0]*d,-a[1]*d,0).invert,re(o,s,u,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:Xt([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:Xt(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:Xt(+t),a):i},a},t.geoClipAntimeridian=ge,t.geoClipCircle=me,t.geoClipExtent=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=ye(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}},t.geoClipRectangle=ye,t.geoConicConformal=function(){return er(dr).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=dr,t.geoConicEqualArea=rr,t.geoConicEqualAreaRaw=nr,t.geoConicEquidistant=function(){return er(pr).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=pr,t.geoContains=function(t,e){return(t&&Pe.hasOwnProperty(t.type)?Pe[t.type]:Ie)(t,e)},t.geoDistance=Te,t.geoEqualEarth=function(){return Jn(br).scale(177.158)},t.geoEqualEarthRaw=br,t.geoEquirectangular=function(){return Jn(hr).scale(152.63)},t.geoEquirectangularRaw=hr,t.geoGnomonic=function(){return Jn(xr).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=xr,t.geoGraticule=ze,t.geoGraticule10=function(){return ze()()},t.geoIdentity=function(){var t,e,n,r,i,o,a,s=1,u=0,l=0,c=1,h=1,p=0,v=null,m=1,y=1,_=zn({point:function(t,e){var n=j([t,e]);this.stream.point(n[0],n[1])}}),b=Ve;function w(){return m=s*c,y=s*h,o=a=null,j}function j(n){var r=n[0]*m,i=n[1]*y;if(p){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+u,i+l]}return j.invert=function(n){var r=n[0]-u,i=n[1]-l;if(p){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/m,i/y]},j.stream=function(t){return o&&a===t?o:o=_(b(a=t))},j.postclip=function(t){return arguments.length?(b=t,v=n=r=i=null,w()):b},j.clipExtent=function(t){return arguments.length?(b=null==t?(v=n=r=i=null,Ve):ye(v=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),w()):null==v?null:[[v,n],[r,i]]},j.scale=function(t){return arguments.length?(s=+t,w()):s},j.translate=function(t){return arguments.length?(u=+t[0],l=+t[1],w()):[u,l]},j.angle=function(n){return arguments.length?(e=x(p=n%360*d),t=g(p),w()):p*f},j.reflectX=function(t){return arguments.length?(c=t?-1:1,w()):c<0},j.reflectY=function(t){return arguments.length?(h=t?-1:1,w()):h<0},j.fitExtent=function(t,e){return Hn(j,t,e)},j.fitSize=function(t,e){return Gn(j,t,e)},j.fitWidth=function(t,e){return Un(j,t,e)},j.fitHeight=function(t,e){return Yn(j,t,e)},j},t.geoInterpolate=function(t,e){var n=t[0]*d,r=t[1]*d,i=e[0]*d,o=e[1]*d,a=g(r),s=x(r),u=g(o),l=x(o),c=a*g(n),h=a*x(n),p=u*g(i),m=u*x(i),y=2*k(j(E(o-r)+a*u*E(i-n))),_=x(y),b=y?function(t){var e=x(t*=y)/_,n=x(y-t)/_,r=n*c+e*p,i=n*h+e*m,o=n*s+e*l;return[v(i,r)*f,v(o,j(r*r+i*i))*f]}:function(){return[n*f,r*f]};return b.distance=y,b},t.geoLength=Ee,t.geoMercator=function(){return cr(lr).scale(961/c)},t.geoMercatorRaw=lr,t.geoNaturalEarth1=function(){return Jn(wr).scale(175.295)},t.geoNaturalEarth1Raw=wr,t.geoOrthographic=function(){return Jn(jr).scale(249.5).clipAngle(90+a)},t.geoOrthographicRaw=jr,t.geoPath=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),N(t,n(r))),r.result()}return o.area=function(t){return N(t,n(Xe)),Xe.result()},o.measure=function(t){return N(t,n(Rn)),Rn.result()},o.bounds=function(t){return N(t,n(ln)),ln.result()},o.centroid=function(t){return N(t,n(_n)),_n.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,Ve):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new $n):new Mn(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},t.geoProjection=Jn,t.geoProjectionMutator=tr,t.geoRotation=ne,t.geoStereographic=function(){return Jn(Sr).scale(250).clipAngle(142)},t.geoStereographicRaw=Sr,t.geoStream=N,t.geoTransform=function(t){return{stream:zn(t)}},t.geoTransverseMercator=function(){var t=cr(Or),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=Or,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e){"use strict";var n=function(){return new r};function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){o(i,t,this.t),o(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new r;function o(t,e,n){var r=t.s=e+n,i=r-e,o=r-i;t.t=e-o+(n-i)}var a=1e-6,s=Math.PI,u=s/2,l=s/4,c=2*s,f=180/s,d=s/180,h=Math.abs,p=Math.atan,v=Math.atan2,g=Math.cos,m=Math.ceil,y=Math.exp,_=Math.log,b=Math.pow,x=Math.sin,w=Math.sign||function(t){return t>0?1:t<0?-1:0},j=Math.sqrt,S=Math.tan;function O(t){return t>1?0:t<-1?s:Math.acos(t)}function k(t){return t>1?u:t<-1?-u:Math.asin(t)}function E(t){return(t=x(t/2))*t}function C(){}function M(t,e){t&&P.hasOwnProperty(t.type)&&P[t.type](t,e)}var T={Feature:function(t,e){M(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)M(n[r].geometry,e)}},P={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){A(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)A(n[r],e,0)},Polygon:function(t,e){I(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)I(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)M(n[r],e)}};function A(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function I(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)A(t[n],e,1);e.polygonEnd()}var N,D,R,L,B,$,F,z,V,q,H,G,U,Y=function(t,e){t&&T.hasOwnProperty(t.type)?T[t.type](t,e):M(t,e)},W=n(),X=n(),K={point:C,lineStart:C,lineEnd:C,polygonStart:function(){W.reset(),K.lineStart=Z,K.lineEnd=Q},polygonEnd:function(){var t=+W;X.add(t<0?c+t:t),this.lineStart=this.lineEnd=this.point=C},sphere:function(){X.add(c)}};function Z(){K.point=J}function Q(){tt(N,D)}function J(t,e){K.point=tt,N=t,D=e,R=t*=d,L=g(e=(e*=d)/2+l),B=x(e)}function tt(t,e){var n=(t*=d)-R,r=n>=0?1:-1,i=r*n,o=g(e=(e*=d)/2+l),a=x(e),s=B*a,u=L*o+s*g(i),c=s*r*x(i);W.add(v(c,u)),R=t,L=o,B=a}function et(t){return[v(t[1],t[0]),k(t[2])]}function nt(t){var e=t[0],n=t[1],r=g(n);return[r*g(e),r*x(e),x(n)]}function rt(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function it(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ot(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function at(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function st(t){var e=j(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var ut,lt,ct=n(),ft={point:dt,lineStart:pt,lineEnd:vt,polygonStart:function(){ft.point=gt,ft.lineStart=mt,ft.lineEnd=yt,ct.reset(),K.polygonStart()},polygonEnd:function(){K.polygonEnd(),ft.point=dt,ft.lineStart=pt,ft.lineEnd=vt,W<0?($=-(z=180),F=-(V=90)):ct>a?V=90:ct<-a&&(F=-90),lt[0]=$,lt[1]=z}};function dt(t,e){ut.push(lt=[$=t,z=t]),e<F&&(F=e),e>V&&(V=e)}function ht(t,e){var n=nt([t*d,e*d]);if(U){var r=it(U,n),i=it([r[1],-r[0],0],r);st(i),i=et(i);var o,a=t-q,s=a>0?1:-1,u=i[0]*f*s,l=h(a)>180;l^(s*q<u&&u<s*t)?(o=i[1]*f)>V&&(V=o):l^(s*q<(u=(u+360)%360-180)&&u<s*t)?(o=-i[1]*f)<F&&(F=o):(e<F&&(F=e),e>V&&(V=e)),l?t<q?_t($,t)>_t($,z)&&(z=t):_t(t,z)>_t($,z)&&($=t):z>=$?(t<$&&($=t),t>z&&(z=t)):t>q?_t($,t)>_t($,z)&&(z=t):_t(t,z)>_t($,z)&&($=t)}else ut.push(lt=[$=t,z=t]);e<F&&(F=e),e>V&&(V=e),U=n,q=t}function pt(){ft.point=ht}function vt(){lt[0]=$,lt[1]=z,ft.point=dt,U=null}function gt(t,e){if(U){var n=t-q;ct.add(h(n)>180?n+(n>0?360:-360):n)}else H=t,G=e;K.point(t,e),ht(t,e)}function mt(){K.lineStart()}function yt(){gt(H,G),K.lineEnd(),h(ct)>a&&($=-(z=180)),lt[0]=$,lt[1]=z,U=null}function _t(t,e){return(e-=t)<0?e+360:e}function bt(t,e){return t[0]-e[0]}function xt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var wt,jt,St,Ot,kt,Et,Ct,Mt,Tt,Pt,At,It,Nt,Dt,Rt,Lt,Bt={sphere:C,point:$t,lineStart:zt,lineEnd:Ht,polygonStart:function(){Bt.lineStart=Gt,Bt.lineEnd=Ut},polygonEnd:function(){Bt.lineStart=zt,Bt.lineEnd=Ht}};function $t(t,e){t*=d;var n=g(e*=d);Ft(n*g(t),n*x(t),x(e))}function Ft(t,e,n){++wt,St+=(t-St)/wt,Ot+=(e-Ot)/wt,kt+=(n-kt)/wt}function zt(){Bt.point=Vt}function Vt(t,e){t*=d;var n=g(e*=d);Dt=n*g(t),Rt=n*x(t),Lt=x(e),Bt.point=qt,Ft(Dt,Rt,Lt)}function qt(t,e){t*=d;var n=g(e*=d),r=n*g(t),i=n*x(t),o=x(e),a=v(j((a=Rt*o-Lt*i)*a+(a=Lt*r-Dt*o)*a+(a=Dt*i-Rt*r)*a),Dt*r+Rt*i+Lt*o);jt+=a,Et+=a*(Dt+(Dt=r)),Ct+=a*(Rt+(Rt=i)),Mt+=a*(Lt+(Lt=o)),Ft(Dt,Rt,Lt)}function Ht(){Bt.point=$t}function Gt(){Bt.point=Yt}function Ut(){Wt(It,Nt),Bt.point=$t}function Yt(t,e){It=t,Nt=e,t*=d,e*=d,Bt.point=Wt;var n=g(e);Dt=n*g(t),Rt=n*x(t),Lt=x(e),Ft(Dt,Rt,Lt)}function Wt(t,e){t*=d;var n=g(e*=d),r=n*g(t),i=n*x(t),o=x(e),a=Rt*o-Lt*i,s=Lt*r-Dt*o,u=Dt*i-Rt*r,l=j(a*a+s*s+u*u),c=k(l),f=l&&-c/l;Tt+=f*a,Pt+=f*s,At+=f*u,jt+=c,Et+=c*(Dt+(Dt=r)),Ct+=c*(Rt+(Rt=i)),Mt+=c*(Lt+(Lt=o)),Ft(Dt,Rt,Lt)}var Xt=function(t){return function(){return t}},Kt=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function Zt(t,e){return[t>s?t-c:t<-s?t+c:t,e]}function Qt(t,e,n){return(t%=c)?e||n?Kt(te(t),ee(e,n)):te(t):e||n?ee(e,n):Zt}function Jt(t){return function(e,n){return[(e+=t)>s?e-c:e<-s?e+c:e,n]}}function te(t){var e=Jt(t);return e.invert=Jt(-t),e}function ee(t,e){var n=g(t),r=x(t),i=g(e),o=x(e);function a(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*n+s*r;return[v(u*i-c*o,s*n-l*r),k(c*i+u*o)]}return a.invert=function(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*i-u*o;return[v(u*i+l*o,s*n+c*r),k(c*n-s*r)]},a}Zt.invert=Zt;var ne=function(t){function e(e){return(e=t(e[0]*d,e[1]*d))[0]*=f,e[1]*=f,e}return t=Qt(t[0]*d,t[1]*d,t.length>2?t[2]*d:0),e.invert=function(e){return(e=t.invert(e[0]*d,e[1]*d))[0]*=f,e[1]*=f,e},e};function re(t,e,n,r,i,o){if(n){var a=g(e),s=x(e),u=r*n;null==i?(i=e+r*c,o=e-u/2):(i=ie(a,i),o=ie(a,o),(r>0?i<o:i>o)&&(i+=r*c));for(var l,f=i;r>0?f>o:f<o;f-=u)l=et([a,-s*g(f),-s*x(f)]),t.point(l[0],l[1])}}function ie(t,e){(e=nt(e))[0]-=t,st(e);var n=O(-e[1]);return((-e[2]<0?-n:n)+c-a)%c}var oe=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:C,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},ae=function(t,e){return h(t[0]-e[0])<a&&h(t[1]-e[1])<a};function se(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var ue=function(t,e,n,r,i){var o,a,s=[],u=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(ae(r,a)){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else s.push(n=new se(r,t,null,!0)),u.push(n.o=new se(r,null,n,!1)),s.push(n=new se(a,t,null,!1)),u.push(n.o=new se(a,null,n,!0))}})),s.length){for(u.sort(e),le(s),le(u),o=0,a=u.length;o<a;++o)u[o].e=n=!n;for(var l,c,f=s[0];;){for(var d=f,h=!0;d.v;)if((d=d.n)===f)return;l=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(h)for(o=0,a=l.length;o<a;++o)i.point((c=l[o])[0],c[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(h)for(l=d.p.z,o=l.length-1;o>=0;--o)i.point((c=l[o])[0],c[1]);else r(d.x,d.p.x,-1,i);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}};function le(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function ce(t,n,r,i){function o(e,o){return t<=e&&e<=r&&n<=o&&o<=i}function s(e,o,a,s){var l=0,f=0;if(null==e||(l=u(e,a))!==(f=u(o,a))||c(e,o)<0^a>0)do{s.point(0===l||3===l?t:r,l>1?i:n)}while((l=(l+a+4)%4)!==f);else s.point(o[0],o[1])}function u(e,i){return h(e[0]-t)<a?i>0?0:3:h(e[0]-r)<a?i>0?2:1:h(e[1]-n)<a?i>0?1:0:i>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,f,d,h,p,v,g,m,y,_,b=a,x=oe(),w={point:j,lineStart:function(){w.point=S,c&&c.push(f=[]),y=!0,m=!1,v=g=NaN},lineEnd:function(){u&&(S(d,h),p&&m&&x.rejoin(),u.push(x.result())),w.point=j,m&&b.lineEnd()},polygonStart:function(){b=x,u=[],c=[],_=!0},polygonEnd:function(){var n=function(){for(var e=0,n=0,r=c.length;n<r;++n)for(var o,a,s=c[n],u=1,l=s.length,f=s[0],d=f[0],h=f[1];u<l;++u)o=d,a=h,f=s[u],d=f[0],h=f[1],a<=i?h>i&&(d-o)*(i-a)>(h-a)*(t-o)&&++e:h<=i&&(d-o)*(i-a)<(h-a)*(t-o)&&--e;return e}(),r=_&&n,o=(u=e.merge(u)).length;(r||o)&&(a.polygonStart(),r&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),o&&ue(u,l,n,s,a),a.polygonEnd()),b=a,u=c=f=null}};function j(t,e){o(t,e)&&b.point(t,e)}function S(e,a){var s=o(e,a);if(c&&f.push([e,a]),y)d=e,h=a,p=s,y=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&m)b.point(e,a);else{var u=[v=Math.max(-1e9,Math.min(1e9,v)),g=Math.max(-1e9,Math.min(1e9,g))],l=[e=Math.max(-1e9,Math.min(1e9,e)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,e,n,r,i,o){var a,s=t[0],u=t[1],l=0,c=1,f=e[0]-s,d=e[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<l)return;a<c&&(c=a)}else if(f>0){if(a>c)return;a>l&&(l=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>l&&(l=a)}else if(f>0){if(a<l)return;a<c&&(c=a)}if(a=r-u,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<c&&(c=a)}else if(d>0){if(a>c)return;a>l&&(l=a)}if(a=o-u,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<c&&(c=a)}return l>0&&(t[0]=s+l*f,t[1]=u+l*d),c<1&&(e[0]=s+c*f,e[1]=u+c*d),!0}}}}}(u,l,t,n,r,i)?s&&(b.lineStart(),b.point(e,a),_=!1):(m||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),_=!1)}v=e,g=a,m=s}return w}}var fe,de,he,pe=n(),ve=function(t,e){var n=e[0],r=e[1],i=[x(n),-g(n),0],o=0,u=0;pe.reset();for(var f=0,d=t.length;f<d;++f)if(p=(h=t[f]).length)for(var h,p,m=h[p-1],y=m[0],_=m[1]/2+l,b=x(_),w=g(_),j=0;j<p;++j,y=O,b=C,w=M,m=S){var S=h[j],O=S[0],E=S[1]/2+l,C=x(E),M=g(E),T=O-y,P=T>=0?1:-1,A=P*T,I=A>s,N=b*C;if(pe.add(v(N*P*x(A),w*M+N*g(A))),o+=I?T+P*c:T,I^y>=n^O>=n){var D=it(nt(m),nt(S));st(D);var R=it(i,D);st(R);var L=(I^T>=0?-1:1)*k(R[2]);(r>L||r===L&&(D[0]||D[1]))&&(u+=I^T>=0?1:-1)}}return(o<-a||o<a&&pe<-a)^1&u},ge=n(),me={sphere:C,point:C,lineStart:function(){me.point=_e,me.lineEnd=ye},lineEnd:C,polygonStart:C,polygonEnd:C};function ye(){me.point=me.lineEnd=C}function _e(t,e){fe=t*=d,de=x(e*=d),he=g(e),me.point=be}function be(t,e){t*=d;var n=x(e*=d),r=g(e),i=h(t-fe),o=g(i),a=r*x(i),s=he*n-de*r*o,u=de*n+he*r*o;ge.add(v(j(a*a+s*s),u)),fe=t,de=n,he=r}var xe=function(t){return ge.reset(),Y(t,me),+ge},we=[null,null],je={type:"LineString",coordinates:we},Se=function(t,e){return we[0]=t,we[1]=e,xe(je)},Oe={Feature:function(t,e){return Ee(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Ee(n[r].geometry,e))return!0;return!1}},ke={Sphere:function(){return!0},Point:function(t,e){return Ce(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Ce(n[r],e))return!0;return!1},LineString:function(t,e){return Me(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Me(n[r],e))return!0;return!1},Polygon:function(t,e){return Te(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Te(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Ee(n[r],e))return!0;return!1}};function Ee(t,e){return!(!t||!ke.hasOwnProperty(t.type))&&ke[t.type](t,e)}function Ce(t,e){return 0===Se(t,e)}function Me(t,e){var n=Se(t[0],t[1]);return Se(t[0],e)+Se(e,t[1])<=n+a}function Te(t,e){return!!ve(t.map(Pe),Ae(e))}function Pe(t){return(t=t.map(Ae)).pop(),t}function Ae(t){return[t[0]*d,t[1]*d]}function Ie(t,n,r){var i=e.range(t,n-a,r).concat(n);return function(t){return i.map((function(e){return[t,e]}))}}function Ne(t,n,r){var i=e.range(t,n-a,r).concat(n);return function(t){return i.map((function(e){return[e,t]}))}}function De(){var t,n,r,i,o,s,u,l,c,f,d,p,v=10,g=v,y=90,_=360,b=2.5;function x(){return{type:"MultiLineString",coordinates:w()}}function w(){return e.range(m(i/y)*y,r,y).map(d).concat(e.range(m(l/_)*_,u,_).map(p)).concat(e.range(m(n/v)*v,t,v).filter((function(t){return h(t%y)>a})).map(c)).concat(e.range(m(s/g)*g,o,g).filter((function(t){return h(t%_)>a})).map(f))}return x.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(i).concat(p(u).slice(1),d(r).reverse().slice(1),p(l).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],i>r&&(t=i,i=r,r=t),l>u&&(t=l,l=u,u=t),x.precision(b)):[[i,l],[r,u]]},x.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],o=+e[1][1],n>t&&(e=n,n=t,t=e),s>o&&(e=s,s=o,o=e),x.precision(b)):[[n,s],[t,o]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],x):[y,_]},x.stepMinor=function(t){return arguments.length?(v=+t[0],g=+t[1],x):[v,g]},x.precision=function(e){return arguments.length?(b=+e,c=Ie(s,o,90),f=Ne(n,t,b),d=Ie(l,u,90),p=Ne(i,r,b),x):b},x.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}var Re,Le,Be,$e,Fe=function(t){return t},ze=n(),Ve=n(),qe={point:C,lineStart:C,lineEnd:C,polygonStart:function(){qe.lineStart=He,qe.lineEnd=Ye},polygonEnd:function(){qe.lineStart=qe.lineEnd=qe.point=C,ze.add(h(Ve)),Ve.reset()},result:function(){var t=ze/2;return ze.reset(),t}};function He(){qe.point=Ge}function Ge(t,e){qe.point=Ue,Re=Be=t,Le=$e=e}function Ue(t,e){Ve.add($e*t-Be*e),Be=t,$e=e}function Ye(){Ue(Re,Le)}var We,Xe,Ke,Ze,Qe=1/0,Je=Qe,tn=-Qe,en=tn,nn={point:function(t,e){t<Qe&&(Qe=t),t>tn&&(tn=t),e<Je&&(Je=e),e>en&&(en=e)},lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var t=[[Qe,Je],[tn,en]];return tn=en=-(Je=Qe=1/0),t}},rn=0,on=0,an=0,sn=0,un=0,ln=0,cn=0,fn=0,dn=0,hn={point:pn,lineStart:vn,lineEnd:yn,polygonStart:function(){hn.lineStart=_n,hn.lineEnd=bn},polygonEnd:function(){hn.point=pn,hn.lineStart=vn,hn.lineEnd=yn},result:function(){var t=dn?[cn/dn,fn/dn]:ln?[sn/ln,un/ln]:an?[rn/an,on/an]:[NaN,NaN];return rn=on=an=sn=un=ln=cn=fn=dn=0,t}};function pn(t,e){rn+=t,on+=e,++an}function vn(){hn.point=gn}function gn(t,e){hn.point=mn,pn(Ke=t,Ze=e)}function mn(t,e){var n=t-Ke,r=e-Ze,i=j(n*n+r*r);sn+=i*(Ke+t)/2,un+=i*(Ze+e)/2,ln+=i,pn(Ke=t,Ze=e)}function yn(){hn.point=pn}function _n(){hn.point=xn}function bn(){wn(We,Xe)}function xn(t,e){hn.point=wn,pn(We=Ke=t,Xe=Ze=e)}function wn(t,e){var n=t-Ke,r=e-Ze,i=j(n*n+r*r);sn+=i*(Ke+t)/2,un+=i*(Ze+e)/2,ln+=i,cn+=(i=Ze*t-Ke*e)*(Ke+t),fn+=i*(Ze+e),dn+=3*i,pn(Ke=t,Ze=e)}function jn(t){this._context=t}jn.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,c)}},result:C};var Sn,On,kn,En,Cn,Mn=n(),Tn={point:C,lineStart:function(){Tn.point=Pn},lineEnd:function(){Sn&&An(On,kn),Tn.point=C},polygonStart:function(){Sn=!0},polygonEnd:function(){Sn=null},result:function(){var t=+Mn;return Mn.reset(),t}};function Pn(t,e){Tn.point=An,On=En=t,kn=Cn=e}function An(t,e){En-=t,Cn-=e,Mn.add(j(En*En+Cn*Cn)),En=t,Cn=e}function In(){this._string=[]}function Nn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}In.prototype={_radius:4.5,_circle:Nn(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Nn(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Dn=function(t,n,r,i){return function(o,a){var s,u,l,c=n(a),f=o.invert(i[0],i[1]),d=oe(),h=n(d),p=!1,v={point:g,lineStart:y,lineEnd:_,polygonStart:function(){v.point=b,v.lineStart=x,v.lineEnd=w,u=[],s=[]},polygonEnd:function(){v.point=g,v.lineStart=y,v.lineEnd=_,u=e.merge(u);var t=ve(s,f);u.length?(p||(a.polygonStart(),p=!0),ue(u,Ln,t,r,a)):t&&(p||(a.polygonStart(),p=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),p&&(a.polygonEnd(),p=!1),u=s=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function g(e,n){var r=o(e,n);t(e=r[0],n=r[1])&&a.point(e,n)}function m(t,e){var n=o(t,e);c.point(n[0],n[1])}function y(){v.point=m,c.lineStart()}function _(){v.point=g,c.lineEnd()}function b(t,e){l.push([t,e]);var n=o(t,e);h.point(n[0],n[1])}function x(){h.lineStart(),l=[]}function w(){b(l[0][0],l[0][1]),h.lineEnd();var t,e,n,r,i=h.clean(),o=d.result(),c=o.length;if(l.pop(),s.push(l),l=null,c)if(1&i){if((e=(n=o[0]).length-1)>0){for(p||(a.polygonStart(),p=!0),a.lineStart(),t=0;t<e;++t)a.point((r=n[t])[0],r[1]);a.lineEnd()}}else c>1&&2&i&&o.push(o.pop().concat(o.shift())),u.push(o.filter(Rn))}return v}};function Rn(t){return t.length>1}function Ln(t,e){return((t=t.x)[0]<0?t[1]-u-a:u-t[1])-((e=e.x)[0]<0?e[1]-u-a:u-e[1])}var Bn=Dn((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,l){var c=o>0?s:-s,f=h(o-n);h(f-s)<a?(t.point(n,r=(r+l)/2>0?u:-u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(o,r),e=0):i!==c&&f>=s&&(h(n-i)<a&&(n-=i*a),h(o-c)<a&&(o-=c*a),r=function(t,e,n,r){var i,o,s=x(t-n);return h(s)>a?p((x(e)*(o=g(r))*x(n)-x(r)*(i=g(e))*x(t))/(i*o*s)):(e+r)/2}(n,r,o,l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(c,r),e=0),t.point(n=o,r=l),i=c},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*u,r.point(-s,i),r.point(0,i),r.point(s,i),r.point(s,0),r.point(s,-i),r.point(0,-i),r.point(-s,-i),r.point(-s,0),r.point(-s,i);else if(h(t[0]-e[0])>a){var o=t[0]<e[0]?s:-s;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}),[-s,-u]),$n=function(t,e){var n=g(t),r=n>0,i=h(n)>a;function o(t,e){return g(t)*g(e)>n}function u(t,e,r){var i=[1,0,0],o=it(nt(t),nt(e)),u=rt(o,o),l=o[0],c=u-l*l;if(!c)return!r&&t;var f=n*u/c,d=-n*l/c,p=it(i,o),v=at(i,f);ot(v,at(o,d));var g=p,m=rt(v,g),y=rt(g,g),_=m*m-y*(rt(v,v)-1);if(!(_<0)){var b=j(_),x=at(g,(-m-b)/y);if(ot(x,v),x=et(x),!r)return x;var w,S=t[0],O=e[0],k=t[1],E=e[1];O<S&&(w=S,S=O,O=w);var C=O-S,M=h(C-s)<a;if(!M&&E<k&&(w=k,k=E,E=w),M||C<a?M?k+E>0^x[1]<(h(x[0]-S)<a?k:E):k<=x[1]&&x[1]<=E:C>s^(S<=x[0]&&x[0]<=O)){var T=at(g,(-m+b)/y);return ot(T,v),[x,et(T)]}}}function l(e,n){var i=r?t:s-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return Dn(o,(function(t){var e,n,c,f,d;return{lineStart:function(){f=c=!1,d=1},point:function(h,p){var v,g=[h,p],m=o(h,p),y=r?m?0:l(h,p):m?l(h+(h<0?s:-s),p):0;if(!e&&(f=c=m)&&t.lineStart(),m!==c&&(!(v=u(e,g))||ae(e,v)||ae(g,v))&&(g[0]+=a,g[1]+=a,m=o(g[0],g[1])),m!==c)d=0,m?(t.lineStart(),v=u(g,e),t.point(v[0],v[1])):(v=u(e,g),t.point(v[0],v[1]),t.lineEnd()),e=v;else if(i&&e&&r^m){var _;y&n||!(_=u(g,e,!0))||(d=0,r?(t.lineStart(),t.point(_[0][0],_[0][1]),t.point(_[1][0],_[1][1]),t.lineEnd()):(t.point(_[1][0],_[1][1]),t.lineEnd(),t.lineStart(),t.point(_[0][0],_[0][1])))}!m||e&&ae(e,g)||t.point(g[0],g[1]),e=g,c=m,n=y},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return d|(f&&c)<<1}}}),(function(n,r,i,o){re(o,t,e,i,n,r)}),r?[0,-t]:[-s,t-s])};function Fn(t){return function(e){var n=new zn;for(var r in t)n[r]=t[r];return n.stream=e,n}}function zn(){}function Vn(t,e,n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),Y(n,t.stream(nn));var a=nn.result(),s=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),u=+e[0][0]+(r-s*(a[1][0]+a[0][0]))/2,l=+e[0][1]+(i-s*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*s).translate([u,l])}function qn(t,e,n){return Vn(t,[[0,0],e],n)}zn.prototype={constructor:zn,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Hn=g(30*d),Gn=function(t,e){return+e?function(t,e){function n(r,i,o,s,u,l,c,f,d,p,g,m,y,_){var b=c-r,x=f-i,w=b*b+x*x;if(w>4*e&&y--){var S=s+p,O=u+g,E=l+m,C=j(S*S+O*O+E*E),M=k(E/=C),T=h(h(E)-1)<a||h(o-d)<a?(o+d)/2:v(O,S),P=t(T,M),A=P[0],I=P[1],N=A-r,D=I-i,R=x*N-b*D;(R*R/w>e||h((b*N+x*D)/w-.5)>.3||s*p+u*g+l*m<Hn)&&(n(r,i,o,s,u,l,A,I,T,S/=C,O/=C,E,y,_),_.point(A,I),n(A,I,T,S,O,E,c,f,d,p,g,m,y,_))}}return function(e){var r,i,o,a,s,u,l,c,f,d,h,p,v={point:g,lineStart:m,lineEnd:_,polygonStart:function(){e.polygonStart(),v.lineStart=b},polygonEnd:function(){e.polygonEnd(),v.lineStart=m}};function g(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){c=NaN,v.point=y,e.lineStart()}function y(r,i){var o=nt([r,i]),a=t(r,i);n(c,f,l,d,h,p,c=a[0],f=a[1],l=r,d=o[0],h=o[1],p=o[2],16,e),e.point(c,f)}function _(){v.point=g,e.lineEnd()}function b(){m(),v.point=x,v.lineEnd=w}function x(t,e){y(r=t,e),i=c,o=f,a=d,s=h,u=p,v.point=y}function w(){n(c,f,l,d,h,p,i,o,r,a,s,u,16,e),v.lineEnd=_,_()}return v}}(t,e):function(t){return Fn({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)},Un=Fn({point:function(t,e){this.stream.point(t*d,e*d)}});function Yn(t){return Wn((function(){return t}))()}function Wn(t){var e,n,r,i,o,a,s,u,l,c,h=150,p=480,v=250,g=0,m=0,y=0,_=0,b=0,x=null,w=Bn,S=null,O=Fe,k=.5,E=Gn(T,k);function C(t){return[(t=o(t[0]*d,t[1]*d))[0]*h+n,r-t[1]*h]}function M(t){return(t=o.invert((t[0]-n)/h,(r-t[1])/h))&&[t[0]*f,t[1]*f]}function T(t,i){return[(t=e(t,i))[0]*h+n,r-t[1]*h]}function P(){o=Kt(i=Qt(y,_,b),e);var t=e(g,m);return n=p-t[0]*h,r=v+t[1]*h,A()}function A(){return l=c=null,C}return C.stream=function(t){return l&&c===t?l:l=Un(w(i,E(O(c=t))))},C.clipAngle=function(t){return arguments.length?(w=+t?$n(x=t*d,6*d):(x=null,Bn),A()):x*f},C.clipExtent=function(t){return arguments.length?(O=null==t?(S=a=s=u=null,Fe):ce(S=+t[0][0],a=+t[0][1],s=+t[1][0],u=+t[1][1]),A()):null==S?null:[[S,a],[s,u]]},C.scale=function(t){return arguments.length?(h=+t,P()):h},C.translate=function(t){return arguments.length?(p=+t[0],v=+t[1],P()):[p,v]},C.center=function(t){return arguments.length?(g=t[0]%360*d,m=t[1]%360*d,P()):[g*f,m*f]},C.rotate=function(t){return arguments.length?(y=t[0]%360*d,_=t[1]%360*d,b=t.length>2?t[2]%360*d:0,P()):[y*f,_*f,b*f]},C.precision=function(t){return arguments.length?(E=Gn(T,k=t*t),A()):j(k)},C.fitExtent=function(t,e){return Vn(C,t,e)},C.fitSize=function(t,e){return qn(C,t,e)},function(){return e=t.apply(this,arguments),C.invert=e.invert&&M,P()}}function Xn(t){var e=0,n=s/3,r=Wn(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*d,n=t[1]*d):[e*f,n*f]},i}function Kn(t,e){var n=x(t),r=(n+x(e))/2;if(h(r)<a)return function(t){var e=g(t);function n(t,n){return[t*e,x(n)/e]}return n.invert=function(t,n){return[t/e,k(n*e)]},n}(t);var i=1+n*(2*r-n),o=j(i)/r;function s(t,e){var n=j(i-2*r*x(e))/r;return[n*x(t*=r),o-n*g(t)]}return s.invert=function(t,e){var n=o-e;return[v(t,h(n))/r*w(n),k((i-(t*t+n*n)*r*r)/(2*r))]},s}var Zn=function(){return Xn(Kn).scale(155.424).center([0,33.6442])},Qn=function(){return Zn().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};function Jn(t){return function(e,n){var r=g(e),i=g(n),o=t(r*i);return[o*i*x(e),o*x(n)]}}function tr(t){return function(e,n){var r=j(e*e+n*n),i=t(r),o=x(i),a=g(i);return[v(e*o,r*a),k(r&&n*o/r)]}}var er=Jn((function(t){return j(2/(1+t))}));er.invert=tr((function(t){return 2*k(t/2)}));var nr=Jn((function(t){return(t=O(t))&&t/x(t)}));function rr(t,e){return[t,_(S((u+e)/2))]}function ir(t){var e,n,r,i=Yn(t),o=i.center,a=i.scale,u=i.translate,l=i.clipExtent,c=null;function f(){var o=s*a(),u=i(ne(i.rotate()).invert([0,0]));return l(null==c?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===rr?[[Math.max(u[0]-o,c),e],[Math.min(u[0]+o,n),r]]:[[c,Math.max(u[1]-o,e)],[n,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),f()):a()},i.translate=function(t){return arguments.length?(u(t),f()):u()},i.center=function(t){return arguments.length?(o(t),f()):o()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),f()):null==c?null:[[c,e],[n,r]]},f()}function or(t){return S((u+t)/2)}function ar(t,e){var n=g(t),r=t===e?x(t):_(n/g(e))/_(or(e)/or(t)),i=n*b(or(t),r)/r;if(!r)return rr;function o(t,e){i>0?e<-u+a&&(e=-u+a):e>u-a&&(e=u-a);var n=i/b(or(e),r);return[n*x(r*t),i-n*g(r*t)]}return o.invert=function(t,e){var n=i-e,o=w(r)*j(t*t+n*n);return[v(t,h(n))/r*w(n),2*p(b(i/o,1/r))-u]},o}function sr(t,e){return[t,e]}function ur(t,e){var n=g(t),r=t===e?x(t):(n-g(e))/(e-t),i=n/r+t;if(h(r)<a)return sr;function o(t,e){var n=i-e,o=r*t;return[n*x(o),i-n*g(o)]}return o.invert=function(t,e){var n=i-e;return[v(t,h(n))/r*w(n),i-w(r)*j(t*t+n*n)]},o}function lr(t,e){var n=g(e),r=g(t)*n;return[n*x(t)/r,x(e)/r]}function cr(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?Fe:Fn({point:function(i,o){this.stream.point(i*t+n,o*e+r)}})}function fr(t,e){return[g(e)*x(t),x(e)]}function dr(t,e){var n=g(e),r=1+g(t)*n;return[n*x(t)/r,x(e)/r]}function hr(t,e){return[_(S((u+e)/2)),-t]}nr.invert=tr((function(t){return t})),rr.invert=function(t,e){return[t,2*p(y(e))-u]},sr.invert=sr,lr.invert=tr(p),fr.invert=tr(k),dr.invert=tr((function(t){return 2*p(t)})),hr.invert=function(t,e){return[-e,2*p(y(t))-u]},t.geoArea=function(t){return X.reset(),Y(t,K),2*X},t.geoBounds=function(t){var e,n,r,i,o,a,s;if(V=z=-($=F=1/0),ut=[],Y(t,ft),n=ut.length){for(ut.sort(bt),e=1,o=[r=ut[0]];e<n;++e)xt(r,(i=ut[e])[0])||xt(r,i[1])?(_t(r[0],i[1])>_t(r[0],r[1])&&(r[1]=i[1]),_t(i[0],r[1])>_t(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=_t(r[1],i[0]))>a&&(a=s,$=i[0],z=r[1])}return ut=lt=null,$===1/0||F===1/0?[[NaN,NaN],[NaN,NaN]]:[[$,F],[z,V]]},t.geoCentroid=function(t){wt=jt=St=Ot=kt=Et=Ct=Mt=Tt=Pt=At=0,Y(t,Bt);var e=Tt,n=Pt,r=At,i=e*e+n*n+r*r;return i<1e-12&&(e=Et,n=Ct,r=Mt,jt<a&&(e=St,n=Ot,r=kt),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[v(n,e)*f,k(r/j(i))*f]},t.geoCircle=function(){var t,e,n=Xt([0,0]),r=Xt(90),i=Xt(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=f,n[1]*=f}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*d,u=i.apply(this,arguments)*d;return t=[],e=Qt(-a[0]*d,-a[1]*d,0).invert,re(o,s,u,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:Xt([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:Xt(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:Xt(+t),a):i},a},t.geoClipExtent=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=ce(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}},t.geoContains=function(t,e){return(t&&Oe.hasOwnProperty(t.type)?Oe[t.type]:Ee)(t,e)},t.geoDistance=Se,t.geoGraticule=De,t.geoGraticule10=function(){return De()()},t.geoInterpolate=function(t,e){var n=t[0]*d,r=t[1]*d,i=e[0]*d,o=e[1]*d,a=g(r),s=x(r),u=g(o),l=x(o),c=a*g(n),h=a*x(n),p=u*g(i),m=u*x(i),y=2*k(j(E(o-r)+a*u*E(i-n))),_=x(y),b=y?function(t){var e=x(t*=y)/_,n=x(y-t)/_,r=n*c+e*p,i=n*h+e*m,o=n*s+e*l;return[v(i,r)*f,v(o,j(r*r+i*i))*f]}:function(){return[n*f,r*f]};return b.distance=y,b},t.geoLength=xe,t.geoPath=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Y(t,n(r))),r.result()}return o.area=function(t){return Y(t,n(qe)),qe.result()},o.measure=function(t){return Y(t,n(Tn)),Tn.result()},o.bounds=function(t){return Y(t,n(nn)),nn.result()},o.centroid=function(t){return Y(t,n(hn)),hn.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,Fe):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new In):new jn(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},t.geoAlbers=Qn,t.geoAlbersUsa=function(){var t,e,n,r,i,o,s=Qn(),u=Zn().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Zn().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function f(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function d(){return t=e=null,f}return f.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:s).invert(t)},f.stream=function(n){return t&&e===n?t:(r=[s.stream(e=n),u.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},f.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),d()):s.precision()},f.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),f.translate(s.translate())):s.scale()},f.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),o=+t[0],f=+t[1];return n=s.translate(t).clipExtent([[o-.455*e,f-.238*e],[o+.455*e,f+.238*e]]).stream(c),r=u.translate([o-.307*e,f+.201*e]).clipExtent([[o-.425*e+a,f+.12*e+a],[o-.214*e-a,f+.234*e-a]]).stream(c),i=l.translate([o-.205*e,f+.212*e]).clipExtent([[o-.214*e+a,f+.166*e+a],[o-.115*e-a,f+.234*e-a]]).stream(c),d()},f.fitExtent=function(t,e){return Vn(f,t,e)},f.fitSize=function(t,e){return qn(f,t,e)},f.scale(1070)},t.geoAzimuthalEqualArea=function(){return Yn(er).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=er,t.geoAzimuthalEquidistant=function(){return Yn(nr).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=nr,t.geoConicConformal=function(){return Xn(ar).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=ar,t.geoConicEqualArea=Zn,t.geoConicEqualAreaRaw=Kn,t.geoConicEquidistant=function(){return Xn(ur).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=ur,t.geoEquirectangular=function(){return Yn(sr).scale(152.63)},t.geoEquirectangularRaw=sr,t.geoGnomonic=function(){return Yn(lr).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=lr,t.geoIdentity=function(){var t,e,n,r,i,o,a=1,s=0,u=0,l=1,c=1,f=Fe,d=null,h=Fe;function p(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=f(h(i=t))},clipExtent:function(r){return arguments.length?(h=null==r?(d=t=e=n=null,Fe):ce(d=+r[0][0],t=+r[0][1],e=+r[1][0],n=+r[1][1]),p()):null==d?null:[[d,t],[e,n]]},scale:function(t){return arguments.length?(f=cr((a=+t)*l,a*c,s,u),p()):a},translate:function(t){return arguments.length?(f=cr(a*l,a*c,s=+t[0],u=+t[1]),p()):[s,u]},reflectX:function(t){return arguments.length?(f=cr(a*(l=t?-1:1),a*c,s,u),p()):l<0},reflectY:function(t){return arguments.length?(f=cr(a*l,a*(c=t?-1:1),s,u),p()):c<0},fitExtent:function(t,e){return Vn(o,t,e)},fitSize:function(t,e){return qn(o,t,e)}}},t.geoProjection=Yn,t.geoProjectionMutator=Wn,t.geoMercator=function(){return ir(rr).scale(961/c)},t.geoMercatorRaw=rr,t.geoOrthographic=function(){return Yn(fr).scale(249.5).clipAngle(90+a)},t.geoOrthographicRaw=fr,t.geoStereographic=function(){return Yn(dr).scale(250).clipAngle(142)},t.geoStereographicRaw=dr,t.geoTransverseMercator=function(){var t=ir(hr),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=hr,t.geoRotation=ne,t.geoStream=Y,t.geoTransform=function(t){return{stream:Fn(t)}},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-geo@2.0.1@d3-geo/dist/d3-geo.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_d3-geo@2.0.1@d3-geo/dist/d3-geo.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e){"use strict";var n=1e-6,r=Math.PI,i=r/2,o=r/4,a=2*r,s=180/r,u=r/180,l=Math.abs,c=Math.atan,f=Math.atan2,d=Math.cos,h=Math.ceil,p=Math.exp,v=Math.hypot,g=Math.log,m=Math.pow,y=Math.sin,_=Math.sign||function(t){return t>0?1:t<0?-1:0},b=Math.sqrt,x=Math.tan;function w(t){return t>1?0:t<-1?r:Math.acos(t)}function j(t){return t>1?i:t<-1?-i:Math.asin(t)}function S(t){return(t=y(t/2))*t}function O(){}function k(t,e){t&&C.hasOwnProperty(t.type)&&C[t.type](t,e)}var E={Feature:function(t,e){k(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)k(n[r].geometry,e)}},C={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){M(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)M(n[r],e,0)},Polygon:function(t,e){T(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)T(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)k(n[r],e)}};function M(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function T(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)M(t[n],e,1);e.polygonEnd()}function P(t,e){t&&E.hasOwnProperty(t.type)?E[t.type](t,e):k(t,e)}var A,I,N,D,R,L,B,$,F,z,V,q,H,G,U,Y,W=new e.Adder,X=new e.Adder,K={point:O,lineStart:O,lineEnd:O,polygonStart:function(){W=new e.Adder,K.lineStart=Z,K.lineEnd=Q},polygonEnd:function(){var t=+W;X.add(t<0?a+t:t),this.lineStart=this.lineEnd=this.point=O},sphere:function(){X.add(a)}};function Z(){K.point=J}function Q(){tt(A,I)}function J(t,e){K.point=tt,A=t,I=e,N=t*=u,D=d(e=(e*=u)/2+o),R=y(e)}function tt(t,e){var n=(t*=u)-N,r=n>=0?1:-1,i=r*n,a=d(e=(e*=u)/2+o),s=y(e),l=R*s,c=D*a+l*d(i),h=l*r*y(i);W.add(f(h,c)),N=t,D=a,R=s}function et(t){return[f(t[1],t[0]),j(t[2])]}function nt(t){var e=t[0],n=t[1],r=d(n);return[r*d(e),r*y(e),y(n)]}function rt(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function it(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ot(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function at(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function st(t){var e=b(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var ut,lt,ct,ft,dt,ht,pt,vt,gt,mt,yt,_t,bt,xt,wt,jt,St={point:Ot,lineStart:Et,lineEnd:Ct,polygonStart:function(){St.point=Mt,St.lineStart=Tt,St.lineEnd=Pt,G=new e.Adder,K.polygonStart()},polygonEnd:function(){K.polygonEnd(),St.point=Ot,St.lineStart=Et,St.lineEnd=Ct,W<0?(L=-($=180),B=-(F=90)):G>n?F=90:G<-n&&(B=-90),Y[0]=L,Y[1]=$},sphere:function(){L=-($=180),B=-(F=90)}};function Ot(t,e){U.push(Y=[L=t,$=t]),e<B&&(B=e),e>F&&(F=e)}function kt(t,e){var n=nt([t*u,e*u]);if(H){var r=it(H,n),i=it([r[1],-r[0],0],r);st(i),i=et(i);var o,a=t-z,c=a>0?1:-1,f=i[0]*s*c,d=l(a)>180;d^(c*z<f&&f<c*t)?(o=i[1]*s)>F&&(F=o):d^(c*z<(f=(f+360)%360-180)&&f<c*t)?(o=-i[1]*s)<B&&(B=o):(e<B&&(B=e),e>F&&(F=e)),d?t<z?At(L,t)>At(L,$)&&($=t):At(t,$)>At(L,$)&&(L=t):$>=L?(t<L&&(L=t),t>$&&($=t)):t>z?At(L,t)>At(L,$)&&($=t):At(t,$)>At(L,$)&&(L=t)}else U.push(Y=[L=t,$=t]);e<B&&(B=e),e>F&&(F=e),H=n,z=t}function Et(){St.point=kt}function Ct(){Y[0]=L,Y[1]=$,St.point=Ot,H=null}function Mt(t,e){if(H){var n=t-z;G.add(l(n)>180?n+(n>0?360:-360):n)}else V=t,q=e;K.point(t,e),kt(t,e)}function Tt(){K.lineStart()}function Pt(){Mt(V,q),K.lineEnd(),l(G)>n&&(L=-($=180)),Y[0]=L,Y[1]=$,H=null}function At(t,e){return(e-=t)<0?e+360:e}function It(t,e){return t[0]-e[0]}function Nt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Dt={sphere:O,point:Rt,lineStart:Bt,lineEnd:zt,polygonStart:function(){Dt.lineStart=Vt,Dt.lineEnd=qt},polygonEnd:function(){Dt.lineStart=Bt,Dt.lineEnd=zt}};function Rt(t,e){t*=u;var n=d(e*=u);Lt(n*d(t),n*y(t),y(e))}function Lt(t,e,n){++ut,ct+=(t-ct)/ut,ft+=(e-ft)/ut,dt+=(n-dt)/ut}function Bt(){Dt.point=$t}function $t(t,e){t*=u;var n=d(e*=u);xt=n*d(t),wt=n*y(t),jt=y(e),Dt.point=Ft,Lt(xt,wt,jt)}function Ft(t,e){t*=u;var n=d(e*=u),r=n*d(t),i=n*y(t),o=y(e),a=f(b((a=wt*o-jt*i)*a+(a=jt*r-xt*o)*a+(a=xt*i-wt*r)*a),xt*r+wt*i+jt*o);lt+=a,ht+=a*(xt+(xt=r)),pt+=a*(wt+(wt=i)),vt+=a*(jt+(jt=o)),Lt(xt,wt,jt)}function zt(){Dt.point=Rt}function Vt(){Dt.point=Ht}function qt(){Gt(_t,bt),Dt.point=Rt}function Ht(t,e){_t=t,bt=e,t*=u,e*=u,Dt.point=Gt;var n=d(e);xt=n*d(t),wt=n*y(t),jt=y(e),Lt(xt,wt,jt)}function Gt(t,e){t*=u;var n=d(e*=u),r=n*d(t),i=n*y(t),o=y(e),a=wt*o-jt*i,s=jt*r-xt*o,l=xt*i-wt*r,c=v(a,s,l),f=j(c),h=c&&-f/c;gt.add(h*a),mt.add(h*s),yt.add(h*l),lt+=f,ht+=f*(xt+(xt=r)),pt+=f*(wt+(wt=i)),vt+=f*(jt+(jt=o)),Lt(xt,wt,jt)}function Ut(t){return function(){return t}}function Yt(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Wt(t,e){return[l(t)>r?t+Math.round(-t/a)*a:t,e]}function Xt(t,e,n){return(t%=a)?e||n?Yt(Zt(t),Qt(e,n)):Zt(t):e||n?Qt(e,n):Wt}function Kt(t){return function(e,n){return[(e+=t)>r?e-a:e<-r?e+a:e,n]}}function Zt(t){var e=Kt(t);return e.invert=Kt(-t),e}function Qt(t,e){var n=d(t),r=y(t),i=d(e),o=y(e);function a(t,e){var a=d(e),s=d(t)*a,u=y(t)*a,l=y(e),c=l*n+s*r;return[f(u*i-c*o,s*n-l*r),j(c*i+u*o)]}return a.invert=function(t,e){var a=d(e),s=d(t)*a,u=y(t)*a,l=y(e),c=l*i-u*o;return[f(u*i+l*o,s*n+c*r),j(c*n-s*r)]},a}function Jt(t){function e(e){return(e=t(e[0]*u,e[1]*u))[0]*=s,e[1]*=s,e}return t=Xt(t[0]*u,t[1]*u,t.length>2?t[2]*u:0),e.invert=function(e){return(e=t.invert(e[0]*u,e[1]*u))[0]*=s,e[1]*=s,e},e}function te(t,e,n,r,i,o){if(n){var s=d(e),u=y(e),l=r*n;null==i?(i=e+r*a,o=e-l/2):(i=ee(s,i),o=ee(s,o),(r>0?i<o:i>o)&&(i+=r*a));for(var c,f=i;r>0?f>o:f<o;f-=l)c=et([s,-u*d(f),-u*y(f)]),t.point(c[0],c[1])}}function ee(t,e){(e=nt(e))[0]-=t,st(e);var r=w(-e[1]);return((-e[2]<0?-r:r)+a-n)%a}function ne(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:O,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function re(t,e){return l(t[0]-e[0])<n&&l(t[1]-e[1])<n}function ie(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function oe(t,e,r,i,o){var a,s,u=[],l=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,r,i=t[0],s=t[e];if(re(i,s)){if(!i[2]&&!s[2]){for(o.lineStart(),a=0;a<e;++a)o.point((i=t[a])[0],i[1]);return void o.lineEnd()}s[0]+=2*n}u.push(r=new ie(i,t,null,!0)),l.push(r.o=new ie(i,null,r,!1)),u.push(r=new ie(s,t,null,!1)),l.push(r.o=new ie(s,null,r,!0))}})),u.length){for(l.sort(e),ae(u),ae(l),a=0,s=l.length;a<s;++a)l[a].e=r=!r;for(var c,f,d=u[0];;){for(var h=d,p=!0;h.v;)if((h=h.n)===d)return;c=h.z,o.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(a=0,s=c.length;a<s;++a)o.point((f=c[a])[0],f[1]);else i(h.x,h.n.x,1,o);h=h.n}else{if(p)for(c=h.p.z,a=c.length-1;a>=0;--a)o.point((f=c[a])[0],f[1]);else i(h.x,h.p.x,-1,o);h=h.p}c=(h=h.o).z,p=!p}while(!h.v);o.lineEnd()}}}function ae(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function se(t){return l(t[0])<=r?t[0]:_(t[0])*((l(t[0])+r)%a-r)}function ue(t,s){var u=se(s),l=s[1],c=y(l),h=[y(u),-d(u),0],p=0,v=0,g=new e.Adder;1===c?l=i+n:-1===c&&(l=-i-n);for(var m=0,_=t.length;m<_;++m)if(x=(b=t[m]).length)for(var b,x,w=b[x-1],S=se(w),O=w[1]/2+o,k=y(O),E=d(O),C=0;C<x;++C,S=T,k=A,E=I,w=M){var M=b[C],T=se(M),P=M[1]/2+o,A=y(P),I=d(P),N=T-S,D=N>=0?1:-1,R=D*N,L=R>r,B=k*A;if(g.add(f(B*D*y(R),E*I+B*d(R))),p+=L?N+D*a:N,L^S>=u^T>=u){var $=it(nt(w),nt(M));st($);var F=it(h,$);st(F);var z=(L^N>=0?-1:1)*j(F[2]);(l>z||l===z&&($[0]||$[1]))&&(v+=L^N>=0?1:-1)}}return(p<-n||p<n&&g<-1e-12)^1&v}function le(t,n,r,i){return function(o){var a,s,u,l=n(o),c=ne(),f=n(c),d=!1,h={point:p,lineStart:g,lineEnd:m,polygonStart:function(){h.point=y,h.lineStart=_,h.lineEnd=b,s=[],a=[]},polygonEnd:function(){h.point=p,h.lineStart=g,h.lineEnd=m,s=e.merge(s);var t=ue(a,i);s.length?(d||(o.polygonStart(),d=!0),oe(s,fe,t,r,o)):t&&(d||(o.polygonStart(),d=!0),o.lineStart(),r(null,null,1,o),o.lineEnd()),d&&(o.polygonEnd(),d=!1),s=a=null},sphere:function(){o.polygonStart(),o.lineStart(),r(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function p(e,n){t(e,n)&&o.point(e,n)}function v(t,e){l.point(t,e)}function g(){h.point=v,l.lineStart()}function m(){h.point=p,l.lineEnd()}function y(t,e){u.push([t,e]),f.point(t,e)}function _(){f.lineStart(),u=[]}function b(){y(u[0][0],u[0][1]),f.lineEnd();var t,e,n,r,i=f.clean(),l=c.result(),h=l.length;if(u.pop(),a.push(u),u=null,h)if(1&i){if((e=(n=l[0]).length-1)>0){for(d||(o.polygonStart(),d=!0),o.lineStart(),t=0;t<e;++t)o.point((r=n[t])[0],r[1]);o.lineEnd()}}else h>1&&2&i&&l.push(l.pop().concat(l.shift())),s.push(l.filter(ce))}return h}}function ce(t){return t.length>1}function fe(t,e){return((t=t.x)[0]<0?t[1]-i-n:i-t[1])-((e=e.x)[0]<0?e[1]-i-n:i-e[1])}Wt.invert=Wt;var de,he,pe,ve,ge=le((function(){return!0}),(function(t){var e,o=NaN,a=NaN,s=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(u,f){var h=u>0?r:-r,p=l(u-o);l(p-r)<n?(t.point(o,a=(a+f)/2>0?i:-i),t.point(s,a),t.lineEnd(),t.lineStart(),t.point(h,a),t.point(u,a),e=0):s!==h&&p>=r&&(l(o-s)<n&&(o-=s*n),l(u-h)<n&&(u-=h*n),a=function(t,e,r,i){var o,a,s=y(t-r);return l(s)>n?c((y(e)*(a=d(i))*y(r)-y(i)*(o=d(e))*y(t))/(o*a*s)):(e+i)/2}(o,a,u,f),t.point(s,a),t.lineEnd(),t.lineStart(),t.point(h,a),e=0),t.point(o=u,a=f),s=h},lineEnd:function(){t.lineEnd(),o=a=NaN},clean:function(){return 2-e}}}),(function(t,e,o,a){var s;if(null==t)s=o*i,a.point(-r,s),a.point(0,s),a.point(r,s),a.point(r,0),a.point(r,-s),a.point(0,-s),a.point(-r,-s),a.point(-r,0),a.point(-r,s);else if(l(t[0]-e[0])>n){var u=t[0]<e[0]?r:-r;s=o*u/2,a.point(-u,s),a.point(0,s),a.point(u,s)}else a.point(e[0],e[1])}),[-r,-i]);function me(t){var e=d(t),i=6*u,o=e>0,a=l(e)>n;function s(t,n){return d(t)*d(n)>e}function c(t,i,o){var a=[1,0,0],s=it(nt(t),nt(i)),u=rt(s,s),c=s[0],f=u-c*c;if(!f)return!o&&t;var d=e*u/f,h=-e*c/f,p=it(a,s),v=at(a,d);ot(v,at(s,h));var g=p,m=rt(v,g),y=rt(g,g),_=m*m-y*(rt(v,v)-1);if(!(_<0)){var x=b(_),w=at(g,(-m-x)/y);if(ot(w,v),w=et(w),!o)return w;var j,S=t[0],O=i[0],k=t[1],E=i[1];O<S&&(j=S,S=O,O=j);var C=O-S,M=l(C-r)<n;if(!M&&E<k&&(j=k,k=E,E=j),M||C<n?M?k+E>0^w[1]<(l(w[0]-S)<n?k:E):k<=w[1]&&w[1]<=E:C>r^(S<=w[0]&&w[0]<=O)){var T=at(g,(-m+x)/y);return ot(T,v),[w,et(T)]}}}function f(e,n){var i=o?t:r-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return le(s,(function(t){var e,n,i,u,l;return{lineStart:function(){u=i=!1,l=1},point:function(d,h){var p,v=[d,h],g=s(d,h),m=o?g?0:f(d,h):g?f(d+(d<0?r:-r),h):0;if(!e&&(u=i=g)&&t.lineStart(),g!==i&&(!(p=c(e,v))||re(e,p)||re(v,p))&&(v[2]=1),g!==i)l=0,g?(t.lineStart(),p=c(v,e),t.point(p[0],p[1])):(p=c(e,v),t.point(p[0],p[1],2),t.lineEnd()),e=p;else if(a&&e&&o^g){var y;m&n||!(y=c(v,e,!0))||(l=0,o?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||e&&re(e,v)||t.point(v[0],v[1]),e=v,i=g,n=m},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return l|(u&&i)<<1}}}),(function(e,n,r,o){te(o,t,i,r,e,n)}),o?[0,-t]:[-r,t-r])}function ye(t,r,i,o){function a(e,n){return t<=e&&e<=i&&r<=n&&n<=o}function s(e,n,a,s){var l=0,c=0;if(null==e||(l=u(e,a))!==(c=u(n,a))||f(e,n)<0^a>0)do{s.point(0===l||3===l?t:i,l>1?o:r)}while((l=(l+a+4)%4)!==c);else s.point(n[0],n[1])}function u(e,o){return l(e[0]-t)<n?o>0?0:3:l(e[0]-i)<n?o>0?2:1:l(e[1]-r)<n?o>0?1:0:o>0?3:2}function c(t,e){return f(t.x,e.x)}function f(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(n){var u,l,f,d,h,p,v,g,m,y,_,b=n,x=ne(),w={point:j,lineStart:function(){w.point=S,l&&l.push(f=[]),y=!0,m=!1,v=g=NaN},lineEnd:function(){u&&(S(d,h),p&&m&&x.rejoin(),u.push(x.result())),w.point=j,m&&b.lineEnd()},polygonStart:function(){b=x,u=[],l=[],_=!0},polygonEnd:function(){var r=function(){for(var e=0,n=0,r=l.length;n<r;++n)for(var i,a,s=l[n],u=1,c=s.length,f=s[0],d=f[0],h=f[1];u<c;++u)i=d,a=h,f=s[u],d=f[0],h=f[1],a<=o?h>o&&(d-i)*(o-a)>(h-a)*(t-i)&&++e:h<=o&&(d-i)*(o-a)<(h-a)*(t-i)&&--e;return e}(),i=_&&r,a=(u=e.merge(u)).length;(i||a)&&(n.polygonStart(),i&&(n.lineStart(),s(null,null,1,n),n.lineEnd()),a&&oe(u,c,r,s,n),n.polygonEnd()),b=n,u=l=f=null}};function j(t,e){a(t,e)&&b.point(t,e)}function S(e,n){var s=a(e,n);if(l&&f.push([e,n]),y)d=e,h=n,p=s,y=!1,s&&(b.lineStart(),b.point(e,n));else if(s&&m)b.point(e,n);else{var u=[v=Math.max(-1e9,Math.min(1e9,v)),g=Math.max(-1e9,Math.min(1e9,g))],c=[e=Math.max(-1e9,Math.min(1e9,e)),n=Math.max(-1e9,Math.min(1e9,n))];!function(t,e,n,r,i,o){var a,s=t[0],u=t[1],l=0,c=1,f=e[0]-s,d=e[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<l)return;a<c&&(c=a)}else if(f>0){if(a>c)return;a>l&&(l=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>l&&(l=a)}else if(f>0){if(a<l)return;a<c&&(c=a)}if(a=r-u,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<c&&(c=a)}else if(d>0){if(a>c)return;a>l&&(l=a)}if(a=o-u,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<c&&(c=a)}return l>0&&(t[0]=s+l*f,t[1]=u+l*d),c<1&&(e[0]=s+c*f,e[1]=u+c*d),!0}}}}}(u,c,t,r,i,o)?s&&(b.lineStart(),b.point(e,n),_=!1):(m||(b.lineStart(),b.point(u[0],u[1])),b.point(c[0],c[1]),s||b.lineEnd(),_=!1)}v=e,g=n,m=s}return w}}var _e={sphere:O,point:O,lineStart:function(){_e.point=xe,_e.lineEnd=be},lineEnd:O,polygonStart:O,polygonEnd:O};function be(){_e.point=_e.lineEnd=O}function xe(t,e){he=t*=u,pe=y(e*=u),ve=d(e),_e.point=we}function we(t,e){t*=u;var n=y(e*=u),r=d(e),i=l(t-he),o=d(i),a=r*y(i),s=ve*n-pe*r*o,c=pe*n+ve*r*o;de.add(f(b(a*a+s*s),c)),he=t,pe=n,ve=r}function je(t){return de=new e.Adder,P(t,_e),+de}var Se=[null,null],Oe={type:"LineString",coordinates:Se};function ke(t,e){return Se[0]=t,Se[1]=e,je(Oe)}var Ee={Feature:function(t,e){return Me(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Me(n[r].geometry,e))return!0;return!1}},Ce={Sphere:function(){return!0},Point:function(t,e){return Te(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Te(n[r],e))return!0;return!1},LineString:function(t,e){return Pe(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Pe(n[r],e))return!0;return!1},Polygon:function(t,e){return Ae(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(Ae(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Me(n[r],e))return!0;return!1}};function Me(t,e){return!(!t||!Ce.hasOwnProperty(t.type))&&Ce[t.type](t,e)}function Te(t,e){return 0===ke(t,e)}function Pe(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=ke(t[o],e)))return!0;if(o>0&&(i=ke(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<1e-12*i)return!0;n=r}return!1}function Ae(t,e){return!!ue(t.map(Ie),Ne(e))}function Ie(t){return(t=t.map(Ne)).pop(),t}function Ne(t){return[t[0]*u,t[1]*u]}function De(t,r,i){var o=e.range(t,r-n,i).concat(r);return function(t){return o.map((function(e){return[t,e]}))}}function Re(t,r,i){var o=e.range(t,r-n,i).concat(r);return function(t){return o.map((function(e){return[e,t]}))}}function Le(){var t,r,i,o,a,s,u,c,f,d,p,v,g=10,m=g,y=90,_=360,b=2.5;function x(){return{type:"MultiLineString",coordinates:w()}}function w(){return e.range(h(o/y)*y,i,y).map(p).concat(e.range(h(c/_)*_,u,_).map(v)).concat(e.range(h(r/g)*g,t,g).filter((function(t){return l(t%y)>n})).map(f)).concat(e.range(h(s/m)*m,a,m).filter((function(t){return l(t%_)>n})).map(d))}return x.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},x.outline=function(){return{type:"Polygon",coordinates:[p(o).concat(v(u).slice(1),p(i).reverse().slice(1),v(c).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(o=+t[0][0],i=+t[1][0],c=+t[0][1],u=+t[1][1],o>i&&(t=o,o=i,i=t),c>u&&(t=c,c=u,u=t),x.precision(b)):[[o,c],[i,u]]},x.extentMinor=function(e){return arguments.length?(r=+e[0][0],t=+e[1][0],s=+e[0][1],a=+e[1][1],r>t&&(e=r,r=t,t=e),s>a&&(e=s,s=a,a=e),x.precision(b)):[[r,s],[t,a]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(y=+t[0],_=+t[1],x):[y,_]},x.stepMinor=function(t){return arguments.length?(g=+t[0],m=+t[1],x):[g,m]},x.precision=function(e){return arguments.length?(b=+e,f=De(s,a,90),d=Re(r,t,b),p=De(c,u,90),v=Re(o,i,b),x):b},x.extentMajor([[-180,-90+n],[180,90-n]]).extentMinor([[-180,-80-n],[180,80+n]])}var Be,$e,Fe,ze,Ve=function(t){return t},qe=new e.Adder,He=new e.Adder,Ge={point:O,lineStart:O,lineEnd:O,polygonStart:function(){Ge.lineStart=Ue,Ge.lineEnd=Xe},polygonEnd:function(){Ge.lineStart=Ge.lineEnd=Ge.point=O,qe.add(l(He)),He=new e.Adder},result:function(){var t=qe/2;return qe=new e.Adder,t}};function Ue(){Ge.point=Ye}function Ye(t,e){Ge.point=We,Be=Fe=t,$e=ze=e}function We(t,e){He.add(ze*t-Fe*e),Fe=t,ze=e}function Xe(){We(Be,$e)}var Ke,Ze,Qe,Je,tn=1/0,en=tn,nn=-tn,rn=nn,on={point:function(t,e){t<tn&&(tn=t),t>nn&&(nn=t),e<en&&(en=e),e>rn&&(rn=e)},lineStart:O,lineEnd:O,polygonStart:O,polygonEnd:O,result:function(){var t=[[tn,en],[nn,rn]];return nn=rn=-(en=tn=1/0),t}},an=0,sn=0,un=0,ln=0,cn=0,fn=0,dn=0,hn=0,pn=0,vn={point:gn,lineStart:mn,lineEnd:bn,polygonStart:function(){vn.lineStart=xn,vn.lineEnd=wn},polygonEnd:function(){vn.point=gn,vn.lineStart=mn,vn.lineEnd=bn},result:function(){var t=pn?[dn/pn,hn/pn]:fn?[ln/fn,cn/fn]:un?[an/un,sn/un]:[NaN,NaN];return an=sn=un=ln=cn=fn=dn=hn=pn=0,t}};function gn(t,e){an+=t,sn+=e,++un}function mn(){vn.point=yn}function yn(t,e){vn.point=_n,gn(Qe=t,Je=e)}function _n(t,e){var n=t-Qe,r=e-Je,i=b(n*n+r*r);ln+=i*(Qe+t)/2,cn+=i*(Je+e)/2,fn+=i,gn(Qe=t,Je=e)}function bn(){vn.point=gn}function xn(){vn.point=jn}function wn(){Sn(Ke,Ze)}function jn(t,e){vn.point=Sn,gn(Ke=Qe=t,Ze=Je=e)}function Sn(t,e){var n=t-Qe,r=e-Je,i=b(n*n+r*r);ln+=i*(Qe+t)/2,cn+=i*(Je+e)/2,fn+=i,dn+=(i=Je*t-Qe*e)*(Qe+t),hn+=i*(Je+e),pn+=3*i,gn(Qe=t,Je=e)}function On(t){this._context=t}On.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,a)}},result:O};var kn,En,Cn,Mn,Tn,Pn=new e.Adder,An={point:O,lineStart:function(){An.point=In},lineEnd:function(){kn&&Nn(En,Cn),An.point=O},polygonStart:function(){kn=!0},polygonEnd:function(){kn=null},result:function(){var t=+Pn;return Pn=new e.Adder,t}};function In(t,e){An.point=Nn,En=Mn=t,Cn=Tn=e}function Nn(t,e){Mn-=t,Tn-=e,Pn.add(b(Mn*Mn+Tn*Tn)),Mn=t,Tn=e}function Dn(){this._string=[]}function Rn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Ln(t){return function(e){var n=new Bn;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Bn(){}function $n(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),P(n,t.stream(on)),e(on.result()),null!=r&&t.clipExtent(r),t}function Fn(t,e,n){return $n(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,s])}),n)}function zn(t,e,n){return Fn(t,[[0,0],e],n)}function Vn(t,e,n){return $n(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])}),n)}function qn(t,e,n){return $n(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])}),n)}Dn.prototype={_radius:4.5,_circle:Rn(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Rn(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Bn.prototype={constructor:Bn,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Hn=d(30*u);function Gn(t,e){return+e?function(t,e){function r(i,o,a,s,u,c,d,h,p,v,g,m,y,_){var x=d-i,w=h-o,S=x*x+w*w;if(S>4*e&&y--){var O=s+v,k=u+g,E=c+m,C=b(O*O+k*k+E*E),M=j(E/=C),T=l(l(E)-1)<n||l(a-p)<n?(a+p)/2:f(k,O),P=t(T,M),A=P[0],I=P[1],N=A-i,D=I-o,R=w*N-x*D;(R*R/S>e||l((x*N+w*D)/S-.5)>.3||s*v+u*g+c*m<Hn)&&(r(i,o,a,s,u,c,A,I,T,O/=C,k/=C,E,y,_),_.point(A,I),r(A,I,T,O,k,E,d,h,p,v,g,m,y,_))}}return function(e){var n,i,o,a,s,u,l,c,f,d,h,p,v={point:g,lineStart:m,lineEnd:_,polygonStart:function(){e.polygonStart(),v.lineStart=b},polygonEnd:function(){e.polygonEnd(),v.lineStart=m}};function g(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){c=NaN,v.point=y,e.lineStart()}function y(n,i){var o=nt([n,i]),a=t(n,i);r(c,f,l,d,h,p,c=a[0],f=a[1],l=n,d=o[0],h=o[1],p=o[2],16,e),e.point(c,f)}function _(){v.point=g,e.lineEnd()}function b(){m(),v.point=x,v.lineEnd=w}function x(t,e){y(n=t,e),i=c,o=f,a=d,s=h,u=p,v.point=y}function w(){r(c,f,l,d,h,p,i,o,n,a,s,u,16,e),v.lineEnd=_,_()}return v}}(t,e):function(t){return Ln({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var Un=Ln({point:function(t,e){this.stream.point(t*u,e*u)}});function Yn(t,e,n,r,i,o){if(!o)return function(t,e,n,r,i){function o(o,a){return[e+t*(o*=r),n-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*r,(n-a)/t*i]},o}(t,e,n,r,i);var a=d(o),s=y(o),u=a*t,l=s*t,c=a/t,f=s/t,h=(s*n-a*e)/t,p=(s*e+a*n)/t;function v(t,o){return[u*(t*=r)-l*(o*=i)+e,n-l*t-u*o]}return v.invert=function(t,e){return[r*(c*t-f*e+h),i*(p-f*t-c*e)]},v}function Wn(t){return Xn((function(){return t}))()}function Xn(t){var e,n,r,i,o,a,l,c,f,d,h=150,p=480,v=250,g=0,m=0,y=0,_=0,x=0,w=0,j=1,S=1,O=null,k=ge,E=null,C=Ve,M=.5;function T(t){return c(t[0]*u,t[1]*u)}function P(t){return(t=c.invert(t[0],t[1]))&&[t[0]*s,t[1]*s]}function A(){var t=Yn(h,0,0,j,S,w).apply(null,e(g,m)),r=Yn(h,p-t[0],v-t[1],j,S,w);return n=Xt(y,_,x),l=Yt(e,r),c=Yt(n,l),a=Gn(l,M),I()}function I(){return f=d=null,T}return T.stream=function(t){return f&&d===t?f:f=Un(function(t){return Ln({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(k(a(C(d=t)))))},T.preclip=function(t){return arguments.length?(k=t,O=void 0,I()):k},T.postclip=function(t){return arguments.length?(C=t,E=r=i=o=null,I()):C},T.clipAngle=function(t){return arguments.length?(k=+t?me(O=t*u):(O=null,ge),I()):O*s},T.clipExtent=function(t){return arguments.length?(C=null==t?(E=r=i=o=null,Ve):ye(E=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),I()):null==E?null:[[E,r],[i,o]]},T.scale=function(t){return arguments.length?(h=+t,A()):h},T.translate=function(t){return arguments.length?(p=+t[0],v=+t[1],A()):[p,v]},T.center=function(t){return arguments.length?(g=t[0]%360*u,m=t[1]%360*u,A()):[g*s,m*s]},T.rotate=function(t){return arguments.length?(y=t[0]%360*u,_=t[1]%360*u,x=t.length>2?t[2]%360*u:0,A()):[y*s,_*s,x*s]},T.angle=function(t){return arguments.length?(w=t%360*u,A()):w*s},T.reflectX=function(t){return arguments.length?(j=t?-1:1,A()):j<0},T.reflectY=function(t){return arguments.length?(S=t?-1:1,A()):S<0},T.precision=function(t){return arguments.length?(a=Gn(l,M=t*t),I()):b(M)},T.fitExtent=function(t,e){return Fn(T,t,e)},T.fitSize=function(t,e){return zn(T,t,e)},T.fitWidth=function(t,e){return Vn(T,t,e)},T.fitHeight=function(t,e){return qn(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&P,A()}}function Kn(t){var e=0,n=r/3,i=Xn(t),o=i(e,n);return o.parallels=function(t){return arguments.length?i(e=t[0]*u,n=t[1]*u):[e*s,n*s]},o}function Zn(t,e){var i=y(t),o=(i+y(e))/2;if(l(o)<n)return function(t){var e=d(t);function n(t,n){return[t*e,y(n)/e]}return n.invert=function(t,n){return[t/e,j(n*e)]},n}(t);var a=1+i*(2*o-i),s=b(a)/o;function u(t,e){var n=b(a-2*o*y(e))/o;return[n*y(t*=o),s-n*d(t)]}return u.invert=function(t,e){var n=s-e,i=f(t,l(n))*_(n);return n*o<0&&(i-=r*_(t)*_(n)),[i/o,j((a-(t*t+n*n)*o*o)/(2*o))]},u}function Qn(){return Kn(Zn).scale(155.424).center([0,33.6442])}function Jn(){return Qn().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function tr(t){return function(e,n){var r=d(e),i=d(n),o=t(r*i);return o===1/0?[2,0]:[o*i*y(e),o*y(n)]}}function er(t){return function(e,n){var r=b(e*e+n*n),i=t(r),o=y(i),a=d(i);return[f(e*o,r*a),j(r&&n*o/r)]}}var nr=tr((function(t){return b(2/(1+t))}));nr.invert=er((function(t){return 2*j(t/2)}));var rr=tr((function(t){return(t=w(t))&&t/y(t)}));function ir(t,e){return[t,g(x((i+e)/2))]}function or(t){var e,n,i,o=Wn(t),a=o.center,s=o.scale,u=o.translate,l=o.clipExtent,c=null;function f(){var a=r*s(),u=o(Jt(o.rotate()).invert([0,0]));return l(null==c?[[u[0]-a,u[1]-a],[u[0]+a,u[1]+a]]:t===ir?[[Math.max(u[0]-a,c),e],[Math.min(u[0]+a,n),i]]:[[c,Math.max(u[1]-a,e)],[n,Math.min(u[1]+a,i)]])}return o.scale=function(t){return arguments.length?(s(t),f()):s()},o.translate=function(t){return arguments.length?(u(t),f()):u()},o.center=function(t){return arguments.length?(a(t),f()):a()},o.clipExtent=function(t){return arguments.length?(null==t?c=e=n=i=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],i=+t[1][1]),f()):null==c?null:[[c,e],[n,i]]},f()}function ar(t){return x((i+t)/2)}function sr(t,e){var o=d(t),a=t===e?y(t):g(o/d(e))/g(ar(e)/ar(t)),s=o*m(ar(t),a)/a;if(!a)return ir;function u(t,e){s>0?e<-i+n&&(e=-i+n):e>i-n&&(e=i-n);var r=s/m(ar(e),a);return[r*y(a*t),s-r*d(a*t)]}return u.invert=function(t,e){var n=s-e,o=_(a)*b(t*t+n*n),u=f(t,l(n))*_(n);return n*a<0&&(u-=r*_(t)*_(n)),[u/a,2*c(m(s/o,1/a))-i]},u}function ur(t,e){return[t,e]}function lr(t,e){var i=d(t),o=t===e?y(t):(i-d(e))/(e-t),a=i/o+t;if(l(o)<n)return ur;function s(t,e){var n=a-e,r=o*t;return[n*y(r),a-n*d(r)]}return s.invert=function(t,e){var n=a-e,i=f(t,l(n))*_(n);return n*o<0&&(i-=r*_(t)*_(n)),[i/o,a-_(o)*b(t*t+n*n)]},s}rr.invert=er((function(t){return t})),ir.invert=function(t,e){return[t,2*c(p(e))-i]},ur.invert=ur;var cr=1.340264,fr=-.081106,dr=893e-6,hr=.003796,pr=b(3)/2;function vr(t,e){var n=j(pr*y(e)),r=n*n,i=r*r*r;return[t*d(n)/(pr*(cr+3*fr*r+i*(7*dr+9*hr*r))),n*(cr+fr*r+i*(dr+hr*r))]}function gr(t,e){var n=d(e),r=d(t)*n;return[n*y(t)/r,y(e)/r]}function mr(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function yr(t,e){return[d(e)*y(t),y(e)]}function _r(t,e){var n=d(e),r=1+d(t)*n;return[n*y(t)/r,y(e)/r]}function br(t,e){return[g(x((i+e)/2)),-t]}vr.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(cr+fr*i+o*(dr+hr*i))-e)/(cr+3*fr*i+o*(7*dr+9*hr*i)))*r)*i*i,!(l(n)<1e-12));++a);return[pr*t*(cr+3*fr*i+o*(7*dr+9*hr*i))/d(r),j(y(r)/pr)]},gr.invert=er(c),mr.invert=function(t,e){var r,i=e,o=25;do{var a=i*i,s=a*a;i-=r=(i*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-e)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while(l(r)>n&&--o>0);return[t/(.8707+(a=i*i)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),i]},yr.invert=er(j),_r.invert=er((function(t){return 2*c(t)})),br.invert=function(t,e){return[-e,2*c(p(t))-i]},t.geoAlbers=Jn,t.geoAlbersUsa=function(){var t,e,r,i,o,a,s=Jn(),u=Qn().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Qn().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){a=[t,e]}};function f(t){var e=t[0],n=t[1];return a=null,r.point(e,n),a||(i.point(e,n),a)||(o.point(e,n),a)}function d(){return t=e=null,f}return f.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:s).invert(t)},f.stream=function(n){return t&&e===n?t:(r=[s.stream(e=n),u.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},f.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),d()):s.precision()},f.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),f.translate(s.translate())):s.scale()},f.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),a=+t[0],f=+t[1];return r=s.translate(t).clipExtent([[a-.455*e,f-.238*e],[a+.455*e,f+.238*e]]).stream(c),i=u.translate([a-.307*e,f+.201*e]).clipExtent([[a-.425*e+n,f+.12*e+n],[a-.214*e-n,f+.234*e-n]]).stream(c),o=l.translate([a-.205*e,f+.212*e]).clipExtent([[a-.214*e+n,f+.166*e+n],[a-.115*e-n,f+.234*e-n]]).stream(c),d()},f.fitExtent=function(t,e){return Fn(f,t,e)},f.fitSize=function(t,e){return zn(f,t,e)},f.fitWidth=function(t,e){return Vn(f,t,e)},f.fitHeight=function(t,e){return qn(f,t,e)},f.scale(1070)},t.geoArea=function(t){return X=new e.Adder,P(t,K),2*X},t.geoAzimuthalEqualArea=function(){return Wn(nr).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=nr,t.geoAzimuthalEquidistant=function(){return Wn(rr).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=rr,t.geoBounds=function(t){var e,n,r,i,o,a,s;if(F=$=-(L=B=1/0),U=[],P(t,St),n=U.length){for(U.sort(It),e=1,o=[r=U[0]];e<n;++e)Nt(r,(i=U[e])[0])||Nt(r,i[1])?(At(r[0],i[1])>At(r[0],r[1])&&(r[1]=i[1]),At(i[0],r[1])>At(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=At(r[1],i[0]))>a&&(a=s,L=i[0],$=r[1])}return U=Y=null,L===1/0||B===1/0?[[NaN,NaN],[NaN,NaN]]:[[L,B],[$,F]]},t.geoCentroid=function(t){ut=lt=ct=ft=dt=ht=pt=vt=0,gt=new e.Adder,mt=new e.Adder,yt=new e.Adder,P(t,Dt);var r=+gt,i=+mt,o=+yt,a=v(r,i,o);return a<1e-12&&(r=ht,i=pt,o=vt,lt<n&&(r=ct,i=ft,o=dt),(a=v(r,i,o))<1e-12)?[NaN,NaN]:[f(i,r)*s,j(o/a)*s]},t.geoCircle=function(){var t,e,n=Ut([0,0]),r=Ut(90),i=Ut(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=s,n[1]*=s}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*u,l=i.apply(this,arguments)*u;return t=[],e=Xt(-a[0]*u,-a[1]*u,0).invert,te(o,s,l,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:Ut([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:Ut(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:Ut(+t),a):i},a},t.geoClipAntimeridian=ge,t.geoClipCircle=me,t.geoClipExtent=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=ye(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}},t.geoClipRectangle=ye,t.geoConicConformal=function(){return Kn(sr).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=sr,t.geoConicEqualArea=Qn,t.geoConicEqualAreaRaw=Zn,t.geoConicEquidistant=function(){return Kn(lr).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=lr,t.geoContains=function(t,e){return(t&&Ee.hasOwnProperty(t.type)?Ee[t.type]:Me)(t,e)},t.geoDistance=ke,t.geoEqualEarth=function(){return Wn(vr).scale(177.158)},t.geoEqualEarthRaw=vr,t.geoEquirectangular=function(){return Wn(ur).scale(152.63)},t.geoEquirectangularRaw=ur,t.geoGnomonic=function(){return Wn(gr).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=gr,t.geoGraticule=Le,t.geoGraticule10=function(){return Le()()},t.geoIdentity=function(){var t,e,n,r,i,o,a,l=1,c=0,f=0,h=1,p=1,v=0,g=null,m=1,_=1,b=Ln({point:function(t,e){var n=j([t,e]);this.stream.point(n[0],n[1])}}),x=Ve;function w(){return m=l*h,_=l*p,o=a=null,j}function j(n){var r=n[0]*m,i=n[1]*_;if(v){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+c,i+f]}return j.invert=function(n){var r=n[0]-c,i=n[1]-f;if(v){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/m,i/_]},j.stream=function(t){return o&&a===t?o:o=b(x(a=t))},j.postclip=function(t){return arguments.length?(x=t,g=n=r=i=null,w()):x},j.clipExtent=function(t){return arguments.length?(x=null==t?(g=n=r=i=null,Ve):ye(g=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),w()):null==g?null:[[g,n],[r,i]]},j.scale=function(t){return arguments.length?(l=+t,w()):l},j.translate=function(t){return arguments.length?(c=+t[0],f=+t[1],w()):[c,f]},j.angle=function(n){return arguments.length?(e=y(v=n%360*u),t=d(v),w()):v*s},j.reflectX=function(t){return arguments.length?(h=t?-1:1,w()):h<0},j.reflectY=function(t){return arguments.length?(p=t?-1:1,w()):p<0},j.fitExtent=function(t,e){return Fn(j,t,e)},j.fitSize=function(t,e){return zn(j,t,e)},j.fitWidth=function(t,e){return Vn(j,t,e)},j.fitHeight=function(t,e){return qn(j,t,e)},j},t.geoInterpolate=function(t,e){var n=t[0]*u,r=t[1]*u,i=e[0]*u,o=e[1]*u,a=d(r),l=y(r),c=d(o),h=y(o),p=a*d(n),v=a*y(n),g=c*d(i),m=c*y(i),_=2*j(b(S(o-r)+a*c*S(i-n))),x=y(_),w=_?function(t){var e=y(t*=_)/x,n=y(_-t)/x,r=n*p+e*g,i=n*v+e*m,o=n*l+e*h;return[f(i,r)*s,f(o,b(r*r+i*i))*s]}:function(){return[n*s,r*s]};return w.distance=_,w},t.geoLength=je,t.geoMercator=function(){return or(ir).scale(961/a)},t.geoMercatorRaw=ir,t.geoNaturalEarth1=function(){return Wn(mr).scale(175.295)},t.geoNaturalEarth1Raw=mr,t.geoOrthographic=function(){return Wn(yr).scale(249.5).clipAngle(90+n)},t.geoOrthographicRaw=yr,t.geoPath=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),P(t,n(r))),r.result()}return o.area=function(t){return P(t,n(Ge)),Ge.result()},o.measure=function(t){return P(t,n(An)),An.result()},o.bounds=function(t){return P(t,n(on)),on.result()},o.centroid=function(t){return P(t,n(vn)),vn.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,Ve):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new Dn):new On(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},t.geoProjection=Wn,t.geoProjectionMutator=Xn,t.geoRotation=Jt,t.geoStereographic=function(){return Wn(_r).scale(250).clipAngle(142)},t.geoStereographicRaw=_r,t.geoStream=P,t.geoTransform=function(t){return{stream:Ln(t)}},t.geoTransverseMercator=function(){var t=or(br),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=br,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-array */"./node_modules/_d3-array@2.11.0@d3-array/dist/d3-array.js"))},"./node_modules/_d3-hexjson@1.1.1@d3-hexjson/build/d3-hexjson.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_d3-hexjson@1.1.1@d3-hexjson/build/d3-hexjson.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e){"use strict";function n(t,e,n,r){var i=0,o=0;switch(e){case"odd-r":o=t.rc%2==1?n:n/2,i=t.qc*n+o;break;case"even-r":o=t.rc%2==0?n:n/2,i=t.qc*n+o;break;case"odd-q":case"even-q":i=t.qc*r*1.5+r}return i}function r(t,e,n,r){var i=0,o=0;switch(e){case"odd-r":case"even-r":i=t.rc*r*1.5+r;break;case"odd-q":o=t.qc%2==1?n:n/2,i=t.rc*n+o;break;case"even-q":o=t.qc%2==0?n:n/2,i=t.rc*n+o}return i}t.renderHexJSON=function(t,i,o){var a=t.layout,s=[],u=0;Object.keys(t.hexes).forEach((function(e){t.hexes[e].key=e,s.push(t.hexes[e])}));var l=e.max(s,(function(t){return+t.q})),c=e.min(s,(function(t){return+t.q})),f=e.max(s,(function(t){return+t.r})),d=e.min(s,(function(t){return+t.r})),h=l-c+1,p=f-d+1,v=(u="odd-r"===a||"even-r"===a?e.min([i/((h+.5)*Math.sqrt(3)),o/(1.5*(p+1/3))]):e.min([o/((p+.5)*Math.sqrt(3)),i/(1.5*(h+1/3))]))*Math.sqrt(3),g=function(t,e,n){var r=[];switch(t){case"odd-r":case"even-r":r.push({x:0,y:0-n}),r.push({x:0+.5*e,y:0-.5*n}),r.push({x:0+.5*e,y:0+.5*n}),r.push({x:0,y:0+n}),r.push({x:0-.5*e,y:0+.5*n}),r.push({x:0-.5*e,y:0-.5*n});break;case"odd-q":case"even-q":r.push({x:0-n,y:0}),r.push({x:0-.5*n,y:0-.5*e}),r.push({x:0+.5*n,y:0-.5*e}),r.push({x:0+n,y:0}),r.push({x:0+.5*n,y:0+.5*e}),r.push({x:0-.5*n,y:0+.5*e})}return r}(a,v,u),m=function(t){var e="";return t.forEach((function(t){e+=t.x+","+t.y+" "})),e.substring(0,e.length-1)}(g);return s.forEach((function(t){t.qc=t.q-c,t.rc=f-t.r,t.x=n(t,a,v,u),t.y=r(t,a,v,u),t.vertices=g,t.points=m})),s},t.getGridForHexJSON=function(t){var n={};n.layout=t.layout,n.hexes={};var r=[];Object.keys(t.hexes).forEach((function(e){r.push(t.hexes[e])}));var i,o,a,s=e.max(r,(function(t){return+t.q})),u=e.min(r,(function(t){return+t.q})),l=e.max(r,(function(t){return+t.r})),c=e.min(r,(function(t){return+t.r}));for(i=u;i<=s;i++)for(o=c;o<=l;o++)a="Q"+i+"R"+o,n.hexes[a]={q:i,r:o};return n},t.getBoundaryDotsForHexJSON=function(t,i,o,a){var s=[],u=t.layout;Object.keys(t.hexes).forEach((function(e){s.push(t.hexes[e])}));var l,c=e.max(s,(function(t){return+t.q})),f=e.min(s,(function(t){return+t.q})),d=e.max(s,(function(t){return+t.r})),h=e.min(s,(function(t){return+t.r})),p=c-f+1,v=d-h+1,g=(l="odd-r"===u||"even-r"===u?e.min([i/((p+.5)*Math.sqrt(3)),o/(1.5*(v+1/3))]):e.min([o/((v+.5)*Math.sqrt(3)),i/(1.5*(p+1/3))]))*Math.sqrt(3),m=[],y=l*l*4,_=s.length;if(_>1){s.forEach((function(t){t.qc=t.q-f,t.rc=d-t.r,t.x=n(t,u,g,l),t.y=r(t,u,g,l)}));for(var b=0;b<_-1;b++)for(var x=b+1;x<_;x++){var w=s[b],j=s[x];if(w[a]!==j[a]&&Math.abs(w.q-j.q)<=1&&Math.abs(w.r-j.r)<=1&&(w.x-j.x)*(w.x-j.x)+(w.y-j.y)*(w.y-j.y)<y){var S={};S.x=j.x+(w.x-j.x)/2,S.y=j.y+(w.y-j.y)/2;var O={},k=4*Math.sqrt(3);O.dx=(w.y-j.y)/k,O.dy=-(w.x-j.x)/k,m.push({x:S.x-2*O.dx,y:S.y-2*O.dy}),m.push({x:S.x-O.dx,y:S.y-O.dy}),m.push({x:S.x,y:S.y}),m.push({x:S.x+O.dx,y:S.y+O.dy}),m.push({x:S.x+2*O.dx,y:S.y+2*O.dy})}}}return m},t.getBoundarySegmentsForHexJSON=function(t,i,o,a){var s=[],u=t.layout;Object.keys(t.hexes).forEach((function(e){s.push(t.hexes[e])}));var l,c=e.max(s,(function(t){return+t.q})),f=e.min(s,(function(t){return+t.q})),d=e.max(s,(function(t){return+t.r})),h=e.min(s,(function(t){return+t.r})),p=c-f+1,v=d-h+1,g=(l="odd-r"===u||"even-r"===u?e.min([i/((p+.5)*Math.sqrt(3)),o/(1.5*(v+1/3))]):e.min([o/((v+.5)*Math.sqrt(3)),i/(1.5*(p+1/3))]))*Math.sqrt(3),m=[],y=l*l*4,_=s.length;if(_>1){s.forEach((function(t){t.qc=t.q-f,t.rc=d-t.r,t.x=n(t,u,g,l),t.y=r(t,u,g,l)}));for(var b=0;b<_-1;b++)for(var x=b+1;x<_;x++){var w=s[b],j=s[x];if(w[a]!==j[a]&&Math.abs(w.q-j.q)<=1&&Math.abs(w.r-j.r)<=1&&(w.x-j.x)*(w.x-j.x)+(w.y-j.y)*(w.y-j.y)<y){var S={};S.x=j.x+(w.x-j.x)/2,S.y=j.y+(w.y-j.y)/2;var O={},k=1;w[a]<j[a]&&(k=-1);var E=2*Math.sqrt(3)*k;O.dx=(w.y-j.y)/E,O.dy=-(w.x-j.x)/E,m.push({x1:S.x-O.dx,y1:S.y-O.dy,x2:S.x+O.dx,y2:S.y+O.dy})}}}return m},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js":
- /*!****************************************************************************!*\
- !*** ./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js ***!
- \****************************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(t,e){return t.parent===e.parent?1:2}function n(t,e){return t+e.x}function r(t,e){return Math.max(t,e.y)}function i(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function o(t,e){var n,r,i,o,s,c=new l(t),f=+t.value&&(c.value=t.value),d=[c];for(null==e&&(e=a);n=d.pop();)if(f&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),o=s-1;o>=0;--o)d.push(r=n.children[o]=new l(i[o])),r.parent=n,r.depth=n.depth+1;return c.eachBefore(u)}function a(t){return t.children}function s(t){t.data=t.data.data}function u(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function l(t){this.data=t,this.depth=this.height=0,this.parent=null}l.prototype=o.prototype={constructor:l,count:function(){return this.eachAfter(i)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return o(this).eachBefore(s)}};var c=Array.prototype.slice;function f(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(c.call(t))).length,o=[];r<i;)e=t[r],n&&p(n,e)?++r:(n=g(o=d(o,e)),r=0);return n}function d(t,e){var n,r;if(v(e,t))return[e];for(n=0;n<t.length;++n)if(h(e,t[n])&&v(m(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(h(m(t[n],t[r]),e)&&h(m(t[n],e),t[r])&&h(m(t[r],e),t[n])&&v(y(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function h(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function p(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function v(t,e){for(var n=0;n<e.length;++n)if(!p(t,e[n]))return!1;return!0}function g(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return m(t[0],t[1]);case 3:return y(t[0],t[1],t[2])}var e}function m(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,u=o-n,l=a-r,c=s-i,f=Math.sqrt(u*u+l*l);return{x:(n+o+u/f*c)/2,y:(r+a+l/f*c)/2,r:(f+i+s)/2}}function y(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,u=e.r,l=n.x,c=n.y,f=n.r,d=r-a,h=r-l,p=i-s,v=i-c,g=u-o,m=f-o,y=r*r+i*i-o*o,_=y-a*a-s*s+u*u,b=y-l*l-c*c+f*f,x=h*p-d*v,w=(p*b-v*_)/(2*x)-r,j=(v*g-p*m)/x,S=(h*_-d*b)/(2*x)-i,O=(d*m-h*g)/x,k=j*j+O*O-1,E=2*(o+w*j+S*O),C=w*w+S*S-o*o,M=-(k?(E+Math.sqrt(E*E-4*k*C))/(2*k):C/E);return{x:r+w+j*M,y:i+S+O*M,r:M}}function _(t,e,n){var r,i,o,a,s=t.x-e.x,u=t.y-e.y,l=s*s+u*u;l?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(l+a-i)/(2*l),o=Math.sqrt(Math.max(0,a/l-r*r)),n.x=t.x-r*s-o*u,n.y=t.y-r*u+o*s):(r=(l+i-a)/(2*l),o=Math.sqrt(Math.max(0,i/l-r*r)),n.x=e.x+r*s-o*u,n.y=e.y+r*u+o*s)):(n.x=e.x+n.r,n.y=e.y)}function b(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function x(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function w(t){this._=t,this.next=null,this.previous=null}function j(t){if(!(i=t.length))return 0;var e,n,r,i,o,a,s,u,l,c,d;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;_(n,e,r=t[2]),e=new w(e),n=new w(n),r=new w(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s<i;++s){_(e._,n._,r=t[s]),r=new w(r),u=n.next,l=e.previous,c=n._.r,d=e._.r;do{if(c<=d){if(b(u._,r._)){n=u,e.next=n,n.previous=e,--s;continue t}c+=u._.r,u=u.next}else{if(b(l._,r._)){(e=l).next=n,n.previous=e,--s;continue t}d+=l._.r,l=l.previous}}while(u!==l.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,o=x(e);(r=r.next)!==n;)(a=x(r))<o&&(e=r,o=a);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=f(e),s=0;s<i;++s)(e=t[s]).x-=r.x,e.y-=r.y;return r.r}function S(t){return null==t?null:O(t)}function O(t){if("function"!=typeof t)throw new Error;return t}function k(){return 0}function E(t){return function(){return t}}function C(t){return Math.sqrt(t.value)}function M(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function T(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,s=t(n)*e||0;if(s)for(i=0;i<a;++i)r[i].r+=s;if(o=j(r),s)for(i=0;i<a;++i)r[i].r-=s;n.r=o+s}}}function P(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function A(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function I(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,l=t.value&&(r-e)/t.value;++s<u;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*l}var N={depth:-1},D={};function R(t){return t.id}function L(t){return t.parentId}function B(t,e){return t.parent===e.parent?1:2}function $(t){var e=t.children;return e?e[0]:t.t}function F(t){var e=t.children;return e?e[e.length-1]:t.t}function z(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function V(t,e,n){return t.a.parent===e.parent?t.a:n}function q(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function H(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,l=t.value&&(i-n)/t.value;++s<u;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*l}q.prototype=Object.create(l.prototype);var G=(1+Math.sqrt(5))/2;function U(t,e,n,r,i,o){for(var a,s,u,l,c,f,d,h,p,v,g,m=[],y=e.children,_=0,b=0,x=y.length,w=e.value;_<x;){u=i-n,l=o-r;do{c=y[b++].value}while(!c&&b<x);for(f=d=c,g=c*c*(v=Math.max(l/u,u/l)/(w*t)),p=Math.max(d/g,g/f);b<x;++b){if(c+=s=y[b].value,s<f&&(f=s),s>d&&(d=s),g=c*c*v,(h=Math.max(d/g,g/f))>p){c-=s;break}p=h}m.push(a={value:c,dice:u<l,children:y.slice(_,b)}),a.dice?I(a,n,r,i,w?r+=l*c/w:o):H(a,n,r,w?n+=u*c/w:i,o),w-=c,_=b}return m}var Y=function t(e){function n(t,n,r,i,o){U(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(G),W=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,u,l,c,f=-1,d=a.length,h=t.value;++f<d;){for(u=(s=a[f]).children,l=s.value=0,c=u.length;l<c;++l)s.value+=u[l].value;s.dice?I(s,n,r,i,r+=(o-r)*s.value/h):H(s,n,r,n+=(i-n)*s.value/h,o),h-=s.value}else t._squarify=a=U(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(G);t.cluster=function(){var t=e,i=1,o=1,a=!1;function s(e){var s,u=0;e.eachAfter((function(e){var i=e.children;i?(e.x=function(t){return t.reduce(n,0)/t.length}(i),e.y=function(t){return 1+t.reduce(r,0)}(i)):(e.x=s?u+=t(e,s):0,e.y=0,s=e)}));var l=function(t){for(var e;e=t.children;)t=e[0];return t}(e),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(e),f=l.x-t(l,c)/2,d=c.x+t(c,l)/2;return e.eachAfter(a?function(t){t.x=(t.x-e.x)*i,t.y=(e.y-t.y)*o}:function(t){t.x=(t.x-f)/(d-f)*i,t.y=(1-(e.y?t.y/e.y:1))*o})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(a=!1,i=+t[0],o=+t[1],s):a?null:[i,o]},s.nodeSize=function(t){return arguments.length?(a=!0,i=+t[0],o=+t[1],s):a?[i,o]:null},s},t.hierarchy=o,t.pack=function(){var t=null,e=1,n=1,r=k;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(M(t)).eachAfter(T(r,.5)).eachBefore(P(1)):i.eachBefore(M(C)).eachAfter(T(k,1)).eachAfter(T(r,i.r/Math.min(e,n))).eachBefore(P(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=S(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:E(+t),i):r},i},t.packEnclose=f,t.packSiblings=function(t){return j(t),t},t.partition=function(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&I(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,s=r.y1-n;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=s}}(e,o)),r&&i.eachBefore(A),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i},t.stratify=function(){var t=R,e=L;function n(n){var r,i,o,a,s,c,f,d=n.length,h=new Array(d),p={};for(i=0;i<d;++i)r=n[i],s=h[i]=new l(r),null!=(c=t(r,i,n))&&(c+="")&&(p[f="$"+(s.id=c)]=f in p?D:s);for(i=0;i<d;++i)if(s=h[i],null!=(c=e(n[i],i,n))&&(c+="")){if(!(a=p["$"+c]))throw new Error("missing: "+c);if(a===D)throw new Error("ambiguous: "+c);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=N,o.eachBefore((function(t){t.depth=t.parent.depth+1,--d})).eachBefore(u),o.parent=null,d>0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=O(e),n):t},n.parentId=function(t){return arguments.length?(e=O(t),n):e},n},t.tree=function(){var t=B,e=1,n=1,r=null;function i(i){var u=function(t){for(var e,n,r,i,o,a=new q(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new q(r[i],i)),n.parent=e;return(a.parent=new q(null,0)).children=[a],a}(i);if(u.eachAfter(o),u.parent.m=-u.z,u.eachBefore(a),r)i.eachBefore(s);else{var l=i,c=i,f=i;i.eachBefore((function(t){t.x<l.x&&(l=t),t.x>c.x&&(c=t),t.depth>f.depth&&(f=t)}));var d=l===c?1:t(l,c)/2,h=d-l.x,p=e/(c.x+d+h),v=n/(f.depth||1);i.eachBefore((function(t){t.x=(t.x+h)*p,t.y=t.depth*v}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,u=o.parent.children[0],l=o.m,c=a.m,f=s.m,d=u.m;s=F(s),o=$(o),s&&o;)u=$(u),(a=F(a)).a=e,(i=s.z+f-o.z-l+t(s._,o._))>0&&(z(V(s,e,r),e,i),l+=i,c+=i),f+=s.m,l+=o.m,d+=u.m,c+=a.m;s&&!F(a)&&(a.t=s,a.m+=f-c),o&&!$(u)&&(u.t=o,u.m+=l-d,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},t.treemap=function(){var t=Y,e=!1,n=1,r=1,i=[0],o=k,a=k,s=k,u=k,l=k;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(A),t}function f(e){var n=i[e.depth],r=e.x0+n,c=e.y0+n,f=e.x1-n,d=e.y1-n;f<r&&(r=f=(r+f)/2),d<c&&(c=d=(c+d)/2),e.x0=r,e.y0=c,e.x1=f,e.y1=d,e.children&&(n=i[e.depth+1]=o(e)/2,r+=l(e)-n,c+=a(e)-n,(f-=s(e)-n)<r&&(r=f=(r+f)/2),(d-=u(e)-n)<c&&(c=d=(c+d)/2),t(e,r,c,f,d))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(n=+t[0],r=+t[1],c):[n,r]},c.tile=function(e){return arguments.length?(t=O(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:E(+t),c):o},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:E(+t),c):a},c.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:E(+t),c):s},c.paddingBottom=function(t){return arguments.length?(u="function"==typeof t?t:E(+t),c):u},c.paddingLeft=function(t){return arguments.length?(l="function"==typeof t?t:E(+t),c):l},c},t.treemapBinary=function(t,e,n,r,i){var o,a,s=t.children,u=s.length,l=new Array(u+1);for(l[0]=a=o=0;o<u;++o)l[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,u){if(e>=n-1){var c=s[e];return c.x0=i,c.y0=o,c.x1=a,void(c.y1=u)}for(var f=l[e],d=r/2+f,h=e+1,p=n-1;h<p;){var v=h+p>>>1;l[v]<d?h=v+1:p=v}d-l[h-1]<l[h]-d&&e+1<h&&--h;var g=l[h]-f,m=r-g;if(a-i>u-o){var y=(i*m+a*g)/r;t(e,h,g,i,o,y,u),t(h,n,m,y,o,a,u)}else{var _=(o*m+u*g)/r;t(e,h,g,i,o,a,_),t(h,n,m,i,_,a,u)}}(0,u,t.value,e,n,r,i)},t.treemapDice=I,t.treemapResquarify=W,t.treemapSlice=H,t.treemapSliceDice=function(t,e,n,r,i){(1&t.depth?H:I)(t,e,n,r,i)},t.treemapSquarify=Y,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";var e=Math.PI,n=2*e,r=n-1e-6;function i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new i}i.prototype=o.prototype={constructor:i,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,r,i,o){t=+t,n=+n,r=+r,i=+i,o=+o;var a=this._x1,s=this._y1,u=r-t,l=i-n,c=a-t,f=s-n,d=c*c+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(d>1e-6)if(Math.abs(f*u-l*c)>1e-6&&o){var h=r-a,p=i-s,v=u*u+l*l,g=h*h+p*p,m=Math.sqrt(v),y=Math.sqrt(d),_=o*Math.tan((e-Math.acos((v+d-g)/(2*m*y)))/2),b=_/y,x=_/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(n+b*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>c*p)+","+(this._x1=t+x*u)+","+(this._y1=n+x*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,i,o,a,s,u){t=+t,i=+i,u=!!u;var l=(o=+o)*Math.cos(a),c=o*Math.sin(a),f=t+l,d=i+c,h=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),o&&(p<0&&(p=p%n+n),p>r?this._+="A"+o+","+o+",0,1,"+h+","+(t-l)+","+(i-c)+"A"+o+","+o+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=e)+","+h+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=i+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.path=o,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-path@2.0.0@d3-path/dist/d3-path.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_d3-path@2.0.0@d3-path/dist/d3-path.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";var e=Math.PI,n=2*e,r=n-1e-6;function i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new i}i.prototype=o.prototype={constructor:i,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,r,i,o){t=+t,n=+n,r=+r,i=+i,o=+o;var a=this._x1,s=this._y1,u=r-t,l=i-n,c=a-t,f=s-n,d=c*c+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(d>1e-6)if(Math.abs(f*u-l*c)>1e-6&&o){var h=r-a,p=i-s,v=u*u+l*l,g=h*h+p*p,m=Math.sqrt(v),y=Math.sqrt(d),_=o*Math.tan((e-Math.acos((v+d-g)/(2*m*y)))/2),b=_/y,x=_/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(n+b*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>c*p)+","+(this._x1=t+x*u)+","+(this._y1=n+x*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,i,o,a,s,u){t=+t,i=+i,u=!!u;var l=(o=+o)*Math.cos(a),c=o*Math.sin(a),f=t+l,d=i+c,h=1^u,p=u?a-s:s-a;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),o&&(p<0&&(p=p%n+n),p>r?this._+="A"+o+","+o+",0,1,"+h+","+(t-l)+","+(i-c)+"A"+o+","+o+",0,1,"+h+","+(this._x1=f)+","+(this._y1=d):p>1e-6&&(this._+="A"+o+","+o+",0,"+ +(p>=e)+","+h+","+(this._x1=t+o*Math.cos(s))+","+(this._y1=i+o*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.path=o,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js");!function(t,e,n,i){"use strict";function o(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function s(t){return function(){return t}}function u(t,e){return c(t.source,e.source)||t.index-e.index}function l(t,e){return c(t.target,e.target)||t.index-e.index}function c(t,e){return t.y0-e.y0}function f(t){return t.value}function d(t){return t.index}function h(t){return t.nodes}function p(t){return t.links}function v(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function g(t){return[t.source.x1,t.y0]}function m(t){return[t.target.x0,t.y1]}t.sankey=function(){var t,i=0,o=0,g=1,m=1,y=24,_=8,b=d,x=a,w=h,j=p,S=6;function O(){var t={nodes:w.apply(null,arguments),links:j.apply(null,arguments)};return k(t),E(t),C(t),M(t),T(t),t}function k(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=n.map(t.nodes,b);t.links.forEach((function(t,n){t.index=n;var r=t.source,i=t.target;"object"!=typeof r&&(r=t.source=v(e,r)),"object"!=typeof i&&(i=t.target=v(e,i)),r.sourceLinks.push(t),i.targetLinks.push(t)}))}function E(t){t.nodes.forEach((function(t){t.value=Math.max(e.sum(t.sourceLinks,f),e.sum(t.targetLinks,f))}))}function C(t){var e,n,r,o=t.nodes.length;for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>o)throw new Error("circular link");e.forEach((function(t){t.depth=r,t.sourceLinks.forEach((function(t){n.indexOf(t.target)<0&&n.push(t.target)}))}))}for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>o)throw new Error("circular link");e.forEach((function(t){t.height=r,t.targetLinks.forEach((function(t){n.indexOf(t.source)<0&&n.push(t.source)}))}))}var a=(g-i-y)/(r-1);t.nodes.forEach((function(t){t.x1=(t.x0=i+Math.max(0,Math.min(r-1,Math.floor(x.call(null,t,r))))*a)+y}))}function M(i){var a,s=n.nest().key((function(t){return t.x0})).sortKeys(e.ascending).entries(i.nodes).map((function(t){return t.values}));a=e.min(s,(function(t){return(m-o-(t.length-1)*_)/e.sum(t,f)})),s.forEach((function(e){null!=t&&e.sort(t),e.forEach((function(t,e){t.y1=(t.y0=e)+t.value*a}))})),i.links.forEach((function(t){t.width=t.value*a})),g();for(var d=.9,h=S;h>0;--h,d*=.9)v(d),g(),p(d),g();function p(t){s.forEach((function(e){e.forEach((function(e){var n,i,o,a,s=e.y0;try{for(var u=r.__values(e.sourceLinks.sort(l)),c=u.next();!c.done;c=u.next()){var f=c.value,d=f.target,h=f.width,p=f.value;if(p>0){var v=0;try{for(var g=(o=void 0,r.__values(d.targetLinks)),m=g.next();!m.done;m=g.next()){var y=m.value,b=y.source,x=y.width;if(b===e)break;v+=x+_/2}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}v=(s-v-d.y0)*t*(p/Math.min(e.value,d.value)),d.y0+=v,d.y1+=v}s+=h+_/2}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}))}))}function v(t){s.slice().reverse().forEach((function(e){e.forEach((function(e){var n,i,o,a,s=e.y0;try{for(var l=r.__values(e.targetLinks.sort(u)),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.source,h=f.width,p=f.value;if(p>0){var v=0;try{for(var g=(o=void 0,r.__values(d.sourceLinks)),m=g.next();!m.done;m=g.next()){var y=m.value,b=y.target,x=y.width;if(b===e)break;v+=x+_/2}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}v=(s-v-d.y0)*t*(p/Math.min(e.value,d.value)),d.y0+=v,d.y1+=v}s+=h+_/2}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}))}))}function g(){s.forEach((function(e){var n,r,i,a=o,s=e.length;for(void 0===t&&e.sort(c),i=0;i<s;++i)(r=a-(n=e[i]).y0)>0&&(n.y0+=r,n.y1+=r),a=n.y1+_;if((r=a-_-m)>0)for(a=n.y0-=r,n.y1-=r,i=s-2;i>=0;--i)(r=(n=e[i]).y1+_-a)>0&&(n.y0-=r,n.y1-=r),a=n.y0}))}}function T(t){t.nodes.forEach((function(t){t.sourceLinks.sort(l),t.targetLinks.sort(u)})),t.nodes.forEach((function(t){var e=t.y0,n=e;t.sourceLinks.forEach((function(t){t.y0=e+t.width/2,e+=t.width})),t.targetLinks.forEach((function(t){t.y1=n+t.width/2,n+=t.width}))}))}return O.update=function(t){return T(t),t},O.nodeId=function(t){return arguments.length?(b="function"==typeof t?t:s(t),O):b},O.nodeAlign=function(t){return arguments.length?(x="function"==typeof t?t:s(t),O):x},O.nodeSort=function(e){return arguments.length?(t=e,O):t},O.nodeWidth=function(t){return arguments.length?(y=+t,O):y},O.nodePadding=function(t){return arguments.length?(_=+t,O):_},O.nodes=function(t){return arguments.length?(w="function"==typeof t?t:s(t),O):w},O.links=function(t){return arguments.length?(j="function"==typeof t?t:s(t),O):j},O.size=function(t){return arguments.length?(i=o=0,g=+t[0],m=+t[1],O):[g-i,m-o]},O.extent=function(t){return arguments.length?(i=+t[0][0],g=+t[1][0],o=+t[0][1],m=+t[1][1],O):[[i,o],[g,m]]},O.iterations=function(t){return arguments.length?(S=+t,O):S},O},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,o)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=a,t.sankeyLinkHorizontal=function(){return i.linkHorizontal().source(g).target(m)},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"),n(/*! d3-collection */"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js"),n(/*! d3-shape */"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js"))},"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){!function(t,e){"use strict";function n(t){return function(){return t}}var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,u=Math.sin,l=Math.sqrt,c=Math.PI,f=c/2,d=2*c;function h(t){return t>1?0:t<-1?c:Math.acos(t)}function p(t){return t>=1?f:t<=-1?-f:Math.asin(t)}function v(t){return t.innerRadius}function g(t){return t.outerRadius}function m(t){return t.startAngle}function y(t){return t.endAngle}function _(t){return t&&t.padAngle}function b(t,e,n,r,i,o,a,s){var u=n-t,l=r-e,c=a-i,f=s-o,d=f*u-c*l;if(!(d*d<1e-12))return[t+(d=(c*(e-o)-f*(t-i))/d)*u,e+d*l]}function x(t,e,n,r,i,o,s){var u=t-n,c=e-r,f=(s?o:-o)/l(u*u+c*c),d=f*c,h=-f*u,p=t+d,v=e+h,g=n+d,m=r+h,y=(p+g)/2,_=(v+m)/2,b=g-p,x=m-v,w=b*b+x*x,j=i-o,S=p*m-g*v,O=(x<0?-1:1)*l(a(0,j*j*w-S*S)),k=(S*x-b*O)/w,E=(-S*b-x*O)/w,C=(S*x+b*O)/w,M=(-S*b+x*O)/w,T=k-y,P=E-_,A=C-y,I=M-_;return T*T+P*P>A*A+I*I&&(k=C,E=M),{cx:k,cy:E,x01:-d,y01:-h,x11:k*(i/j-1),y11:E*(i/j-1)}}function w(t){this._context=t}function j(t){return new w(t)}function S(t){return t[0]}function O(t){return t[1]}function k(){var t=S,r=O,i=n(!0),o=null,a=j,s=null;function u(n){var u,l,c,f=n.length,d=!1;for(null==o&&(s=a(c=e.path())),u=0;u<=f;++u)!(u<f&&i(l=n[u],u,n))===d&&((d=!d)?s.lineStart():s.lineEnd()),d&&s.point(+t(l,u,n),+r(l,u,n));if(c)return s=null,c+""||null}return u.x=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),u):t},u.y=function(t){return arguments.length?(r="function"==typeof t?t:n(+t),u):r},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:n(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),u):o},u}function E(){var t=S,r=null,i=n(0),o=O,a=n(!0),s=null,u=j,l=null;function c(n){var c,f,d,h,p,v=n.length,g=!1,m=new Array(v),y=new Array(v);for(null==s&&(l=u(p=e.path())),c=0;c<=v;++c){if(!(c<v&&a(h=n[c],c,n))===g)if(g=!g)f=c,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),d=c-1;d>=f;--d)l.point(m[d],y[d]);l.lineEnd(),l.areaEnd()}g&&(m[c]=+t(h,c,n),y[c]=+i(h,c,n),l.point(r?+r(h,c,n):m[c],o?+o(h,c,n):y[c]))}if(p)return l=null,p+""||null}function f(){return k().defined(a).curve(u).context(s)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:n(+t),c):r},c.y=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),o=null,c):i},c.y0=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),c):i},c.y1=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:n(+t),c):o},c.lineX0=c.lineY0=function(){return f().x(t).y(i)},c.lineY1=function(){return f().x(t).y(o)},c.lineX1=function(){return f().x(r).y(i)},c.defined=function(t){return arguments.length?(a="function"==typeof t?t:n(!!t),c):a},c.curve=function(t){return arguments.length?(u=t,null!=s&&(l=u(s)),c):u},c.context=function(t){return arguments.length?(null==t?s=l=null:l=u(s=t),c):s},c}function C(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function M(t){return t}w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var T=A(j);function P(t){this._curve=t}function A(t){function e(e){return new P(t(e))}return e._curve=t,e}function I(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(A(t)):e()._curve},t}function N(){return I(k().curve(T))}function D(){var t=E().curve(T),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return I(n())},delete t.lineX0,t.lineEndAngle=function(){return I(r())},delete t.lineX1,t.lineInnerRadius=function(){return I(i())},delete t.lineY0,t.lineOuterRadius=function(){return I(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(A(t)):e()._curve},t}function R(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}P.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var L=Array.prototype.slice;function B(t){return t.source}function $(t){return t.target}function F(t){var r=B,i=$,o=S,a=O,s=null;function u(){var n,u=L.call(arguments),l=r.apply(this,u),c=i.apply(this,u);if(s||(s=n=e.path()),t(s,+o.apply(this,(u[0]=l,u)),+a.apply(this,u),+o.apply(this,(u[0]=c,u)),+a.apply(this,u)),n)return s=null,n+""||null}return u.source=function(t){return arguments.length?(r=t,u):r},u.target=function(t){return arguments.length?(i=t,u):i},u.x=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),u):o},u.y=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function z(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function V(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function q(t,e,n,r,i){var o=R(e,n),a=R(e,n=(n+i)/2),s=R(r,n),u=R(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}var H={draw:function(t,e){var n=Math.sqrt(e/c);t.moveTo(n,0),t.arc(0,0,n,0,d)}},G={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},U=Math.sqrt(1/3),Y=2*U,W={draw:function(t,e){var n=Math.sqrt(e/Y),r=n*U;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},X=Math.sin(c/10)/Math.sin(7*c/10),K=Math.sin(d/10)*X,Z=-Math.cos(d/10)*X,Q={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=K*n,i=Z*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=d*o/5,s=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-s*n),t.lineTo(s*r-u*i,u*r+s*i)}t.closePath()}},J={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},tt=Math.sqrt(3),et={draw:function(t,e){var n=-Math.sqrt(e/(3*tt));t.moveTo(0,2*n),t.lineTo(-tt*n,-n),t.lineTo(tt*n,-n),t.closePath()}},nt=-.5,rt=Math.sqrt(3)/2,it=1/Math.sqrt(12),ot=3*(it/2+1),at={draw:function(t,e){var n=Math.sqrt(e/ot),r=n/2,i=n*it,o=r,a=n*it+n,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(nt*r-rt*i,rt*r+nt*i),t.lineTo(nt*o-rt*a,rt*o+nt*a),t.lineTo(nt*s-rt*u,rt*s+nt*u),t.lineTo(nt*r+rt*i,nt*i-rt*r),t.lineTo(nt*o+rt*a,nt*a-rt*o),t.lineTo(nt*s+rt*u,nt*u-rt*s),t.closePath()}},st=[H,G,W,J,Q,et,at];function ut(){}function lt(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ct(t){this._context=t}function ft(t){this._context=t}function dt(t){this._context=t}function ht(t,e){this._basis=new ct(t),this._beta=e}ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:lt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ft.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:lt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:lt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ht.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var pt=function t(e){function n(t){return 1===e?new ct(t):new ht(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function vt(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function gt(t,e){this._context=t,this._k=(1-e)/6}gt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:vt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var mt=function t(e){function n(t){return new gt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function yt(t,e){this._context=t,this._k=(1-e)/6}yt.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var _t=function t(e){function n(t){return new yt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function bt(t,e){this._context=t,this._k=(1-e)/6}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xt=function t(e){function n(t){return new bt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function wt(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>1e-12){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function jt(t,e){this._context=t,this._alpha=e}jt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var St=function t(e){function n(t){return e?new jt(t,e):new gt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ot(t,e){this._context=t,this._alpha=e}Ot.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var kt=function t(e){function n(t){return e?new Ot(t,e):new yt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Et(t,e){this._context=t,this._alpha=e}Et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:wt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ct=function t(e){function n(t){return e?new Et(t,e):new bt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Mt(t){this._context=t}function Tt(t){return t<0?-1:1}function Pt(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Tt(o)+Tt(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function At(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function It(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Nt(t){this._context=t}function Dt(t){this._context=new Rt(t)}function Rt(t){this._context=t}function Lt(t){this._context=t}function Bt(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function $t(t,e){this._context=t,this._t=e}function Ft(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function zt(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Vt(t,e){return t[e]}function qt(t){var e=t.map(Ht);return zt(t).sort((function(t,n){return e[t]-e[n]}))}function Ht(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}function Gt(t){var e=t.map(Ut);return zt(t).sort((function(t,n){return e[t]-e[n]}))}function Ut(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}Mt.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:It(this,this._t0,At(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,It(this,At(this,n=Pt(this,t,e)),n);break;default:It(this,this._t0,n=Pt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Dt.prototype=Object.create(Nt.prototype)).point=function(t,e){Nt.prototype.point.call(this,e,t)},Rt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},Lt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Bt(t),i=Bt(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},t.arc=function(){var t=v,a=g,w=n(0),j=null,S=m,O=y,k=_,E=null;function C(){var n,v,g=+t.apply(this,arguments),m=+a.apply(this,arguments),y=S.apply(this,arguments)-f,_=O.apply(this,arguments)-f,C=r(_-y),M=_>y;if(E||(E=n=e.path()),m<g&&(v=m,m=g,g=v),m>1e-12)if(C>d-1e-12)E.moveTo(m*o(y),m*u(y)),E.arc(0,0,m,y,_,!M),g>1e-12&&(E.moveTo(g*o(_),g*u(_)),E.arc(0,0,g,_,y,M));else{var T,P,A=y,I=_,N=y,D=_,R=C,L=C,B=k.apply(this,arguments)/2,$=B>1e-12&&(j?+j.apply(this,arguments):l(g*g+m*m)),F=s(r(m-g)/2,+w.apply(this,arguments)),z=F,V=F;if($>1e-12){var q=p($/g*u(B)),H=p($/m*u(B));(R-=2*q)>1e-12?(N+=q*=M?1:-1,D-=q):(R=0,N=D=(y+_)/2),(L-=2*H)>1e-12?(A+=H*=M?1:-1,I-=H):(L=0,A=I=(y+_)/2)}var G=m*o(A),U=m*u(A),Y=g*o(D),W=g*u(D);if(F>1e-12){var X,K=m*o(I),Z=m*u(I),Q=g*o(N),J=g*u(N);if(C<c&&(X=b(G,U,Q,J,K,Z,Y,W))){var tt=G-X[0],et=U-X[1],nt=K-X[0],rt=Z-X[1],it=1/u(h((tt*nt+et*rt)/(l(tt*tt+et*et)*l(nt*nt+rt*rt)))/2),ot=l(X[0]*X[0]+X[1]*X[1]);z=s(F,(g-ot)/(it-1)),V=s(F,(m-ot)/(it+1))}}L>1e-12?V>1e-12?(T=x(Q,J,G,U,m,V,M),P=x(K,Z,Y,W,m,V,M),E.moveTo(T.cx+T.x01,T.cy+T.y01),V<F?E.arc(T.cx,T.cy,V,i(T.y01,T.x01),i(P.y01,P.x01),!M):(E.arc(T.cx,T.cy,V,i(T.y01,T.x01),i(T.y11,T.x11),!M),E.arc(0,0,m,i(T.cy+T.y11,T.cx+T.x11),i(P.cy+P.y11,P.cx+P.x11),!M),E.arc(P.cx,P.cy,V,i(P.y11,P.x11),i(P.y01,P.x01),!M))):(E.moveTo(G,U),E.arc(0,0,m,A,I,!M)):E.moveTo(G,U),g>1e-12&&R>1e-12?z>1e-12?(T=x(Y,W,K,Z,g,-z,M),P=x(G,U,Q,J,g,-z,M),E.lineTo(T.cx+T.x01,T.cy+T.y01),z<F?E.arc(T.cx,T.cy,z,i(T.y01,T.x01),i(P.y01,P.x01),!M):(E.arc(T.cx,T.cy,z,i(T.y01,T.x01),i(T.y11,T.x11),!M),E.arc(0,0,g,i(T.cy+T.y11,T.cx+T.x11),i(P.cy+P.y11,P.cx+P.x11),M),E.arc(P.cx,P.cy,z,i(P.y11,P.x11),i(P.y01,P.x01),!M))):E.arc(0,0,g,D,N,M):E.lineTo(Y,W)}else E.moveTo(0,0);if(E.closePath(),n)return E=null,n+""||null}return C.centroid=function(){var e=(+t.apply(this,arguments)+ +a.apply(this,arguments))/2,n=(+S.apply(this,arguments)+ +O.apply(this,arguments))/2-c/2;return[o(n)*e,u(n)*e]},C.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),C):t},C.outerRadius=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),C):a},C.cornerRadius=function(t){return arguments.length?(w="function"==typeof t?t:n(+t),C):w},C.padRadius=function(t){return arguments.length?(j=null==t?null:"function"==typeof t?t:n(+t),C):j},C.startAngle=function(t){return arguments.length?(S="function"==typeof t?t:n(+t),C):S},C.endAngle=function(t){return arguments.length?(O="function"==typeof t?t:n(+t),C):O},C.padAngle=function(t){return arguments.length?(k="function"==typeof t?t:n(+t),C):k},C.context=function(t){return arguments.length?(E=null==t?null:t,C):E},C},t.area=E,t.areaRadial=D,t.curveBasis=function(t){return new ct(t)},t.curveBasisClosed=function(t){return new ft(t)},t.curveBasisOpen=function(t){return new dt(t)},t.curveBundle=pt,t.curveCardinal=mt,t.curveCardinalClosed=_t,t.curveCardinalOpen=xt,t.curveCatmullRom=St,t.curveCatmullRomClosed=kt,t.curveCatmullRomOpen=Ct,t.curveLinear=j,t.curveLinearClosed=function(t){return new Mt(t)},t.curveMonotoneX=function(t){return new Nt(t)},t.curveMonotoneY=function(t){return new Dt(t)},t.curveNatural=function(t){return new Lt(t)},t.curveStep=function(t){return new $t(t,.5)},t.curveStepAfter=function(t){return new $t(t,1)},t.curveStepBefore=function(t){return new $t(t,0)},t.line=k,t.lineRadial=N,t.linkHorizontal=function(){return F(z)},t.linkRadial=function(){var t=F(q);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return F(V)},t.pie=function(){var t=M,e=C,r=null,i=n(0),o=n(d),a=n(0);function s(n){var s,u,l,c,f,h=n.length,p=0,v=new Array(h),g=new Array(h),m=+i.apply(this,arguments),y=Math.min(d,Math.max(-d,o.apply(this,arguments)-m)),_=Math.min(Math.abs(y)/h,a.apply(this,arguments)),b=_*(y<0?-1:1);for(s=0;s<h;++s)(f=g[v[s]=s]=+t(n[s],s,n))>0&&(p+=f);for(null!=e?v.sort((function(t,n){return e(g[t],g[n])})):null!=r&&v.sort((function(t,e){return r(n[t],n[e])})),s=0,l=p?(y-h*b)/p:0;s<h;++s,m=c)u=v[s],c=m+((f=g[u])>0?f*l:0)+b,g[u]={data:n[u],index:s,value:f,startAngle:m,endAngle:c,padAngle:_};return g}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),s):i},s.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),s):o},s.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),s):a},s},t.pointRadial=R,t.radialArea=D,t.radialLine=N,t.stack=function(){var t=n([]),e=zt,r=Ft,i=Vt;function o(n){var o,a,s=t.apply(this,arguments),u=n.length,l=s.length,c=new Array(l);for(o=0;o<l;++o){for(var f,d=s[o],h=c[o]=new Array(u),p=0;p<u;++p)h[p]=f=[0,+i(n[p],d,p,n)],f.data=n[p];h.key=d}for(o=0,a=e(c);o<l;++o)c[a[o]].index=o;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:n(L.call(e)),o):t},o.value=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),o):i},o.order=function(t){return arguments.length?(e=null==t?zt:"function"==typeof t?t:n(L.call(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?Ft:t,o):r},o},t.stackOffsetDiverging=function(t,e){if((s=t.length)>0)for(var n,r,i,o,a,s,u=0,l=t[e[0]].length;u<l;++u)for(o=a=0,n=0;n<s;++n)(i=(r=t[e[n]][u])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},t.stackOffsetExpand=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Ft(t,e)}},t.stackOffsetNone=Ft,t.stackOffsetSilhouette=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}Ft(t,e)}},t.stackOffsetWiggle=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,u=0,l=0;s<i;++s){for(var c=t[e[s]],f=c[a][1]||0,d=(f-(c[a-1][1]||0))/2,h=0;h<s;++h){var p=t[e[h]];d+=(p[a][1]||0)-(p[a-1][1]||0)}u+=f,l+=d*f}n[a-1][1]+=n[a-1][0]=o,u&&(o-=l/u)}n[a-1][1]+=n[a-1][0]=o,Ft(t,e)}},t.stackOrderAppearance=qt,t.stackOrderAscending=Gt,t.stackOrderDescending=function(t){return Gt(t).reverse()},t.stackOrderInsideOut=function(t){var e,n,r=t.length,i=t.map(Ut),o=qt(t),a=0,s=0,u=[],l=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],u.push(n)):(s+=i[n],l.push(n));return l.reverse().concat(u)},t.stackOrderNone=zt,t.stackOrderReverse=function(t){return zt(t).reverse()},t.symbol=function(){var t=n(H),r=n(64),i=null;function o(){var n;if(i||(i=n=e.path()),t.apply(this,arguments).draw(i,+r.apply(this,arguments)),n)return i=null,n+""||null}return o.type=function(e){return arguments.length?(t="function"==typeof e?e:n(e),o):t},o.size=function(t){return arguments.length?(r="function"==typeof t?t:n(+t),o):r},o.context=function(t){return arguments.length?(i=null==t?null:t,o):i},o},t.symbolCircle=H,t.symbolCross=G,t.symbolDiamond=W,t.symbolSquare=J,t.symbolStar=Q,t.symbolTriangle=et,t.symbolWye=at,t.symbols=st,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(/*! d3-path */"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))},"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(t){return function(){return t}}function n(t){return t[0]}function r(t){return t[1]}function i(){this._=null}function o(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function a(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function s(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function u(t){for(;t.L;)t=t.L;return t}function l(t,e,n,r){var i=[null,null],o=I.push(i)-1;return i.left=t,i.right=e,n&&f(i,t,e,n),r&&f(i,e,t,r),P[t.index].halfedges.push(o),P[e.index].halfedges.push(o),i}function c(t,e,n){var r=[e,n];return r.left=t,r}function f(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function d(t,e,n,r,i){var o,a=t[0],s=t[1],u=a[0],l=a[1],c=0,f=1,d=s[0]-u,h=s[1]-l;if(o=e-u,d||!(o>0)){if(o/=d,d<0){if(o<c)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>c&&(c=o)}if(o=r-u,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>c&&(c=o)}else if(d>0){if(o<c)return;o<f&&(f=o)}if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o<c)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>c&&(c=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>c&&(c=o)}else if(h>0){if(o<c)return;o<f&&(f=o)}return!(c>0||f<1)||(c>0&&(t[0]=[u+c*d,l+c*h]),f<1&&(t[1]=[u+f*d,l+f*h]),!0)}}}}}function h(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,u=t[0],l=t.left,c=t.right,f=l[0],d=l[1],h=c[0],p=c[1],v=(f+h)/2,g=(d+p)/2;if(p===d){if(v<e||v>=r)return;if(f>h){if(u){if(u[1]>=i)return}else u=[v,n];o=[v,i]}else{if(u){if(u[1]<n)return}else u=[v,i];o=[v,n]}}else if(s=g-(a=(f-h)/(p-d))*v,a<-1||a>1)if(f>h){if(u){if(u[1]>=i)return}else u=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(u){if(u[1]<n)return}else u=[(i-s)/a,i];o=[(n-s)/a,n]}else if(d<p){if(u){if(u[0]>=r)return}else u=[e,a*e+s];o=[r,a*r+s]}else{if(u){if(u[0]<e)return}else u=[r,a*r+s];o=[e,a*e+s]}return t[0]=u,t[1]=o,!0}function p(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function v(t,e){return e[+(e.left!==t.site)]}function g(t,e){return e[+(e.left===t.site)]}i.prototype={constructor:i,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=u(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(a(this,n),n=(t=n).U),n.C=!1,r.C=!0,s(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(s(this,n),n=(t=n).U),n.C=!1,r.C=!0,a(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,l=t.R;if(n=o?l?u(l):o:l,i?i.L===t?i.L=n:i.R=n:this._=n,o&&l?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==l?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=l,l.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,a(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,s(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,a(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,s(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,a(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,s(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var m,y=[];function _(){o(this),this.x=this.y=this.arc=this.site=this.cy=null}function b(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;if(r!==o){var a=i[0],s=i[1],u=r[0]-a,l=r[1]-s,c=o[0]-a,f=o[1]-s,d=2*(u*f-l*c);if(!(d>=-D)){var h=u*u+l*l,p=c*c+f*f,v=(f*h-l*p)/d,g=(u*p-c*h)/d,b=y.pop()||new _;b.arc=t,b.site=i,b.x=v+a,b.y=(b.cy=g+s)+Math.sqrt(v*v+g*g),t.circle=b;for(var x=null,w=A._;w;)if(b.y<w.y||b.y===w.y&&b.x<=w.x){if(!w.L){x=w.P;break}w=w.L}else{if(!w.R){x=w;break}w=w.R}A.insert(x,b),x||(m=b)}}}}function x(t){var e=t.circle;e&&(e.P||(m=e.N),A.remove(e),y.push(e),o(e),t.circle=null)}var w=[];function j(){o(this),this.edge=this.site=this.circle=null}function S(t){var e=w.pop()||new j;return e.site=t,e}function O(t){x(t),T.remove(t),w.push(t),o(t)}function k(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,s=[t];O(t);for(var u=o;u.circle&&Math.abs(n-u.circle.x)<N&&Math.abs(r-u.circle.cy)<N;)o=u.P,s.unshift(u),O(u),u=o;s.unshift(u),x(u);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<N&&Math.abs(r-c.circle.cy)<N;)a=c.N,s.push(c),O(c),c=a;s.push(c),x(c);var d,h=s.length;for(d=1;d<h;++d)c=s[d],u=s[d-1],f(c.edge,u.site,c.site,i);u=s[0],(c=s[h-1]).edge=l(u.site,c.site,null,i),b(u),b(c)}function E(t){for(var e,n,r,i,o=t[0],a=t[1],s=T._;s;)if((r=C(s,a)-o)>N)s=s.L;else{if(!((i=o-M(s,a))>N)){r>-N?(e=s.P,n=s):i>-N?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){P[t.index]={site:t,halfedges:[]}}(t);var u=S(t);if(T.insert(e,u),e||n){if(e===n)return x(e),n=S(e.site),T.insert(u,n),u.edge=n.edge=l(e.site,u.site),b(e),void b(n);if(n){x(e),x(n);var c=e.site,d=c[0],h=c[1],p=t[0]-d,v=t[1]-h,g=n.site,m=g[0]-d,y=g[1]-h,_=2*(p*y-v*m),w=p*p+v*v,j=m*m+y*y,O=[(y*w-v*j)/_+d,(p*j-m*w)/_+h];f(n.edge,c,g,O),u.edge=l(c,t,null,O),n.edge=l(t,g,null,O),b(e),b(n)}else u.edge=l(e.site,u.site)}}function C(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],u=n[1],l=u-e;if(!l)return s;var c=s-r,f=1/o-1/l,d=c/l;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*l)-u+l/2+i-o/2)))/f+r:(r+s)/2}function M(t,e){var n=t.N;if(n)return C(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var T,P,A,I,N=1e-6,D=1e-12;function R(t,e){return e[1]-t[1]||e[0]-t[0]}function L(t,e){var n,r,o,a=t.sort(R).pop();for(I=[],P=new Array(t.length),T=new i,A=new i;;)if(o=m,a&&(!o||a[1]<o.y||a[1]===o.y&&a[0]<o.x))a[0]===n&&a[1]===r||(E(a),n=a[0],r=a[1]),a=t.pop();else{if(!o)break;k(o.arc)}if(function(){for(var t,e,n,r,i=0,o=P.length;i<o;++i)if((t=P[i])&&(r=(e=t.halfedges).length)){var a=new Array(r),s=new Array(r);for(n=0;n<r;++n)a[n]=n,s[n]=p(t,I[e[n]]);for(a.sort((function(t,e){return s[e]-s[t]})),n=0;n<r;++n)s[n]=e[a[n]];for(n=0;n<r;++n)e[n]=s[n]}}(),e){var s=+e[0][0],u=+e[0][1],l=+e[1][0],f=+e[1][1];!function(t,e,n,r){for(var i,o=I.length;o--;)h(i=I[o],t,e,n,r)&&d(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>N||Math.abs(i[0][1]-i[1][1])>N)||delete I[o]}(s,u,l,f),function(t,e,n,r){var i,o,a,s,u,l,f,d,h,p,m,y,_=P.length,b=!0;for(i=0;i<_;++i)if(o=P[i]){for(a=o.site,s=(u=o.halfedges).length;s--;)I[u[s]]||u.splice(s,1);for(s=0,l=u.length;s<l;)m=(p=g(o,I[u[s]]))[0],y=p[1],d=(f=v(o,I[u[++s%l]]))[0],h=f[1],(Math.abs(m-d)>N||Math.abs(y-h)>N)&&(u.splice(s,0,I.push(c(a,p,Math.abs(m-t)<N&&r-y>N?[t,Math.abs(d-t)<N?h:r]:Math.abs(y-r)<N&&n-m>N?[Math.abs(h-r)<N?d:n,r]:Math.abs(m-n)<N&&y-e>N?[n,Math.abs(d-n)<N?h:e]:Math.abs(y-e)<N&&m-t>N?[Math.abs(h-e)<N?d:t,e]:null))-1),++l);l&&(b=!1)}if(b){var x,w,j,S=1/0;for(i=0,b=null;i<_;++i)(o=P[i])&&(j=(x=(a=o.site)[0]-t)*x+(w=a[1]-e)*w)<S&&(S=j,b=o);if(b){var O=[t,e],k=[t,r],E=[n,r],C=[n,e];b.halfedges.push(I.push(c(a=b.site,O,k))-1,I.push(c(a,k,E))-1,I.push(c(a,E,C))-1,I.push(c(a,C,O))-1)}}for(i=0;i<_;++i)(o=P[i])&&(o.halfedges.length||delete P[i])}(s,u,l,f)}this.edges=I,this.cells=P,T=A=I=P=null}L.prototype={constructor:L,polygons:function(){var t=this.edges;return this.cells.map((function(e){var n=e.halfedges.map((function(n){return v(e,t[n])}));return n.data=e.site.data,n}))},triangles:function(){var t=[],e=this.edges;return this.cells.forEach((function(n,r){if(o=(i=n.halfedges).length)for(var i,o,a,s,u,l,c=n.site,f=-1,d=e[i[o-1]],h=d.left===c?d.right:d.left;++f<o;)a=h,h=(d=e[i[f]]).left===c?d.right:d.left,a&&h&&r<a.index&&r<h.index&&(u=a,l=h,((s=c)[0]-l[0])*(u[1]-s[1])-(s[0]-u[0])*(l[1]-s[1])<0)&&t.push([c.data,a.data,h.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,e,n){for(var r,i,o=this,a=o._found||0,s=o.cells.length;!(i=o.cells[a]);)if(++a>=s)return null;var u=t-i.site[0],l=e-i.site[1],c=u*u+l*l;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var u=t-s[0],l=e-s[1],f=u*u+l*l;f<c&&(c=f,a=s.index)}}))}while(null!==a);return o._found=r,null==n||c<=n*n?i.site:null}},t.voronoi=function(){var t=n,i=r,o=null;function a(e){return new L(e.map((function(n,r){var o=[Math.round(t(n,r,e)/N)*N,Math.round(i(n,r,e)/N)*N];return o.index=r,o.data=n,o})),o)}return a.polygons=function(t){return a(t).polygons()},a.links=function(t){return a(t).links()},a.triangles=function(t){return a(t).triangles()},a.x=function(n){return arguments.length?(t="function"==typeof n?n:e(+n),a):t},a.y=function(t){return arguments.length?(i="function"==typeof t?t:e(+t),a):i},a.extent=function(t){return arguments.length?(o=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],a):o&&[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},a.size=function(t){return arguments.length?(o=null==t?null:[[0,0],[+t[0],+t[1]]],a):o&&[o[1][0]-o[0][0],o[1][1]-o[0][1]]},a},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_dagre@0.8.5@dagre/index.js":
- /*!**************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/index.js ***!
- \**************************************************/
- /*! no static exports found */function(t,e,n){t.exports={graphlib:n(/*! ./lib/graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js"),layout:n(/*! ./lib/layout */"./node_modules/_dagre@0.8.5@dagre/lib/layout.js"),debug:n(/*! ./lib/debug */"./node_modules/_dagre@0.8.5@dagre/lib/debug.js"),util:{time:n(/*! ./lib/util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").time,notime:n(/*! ./lib/util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").notime},version:n(/*! ./lib/version */"./node_modules/_dagre@0.8.5@dagre/lib/version.js")}},"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js":
- /*!********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./greedy-fas */"./node_modules/_dagre@0.8.5@dagre/lib/greedy-fas.js");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.forEach(t.outEdges(a),(function(t){r.has(n,t.w)?e.push(t):o(t.w)})),delete n[a])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function o(t,e,n,r,o,a){var s={width:0,height:0,rank:a,borderType:e},u=o[e][a-1],l=i.addDummyNode(t,"border",s,n);o[e][a]=l,t.setParent(l,r),u&&t.setEdge(u,l,{weight:1})}t.exports=function(t){r.forEach(t.children(),(function e(n){var i=t.children(n),a=t.node(n);if(i.length&&r.forEach(i,e),r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,u=a.maxRank+1;s<u;++s)o(t,"borderLeft","_bl",n,a,s),o(t,"borderRight","_br",n,a,s)}}))}},"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function i(t){r.forEach(t.nodes(),(function(e){o(t.node(e))})),r.forEach(t.edges(),(function(e){o(t.edge(e))}))}function o(t){var e=t.width;t.width=t.height,t.height=e}function a(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),(function(e){a(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,a),r.has(n,"y")&&a(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){r.forEach(t.nodes(),(function(e){s(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)}))}(t),i(t))}}},"./node_modules/_dagre@0.8.5@dagre/lib/data/list.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/data/list.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"}},"./node_modules/_dagre@0.8.5@dagre/lib/debug.js":
- /*!******************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/debug.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),o=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports={debugOrdering:function(t){var e=i.buildLayerMatrix(t),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)})),r.forEach(t.edges(),(function(t){n.setEdge(t.v,t.w,{},t.name)})),r.forEach(e,(function(t,e){var i="layer"+e;n.setNode(i,{rank:"same"}),r.reduce(t,(function(t,e){return n.setEdge(t,e,{style:"invis"}),e}))})),n}}},"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r;try{r=n(/*! graphlib */"./node_modules/_graphlib@2.1.8@graphlib/index.js")}catch(t){}r||(r=window.graphlib),t.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/greedy-fas.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/greedy-fas.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,o=n(/*! ./data/list */"./node_modules/_dagre@0.8.5@dagre/lib/data/list.js");t.exports=function(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new i,a=0,s=0;r.forEach(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=n.edge(t.v,t.w)||0,i=e(t),o=r+i;n.setEdge(t.v,t.w,o),s=Math.max(s,n.node(t.v).out+=i),a=Math.max(a,n.node(t.w).in+=i)}));var l=r.range(s+a+3).map((function(){return new o})),c=a+1;return r.forEach(n.nodes(),(function(t){u(l,c,n.node(t))})),{graph:n,buckets:l,zeroIdx:c}}(t,e||a),l=function(t,e,n){for(var r,i=[],o=e[e.length-1],a=e[0];t.nodeCount();){for(;r=a.dequeue();)s(t,e,n,r);for(;r=o.dequeue();)s(t,e,n,r);if(t.nodeCount())for(var u=e.length-2;u>0;--u)if(r=e[u].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(l,(function(e){return t.outEdges(e.v,e.w)})),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,u(e,n,s)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=r.w,a=t.node(o);a.in-=i,u(e,n,a)})),t.removeNode(i.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},"./node_modules/_dagre@0.8.5@dagre/lib/layout.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/layout.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./acyclic */"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js"),o=n(/*! ./normalize */"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js"),a=n(/*! ./rank */"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js"),s=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").normalizeRanks,u=n(/*! ./parent-dummy-chains */"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js"),l=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").removeEmptyRanks,c=n(/*! ./nesting-graph */"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js"),f=n(/*! ./add-border-segments */"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js"),d=n(/*! ./coordinate-system */"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js"),h=n(/*! ./order */"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js"),p=n(/*! ./position */"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js"),v=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),g=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports=function(t,e){var n=e&&e.debugTiming?v.time:v.notime;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new g({multigraph:!0,compound:!0}),n=k(t.graph());return e.setGraph(r.merge({},y,O(n,m),r.pick(n,_))),r.forEach(t.nodes(),(function(n){var i=k(t.node(n));e.setNode(n,r.defaults(O(i,b),x)),e.setParent(n,t.parent(n))})),r.forEach(t.edges(),(function(n){var i=k(t.edge(n));e.setEdge(n,r.merge({},j,O(i,w),r.pick(i,S)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){r.forEach(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){i.run(t)})),e(" nestingGraph.run",(function(){c.run(t)})),e(" rank",(function(){a(v.asNonCompoundGraph(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};v.addDummyNode(t,"edge-proxy",i,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){l(t)})),e(" nestingGraph.cleanup",(function(){c.cleanup(t)})),e(" normalizeRanks",(function(){s(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;r.forEach(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){o.run(t)})),e(" parentDummyChains",(function(){u(t)})),e(" addBorderSegments",(function(){f(t)})),e(" order",(function(){h(t)})),e(" insertSelfEdges",(function(){!function(t){var e=v.buildLayerMatrix(t);r.forEach(e,(function(e){var n=0;r.forEach(e,(function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,(function(e){v.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")})),delete o.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){d.adjust(t)})),e(" position",(function(){p(t)})),e(" positionSelfEdges",(function(){!function(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){r.forEach(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){o.undo(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){d.undo(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function l(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-u/2),o=Math.max(o,a+u/2)}r.forEach(t.nodes(),(function(e){l(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.has(n,"x")&&l(n)})),e-=s,i-=u,r.forEach(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=i})),r.forEach(t.edges(),(function(n){var o=t.edge(n);r.forEach(o.points,(function(t){t.x-=e,t.y-=i})),r.has(o,"x")&&(o.x-=e),r.has(o,"y")&&(o.y-=i)})),a.width=n-e+s,a.height=o-i+u}(t)})),e(" assignNodeIntersects",(function(){!function(t){r.forEach(t.edges(),(function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(v.intersectRect(o,n)),i.points.push(v.intersectRect(a,r))}))}(t)})),e(" reversePoints",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}(t)})),e(" acyclic.undo",(function(){i.undo(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){r.forEach(t.nodes(),(function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(t.edges(),(function(n){var i=t.edge(n),o=e.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))};var m=["nodesep","edgesep","ranksep","marginx","marginy"],y={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_=["acyclicer","ranker","rankdir","align"],b=["width","height"],x={width:0,height:0},w=["minlen","weight","width","height","labeloffset"],j={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function O(t,e){return r.mapValues(r.pick(t,e),Number)}function k(t){var e={};return r.forEach(t,(function(t,n){e[n.toLowerCase()]=t})),e}},"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/lodash.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r;try{r={cloneDeep:n(/*! lodash/cloneDeep */"./node_modules/_lodash@4.17.20@lodash/cloneDeep.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.20@lodash/constant.js"),defaults:n(/*! lodash/defaults */"./node_modules/_lodash@4.17.20@lodash/defaults.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.20@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.20@lodash/filter.js"),find:n(/*! lodash/find */"./node_modules/_lodash@4.17.20@lodash/find.js"),flatten:n(/*! lodash/flatten */"./node_modules/_lodash@4.17.20@lodash/flatten.js"),forEach:n(/*! lodash/forEach */"./node_modules/_lodash@4.17.20@lodash/forEach.js"),forIn:n(/*! lodash/forIn */"./node_modules/_lodash@4.17.20@lodash/forIn.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.20@lodash/has.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.20@lodash/isUndefined.js"),last:n(/*! lodash/last */"./node_modules/_lodash@4.17.20@lodash/last.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.20@lodash/map.js"),mapValues:n(/*! lodash/mapValues */"./node_modules/_lodash@4.17.20@lodash/mapValues.js"),max:n(/*! lodash/max */"./node_modules/_lodash@4.17.20@lodash/max.js"),merge:n(/*! lodash/merge */"./node_modules/_lodash@4.17.20@lodash/merge.js"),min:n(/*! lodash/min */"./node_modules/_lodash@4.17.20@lodash/min.js"),minBy:n(/*! lodash/minBy */"./node_modules/_lodash@4.17.20@lodash/minBy.js"),now:n(/*! lodash/now */"./node_modules/_lodash@4.17.20@lodash/now.js"),pick:n(/*! lodash/pick */"./node_modules/_lodash@4.17.20@lodash/pick.js"),range:n(/*! lodash/range */"./node_modules/_lodash@4.17.20@lodash/range.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.20@lodash/reduce.js"),sortBy:n(/*! lodash/sortBy */"./node_modules/_lodash@4.17.20@lodash/sortBy.js"),uniqueId:n(/*! lodash/uniqueId */"./node_modules/_lodash@4.17.20@lodash/uniqueId.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.20@lodash/values.js"),zipObject:n(/*! lodash/zipObject */"./node_modules/_lodash@4.17.20@lodash/zipObject.js")}}catch(t){}r||(r=window._),t.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};return r.forEach(t.children(),(function(n){!function n(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,(function(t){n(t,o+1)})),e[i]=o}(n,1)})),e}(t),o=r.max(r.values(n))-1,a=2*o+1;t.graph().nestingRoot=e,r.forEach(t.edges(),(function(e){t.edge(e).minlen*=a}));var s=function(t){return r.reduce(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;r.forEach(t.children(),(function(u){!function t(e,n,o,a,s,u,l){var c=e.children(l);if(c.length){var f=i.addBorderNode(e,"_bt"),d=i.addBorderNode(e,"_bb"),h=e.node(l);e.setParent(f,l),h.borderTop=f,e.setParent(d,l),h.borderBottom=d,r.forEach(c,(function(r){t(e,n,o,a,s,u,r);var i=e.node(r),c=i.borderTop?i.borderTop:r,h=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,v=c!==h?1:s-u[l]+1;e.setEdge(f,c,{weight:p,minlen:v,nestingEdge:!0}),e.setEdge(h,d,{weight:p,minlen:v,nestingEdge:!0})})),e.parent(l)||e.setEdge(n,f,{weight:0,minlen:s+u[l]})}else l!==n&&e.setEdge(n,l,{weight:0,minlen:o})}(t,e,a,s,o,n,u)})),t.graph().nodeRankFactor=a},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}}},"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/normalize.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,u=e.w,l=t.node(u).rank,c=e.name,f=t.edge(e),d=f.labelRank;if(l!==s+1){for(t.removeEdge(e),o=0,++s;s<l;++o,++s)f.points=[],r={width:0,height:0,edgeLabel:f,edgeObj:e,rank:s},n=i.addDummyNode(t,"edge",r,"_d"),s===d&&(r.width=f.width,r.height=f.height,r.dummy="edge-label",r.labelpos=f.labelpos),t.setEdge(a,n,{weight:f.weight},c),0===o&&t.graph().dummyChains.push(n),a=n;t.setEdge(a,u,{weight:f.weight},c)}}(t,e)}))},undo:function(t){r.forEach(t.graph().dummyChains,(function(e){var n,r=t.node(e),i=r.edgeLabel;for(t.setEdge(r.edgeObj,i);r.dummy;)n=t.successors(e)[0],t.removeNode(e),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),e=n,r=t.node(e)}))}}},"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js":
- /*!*******************************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js ***!
- \*******************************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e,n){var i,o={};r.forEach(n,(function(n){for(var r,a,s=t.parent(n);s;){if((r=t.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void e.setEdge(a,s);s=r}}))}},"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports=function(t,e,n){var o=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var s=t.node(i),u=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(a.setNode(i),a.setParent(i,u||o),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:t.edge(e).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),a}},"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function i(t,e,n){for(var i=r.zipObject(n,r.map(n,(function(t,e){return e}))),o=r.flatten(r.map(e,(function(e){return r.sortBy(r.map(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")})),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var u=r.map(new Array(s),(function(){return 0})),l=0;return r.forEach(o.forEach((function(t){var e=t.pos+a;u[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;l+=t.weight*n}))),l}t.exports=function(t,e){for(var n=0,r=1;r<e.length;++r)n+=i(t,e[r-1],e[r]);return n}},"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js":
- /*!************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/index.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./init-order */"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js"),o=n(/*! ./cross-count */"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js"),a=n(/*! ./sort-subgraph */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js"),s=n(/*! ./build-layer-graph */"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js"),u=n(/*! ./add-subgraph-constraints */"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js"),l=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,c=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function f(t,e,n){return r.map(e,(function(e){return s(t,e,n)}))}function d(t,e){var n=new l;r.forEach(t,(function(t){var i=t.graph().root,o=a(t,i,n,e);r.forEach(o.vs,(function(e,n){t.node(e).order=n})),u(t,n,o.vs)}))}function h(t,e){r.forEach(e,(function(e){r.forEach(e,(function(e,n){t.node(e).order=n}))}))}t.exports=function(t){var e=c.maxRank(t),n=f(t,r.range(1,e+1),"inEdges"),a=f(t,r.range(e-1,-1,-1),"outEdges"),s=i(t);h(t,s);for(var u,l=Number.POSITIVE_INFINITY,p=0,v=0;v<4;++p,++v){d(p%2?n:a,p%4>=2),s=c.buildLayerMatrix(t);var g=o(t,s);g<l&&(v=0,u=r.cloneDeep(s),l=g)}h(t,u)}},"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t){var e={},n=r.filter(t.nodes(),(function(e){return!t.children(e).length})),i=r.max(r.map(n,(function(e){return t.node(e).rank}))),o=r.map(r.range(i+1),(function(){return[]})),a=r.sortBy(n,(function(e){return t.node(e).rank}));return r.forEach(a,(function n(i){if(!r.has(e,i)){e[i]=!0;var a=t.node(i);o[a.rank].push(i),r.forEach(t.successors(i),n)}})),o}},"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js":
- /*!************************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js ***!
- \************************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e){var n={};return r.forEach(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(e.edges(),(function(t){var e=n[t.v],i=n[t.w];r.isUndefined(e)||r.isUndefined(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){var n,i,o,a;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(i=e,o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),i.weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(t){return!t.indegree})))}},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./barycenter */"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js"),o=n(/*! ./resolve-conflicts */"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js"),a=n(/*! ./sort */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js");t.exports=function t(e,n,s,u){var l=e.children(n),c=e.node(n),f=c?c.borderLeft:void 0,d=c?c.borderRight:void 0,h={};f&&(l=r.filter(l,(function(t){return t!==f&&t!==d})));var p=i(e,l);r.forEach(p,(function(n){if(e.children(n.v).length){var i=t(e,n.v,s,u);h[n.v]=i,r.has(i,"barycenter")&&(o=n,a=i,r.isUndefined(o.barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a}));var v=o(p,s);!function(t,e){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return e[t]?e[t].vs:t})),!0)}))}(v,h);var g=a(v,u);if(f&&(g.vs=r.flatten([f,g.vs,d],!0),e.predecessors(f).length)){var m=e.node(e.predecessors(f)[0]),y=e.node(e.predecessors(d)[0]);r.has(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+m.order+y.order)/(g.weight+2),g.weight+=2}return g}},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function o(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,a=i.partition(t,(function(t){return r.has(t,"barycenter")})),s=a.lhs,u=r.sortBy(a.rhs,(function(t){return-t.i})),l=[],c=0,f=0,d=0;s.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),d=o(l,u,d),r.forEach(s,(function(t){d+=t.vs.length,l.push(t.vs),c+=t.barycenter*t.weight,f+=t.weight,d=o(l,u,d)}));var h={vs:r.flatten(l,!0)};return f&&(h.barycenter=c/f,h.weight=f),h}},"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),(function i(o){var a=n;r.forEach(t.children(o),i),e[o]={low:a,lim:n++}})),e}(t);r.forEach(t.graph().dummyChains,(function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],u=Math.min(e[n].low,e[r].low),l=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>u||l>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,l=a[u],c=!0;n!==i.w;){if(r=t.node(n),c){for(;(l=a[u])!==s&&t.node(l).maxRank<r.rank;)u++;l===s&&(c=!1)}if(!c){for(;u<a.length-1&&t.node(l=a[u+1]).minRank<=r.rank;)u++;l=a[u]}t.setParent(n,l),n=t.successors(n)[0]}}))}},"./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js":
- /*!************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,o=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function a(t,e){var n={};return r.reduce(e,(function(e,i){var o=0,a=0,s=e.length,l=r.last(i);return r.forEach(i,(function(e,c){var f=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),d=f?t.node(f).order:s;(f||e===l)&&(r.forEach(i.slice(a,c+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),a=i.order;!(a<o||d<a)||i.dummy&&t.node(e).dummy||u(n,r,e)}))})),a=c+1,o=d)})),i})),n}function s(t,e){var n={};function i(e,i,o,a,s){var l;r.forEach(r.range(i,o),(function(i){l=e[i],t.node(l).dummy&&r.forEach(t.predecessors(l),(function(e){var r=t.node(e);r.dummy&&(r.order<a||r.order>s)&&u(n,e,l)}))}))}return r.reduce(e,(function(e,n){var o,a=-1,s=0;return r.forEach(n,(function(r,u){if("border"===t.node(r).dummy){var l=t.predecessors(r);l.length&&(o=t.node(l[0]).order,i(n,s,u,a,o),s=u,a=o)}i(n,s,n.length,o,e.length)})),n})),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function l(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function c(t,e,n,i){var o={},a={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){o[t]=t,a[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var u=i(t);if(u.length)for(var c=((u=r.sortBy(u,(function(t){return s[t]}))).length-1)/2,f=Math.floor(c),d=Math.ceil(c);f<=d;++f){var h=u[f];a[t]===t&&e<s[h]&&!l(n,t,h)&&(a[h]=t,a[t]=o[t]=o[h],e=s[h])}}))})),{root:o,align:a}}function f(t,e,n,o,a){var s={},u=function(t,e,n,o){var a=new i,s=t.graph(),u=function(t,e,n){return function(i,o,a){var s,u=i.node(o),l=i.node(a),c=0;if(c+=u.width/2,r.has(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=-u.width/2;break;case"r":s=u.width/2}if(s&&(c+=n?s:-s),s=0,c+=(u.dummy?e:t)/2,c+=(l.dummy?e:t)/2,c+=l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=l.width/2;break;case"r":s=-l.width/2}return s&&(c+=n?s:-s),s=0,c}}(s.nodesep,s.edgesep,o);return r.forEach(e,(function(e){var i;r.forEach(e,(function(e){var r=n[e];if(a.setNode(r),i){var o=n[i],s=a.edge(o,r);a.setEdge(o,r,Math.max(u(t,e,i),s||0))}i=e}))})),a}(t,e,n,a),l=a?"borderLeft":"borderRight";function c(t,e){for(var n=u.nodes(),r=n.pop(),i={};r;)i[r]?t(r):(i[r]=!0,n.push(r),n=n.concat(e(r))),r=n.pop()}return c((function(t){s[t]=u.inEdges(t).reduce((function(t,e){return Math.max(t,s[e.v]+u.edge(e))}),0)}),u.predecessors.bind(u)),c((function(e){var n=u.outEdges(e).reduce((function(t,e){return Math.min(t,s[e.w]-u.edge(e))}),Number.POSITIVE_INFINITY),r=t.node(e);n!==Number.POSITIVE_INFINITY&&r.borderType!==l&&(s[e]=Math.max(s[e],n))}),u.successors.bind(u)),r.forEach(o,(function(t){s[t]=s[n[t]]})),s}function d(t,e){return r.minBy(r.values(e),(function(e){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return r.forIn(e,(function(e,r){var o=function(t,e){return t.node(e).width}(t,r)/2;n=Math.max(e+o,n),i=Math.min(e-o,i)})),n-i}))}function h(t,e){var n=r.values(e),i=r.min(n),o=r.max(n);r.forEach(["u","d"],(function(n){r.forEach(["l","r"],(function(a){var s,u=n+a,l=t[u];if(l!==e){var c=r.values(l);(s="l"===a?i-r.min(c):o-r.max(c))&&(t[u]=r.mapValues(l,(function(t){return t+s})))}}))}))}function p(t,e){return r.mapValues(t.ul,(function(n,i){if(e)return t[e.toLowerCase()][i];var o=r.sortBy(r.map(t,i));return(o[1]+o[2])/2}))}t.exports={positionX:function(t){var e,n=o.buildLayerMatrix(t),i=r.merge(a(t,n),s(t,n)),u={};r.forEach(["u","d"],(function(o){e="u"===o?n:r.values(n).reverse(),r.forEach(["l","r"],(function(n){"r"===n&&(e=r.map(e,(function(t){return r.values(t).reverse()})));var a=("u"===o?t.predecessors:t.successors).bind(t),s=c(0,e,i,a),l=f(t,e,s.root,s.align,"r"===n);"r"===n&&(l=r.mapValues(l,(function(t){return-t}))),u[o+n]=l}))}));var l=d(t,u);return h(u,l),p(u,t.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:u,hasConflict:l,verticalAlignment:c,horizontalCompaction:f,alignCoordinates:h,findSmallestWidthAlignment:d,balance:p}},"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/position/index.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),o=n(/*! ./bk */"./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js").positionX;t.exports=function(t){(function(t){var e=i.buildLayerMatrix(t),n=t.graph().ranksep,o=0;r.forEach(e,(function(e){var i=r.max(r.map(e,(function(e){return t.node(e).height})));r.forEach(e,(function(e){t.node(e).y=o+i/2})),o+=i+n}))})(t=i.asNonCompoundGraph(t)),r.forEach(o(t),(function(e,n){t.node(n).x=e}))}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").slack;function a(t,e){return r.forEach(t.nodes(),(function n(i){r.forEach(e.nodeEdges(i),(function(r){var a=r.v,s=i===a?r.w:a;t.hasNode(s)||o(e,r)||(t.setNode(s,{}),t.setEdge(i,s,{}),n(s))}))})),t.nodeCount()}function s(t,e){return r.minBy(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return o(e,n)}))}function u(t,e,n){r.forEach(t.nodes(),(function(t){e.node(t).rank+=n}))}t.exports=function(t){var e,n,r=new i({directed:!1}),l=t.nodes()[0],c=t.nodeCount();for(r.setNode(l,{});a(r,t)<c;)e=s(r,t),n=r.hasNode(e.v)?o(t,e):-o(t,e),u(r,t,n);return r}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").longestPath,i=n(/*! ./feasible-tree */"./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js"),o=n(/*! ./network-simplex */"./node_modules/_dagre@0.8.5@dagre/lib/rank/network-simplex.js");t.exports=function(t){switch(t.graph().ranker){case"network-simplex":s(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":a(t);break;default:s(t)}};var a=r;function s(t){o(t)}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/network-simplex.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/network-simplex.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./feasible-tree */"./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js"),o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").slack,a=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").longestPath,s=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").alg.preorder,u=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").alg.postorder,l=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").simplify;function c(t){t=l(t),a(t);var e,n=i(t);for(h(n),f(n,t);e=v(n);)m(n,t,e,g(n,t,e))}function f(t,e){var n=u(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(t,e,n){var r=t.node(n).parent;t.edge(n,r).cutvalue=d(t,e,n)}(t,e,n)}))}function d(t,e,n){var i=t.node(n).parent,o=!0,a=e.edge(n,i),s=0;return a||(o=!1,a=e.edge(i,n)),s=a.weight,r.forEach(e.nodeEdges(n),(function(r){var a,u,l=r.v===n,c=l?r.w:r.v;if(c!==i){var f=l===o,d=e.edge(r).weight;if(s+=f?d:-d,a=n,u=c,t.hasEdge(a,u)){var h=t.edge(n,c).cutvalue;s+=f?-h:h}}})),s}function h(t,e){arguments.length<2&&(e=t.nodes()[0]),p(t,{},1,e)}function p(t,e,n,i,o){var a=n,s=t.node(i);return e[i]=!0,r.forEach(t.neighbors(i),(function(o){r.has(e,o)||(n=p(t,e,n,o,i))})),s.low=a,s.lim=n++,o?s.parent=o:delete s.parent,n}function v(t){return r.find(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function g(t,e,n){var i=n.v,a=n.w;e.hasEdge(i,a)||(i=n.w,a=n.v);var s=t.node(i),u=t.node(a),l=s,c=!1;s.lim>u.lim&&(l=u,c=!0);var f=r.filter(e.edges(),(function(e){return c===y(0,t.node(e.v),l)&&c!==y(0,t.node(e.w),l)}));return r.minBy(f,(function(t){return o(e,t)}))}function m(t,e,n,i){var o=n.v,a=n.w;t.removeEdge(o,a),t.setEdge(i.v,i.w,{}),h(t),f(t,e),function(t,e){var n=r.find(t.nodes(),(function(t){return!e.node(t).parent})),i=s(t,n);i=i.slice(1),r.forEach(i,(function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)}))}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=c,c.initLowLimValues=h,c.initCutValues=f,c.calcCutValue=d,c.leaveEdge=v,c.enterEdge=g,c.exchangeEdges=m},"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),(function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a}))},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},"./node_modules/_dagre@0.8.5@dagre/lib/util.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/util.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),i=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function o(t,e,n,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function a(t){return r.max(r.map(t.nodes(),(function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n})))}t.exports={addDummyNode:o,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e},successorWeights:function(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.outEdges(e),(function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.inEdges(e),(function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,l=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*l?(s<0&&(l=-l),n=l*a/s,r=l):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)})),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank})));r.forEach(t.nodes(),(function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)}))},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.forEach(n,(function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,(function(e){t.node(e).rank+=i}))}))},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},"./node_modules/_dagre@0.8.5@dagre/lib/version.js":
- /*!********************************************************!*\
- !*** ./node_modules/_dagre@0.8.5@dagre/lib/version.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e){t.exports="0.8.5"},"./node_modules/_graphlib@2.1.8@graphlib/index.js":
- /*!********************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/index.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lib */"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js");t.exports={Graph:r.Graph,json:n(/*! ./lib/json */"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js"),alg:n(/*! ./lib/alg */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js"),version:r.version}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t){var e,n={},i=[];function o(i){r.has(n,i)||(n[i]=!0,e.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),(function(t){e=[],o(t),e.length&&i.push(e)})),i}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),o=[],a={};return r.each(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,i,o,a,s){r.has(o,n)||(o[n]=!0,i||s.push(n),r.each(a(n),(function(n){t(e,n,i,o,a,s)})),i&&s.push(n))}(t,e,"post"===n,a,i,o)})),o}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js":
- /*!***********************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js ***!
- \***********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./dijkstra */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),i=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){return i.transform(t.nodes(),(function(i,o){i[o]=r(t,o,e,n)}),{})}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),i=n(/*! ../data/priority-queue */"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},u=new i,l=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),l=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);l<r.distance&&(r.distance=l,r.predecessor=o,u.decrease(e,l))};for(t.nodes().forEach((function(t){var n=t===e?0:Number.POSITIVE_INFINITY;s[t]={distance:n},u.add(t,n)}));u.size()>0&&(o=u.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(l);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),i=n(/*! ./tarjan */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js");t.exports=function(t){return r.filter(i(t),(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])}))}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})})),n(t).forEach((function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}}))})),i.forEach((function(t){var e=r[t];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[t],i=e[n],a=o[n],s=r.distance+i.distance;s<a.distance&&(a.distance=s,a.predecessor=i.predecessor)}))}))})),r}(t,e||i,n||function(e){return t.outEdges(e)})};var i=r.constant(1)},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){t.exports={components:n(/*! ./components */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js"),dijkstra:n(/*! ./dijkstra */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),dijkstraAll:n(/*! ./dijkstra-all */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js"),findCycles:n(/*! ./find-cycles */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js"),floydWarshall:n(/*! ./floyd-warshall */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js"),isAcyclic:n(/*! ./is-acyclic */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/is-acyclic.js"),postorder:n(/*! ./postorder */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/postorder.js"),preorder:n(/*! ./preorder */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/preorder.js"),prim:n(/*! ./prim */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/prim.js"),tarjan:n(/*! ./tarjan */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js"),topsort:n(/*! ./topsort */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/is-acyclic.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/is-acyclic.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./topsort */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js");t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/postorder.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/postorder.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./dfs */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js");t.exports=function(t,e){return r(t,e,"post")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/preorder.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/preorder.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./dfs */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js");t.exports=function(t,e){return r(t,e,"pre")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/prim.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/prim.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),i=n(/*! ../graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),o=n(/*! ../data/priority-queue */"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");t.exports=function(t,e){var n,a=new i,s={},u=new o;function l(t){var r=t.v===n?t.w:t.v,i=u.priority(r);if(void 0!==i){var o=e(t);o<i&&(s[r]=n,u.decrease(r,o))}}if(0===t.nodeCount())return a;r.each(t.nodes(),(function(t){u.add(t,Number.POSITIVE_INFINITY),a.setNode(t)})),u.decrease(t.nodes()[0],0);for(var c=!1;u.size()>0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(c)throw new Error("Input graph is not connected: "+t);c=!0}t.nodeEdges(n).forEach(l)}return a}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t){var e=0,n=[],i={},o=[];return t.nodes().forEach((function(a){r.has(i,a)||function a(s){var u=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach((function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))})),u.lowlink===u.index){var l,c=[];do{l=n.pop(),i[l].onStack=!1,c.push(l)}while(s!==l);o.push(c)}}(a)})),o}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function i(t){var e={},n={},i=[];if(r.each(t.sinks(),(function a(s){if(r.has(n,s))throw new o;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],i.push(s))})),r.size(e)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js":
- /*!**************************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js ***!
- \**************************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,o=i.length;return n[t]=o,i.push({key:t,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n<e.length&&(i=e[n].priority<e[i].priority?n:i,r<e.length&&(i=e[r].priority<e[i].priority?r:i),i!==t&&(this._swap(t,i),this._heapify(i)))},i.prototype._decrease=function(t){for(var e,n=this._arr,r=n[t].priority;0!==t&&!(n[e=t>>1].priority<r);)this._swap(t,e),t=e},i.prototype._swap=function(t,e){var n=this._arr,r=this._keyIndices,i=n[t],o=n[e];n[t]=o,n[e]=i,r[o.key]=t,r[i.key]=e}},"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js":
- /*!************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function i(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function o(t,e){t[e]?t[e]++:t[e]=1}function a(t,e){--t[e]||delete t[e]}function s(t,e,n,i){var o=""+e,a=""+n;if(!t&&o>a){var s=o;o=a,a=s}return o+""+a+""+(r.isUndefined(i)?"\0":i)}function u(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function l(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._in[e])}))},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._out[e])}))},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),r.each(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,function t(r){var o=n.parent(r);return void 0===o||e.hasNode(o)?(i[r]=o,o):o in i?i[o]:t(o)}(t))})),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,l=arguments[0];"object"==typeof l&&null!==l&&"v"in l?(t=l.v,e=l.w,n=l.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=l,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var c=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,c))return a&&(this._edgeLabels[c]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[c]=a?i:this._defaultEdgeLabelFn(t,e,n);var f=u(this._isDirected,t,e,n);return t=f.v,e=f.w,Object.freeze(f),this._edgeObjs[c]=f,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][c]=f,this._out[t][c]=f,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.v===e})):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.w===e})):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js":
- /*!************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/index.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){t.exports={Graph:n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),version:n(/*! ./version */"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/json.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),i=n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js");function o(t){return r.map(t.nodes(),(function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o}))}function a(t){return r.map(t.edges(),(function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i}))}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:a(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),e}}},"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r;try{r={clone:n(/*! lodash/clone */"./node_modules/_lodash@4.17.20@lodash/clone.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.20@lodash/constant.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.20@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.20@lodash/filter.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.20@lodash/has.js"),isArray:n(/*! lodash/isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),isEmpty:n(/*! lodash/isEmpty */"./node_modules/_lodash@4.17.20@lodash/isEmpty.js"),isFunction:n(/*! lodash/isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.20@lodash/isUndefined.js"),keys:n(/*! lodash/keys */"./node_modules/_lodash@4.17.20@lodash/keys.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.20@lodash/map.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.20@lodash/reduce.js"),size:n(/*! lodash/size */"./node_modules/_lodash@4.17.20@lodash/size.js"),transform:n(/*! lodash/transform */"./node_modules/_lodash@4.17.20@lodash/transform.js"),union:n(/*! lodash/union */"./node_modules/_lodash@4.17.20@lodash/union.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.20@lodash/values.js")}}catch(t){}r||(r=window._),t.exports=r},"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/version.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e){t.exports="2.1.8"},"./node_modules/_isarray@0.0.1@isarray/index.js":
- /*!******************************************************!*\
- !*** ./node_modules/_isarray@0.0.1@isarray/index.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},"./node_modules/_lodash@4.17.20@lodash/_DataView.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_DataView.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),"DataView");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_Hash.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Hash.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_hashClear */"./node_modules/_lodash@4.17.20@lodash/_hashClear.js"),i=n(/*! ./_hashDelete */"./node_modules/_lodash@4.17.20@lodash/_hashDelete.js"),o=n(/*! ./_hashGet */"./node_modules/_lodash@4.17.20@lodash/_hashGet.js"),a=n(/*! ./_hashHas */"./node_modules/_lodash@4.17.20@lodash/_hashHas.js"),s=n(/*! ./_hashSet */"./node_modules/_lodash@4.17.20@lodash/_hashSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.20@lodash/_ListCache.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_ListCache.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_listCacheClear */"./node_modules/_lodash@4.17.20@lodash/_listCacheClear.js"),i=n(/*! ./_listCacheDelete */"./node_modules/_lodash@4.17.20@lodash/_listCacheDelete.js"),o=n(/*! ./_listCacheGet */"./node_modules/_lodash@4.17.20@lodash/_listCacheGet.js"),a=n(/*! ./_listCacheHas */"./node_modules/_lodash@4.17.20@lodash/_listCacheHas.js"),s=n(/*! ./_listCacheSet */"./node_modules/_lodash@4.17.20@lodash/_listCacheSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.20@lodash/_Map.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Map.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),"Map");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_MapCache.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_MapCache.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_mapCacheClear */"./node_modules/_lodash@4.17.20@lodash/_mapCacheClear.js"),i=n(/*! ./_mapCacheDelete */"./node_modules/_lodash@4.17.20@lodash/_mapCacheDelete.js"),o=n(/*! ./_mapCacheGet */"./node_modules/_lodash@4.17.20@lodash/_mapCacheGet.js"),a=n(/*! ./_mapCacheHas */"./node_modules/_lodash@4.17.20@lodash/_mapCacheHas.js"),s=n(/*! ./_mapCacheSet */"./node_modules/_lodash@4.17.20@lodash/_mapCacheSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.20@lodash/_Promise.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Promise.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),"Promise");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_Set.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Set.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),"Set");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_SetCache.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_SetCache.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.20@lodash/_MapCache.js"),i=n(/*! ./_setCacheAdd */"./node_modules/_lodash@4.17.20@lodash/_setCacheAdd.js"),o=n(/*! ./_setCacheHas */"./node_modules/_lodash@4.17.20@lodash/_setCacheHas.js");function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_Stack.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Stack.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js"),i=n(/*! ./_stackClear */"./node_modules/_lodash@4.17.20@lodash/_stackClear.js"),o=n(/*! ./_stackDelete */"./node_modules/_lodash@4.17.20@lodash/_stackDelete.js"),a=n(/*! ./_stackGet */"./node_modules/_lodash@4.17.20@lodash/_stackGet.js"),s=n(/*! ./_stackHas */"./node_modules/_lodash@4.17.20@lodash/_stackHas.js"),u=n(/*! ./_stackSet */"./node_modules/_lodash@4.17.20@lodash/_stackSet.js");function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,t.exports=l},"./node_modules/_lodash@4.17.20@lodash/_Symbol.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Symbol.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js").Symbol;t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_Uint8Array.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_Uint8Array.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js").Uint8Array;t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_WeakMap.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_WeakMap.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),"WeakMap");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_apply.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_apply.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},"./node_modules/_lodash@4.17.20@lodash/_arrayEach.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayEach.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},"./node_modules/_lodash@4.17.20@lodash/_arrayFilter.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayFilter.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},"./node_modules/_lodash@4.17.20@lodash/_arrayIncludes.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayIncludes.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIndexOf */"./node_modules/_lodash@4.17.20@lodash/_baseIndexOf.js");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},"./node_modules/_lodash@4.17.20@lodash/_arrayIncludesWith.js":
- /*!*******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayIncludesWith.js ***!
- \*******************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},"./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseTimes */"./node_modules/_lodash@4.17.20@lodash/_baseTimes.js"),i=n(/*! ./isArguments */"./node_modules/_lodash@4.17.20@lodash/isArguments.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),a=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),s=n(/*! ./_isIndex */"./node_modules/_lodash@4.17.20@lodash/_isIndex.js"),u=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js"),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),c=!n&&i(t),f=!n&&!c&&a(t),d=!n&&!c&&!f&&u(t),h=n||c||f||d,p=h?r(t.length,String):[],v=p.length;for(var g in t)!e&&!l.call(t,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||p.push(g);return p}},"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayMap.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},"./node_modules/_lodash@4.17.20@lodash/_arrayPush.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayPush.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},"./node_modules/_lodash@4.17.20@lodash/_arrayReduce.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arrayReduce.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},"./node_modules/_lodash@4.17.20@lodash/_arraySome.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_arraySome.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},"./node_modules/_lodash@4.17.20@lodash/_asciiSize.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_asciiSize.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseProperty */"./node_modules/_lodash@4.17.20@lodash/_baseProperty.js")("length");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_assignMergeValue.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_assignMergeValue.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js"),i=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js");t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},"./node_modules/_lodash@4.17.20@lodash/_assignValue.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_assignValue.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js"),i=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},"./node_modules/_lodash@4.17.20@lodash/_baseAssign.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseAssign.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),i=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t,e){return t&&r(e,i(e),t)}},"./node_modules/_lodash@4.17.20@lodash/_baseAssignIn.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseAssignIn.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),i=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js");t.exports=function(t,e){return t&&r(e,i(e),t)}},"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_defineProperty */"./node_modules/_lodash@4.17.20@lodash/_defineProperty.js");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},"./node_modules/_lodash@4.17.20@lodash/_baseClone.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseClone.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),i=n(/*! ./_arrayEach */"./node_modules/_lodash@4.17.20@lodash/_arrayEach.js"),o=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.20@lodash/_assignValue.js"),a=n(/*! ./_baseAssign */"./node_modules/_lodash@4.17.20@lodash/_baseAssign.js"),s=n(/*! ./_baseAssignIn */"./node_modules/_lodash@4.17.20@lodash/_baseAssignIn.js"),u=n(/*! ./_cloneBuffer */"./node_modules/_lodash@4.17.20@lodash/_cloneBuffer.js"),l=n(/*! ./_copyArray */"./node_modules/_lodash@4.17.20@lodash/_copyArray.js"),c=n(/*! ./_copySymbols */"./node_modules/_lodash@4.17.20@lodash/_copySymbols.js"),f=n(/*! ./_copySymbolsIn */"./node_modules/_lodash@4.17.20@lodash/_copySymbolsIn.js"),d=n(/*! ./_getAllKeys */"./node_modules/_lodash@4.17.20@lodash/_getAllKeys.js"),h=n(/*! ./_getAllKeysIn */"./node_modules/_lodash@4.17.20@lodash/_getAllKeysIn.js"),p=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),v=n(/*! ./_initCloneArray */"./node_modules/_lodash@4.17.20@lodash/_initCloneArray.js"),g=n(/*! ./_initCloneByTag */"./node_modules/_lodash@4.17.20@lodash/_initCloneByTag.js"),m=n(/*! ./_initCloneObject */"./node_modules/_lodash@4.17.20@lodash/_initCloneObject.js"),y=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),_=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),b=n(/*! ./isMap */"./node_modules/_lodash@4.17.20@lodash/isMap.js"),x=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),w=n(/*! ./isSet */"./node_modules/_lodash@4.17.20@lodash/isSet.js"),j=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js"),S=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js"),O={};O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O["[object Function]"]=O["[object WeakMap]"]=!1,t.exports=function t(e,n,k,E,C,M){var T,P=1&n,A=2&n,I=4&n;if(k&&(T=C?k(e,E,C,M):k(e)),void 0!==T)return T;if(!x(e))return e;var N=y(e);if(N){if(T=v(e),!P)return l(e,T)}else{var D=p(e),R="[object Function]"==D||"[object GeneratorFunction]"==D;if(_(e))return u(e,P);if("[object Object]"==D||"[object Arguments]"==D||R&&!C){if(T=A||R?{}:m(e),!P)return A?f(e,s(T,e)):c(e,a(T,e))}else{if(!O[D])return C?e:{};T=g(e,D,P)}}M||(M=new r);var L=M.get(e);if(L)return L;M.set(e,T),w(e)?e.forEach((function(r){T.add(t(r,n,k,r,e,M))})):b(e)&&e.forEach((function(r,i){T.set(i,t(r,n,k,i,e,M))}));var B=N?void 0:(I?A?h:d:A?S:j)(e);return i(B||e,(function(r,i){B&&(r=e[i=r]),o(T,i,t(r,n,k,i,e,M))})),T}},"./node_modules/_lodash@4.17.20@lodash/_baseCreate.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseCreate.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_baseEach.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseEach.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js"),i=n(/*! ./_createBaseEach */"./node_modules/_lodash@4.17.20@lodash/_createBaseEach.js")(r);t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js");t.exports=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===u?s==s&&!r(s):n(s,u)))var u=s,l=a}return l}},"./node_modules/_lodash@4.17.20@lodash/_baseFilter.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseFilter.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.20@lodash/_baseEach.js");t.exports=function(t,e){var n=[];return r(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}},"./node_modules/_lodash@4.17.20@lodash/_baseFindIndex.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseFindIndex.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayPush */"./node_modules/_lodash@4.17.20@lodash/_arrayPush.js"),i=n(/*! ./_isFlattenable */"./node_modules/_lodash@4.17.20@lodash/_isFlattenable.js");t.exports=function t(e,n,o,a,s){var u=-1,l=e.length;for(o||(o=i),s||(s=[]);++u<l;){var c=e[u];n>0&&o(c)?n>1?t(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},"./node_modules/_lodash@4.17.20@lodash/_baseFor.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseFor.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_createBaseFor */"./node_modules/_lodash@4.17.20@lodash/_createBaseFor.js")();t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFor */"./node_modules/_lodash@4.17.20@lodash/_baseFor.js"),i=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t,e){return t&&r(t,e,i)}},"./node_modules/_lodash@4.17.20@lodash/_baseGet.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseGet.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_castPath */"./node_modules/_lodash@4.17.20@lodash/_castPath.js"),i=n(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},"./node_modules/_lodash@4.17.20@lodash/_baseGetAllKeys.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseGetAllKeys.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayPush */"./node_modules/_lodash@4.17.20@lodash/_arrayPush.js"),i=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=n(/*! ./_getRawTag */"./node_modules/_lodash@4.17.20@lodash/_getRawTag.js"),o=n(/*! ./_objectToString */"./node_modules/_lodash@4.17.20@lodash/_objectToString.js"),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseGt.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseGt.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return t>e}},"./node_modules/_lodash@4.17.20@lodash/_baseHas.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseHas.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},"./node_modules/_lodash@4.17.20@lodash/_baseHasIn.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseHasIn.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseIndexOf.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIndexOf.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFindIndex */"./node_modules/_lodash@4.17.20@lodash/_baseFindIndex.js"),i=n(/*! ./_baseIsNaN */"./node_modules/_lodash@4.17.20@lodash/_baseIsNaN.js"),o=n(/*! ./_strictIndexOf */"./node_modules/_lodash@4.17.20@lodash/_strictIndexOf.js");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},"./node_modules/_lodash@4.17.20@lodash/_baseIsArguments.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsArguments.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsEqualDeep */"./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},"./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),i=n(/*! ./_equalArrays */"./node_modules/_lodash@4.17.20@lodash/_equalArrays.js"),o=n(/*! ./_equalByTag */"./node_modules/_lodash@4.17.20@lodash/_equalByTag.js"),a=n(/*! ./_equalObjects */"./node_modules/_lodash@4.17.20@lodash/_equalObjects.js"),s=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),u=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),l=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),c=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js"),f="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,h,p,v){var g=u(t),m=u(e),y=g?"[object Array]":s(t),_=m?"[object Array]":s(e),b=(y="[object Arguments]"==y?f:y)==f,x=(_="[object Arguments]"==_?f:_)==f,w=y==_;if(w&&l(t)){if(!l(e))return!1;g=!0,b=!1}if(w&&!b)return v||(v=new r),g||c(t)?i(t,e,n,h,p,v):o(t,e,y,n,h,p,v);if(!(1&n)){var j=b&&d.call(t,"__wrapped__"),S=x&&d.call(e,"__wrapped__");if(j||S){var O=j?t.value():t,k=S?e.value():e;return v||(v=new r),p(O,k,n,h,v)}}return!!w&&(v||(v=new r),a(t,e,n,h,p,v))}},"./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseIsMatch.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsMatch.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),i=n(/*! ./_baseIsEqual */"./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js");t.exports=function(t,e,n,o){var a=n.length,s=a,u=!o;if(null==t)return!s;for(t=Object(t);a--;){var l=n[a];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=n[a])[0],f=t[c],d=l[1];if(u&&l[2]){if(void 0===f&&!(c in t))return!1}else{var h=new r;if(o)var p=o(f,d,c,t,e,h);if(!(void 0===p?i(d,f,3,o,h):p))return!1}}return!0}},"./node_modules/_lodash@4.17.20@lodash/_baseIsNaN.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsNaN.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return t!=t}},"./node_modules/_lodash@4.17.20@lodash/_baseIsNative.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsNative.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),i=n(/*! ./_isMasked */"./node_modules/_lodash@4.17.20@lodash/_isMasked.js"),o=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),a=n(/*! ./_toSource */"./node_modules/_lodash@4.17.20@lodash/_toSource.js"),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?d:s).test(a(t))}},"./node_modules/_lodash@4.17.20@lodash/_baseIsSet.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsSet.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseIsTypedArray.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsTypedArray.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./isLength */"./node_modules/_lodash@4.17.20@lodash/isLength.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseMatches */"./node_modules/_lodash@4.17.20@lodash/_baseMatches.js"),i=n(/*! ./_baseMatchesProperty */"./node_modules/_lodash@4.17.20@lodash/_baseMatchesProperty.js"),o=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),s=n(/*! ./property */"./node_modules/_lodash@4.17.20@lodash/property.js");t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseKeys.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_isPrototype */"./node_modules/_lodash@4.17.20@lodash/_isPrototype.js"),i=n(/*! ./_nativeKeys */"./node_modules/_lodash@4.17.20@lodash/_nativeKeys.js"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"./node_modules/_lodash@4.17.20@lodash/_baseKeysIn.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseKeysIn.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),i=n(/*! ./_isPrototype */"./node_modules/_lodash@4.17.20@lodash/_isPrototype.js"),o=n(/*! ./_nativeKeysIn */"./node_modules/_lodash@4.17.20@lodash/_nativeKeysIn.js"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},"./node_modules/_lodash@4.17.20@lodash/_baseLt.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseLt.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return t<e}},"./node_modules/_lodash@4.17.20@lodash/_baseMap.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseMap.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.20@lodash/_baseEach.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},"./node_modules/_lodash@4.17.20@lodash/_baseMatches.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseMatches.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsMatch */"./node_modules/_lodash@4.17.20@lodash/_baseIsMatch.js"),i=n(/*! ./_getMatchData */"./node_modules/_lodash@4.17.20@lodash/_getMatchData.js"),o=n(/*! ./_matchesStrictComparable */"./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},"./node_modules/_lodash@4.17.20@lodash/_baseMatchesProperty.js":
- /*!*********************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseMatchesProperty.js ***!
- \*********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsEqual */"./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js"),i=n(/*! ./get */"./node_modules/_lodash@4.17.20@lodash/get.js"),o=n(/*! ./hasIn */"./node_modules/_lodash@4.17.20@lodash/hasIn.js"),a=n(/*! ./_isKey */"./node_modules/_lodash@4.17.20@lodash/_isKey.js"),s=n(/*! ./_isStrictComparable */"./node_modules/_lodash@4.17.20@lodash/_isStrictComparable.js"),u=n(/*! ./_matchesStrictComparable */"./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js"),l=n(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");t.exports=function(t,e){return a(t)&&s(e)?u(l(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},"./node_modules/_lodash@4.17.20@lodash/_baseMerge.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseMerge.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),i=n(/*! ./_assignMergeValue */"./node_modules/_lodash@4.17.20@lodash/_assignMergeValue.js"),o=n(/*! ./_baseFor */"./node_modules/_lodash@4.17.20@lodash/_baseFor.js"),a=n(/*! ./_baseMergeDeep */"./node_modules/_lodash@4.17.20@lodash/_baseMergeDeep.js"),s=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),u=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js"),l=n(/*! ./_safeGet */"./node_modules/_lodash@4.17.20@lodash/_safeGet.js");t.exports=function t(e,n,c,f,d){e!==n&&o(n,(function(o,u){if(d||(d=new r),s(o))a(e,n,u,c,t,f,d);else{var h=f?f(l(e,u),o,u+"",e,n,d):void 0;void 0===h&&(h=o),i(e,u,h)}}),u)}},"./node_modules/_lodash@4.17.20@lodash/_baseMergeDeep.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseMergeDeep.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assignMergeValue */"./node_modules/_lodash@4.17.20@lodash/_assignMergeValue.js"),i=n(/*! ./_cloneBuffer */"./node_modules/_lodash@4.17.20@lodash/_cloneBuffer.js"),o=n(/*! ./_cloneTypedArray */"./node_modules/_lodash@4.17.20@lodash/_cloneTypedArray.js"),a=n(/*! ./_copyArray */"./node_modules/_lodash@4.17.20@lodash/_copyArray.js"),s=n(/*! ./_initCloneObject */"./node_modules/_lodash@4.17.20@lodash/_initCloneObject.js"),u=n(/*! ./isArguments */"./node_modules/_lodash@4.17.20@lodash/isArguments.js"),l=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),c=n(/*! ./isArrayLikeObject */"./node_modules/_lodash@4.17.20@lodash/isArrayLikeObject.js"),f=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),d=n(/*! ./isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),h=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),p=n(/*! ./isPlainObject */"./node_modules/_lodash@4.17.20@lodash/isPlainObject.js"),v=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js"),g=n(/*! ./_safeGet */"./node_modules/_lodash@4.17.20@lodash/_safeGet.js"),m=n(/*! ./toPlainObject */"./node_modules/_lodash@4.17.20@lodash/toPlainObject.js");t.exports=function(t,e,n,y,_,b,x){var w=g(t,n),j=g(e,n),S=x.get(j);if(S)r(t,n,S);else{var O=b?b(w,j,n+"",t,e,x):void 0,k=void 0===O;if(k){var E=l(j),C=!E&&f(j),M=!E&&!C&&v(j);O=j,E||C||M?l(w)?O=w:c(w)?O=a(w):C?(k=!1,O=i(j,!0)):M?(k=!1,O=o(j,!0)):O=[]:p(j)||u(j)?(O=w,u(w)?O=m(w):h(w)&&!d(w)||(O=s(j))):k=!1}k&&(x.set(j,O),_(O,j,y,b,x),x.delete(j)),r(t,n,O)}}},"./node_modules/_lodash@4.17.20@lodash/_baseOrderBy.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseOrderBy.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js"),i=n(/*! ./_baseGet */"./node_modules/_lodash@4.17.20@lodash/_baseGet.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),a=n(/*! ./_baseMap */"./node_modules/_lodash@4.17.20@lodash/_baseMap.js"),s=n(/*! ./_baseSortBy */"./node_modules/_lodash@4.17.20@lodash/_baseSortBy.js"),u=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),l=n(/*! ./_compareMultiple */"./node_modules/_lodash@4.17.20@lodash/_compareMultiple.js"),c=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js"),f=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e,n){e=e.length?r(e,(function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[c];var d=-1;e=r(e,u(o));var h=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++d,value:t}}));return s(h,(function(t,e){return l(t,e,n)}))}},"./node_modules/_lodash@4.17.20@lodash/_basePick.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_basePick.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_basePickBy */"./node_modules/_lodash@4.17.20@lodash/_basePickBy.js"),i=n(/*! ./hasIn */"./node_modules/_lodash@4.17.20@lodash/hasIn.js");t.exports=function(t,e){return r(t,e,(function(e,n){return i(t,n)}))}},"./node_modules/_lodash@4.17.20@lodash/_basePickBy.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_basePickBy.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGet */"./node_modules/_lodash@4.17.20@lodash/_baseGet.js"),i=n(/*! ./_baseSet */"./node_modules/_lodash@4.17.20@lodash/_baseSet.js"),o=n(/*! ./_castPath */"./node_modules/_lodash@4.17.20@lodash/_castPath.js");t.exports=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var l=e[a],c=r(t,l);n(c,l)&&i(u,o(l,t),c)}return u}},"./node_modules/_lodash@4.17.20@lodash/_baseProperty.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseProperty.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"./node_modules/_lodash@4.17.20@lodash/_basePropertyDeep.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_basePropertyDeep.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGet */"./node_modules/_lodash@4.17.20@lodash/_baseGet.js");t.exports=function(t){return function(e){return r(e,t)}}},"./node_modules/_lodash@4.17.20@lodash/_baseRange.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseRange.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,i,o){for(var a=-1,s=r(n((e-t)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=t,t+=i;return u}},"./node_modules/_lodash@4.17.20@lodash/_baseReduce.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseReduce.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}},"./node_modules/_lodash@4.17.20@lodash/_baseRest.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseRest.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js"),i=n(/*! ./_overRest */"./node_modules/_lodash@4.17.20@lodash/_overRest.js"),o=n(/*! ./_setToString */"./node_modules/_lodash@4.17.20@lodash/_setToString.js");t.exports=function(t,e){return o(i(t,e,r),t+"")}},"./node_modules/_lodash@4.17.20@lodash/_baseSet.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseSet.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.20@lodash/_assignValue.js"),i=n(/*! ./_castPath */"./node_modules/_lodash@4.17.20@lodash/_castPath.js"),o=n(/*! ./_isIndex */"./node_modules/_lodash@4.17.20@lodash/_isIndex.js"),a=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),s=n(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");t.exports=function(t,e,n,u){if(!a(t))return t;for(var l=-1,c=(e=i(e,t)).length,f=c-1,d=t;null!=d&&++l<c;){var h=s(e[l]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(l!=f){var v=d[h];void 0===(p=u?u(v,h,d):void 0)&&(p=a(v)?v:o(e[l+1])?[]:{})}r(d,h,p),d=d[h]}return t}},"./node_modules/_lodash@4.17.20@lodash/_baseSetToString.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseSetToString.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./constant */"./node_modules/_lodash@4.17.20@lodash/constant.js"),i=n(/*! ./_defineProperty */"./node_modules/_lodash@4.17.20@lodash/_defineProperty.js"),o=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js"),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_baseSortBy.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseSortBy.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"./node_modules/_lodash@4.17.20@lodash/_baseTimes.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseTimes.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},"./node_modules/_lodash@4.17.20@lodash/_baseToString.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseToString.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),a=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js"),s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return u?u.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseUnary.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return function(e){return t(e)}}},"./node_modules/_lodash@4.17.20@lodash/_baseUniq.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseUniq.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_SetCache */"./node_modules/_lodash@4.17.20@lodash/_SetCache.js"),i=n(/*! ./_arrayIncludes */"./node_modules/_lodash@4.17.20@lodash/_arrayIncludes.js"),o=n(/*! ./_arrayIncludesWith */"./node_modules/_lodash@4.17.20@lodash/_arrayIncludesWith.js"),a=n(/*! ./_cacheHas */"./node_modules/_lodash@4.17.20@lodash/_cacheHas.js"),s=n(/*! ./_createSet */"./node_modules/_lodash@4.17.20@lodash/_createSet.js"),u=n(/*! ./_setToArray */"./node_modules/_lodash@4.17.20@lodash/_setToArray.js");t.exports=function(t,e,n){var l=-1,c=i,f=t.length,d=!0,h=[],p=h;if(n)d=!1,c=o;else if(f>=200){var v=e?null:s(t);if(v)return u(v);d=!1,c=a,p=new r}else p=e?[]:h;t:for(;++l<f;){var g=t[l],m=e?e(g):g;if(g=n||0!==g?g:0,d&&m==m){for(var y=p.length;y--;)if(p[y]===m)continue t;e&&p.push(m),h.push(g)}else c(p,m,n)||(p!==h&&p.push(m),h.push(g))}return h}},"./node_modules/_lodash@4.17.20@lodash/_baseValues.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseValues.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js");t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},"./node_modules/_lodash@4.17.20@lodash/_baseZipObject.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_baseZipObject.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:void 0;n(a,t[r],s)}return a}},"./node_modules/_lodash@4.17.20@lodash/_cacheHas.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cacheHas.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return t.has(e)}},"./node_modules/_lodash@4.17.20@lodash/_castFunction.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_castFunction.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js");t.exports=function(t){return"function"==typeof t?t:r}},"./node_modules/_lodash@4.17.20@lodash/_castPath.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_castPath.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),i=n(/*! ./_isKey */"./node_modules/_lodash@4.17.20@lodash/_isKey.js"),o=n(/*! ./_stringToPath */"./node_modules/_lodash@4.17.20@lodash/_stringToPath.js"),a=n(/*! ./toString */"./node_modules/_lodash@4.17.20@lodash/toString.js");t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},"./node_modules/_lodash@4.17.20@lodash/_cloneArrayBuffer.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneArrayBuffer.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Uint8Array */"./node_modules/_lodash@4.17.20@lodash/_Uint8Array.js");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},"./node_modules/_lodash@4.17.20@lodash/_cloneBuffer.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneBuffer.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){(function(t){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(/*! ./../_webpack@4.46.0@webpack/buildin/module.js */"./node_modules/_webpack@4.46.0@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.20@lodash/_cloneDataView.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneDataView.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_cloneArrayBuffer */"./node_modules/_lodash@4.17.20@lodash/_cloneArrayBuffer.js");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},"./node_modules/_lodash@4.17.20@lodash/_cloneRegExp.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneRegExp.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},"./node_modules/_lodash@4.17.20@lodash/_cloneSymbol.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneSymbol.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},"./node_modules/_lodash@4.17.20@lodash/_cloneTypedArray.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_cloneTypedArray.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_cloneArrayBuffer */"./node_modules/_lodash@4.17.20@lodash/_cloneArrayBuffer.js");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},"./node_modules/_lodash@4.17.20@lodash/_compareAscending.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_compareAscending.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js");t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,u=null===e,l=e==e,c=r(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!c&&t<e||c&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!l)return-1}return 0}},"./node_modules/_lodash@4.17.20@lodash/_compareMultiple.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_compareMultiple.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_compareAscending */"./node_modules/_lodash@4.17.20@lodash/_compareAscending.js");t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,u=n.length;++i<s;){var l=r(o[i],a[i]);if(l)return i>=u?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},"./node_modules/_lodash@4.17.20@lodash/_copyArray.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_copyArray.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},"./node_modules/_lodash@4.17.20@lodash/_copyObject.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_copyObject.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.20@lodash/_assignValue.js"),i=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js");t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var l=e[s],c=o?o(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),a?i(n,l,c):r(n,l,c)}return n}},"./node_modules/_lodash@4.17.20@lodash/_copySymbols.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_copySymbols.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),i=n(/*! ./_getSymbols */"./node_modules/_lodash@4.17.20@lodash/_getSymbols.js");t.exports=function(t,e){return r(t,i(t),e)}},"./node_modules/_lodash@4.17.20@lodash/_copySymbolsIn.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_copySymbolsIn.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),i=n(/*! ./_getSymbolsIn */"./node_modules/_lodash@4.17.20@lodash/_getSymbolsIn.js");t.exports=function(t,e){return r(t,i(t),e)}},"./node_modules/_lodash@4.17.20@lodash/_coreJsData.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_coreJsData.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js")["__core-js_shared__"];t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_createAssigner.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createAssigner.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),i=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js");t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var u=n[r];u&&t(e,u,r,a)}return e}))}},"./node_modules/_lodash@4.17.20@lodash/_createBaseEach.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createBaseEach.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},"./node_modules/_lodash@4.17.20@lodash/_createBaseFor.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createBaseFor.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}},"./node_modules/_lodash@4.17.20@lodash/_createFind.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createFind.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var u=r(n,3);e=o(e),n=function(t){return u(s[t],t,s)}}var l=t(e,n,a);return l>-1?s[u?e[l]:l]:void 0}}},"./node_modules/_lodash@4.17.20@lodash/_createRange.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createRange.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseRange */"./node_modules/_lodash@4.17.20@lodash/_baseRange.js"),i=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js"),o=n(/*! ./toFinite */"./node_modules/_lodash@4.17.20@lodash/toFinite.js");t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},"./node_modules/_lodash@4.17.20@lodash/_createSet.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_createSet.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Set */"./node_modules/_lodash@4.17.20@lodash/_Set.js"),i=n(/*! ./noop */"./node_modules/_lodash@4.17.20@lodash/noop.js"),o=n(/*! ./_setToArray */"./node_modules/_lodash@4.17.20@lodash/_setToArray.js"),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_defineProperty.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_defineProperty.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_equalArrays.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_equalArrays.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_SetCache */"./node_modules/_lodash@4.17.20@lodash/_SetCache.js"),i=n(/*! ./_arraySome */"./node_modules/_lodash@4.17.20@lodash/_arraySome.js"),o=n(/*! ./_cacheHas */"./node_modules/_lodash@4.17.20@lodash/_cacheHas.js");t.exports=function(t,e,n,a,s,u){var l=1&n,c=t.length,f=e.length;if(c!=f&&!(l&&f>c))return!1;var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var p=-1,v=!0,g=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++p<c;){var m=t[p],y=e[p];if(a)var _=l?a(y,m,p,e,t,u):a(m,y,p,t,e,u);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(e,(function(t,e){if(!o(g,e)&&(m===t||s(m,t,n,a,u)))return g.push(e)}))){v=!1;break}}else if(m!==y&&!s(m,y,n,a,u)){v=!1;break}}return u.delete(t),u.delete(e),v}},"./node_modules/_lodash@4.17.20@lodash/_equalByTag.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_equalByTag.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=n(/*! ./_Uint8Array */"./node_modules/_lodash@4.17.20@lodash/_Uint8Array.js"),o=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js"),a=n(/*! ./_equalArrays */"./node_modules/_lodash@4.17.20@lodash/_equalArrays.js"),s=n(/*! ./_mapToArray */"./node_modules/_lodash@4.17.20@lodash/_mapToArray.js"),u=n(/*! ./_setToArray */"./node_modules/_lodash@4.17.20@lodash/_setToArray.js"),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;t.exports=function(t,e,n,r,l,f,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=u),t.size!=e.size&&!p)return!1;var v=d.get(t);if(v)return v==e;r|=2,d.set(t,e);var g=a(h(t),h(e),r,l,f,d);return d.delete(t),g;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},"./node_modules/_lodash@4.17.20@lodash/_equalObjects.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_equalObjects.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getAllKeys */"./node_modules/_lodash@4.17.20@lodash/_getAllKeys.js"),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var u=1&n,l=r(t),c=l.length;if(c!=r(e).length&&!u)return!1;for(var f=c;f--;){var d=l[f];if(!(u?d in e:i.call(e,d)))return!1}var h=s.get(t),p=s.get(e);if(h&&p)return h==e&&p==t;var v=!0;s.set(t,e),s.set(e,t);for(var g=u;++f<c;){var m=t[d=l[f]],y=e[d];if(o)var _=u?o(y,m,d,e,t,s):o(m,y,d,t,e,s);if(!(void 0===_?m===y||a(m,y,n,o,s):_)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var b=t.constructor,x=e.constructor;b==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(v=!1)}return s.delete(t),s.delete(e),v}},"./node_modules/_lodash@4.17.20@lodash/_flatRest.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_flatRest.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./flatten */"./node_modules/_lodash@4.17.20@lodash/flatten.js"),i=n(/*! ./_overRest */"./node_modules/_lodash@4.17.20@lodash/_overRest.js"),o=n(/*! ./_setToString */"./node_modules/_lodash@4.17.20@lodash/_setToString.js");t.exports=function(t){return o(i(t,void 0,r),t+"")}},"./node_modules/_lodash@4.17.20@lodash/_freeGlobal.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_freeGlobal.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(/*! ./../_webpack@4.46.0@webpack/buildin/global.js */"./node_modules/_webpack@4.46.0@webpack/buildin/global.js"))},"./node_modules/_lodash@4.17.20@lodash/_getAllKeys.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getAllKeys.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetAllKeys */"./node_modules/_lodash@4.17.20@lodash/_baseGetAllKeys.js"),i=n(/*! ./_getSymbols */"./node_modules/_lodash@4.17.20@lodash/_getSymbols.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t){return r(t,o,i)}},"./node_modules/_lodash@4.17.20@lodash/_getAllKeysIn.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getAllKeysIn.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetAllKeys */"./node_modules/_lodash@4.17.20@lodash/_baseGetAllKeys.js"),i=n(/*! ./_getSymbolsIn */"./node_modules/_lodash@4.17.20@lodash/_getSymbolsIn.js"),o=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js");t.exports=function(t){return r(t,o,i)}},"./node_modules/_lodash@4.17.20@lodash/_getMapData.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getMapData.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_isKeyable */"./node_modules/_lodash@4.17.20@lodash/_isKeyable.js");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},"./node_modules/_lodash@4.17.20@lodash/_getMatchData.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getMatchData.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_isStrictComparable */"./node_modules/_lodash@4.17.20@lodash/_isStrictComparable.js"),i=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},"./node_modules/_lodash@4.17.20@lodash/_getNative.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getNative.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsNative */"./node_modules/_lodash@4.17.20@lodash/_baseIsNative.js"),i=n(/*! ./_getValue */"./node_modules/_lodash@4.17.20@lodash/_getValue.js");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getPrototype.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_overArg */"./node_modules/_lodash@4.17.20@lodash/_overArg.js")(Object.getPrototypeOf,Object);t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_getRawTag.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getRawTag.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},"./node_modules/_lodash@4.17.20@lodash/_getSymbols.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getSymbols.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayFilter */"./node_modules/_lodash@4.17.20@lodash/_arrayFilter.js"),i=n(/*! ./stubArray */"./node_modules/_lodash@4.17.20@lodash/stubArray.js"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},"./node_modules/_lodash@4.17.20@lodash/_getSymbolsIn.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getSymbolsIn.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayPush */"./node_modules/_lodash@4.17.20@lodash/_arrayPush.js"),i=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),o=n(/*! ./_getSymbols */"./node_modules/_lodash@4.17.20@lodash/_getSymbols.js"),a=n(/*! ./stubArray */"./node_modules/_lodash@4.17.20@lodash/stubArray.js"),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=s},"./node_modules/_lodash@4.17.20@lodash/_getTag.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getTag.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_DataView */"./node_modules/_lodash@4.17.20@lodash/_DataView.js"),i=n(/*! ./_Map */"./node_modules/_lodash@4.17.20@lodash/_Map.js"),o=n(/*! ./_Promise */"./node_modules/_lodash@4.17.20@lodash/_Promise.js"),a=n(/*! ./_Set */"./node_modules/_lodash@4.17.20@lodash/_Set.js"),s=n(/*! ./_WeakMap */"./node_modules/_lodash@4.17.20@lodash/_WeakMap.js"),u=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),l=n(/*! ./_toSource */"./node_modules/_lodash@4.17.20@lodash/_toSource.js"),c=l(r),f=l(i),d=l(o),h=l(a),p=l(s),v=u;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=v},"./node_modules/_lodash@4.17.20@lodash/_getValue.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_getValue.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},"./node_modules/_lodash@4.17.20@lodash/_hasPath.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hasPath.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_castPath */"./node_modules/_lodash@4.17.20@lodash/_castPath.js"),i=n(/*! ./isArguments */"./node_modules/_lodash@4.17.20@lodash/isArguments.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),a=n(/*! ./_isIndex */"./node_modules/_lodash@4.17.20@lodash/_isIndex.js"),s=n(/*! ./isLength */"./node_modules/_lodash@4.17.20@lodash/isLength.js"),u=n(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");t.exports=function(t,e,n){for(var l=-1,c=(e=r(e,t)).length,f=!1;++l<c;){var d=u(e[l]);if(!(f=null!=t&&n(t,d)))break;t=t[d]}return f||++l!=c?f:!!(c=null==t?0:t.length)&&s(c)&&a(d,c)&&(o(t)||i(t))}},"./node_modules/_lodash@4.17.20@lodash/_hasUnicode.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hasUnicode.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},"./node_modules/_lodash@4.17.20@lodash/_hashClear.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hashClear.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_nativeCreate */"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},"./node_modules/_lodash@4.17.20@lodash/_hashDelete.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hashDelete.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},"./node_modules/_lodash@4.17.20@lodash/_hashGet.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hashGet.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_nativeCreate */"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},"./node_modules/_lodash@4.17.20@lodash/_hashHas.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hashHas.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_nativeCreate */"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},"./node_modules/_lodash@4.17.20@lodash/_hashSet.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_hashSet.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_nativeCreate */"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js");t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},"./node_modules/_lodash@4.17.20@lodash/_initCloneArray.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_initCloneArray.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},"./node_modules/_lodash@4.17.20@lodash/_initCloneByTag.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_initCloneByTag.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_cloneArrayBuffer */"./node_modules/_lodash@4.17.20@lodash/_cloneArrayBuffer.js"),i=n(/*! ./_cloneDataView */"./node_modules/_lodash@4.17.20@lodash/_cloneDataView.js"),o=n(/*! ./_cloneRegExp */"./node_modules/_lodash@4.17.20@lodash/_cloneRegExp.js"),a=n(/*! ./_cloneSymbol */"./node_modules/_lodash@4.17.20@lodash/_cloneSymbol.js"),s=n(/*! ./_cloneTypedArray */"./node_modules/_lodash@4.17.20@lodash/_cloneTypedArray.js");t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},"./node_modules/_lodash@4.17.20@lodash/_initCloneObject.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_initCloneObject.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseCreate */"./node_modules/_lodash@4.17.20@lodash/_baseCreate.js"),i=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),o=n(/*! ./_isPrototype */"./node_modules/_lodash@4.17.20@lodash/_isPrototype.js");t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},"./node_modules/_lodash@4.17.20@lodash/_isFlattenable.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isFlattenable.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Symbol */"./node_modules/_lodash@4.17.20@lodash/_Symbol.js"),i=n(/*! ./isArguments */"./node_modules/_lodash@4.17.20@lodash/isArguments.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},"./node_modules/_lodash@4.17.20@lodash/_isIndex.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isIndex.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),o=n(/*! ./_isIndex */"./node_modules/_lodash@4.17.20@lodash/_isIndex.js"),a=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js");t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},"./node_modules/_lodash@4.17.20@lodash/_isKey.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isKey.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),i=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},"./node_modules/_lodash@4.17.20@lodash/_isKeyable.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isKeyable.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"./node_modules/_lodash@4.17.20@lodash/_isMasked.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isMasked.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r,i=n(/*! ./_coreJsData */"./node_modules/_lodash@4.17.20@lodash/_coreJsData.js"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},"./node_modules/_lodash@4.17.20@lodash/_isPrototype.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isPrototype.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"./node_modules/_lodash@4.17.20@lodash/_isStrictComparable.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_isStrictComparable.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js");t.exports=function(t){return t==t&&!r(t)}},"./node_modules/_lodash@4.17.20@lodash/_listCacheClear.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheClear.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(){this.__data__=[],this.size=0}},"./node_modules/_lodash@4.17.20@lodash/_listCacheDelete.js":
- /*!*****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheDelete.js ***!
- \*****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js"),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},"./node_modules/_lodash@4.17.20@lodash/_listCacheGet.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheGet.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},"./node_modules/_lodash@4.17.20@lodash/_listCacheHas.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheHas.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js");t.exports=function(t){return r(this.__data__,t)>-1}},"./node_modules/_lodash@4.17.20@lodash/_listCacheSet.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheSet.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js");t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},"./node_modules/_lodash@4.17.20@lodash/_mapCacheClear.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheClear.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_Hash */"./node_modules/_lodash@4.17.20@lodash/_Hash.js"),i=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js"),o=n(/*! ./_Map */"./node_modules/_lodash@4.17.20@lodash/_Map.js");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},"./node_modules/_lodash@4.17.20@lodash/_mapCacheDelete.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheDelete.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},"./node_modules/_lodash@4.17.20@lodash/_mapCacheGet.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheGet.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");t.exports=function(t){return r(this,t).get(t)}},"./node_modules/_lodash@4.17.20@lodash/_mapCacheHas.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheHas.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");t.exports=function(t){return r(this,t).has(t)}},"./node_modules/_lodash@4.17.20@lodash/_mapCacheSet.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheSet.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},"./node_modules/_lodash@4.17.20@lodash/_mapToArray.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_mapToArray.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},"./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js":
- /*!*************************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js ***!
- \*************************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},"./node_modules/_lodash@4.17.20@lodash/_memoizeCapped.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_memoizeCapped.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./memoize */"./node_modules/_lodash@4.17.20@lodash/memoize.js");t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js")(Object,"create");t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_nativeKeys.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_nativeKeys.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_overArg */"./node_modules/_lodash@4.17.20@lodash/_overArg.js")(Object.keys,Object);t.exports=r},"./node_modules/_lodash@4.17.20@lodash/_nativeKeysIn.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_nativeKeysIn.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){(function(t){var r=n(/*! ./_freeGlobal */"./node_modules/_lodash@4.17.20@lodash/_freeGlobal.js"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n(/*! ./../_webpack@4.46.0@webpack/buildin/module.js */"./node_modules/_webpack@4.46.0@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.20@lodash/_objectToString.js":
- /*!****************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_objectToString.js ***!
- \****************************************************************/
- /*! no static exports found */function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},"./node_modules/_lodash@4.17.20@lodash/_overArg.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_overArg.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},"./node_modules/_lodash@4.17.20@lodash/_overRest.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_overRest.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_apply */"./node_modules/_lodash@4.17.20@lodash/_apply.js"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a<s;)u[a]=o[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=n(u),r(t,this,l)}}},"./node_modules/_lodash@4.17.20@lodash/_root.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_root.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_freeGlobal */"./node_modules/_lodash@4.17.20@lodash/_freeGlobal.js"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_safeGet.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_safeGet.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"./node_modules/_lodash@4.17.20@lodash/_setCacheAdd.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_setCacheAdd.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},"./node_modules/_lodash@4.17.20@lodash/_setCacheHas.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_setCacheHas.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return this.__data__.has(t)}},"./node_modules/_lodash@4.17.20@lodash/_setToArray.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_setToArray.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},"./node_modules/_lodash@4.17.20@lodash/_setToString.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_setToString.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseSetToString */"./node_modules/_lodash@4.17.20@lodash/_baseSetToString.js"),i=n(/*! ./_shortOut */"./node_modules/_lodash@4.17.20@lodash/_shortOut.js")(r);t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_shortOut.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_shortOut.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"./node_modules/_lodash@4.17.20@lodash/_stackClear.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stackClear.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js");t.exports=function(){this.__data__=new r,this.size=0}},"./node_modules/_lodash@4.17.20@lodash/_stackDelete.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stackDelete.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},"./node_modules/_lodash@4.17.20@lodash/_stackGet.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stackGet.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return this.__data__.get(t)}},"./node_modules/_lodash@4.17.20@lodash/_stackHas.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stackHas.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return this.__data__.has(t)}},"./node_modules/_lodash@4.17.20@lodash/_stackSet.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stackSet.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js"),i=n(/*! ./_Map */"./node_modules/_lodash@4.17.20@lodash/_Map.js"),o=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.20@lodash/_MapCache.js");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},"./node_modules/_lodash@4.17.20@lodash/_strictIndexOf.js":
- /*!***************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_strictIndexOf.js ***!
- \***************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},"./node_modules/_lodash@4.17.20@lodash/_stringSize.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stringSize.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_asciiSize */"./node_modules/_lodash@4.17.20@lodash/_asciiSize.js"),i=n(/*! ./_hasUnicode */"./node_modules/_lodash@4.17.20@lodash/_hasUnicode.js"),o=n(/*! ./_unicodeSize */"./node_modules/_lodash@4.17.20@lodash/_unicodeSize.js");t.exports=function(t){return i(t)?o(t):r(t)}},"./node_modules/_lodash@4.17.20@lodash/_stringToPath.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_stringToPath.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_memoizeCapped */"./node_modules/_lodash@4.17.20@lodash/_memoizeCapped.js"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_toKey.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_toKey.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},"./node_modules/_lodash@4.17.20@lodash/_toSource.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_toSource.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"./node_modules/_lodash@4.17.20@lodash/_unicodeSize.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/_unicodeSize.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+i+")?",l="[\\ufe0e\\ufe0f]?"+u+"(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*",c="(?:"+[o+r+"?",r,a,s,n].join("|")+")",f=RegExp(i+"(?="+i+")|"+c+l,"g");t.exports=function(t){for(var e=f.lastIndex=0;f.test(t);)++e;return e}},"./node_modules/_lodash@4.17.20@lodash/clone.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/clone.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseClone */"./node_modules/_lodash@4.17.20@lodash/_baseClone.js");t.exports=function(t){return r(t,4)}},"./node_modules/_lodash@4.17.20@lodash/cloneDeep.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/cloneDeep.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseClone */"./node_modules/_lodash@4.17.20@lodash/_baseClone.js");t.exports=function(t){return r(t,5)}},"./node_modules/_lodash@4.17.20@lodash/constant.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/constant.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return function(){return t}}},"./node_modules/_lodash@4.17.20@lodash/defaults.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/defaults.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),i=n(/*! ./eq */"./node_modules/_lodash@4.17.20@lodash/eq.js"),o=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js"),a=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js"),s=Object.prototype,u=s.hasOwnProperty,l=r((function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&o(e[0],e[1],l)&&(r=1);++n<r;)for(var c=e[n],f=a(c),d=-1,h=f.length;++d<h;){var p=f[d],v=t[p];(void 0===v||i(v,s[p])&&!u.call(t,p))&&(t[p]=c[p])}return t}));t.exports=l},"./node_modules/_lodash@4.17.20@lodash/each.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/each.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){t.exports=n(/*! ./forEach */"./node_modules/_lodash@4.17.20@lodash/forEach.js")},"./node_modules/_lodash@4.17.20@lodash/eq.js":
- /*!***************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/eq.js ***!
- \***************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},"./node_modules/_lodash@4.17.20@lodash/filter.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/filter.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayFilter */"./node_modules/_lodash@4.17.20@lodash/_arrayFilter.js"),i=n(/*! ./_baseFilter */"./node_modules/_lodash@4.17.20@lodash/_baseFilter.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},"./node_modules/_lodash@4.17.20@lodash/find.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/find.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_createFind */"./node_modules/_lodash@4.17.20@lodash/_createFind.js")(n(/*! ./findIndex */"./node_modules/_lodash@4.17.20@lodash/findIndex.js"));t.exports=r},"./node_modules/_lodash@4.17.20@lodash/findIndex.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/findIndex.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFindIndex */"./node_modules/_lodash@4.17.20@lodash/_baseFindIndex.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),o=n(/*! ./toInteger */"./node_modules/_lodash@4.17.20@lodash/toInteger.js"),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(t,i(e,3),u)}},"./node_modules/_lodash@4.17.20@lodash/flatten.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/flatten.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},"./node_modules/_lodash@4.17.20@lodash/forEach.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/forEach.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayEach */"./node_modules/_lodash@4.17.20@lodash/_arrayEach.js"),i=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.20@lodash/_baseEach.js"),o=n(/*! ./_castFunction */"./node_modules/_lodash@4.17.20@lodash/_castFunction.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},"./node_modules/_lodash@4.17.20@lodash/forIn.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/forIn.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFor */"./node_modules/_lodash@4.17.20@lodash/_baseFor.js"),i=n(/*! ./_castFunction */"./node_modules/_lodash@4.17.20@lodash/_castFunction.js"),o=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js");t.exports=function(t,e){return null==t?t:r(t,i(e),o)}},"./node_modules/_lodash@4.17.20@lodash/get.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/get.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGet */"./node_modules/_lodash@4.17.20@lodash/_baseGet.js");t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},"./node_modules/_lodash@4.17.20@lodash/has.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/has.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseHas */"./node_modules/_lodash@4.17.20@lodash/_baseHas.js"),i=n(/*! ./_hasPath */"./node_modules/_lodash@4.17.20@lodash/_hasPath.js");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"./node_modules/_lodash@4.17.20@lodash/hasIn.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/hasIn.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseHasIn */"./node_modules/_lodash@4.17.20@lodash/_baseHasIn.js"),i=n(/*! ./_hasPath */"./node_modules/_lodash@4.17.20@lodash/_hasPath.js");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"./node_modules/_lodash@4.17.20@lodash/identity.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/identity.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return t}},"./node_modules/_lodash@4.17.20@lodash/isArguments.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isArguments.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsArguments */"./node_modules/_lodash@4.17.20@lodash/_baseIsArguments.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},"./node_modules/_lodash@4.17.20@lodash/isArray.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isArray.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e){var n=Array.isArray;t.exports=n},"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isArrayLike.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),i=n(/*! ./isLength */"./node_modules/_lodash@4.17.20@lodash/isLength.js");t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},"./node_modules/_lodash@4.17.20@lodash/isArrayLikeObject.js":
- /*!******************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isArrayLikeObject.js ***!
- \******************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return i(t)&&r(t)}},"./node_modules/_lodash@4.17.20@lodash/isBuffer.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isBuffer.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){(function(t){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),i=n(/*! ./stubFalse */"./node_modules/_lodash@4.17.20@lodash/stubFalse.js"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;t.exports=u}).call(this,n(/*! ./../_webpack@4.46.0@webpack/buildin/module.js */"./node_modules/_webpack@4.46.0@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.20@lodash/isEmpty.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isEmpty.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js"),i=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),o=n(/*! ./isArguments */"./node_modules/_lodash@4.17.20@lodash/isArguments.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),s=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),u=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),l=n(/*! ./_isPrototype */"./node_modules/_lodash@4.17.20@lodash/_isPrototype.js"),c=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js"),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||c(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(f.call(t,n))return!1;return!0}},"./node_modules/_lodash@4.17.20@lodash/isFunction.js":
- /*!***********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isFunction.js ***!
- \***********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js");t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},"./node_modules/_lodash@4.17.20@lodash/isLength.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isLength.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},"./node_modules/_lodash@4.17.20@lodash/isMap.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isMap.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsMap */"./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js"),i=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),o=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=o&&o.isMap,s=a?i(a):r;t.exports=s},"./node_modules/_lodash@4.17.20@lodash/isObject.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isObject.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isObjectLike.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},"./node_modules/_lodash@4.17.20@lodash/isPlainObject.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isPlainObject.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},"./node_modules/_lodash@4.17.20@lodash/isSet.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isSet.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsSet */"./node_modules/_lodash@4.17.20@lodash/_baseIsSet.js"),i=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),o=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=o&&o.isSet,s=a?i(a):r;t.exports=s},"./node_modules/_lodash@4.17.20@lodash/isString.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isString.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},"./node_modules/_lodash@4.17.20@lodash/isSymbol.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isSymbol.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js":
- /*!*************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isTypedArray.js ***!
- \*************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsTypedArray */"./node_modules/_lodash@4.17.20@lodash/_baseIsTypedArray.js"),i=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),o=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},"./node_modules/_lodash@4.17.20@lodash/isUndefined.js":
- /*!************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/isUndefined.js ***!
- \************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return void 0===t}},"./node_modules/_lodash@4.17.20@lodash/keys.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/keys.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js"),i=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js"),o=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");t.exports=function(t){return o(t)?r(t):i(t)}},"./node_modules/_lodash@4.17.20@lodash/keysIn.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/keysIn.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js"),i=n(/*! ./_baseKeysIn */"./node_modules/_lodash@4.17.20@lodash/_baseKeysIn.js"),o=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");t.exports=function(t){return o(t)?r(t,!0):i(t)}},"./node_modules/_lodash@4.17.20@lodash/last.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/last.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},"./node_modules/_lodash@4.17.20@lodash/map.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/map.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),o=n(/*! ./_baseMap */"./node_modules/_lodash@4.17.20@lodash/_baseMap.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},"./node_modules/_lodash@4.17.20@lodash/mapValues.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/mapValues.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js"),i=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js");t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}},"./node_modules/_lodash@4.17.20@lodash/max.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/max.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),i=n(/*! ./_baseGt */"./node_modules/_lodash@4.17.20@lodash/_baseGt.js"),o=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},"./node_modules/_lodash@4.17.20@lodash/memoize.js":
- /*!********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/memoize.js ***!
- \********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.20@lodash/_MapCache.js");function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},"./node_modules/_lodash@4.17.20@lodash/merge.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/merge.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseMerge */"./node_modules/_lodash@4.17.20@lodash/_baseMerge.js"),i=n(/*! ./_createAssigner */"./node_modules/_lodash@4.17.20@lodash/_createAssigner.js")((function(t,e,n){r(t,e,n)}));t.exports=i},"./node_modules/_lodash@4.17.20@lodash/min.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/min.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),i=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.20@lodash/_baseLt.js"),o=n(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},"./node_modules/_lodash@4.17.20@lodash/minBy.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/minBy.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),o=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.20@lodash/_baseLt.js");t.exports=function(t,e){return t&&t.length?r(t,i(e,2),o):void 0}},"./node_modules/_lodash@4.17.20@lodash/noop.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/noop.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e){t.exports=function(){}},"./node_modules/_lodash@4.17.20@lodash/now.js":
- /*!****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/now.js ***!
- \****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js");t.exports=function(){return r.Date.now()}},"./node_modules/_lodash@4.17.20@lodash/pick.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/pick.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_basePick */"./node_modules/_lodash@4.17.20@lodash/_basePick.js"),i=n(/*! ./_flatRest */"./node_modules/_lodash@4.17.20@lodash/_flatRest.js")((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},"./node_modules/_lodash@4.17.20@lodash/property.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/property.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseProperty */"./node_modules/_lodash@4.17.20@lodash/_baseProperty.js"),i=n(/*! ./_basePropertyDeep */"./node_modules/_lodash@4.17.20@lodash/_basePropertyDeep.js"),o=n(/*! ./_isKey */"./node_modules/_lodash@4.17.20@lodash/_isKey.js"),a=n(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");t.exports=function(t){return o(t)?r(a(t)):i(t)}},"./node_modules/_lodash@4.17.20@lodash/range.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/range.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_createRange */"./node_modules/_lodash@4.17.20@lodash/_createRange.js")();t.exports=r},"./node_modules/_lodash@4.17.20@lodash/reduce.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/reduce.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayReduce */"./node_modules/_lodash@4.17.20@lodash/_arrayReduce.js"),i=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.20@lodash/_baseEach.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),a=n(/*! ./_baseReduce */"./node_modules/_lodash@4.17.20@lodash/_baseReduce.js"),s=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");t.exports=function(t,e,n){var u=s(t)?r:a,l=arguments.length<3;return u(t,o(e,4),n,l,i)}},"./node_modules/_lodash@4.17.20@lodash/size.js":
- /*!*****************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/size.js ***!
- \*****************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js"),i=n(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),o=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),a=n(/*! ./isString */"./node_modules/_lodash@4.17.20@lodash/isString.js"),s=n(/*! ./_stringSize */"./node_modules/_lodash@4.17.20@lodash/_stringSize.js");t.exports=function(t){if(null==t)return 0;if(o(t))return a(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},"./node_modules/_lodash@4.17.20@lodash/sortBy.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/sortBy.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js"),i=n(/*! ./_baseOrderBy */"./node_modules/_lodash@4.17.20@lodash/_baseOrderBy.js"),o=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),a=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js"),s=o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=s},"./node_modules/_lodash@4.17.20@lodash/stubArray.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/stubArray.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(){return[]}},"./node_modules/_lodash@4.17.20@lodash/stubFalse.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/stubFalse.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e){t.exports=function(){return!1}},"./node_modules/_lodash@4.17.20@lodash/toFinite.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/toFinite.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./toNumber */"./node_modules/_lodash@4.17.20@lodash/toNumber.js");t.exports=function(t){return t?(t=r(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},"./node_modules/_lodash@4.17.20@lodash/toInteger.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/toInteger.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./toFinite */"./node_modules/_lodash@4.17.20@lodash/toFinite.js");t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},"./node_modules/_lodash@4.17.20@lodash/toNumber.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/toNumber.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),i=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js"),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=s.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):a.test(t)?NaN:+t}},"./node_modules/_lodash@4.17.20@lodash/toPlainObject.js":
- /*!**************************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/toPlainObject.js ***!
- \**************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),i=n(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js");t.exports=function(t){return r(t,i(t))}},"./node_modules/_lodash@4.17.20@lodash/toString.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/toString.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseToString */"./node_modules/_lodash@4.17.20@lodash/_baseToString.js");t.exports=function(t){return null==t?"":r(t)}},"./node_modules/_lodash@4.17.20@lodash/transform.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/transform.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayEach */"./node_modules/_lodash@4.17.20@lodash/_arrayEach.js"),i=n(/*! ./_baseCreate */"./node_modules/_lodash@4.17.20@lodash/_baseCreate.js"),o=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js"),a=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),s=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),u=n(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),l=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),c=n(/*! ./isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),f=n(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),d=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js");t.exports=function(t,e,n){var h=u(t),p=h||l(t)||d(t);if(e=a(e,4),null==n){var v=t&&t.constructor;n=p?h?new v:[]:f(t)&&c(v)?i(s(t)):{}}return(p?r:o)(t,(function(t,r,i){return e(n,t,r,i)})),n}},"./node_modules/_lodash@4.17.20@lodash/union.js":
- /*!******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/union.js ***!
- \******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js"),i=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),o=n(/*! ./_baseUniq */"./node_modules/_lodash@4.17.20@lodash/_baseUniq.js"),a=n(/*! ./isArrayLikeObject */"./node_modules/_lodash@4.17.20@lodash/isArrayLikeObject.js"),s=i((function(t){return o(r(t,1,a,!0))}));t.exports=s},"./node_modules/_lodash@4.17.20@lodash/uniqueId.js":
- /*!*********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/uniqueId.js ***!
- \*********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./toString */"./node_modules/_lodash@4.17.20@lodash/toString.js"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},"./node_modules/_lodash@4.17.20@lodash/values.js":
- /*!*******************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/values.js ***!
- \*******************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseValues */"./node_modules/_lodash@4.17.20@lodash/_baseValues.js"),i=n(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");t.exports=function(t){return null==t?[]:r(t,i(t))}},"./node_modules/_lodash@4.17.20@lodash/zipObject.js":
- /*!**********************************************************!*\
- !*** ./node_modules/_lodash@4.17.20@lodash/zipObject.js ***!
- \**********************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.20@lodash/_assignValue.js"),i=n(/*! ./_baseZipObject */"./node_modules/_lodash@4.17.20@lodash/_baseZipObject.js");t.exports=function(t,e){return i(t||[],e||[],r)}},"./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js":
- /*!********************************************************************!*\
- !*** ./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js ***!
- \********************************************************************/
- /*! no static exports found */function(t,e){t.exports=function(t){var e=[];return t.replace(r,(function(t,r,o){var a=r.toLowerCase();for(o=function(t){var e=t.match(i);return e?e.map(Number):[]}(o),"m"==a&&o.length>2&&(e.push([r].concat(o.splice(0,2))),a="l",r="m"==r?"l":"L");;){if(o.length==n[a])return o.unshift(r),e.push(o);if(o.length<n[a])throw new Error("malformed path data");e.push([r].concat(o.splice(0,n[a])))}})),e};var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi,i=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi},"./node_modules/_point-at-length@1.1.0@point-at-length/index.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_point-at-length@1.1.0@point-at-length/index.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){var r=n(/*! parse-svg-path */"./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js"),i=n(/*! isarray */"./node_modules/_isarray@0.0.1@isarray/index.js"),o=n(/*! abs-svg-path */"./node_modules/_abs-svg-path@0.1.1@abs-svg-path/index.js");function a(t){if(!(this instanceof a))return new a(t);this._path=i(t)?t:r(t),this._path=o(this._path),this._path=function(t){for(var e,n=[],r=["L",0,0],i=0,o=t.length;i<o;i++){var a=t[i];switch(a[0]){case"M":r=["L",a[1],a[2]],n.push(a);break;case"Z":n.push(r);break;case"H":e=n[n.length-1]||["L",0,0],n.push(["L",a[1],e[e.length-1]]);break;case"V":e=n[n.length-1]||["L",0,0],n.push(["L",e[e.length-2],a[1]]);break;default:n.push(a)}}return n}(this._path),this._path=function(t){for(var e,n=0,r=0,i={S:{to:"C",x:3},T:{to:"Q",x:1}},o=0,a=t.length;o<a;o++){var s=t[o],u=i[s[0]];u&&(s[0]=u.to,e&&(e[0]===u.to?(n=2*e[u.x+2]-e[u.x],r=2*e[u.x+3]-e[u.x+1]):(n=e[e.length-2],r=e[e.length-1])),s.splice(1,0,n,r)),e=s}return t}(this._path)}function s(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}t.exports=a,a.prototype.at=function(t,e){return this._walk(t,e).pos},a.prototype.length=function(){return this._walk(null).length},a.prototype._walk=function(t,e){for(var n=[0,0],r=[0,0,0],i=[0,0],o=0,a=0;a<this._path.length;a++){var u=this._path[a];if("M"===u[0]){if(n[0]=u[1],n[1]=u[2],0===t)return{length:o,pos:n}}else if("C"===u[0]){r[0]=i[0]=n[0],r[1]=i[1]=n[1],r[2]=o;for(var l=100,c=0;c<=l;c++){var f=v(u,p=c/l),d=g(u,p);if(o+=s(n[0],n[1],f,d),n[0]=f,n[1]=d,"number"==typeof t&&o>=t){var h=(o-t)/(o-r[2]);return{length:o,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]}}r[0]=n[0],r[1]=n[1],r[2]=o}}else if("Q"===u[0])for(r[0]=i[0]=n[0],r[1]=i[1]=n[1],r[2]=o,l=100,c=0;c<=l;c++){var p;if(f=m(u,p=c/l),d=y(u,p),o+=s(n[0],n[1],f,d),n[0]=f,n[1]=d,"number"==typeof t&&o>=t)return h=(o-t)/(o-r[2]),{length:o,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]};r[0]=n[0],r[1]=n[1],r[2]=o}else if("L"===u[0]){if(r[0]=n[0],r[1]=n[1],r[2]=o,o+=s(n[0],n[1],u[1],u[2]),n[0]=u[1],n[1]=u[2],"number"==typeof t&&o>=t)return h=(o-t)/(o-r[2]),{length:o,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]};r[0]=n[0],r[1]=n[1],r[2]=o}}return{length:o,pos:n};function v(t,e){return Math.pow(1-e,3)*i[0]+3*Math.pow(1-e,2)*e*t[1]+3*(1-e)*Math.pow(e,2)*t[3]+Math.pow(e,3)*t[5]}function g(t,e){return Math.pow(1-e,3)*i[1]+3*Math.pow(1-e,2)*e*t[2]+3*(1-e)*Math.pow(e,2)*t[4]+Math.pow(e,3)*t[6]}function m(t,e){return Math.pow(1-e,2)*i[0]+2*(1-e)*e*t[1]+Math.pow(e,2)*t[3]}function y(t,e){return Math.pow(1-e,2)*i[1]+2*(1-e)*e*t[2]+Math.pow(e,2)*t[4]}}},"./node_modules/_regression@2.0.1@regression/dist/regression.js":
- /*!**********************************************************************!*\
- !*** ./node_modules/_regression@2.0.1@regression/dist/regression.js ***!
- \**********************************************************************/
- /*! no static exports found */function(t,e,n){var r,i,o;i=[t],void 0===(o="function"==typeof(r=function(t){"use strict";var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function n(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r={order:2,precision:2,period:null};function i(t,e){var n=[],r=[];t.forEach((function(t,i){null!==t[1]&&(r.push(t),n.push(e[i]))}));var i=r.reduce((function(t,e){return t+e[1]}),0)/r.length,o=r.reduce((function(t,e){var n=e[1]-i;return t+n*n}),0);return 1-r.reduce((function(t,e,r){var i=n[r],o=e[1]-i[1];return t+o*o}),0)/o}function o(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}var a={linear:function(t,e){for(var n=[0,0,0,0,0],r=0,a=0;a<t.length;a++)null!==t[a][1]&&(r++,n[0]+=t[a][0],n[1]+=t[a][1],n[2]+=t[a][0]*t[a][0],n[3]+=t[a][0]*t[a][1],n[4]+=t[a][1]*t[a][1]);var s=r*n[2]-n[0]*n[0],u=r*n[3]-n[0]*n[1],l=0===s?0:o(u/s,e.precision),c=o(n[1]/r-l*n[0]/r,e.precision),f=function(t){return[o(t,e.precision),o(l*t+c,e.precision)]},d=t.map((function(t){return f(t[0])}));return{points:d,predict:f,equation:[l,c],r2:o(i(t,d),e.precision),string:0===c?"y = "+l+"x":"y = "+l+"x + "+c}},exponential:function(t,e){for(var n=[0,0,0,0,0,0],r=0;r<t.length;r++)null!==t[r][1]&&(n[0]+=t[r][0],n[1]+=t[r][1],n[2]+=t[r][0]*t[r][0]*t[r][1],n[3]+=t[r][1]*Math.log(t[r][1]),n[4]+=t[r][0]*t[r][1]*Math.log(t[r][1]),n[5]+=t[r][0]*t[r][1]);var a=n[1]*n[2]-n[5]*n[5],s=Math.exp((n[2]*n[3]-n[5]*n[4])/a),u=(n[1]*n[4]-n[5]*n[3])/a,l=o(s,e.precision),c=o(u,e.precision),f=function(t){return[o(t,e.precision),o(l*Math.exp(c*t),e.precision)]},d=t.map((function(t){return f(t[0])}));return{points:d,predict:f,equation:[l,c],string:"y = "+l+"e^("+c+"x)",r2:o(i(t,d),e.precision)}},logarithmic:function(t,e){for(var n=[0,0,0,0],r=t.length,a=0;a<r;a++)null!==t[a][1]&&(n[0]+=Math.log(t[a][0]),n[1]+=t[a][1]*Math.log(t[a][0]),n[2]+=t[a][1],n[3]+=Math.pow(Math.log(t[a][0]),2));var s=o((r*n[1]-n[2]*n[0])/(r*n[3]-n[0]*n[0]),e.precision),u=o((n[2]-s*n[0])/r,e.precision),l=function(t){return[o(t,e.precision),o(o(u+s*Math.log(t),e.precision),e.precision)]},c=t.map((function(t){return l(t[0])}));return{points:c,predict:l,equation:[u,s],string:"y = "+u+" + "+s+" ln(x)",r2:o(i(t,c),e.precision)}},power:function(t,e){for(var n=[0,0,0,0,0],r=t.length,a=0;a<r;a++)null!==t[a][1]&&(n[0]+=Math.log(t[a][0]),n[1]+=Math.log(t[a][1])*Math.log(t[a][0]),n[2]+=Math.log(t[a][1]),n[3]+=Math.pow(Math.log(t[a][0]),2));var s=(r*n[1]-n[0]*n[2])/(r*n[3]-Math.pow(n[0],2)),u=(n[2]-s*n[0])/r,l=o(Math.exp(u),e.precision),c=o(s,e.precision),f=function(t){return[o(t,e.precision),o(o(l*Math.pow(t,c),e.precision),e.precision)]},d=t.map((function(t){return f(t[0])}));return{points:d,predict:f,equation:[l,c],string:"y = "+l+"x^"+c,r2:o(i(t,d),e.precision)}},polynomial:function(t,e){for(var r=[],a=[],s=0,u=0,l=t.length,c=e.order+1,f=0;f<c;f++){for(var d=0;d<l;d++)null!==t[d][1]&&(s+=Math.pow(t[d][0],f)*t[d][1]);r.push(s),s=0;for(var h=[],p=0;p<c;p++){for(var v=0;v<l;v++)null!==t[v][1]&&(u+=Math.pow(t[v][0],f+p));h.push(u),u=0}a.push(h)}a.push(r);for(var g=function(t,e){for(var n=t,r=t.length-1,i=[e],o=0;o<r;o++){for(var a=o,s=o+1;s<r;s++)Math.abs(n[o][s])>Math.abs(n[o][a])&&(a=s);for(var u=o;u<r+1;u++){var l=n[u][o];n[u][o]=n[u][a],n[u][a]=l}for(var c=o+1;c<r;c++)for(var f=r;f>=o;f--)n[f][c]-=n[f][o]*n[o][c]/n[o][o]}for(var d=r-1;d>=0;d--){for(var h=0,p=d+1;p<r;p++)h+=n[p][d]*i[p];i[d]=(n[r][d]-h)/n[d][d]}return i}(a,c).map((function(t){return o(t,e.precision)})),m=function(t){return[o(t,e.precision),o(g.reduce((function(e,n,r){return e+n*Math.pow(t,r)}),0),e.precision)]},y=t.map((function(t){return m(t[0])})),_="y = ",b=g.length-1;b>=0;b--)_+=b>1?g[b]+"x^"+b+" + ":1===b?g[b]+"x + ":g[b];return{string:_,points:y,predict:m,equation:[].concat(n(g)).reverse(),r2:o(i(t,y),e.precision)}}};t.exports=Object.keys(a).reduce((function(t,n){return e({_round:o},t,(u=function(t,i){return a[n](t,e({},r,i))},(s=n)in(i={})?Object.defineProperty(i,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[s]=u,i));var i,s,u}),{})})?r.apply(e,i):r)||(t.exports=o)},"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js":
- /*!***********************************************************************************************!*\
- !*** ./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js ***!
- \***********************************************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,i=1;i<t.length;i++)e=n+t[i],Math.abs(n)>=Math.abs(t[i])?r+=n-e+t[i]:r+=t[i]-e+n,n=e;return n+r}function n(t){if(0===t.length)throw new Error("mean requires at least one data point");return e(t)/t.length}function r(t,e){var r,i,o=n(t),a=0;if(2===e)for(i=0;i<t.length;i++)a+=(r=t[i]-o)*r;else for(i=0;i<t.length;i++)a+=Math.pow(t[i]-o,e);return a}function i(t){if(0===t.length)throw new Error("variance requires at least one data point");return r(t,2)/t.length}function o(t){if(1===t.length)return 0;var e=i(t);return Math.sqrt(e)}function a(t){if(0===t.length)throw new Error("mode requires at least one data point");if(1===t.length)return t[0];for(var e=t[0],n=NaN,r=0,i=1,o=1;o<t.length+1;o++)t[o]!==e?(r<i&&(r=i,n=e),i=1,e=t[o]):i++;return n}function s(t){return t.slice().sort((function(t,e){return t-e}))}function u(t){if(0===t.length)throw new Error("min requires at least one data point");for(var e=t[0],n=1;n<t.length;n++)t[n]<e&&(e=t[n]);return e}function l(t){if(0===t.length)throw new Error("max requires at least one data point");for(var e=t[0],n=1;n<t.length;n++)t[n]>e&&(e=t[n]);return e}function c(t,e){var n=t.length*e;if(0===t.length)throw new Error("quantile requires at least one data point.");if(e<0||1<e)throw new Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function f(t,e,n,r){for(n=n||0,r=r||t.length-1;n<r;){if(600<r-n){var i=r-n+1,o=e-n+1,a=Math.log(i),s=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*s*(i-s)/i);o-i/2<0&&(u*=-1),f(t,e,Math.max(n,Math.floor(e-o*s/i+u)),Math.min(r,Math.floor(e+(i-o)*s/i+u)))}var l=t[e],c=n,h=r;for(d(t,n,e),t[r]>l&&d(t,n,r);c<h;){for(d(t,c,h),c++,h--;t[c]<l;)c++;for(;t[h]>l;)h--}t[n]===l?d(t,n,h):d(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}}function d(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function h(t,e){var n=t.slice();if(Array.isArray(e)){!function(t,e){for(var n=[0],r=0;r<e.length;r++)n.push(g(t.length,e[r]));n.push(t.length-1),n.sort(v);for(var i=[0,n.length-1];i.length;){var o=Math.ceil(i.pop()),a=Math.floor(i.pop());if(!(o-a<=1)){var s=Math.floor((a+o)/2);p(t,n[s],n[a],n[o]),i.push(a,s,s,o)}}}(n,e);for(var r=[],i=0;i<e.length;i++)r[i]=c(n,e[i]);return r}return p(n,g(n.length,e),0,n.length-1),c(n,e)}function p(t,e,n,r){e%1==0?f(t,e,n,r):(f(t,e=Math.floor(e),n,r),f(t,e+1,e+1,r))}function v(t,e){return t-e}function g(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}function m(t,e){if(e<t[0])return 0;if(e>t[t.length-1])return 1;var n=function(t,e){for(var n=0,r=0,i=t.length;r<i;)e<=t[n=r+i>>>1]?i=n:r=-~n;return r}(t,e);if(t[n]!==e)return n/t.length;n++;var r=function(t,e){for(var n=0,r=0,i=t.length;r<i;)e>=t[n=r+i>>>1]?r=-~n:i=n;return r}(t,e);if(r===n)return n/t.length;var i=r-n+1;return i*(r+n)/2/i/t.length}function y(t){var e=h(t,.75),n=h(t,.25);if("number"==typeof e&&"number"==typeof n)return e-n}function _(t){return+h(t,.5)}function b(t){for(var e=_(t),n=[],r=0;r<t.length;r++)n.push(Math.abs(t[r]-e));return _(n)}function x(t,e){e=e||Math.random;for(var n,r,i=t.length;0<i;)r=Math.floor(e()*i--),n=t[i],t[i]=t[r],t[r]=n;return t}function w(t,e){return x(t.slice().slice(),e)}function j(t){for(var e,n=0,r=0;r<t.length;r++)0!==r&&t[r]===e||(e=t[r],n++);return n}function S(t,e){for(var n=[],r=0;r<t;r++){for(var i=[],o=0;o<e;o++)i.push(0);n.push(i)}return n}function O(t,e,n,r){var i;if(0<t){var o=(n[e]-n[t-1])/(e-t+1);i=r[e]-r[t-1]-(e-t+1)*o*o}else i=r[e]-n[e]*n[e]/(e+1);return i<0?0:i}function k(t,e,n,r,i,o,a){if(!(e<t)){var s=Math.floor((t+e)/2);r[n][s]=r[n-1][s-1],i[n][s]=s;var u=n;n<t&&(u=Math.max(u,i[n][t-1]||0)),u=Math.max(u,i[n-1][s]||0);var l,c,f,d=s-1;e<r.length-1&&(d=Math.min(d,i[n][e+1]||0));for(var h=d;u<=h&&!((l=O(h,s,o,a))+r[n-1][u-1]>=r[n][s]);--h)(c=O(u,s,o,a)+r[n-1][u-1])<r[n][s]&&(r[n][s]=c,i[n][s]=u),u++,(f=l+r[n-1][h-1])<r[n][s]&&(r[n][s]=f,i[n][s]=h);k(t,s-1,n,r,i,o,a),k(s+1,e,n,r,i,o,a)}}function E(t,e){if(t.length!==e.length)throw new Error("sampleCovariance requires samples with equal lengths");if(t.length<2)throw new Error("sampleCovariance requires at least two data points in each sample");for(var r=n(t),i=n(e),o=0,a=0;a<t.length;a++)o+=(t[a]-r)*(e[a]-i);return o/(t.length-1)}function C(t){if(t.length<2)throw new Error("sampleVariance requires at least two data points");return r(t,2)/(t.length-1)}function M(t){var e=C(t);return Math.sqrt(e)}function T(t,e,n,r){return(t*e+n*r)/(e+r)}function P(t){if(0===t.length)throw new Error("rootMeanSquare requires at least one data point");for(var e=0,n=0;n<t.length;n++)e+=Math.pow(t[n],2);return Math.sqrt(e/t.length)}function A(){this.totalCount=0,this.data={}}function I(){this.weights=[],this.bias=0}A.prototype.train=function(t,e){for(var n in this.data[e]||(this.data[e]={}),t){var r=t[n];void 0===this.data[e][n]&&(this.data[e][n]={}),void 0===this.data[e][n][r]&&(this.data[e][n][r]=0),this.data[e][n][r]++}this.totalCount++},A.prototype.score=function(t){var e,n={};for(var r in t){var i=t[r];for(e in this.data)n[e]={},this.data[e][r]?n[e][r+"_"+i]=(this.data[e][r][i]||0)/this.totalCount:n[e][r+"_"+i]=0}var o={};for(e in n)for(var a in o[e]=0,n[e])o[e]+=n[e][a];return o},I.prototype.predict=function(t){if(t.length!==this.weights.length)return null;for(var e=0,n=0;n<this.weights.length;n++)e+=this.weights[n]*t[n];return 0<(e+=this.bias)?1:0},I.prototype.train=function(t,e){if(0!==e&&1!==e)return null;t.length!==this.weights.length&&(this.weights=t,this.bias=1);var n=this.predict(t);if(n!==e){for(var r=e-n,i=0;i<this.weights.length;i++)this.weights[i]+=r*t[i];this.bias+=r}return this};var N=1e-4;function D(t){if(t<0)throw new Error("factorial requires a non-negative value");if(Math.floor(t)!==t)throw new Error("factorial requires an integer input");for(var e=1,n=2;n<=t;n++)e*=n;return e}var R=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],L=Math.log(Math.sqrt(2*Math.PI)),B={1:{.995:0,.99:0,.975:0,.95:0,.9:.02,.5:.45,.1:2.71,.05:3.84,.025:5.02,.01:6.63,.005:7.88},2:{.995:.01,.99:.02,.975:.05,.95:.1,.9:.21,.5:1.39,.1:4.61,.05:5.99,.025:7.38,.01:9.21,.005:10.6},3:{.995:.07,.99:.11,.975:.22,.95:.35,.9:.58,.5:2.37,.1:6.25,.05:7.81,.025:9.35,.01:11.34,.005:12.84},4:{.995:.21,.99:.3,.975:.48,.95:.71,.9:1.06,.5:3.36,.1:7.78,.05:9.49,.025:11.14,.01:13.28,.005:14.86},5:{.995:.41,.99:.55,.975:.83,.95:1.15,.9:1.61,.5:4.35,.1:9.24,.05:11.07,.025:12.83,.01:15.09,.005:16.75},6:{.995:.68,.99:.87,.975:1.24,.95:1.64,.9:2.2,.5:5.35,.1:10.65,.05:12.59,.025:14.45,.01:16.81,.005:18.55},7:{.995:.99,.99:1.25,.975:1.69,.95:2.17,.9:2.83,.5:6.35,.1:12.02,.05:14.07,.025:16.01,.01:18.48,.005:20.28},8:{.995:1.34,.99:1.65,.975:2.18,.95:2.73,.9:3.49,.5:7.34,.1:13.36,.05:15.51,.025:17.53,.01:20.09,.005:21.96},9:{.995:1.73,.99:2.09,.975:2.7,.95:3.33,.9:4.17,.5:8.34,.1:14.68,.05:16.92,.025:19.02,.01:21.67,.005:23.59},10:{.995:2.16,.99:2.56,.975:3.25,.95:3.94,.9:4.87,.5:9.34,.1:15.99,.05:18.31,.025:20.48,.01:23.21,.005:25.19},11:{.995:2.6,.99:3.05,.975:3.82,.95:4.57,.9:5.58,.5:10.34,.1:17.28,.05:19.68,.025:21.92,.01:24.72,.005:26.76},12:{.995:3.07,.99:3.57,.975:4.4,.95:5.23,.9:6.3,.5:11.34,.1:18.55,.05:21.03,.025:23.34,.01:26.22,.005:28.3},13:{.995:3.57,.99:4.11,.975:5.01,.95:5.89,.9:7.04,.5:12.34,.1:19.81,.05:22.36,.025:24.74,.01:27.69,.005:29.82},14:{.995:4.07,.99:4.66,.975:5.63,.95:6.57,.9:7.79,.5:13.34,.1:21.06,.05:23.68,.025:26.12,.01:29.14,.005:31.32},15:{.995:4.6,.99:5.23,.975:6.27,.95:7.26,.9:8.55,.5:14.34,.1:22.31,.05:25,.025:27.49,.01:30.58,.005:32.8},16:{.995:5.14,.99:5.81,.975:6.91,.95:7.96,.9:9.31,.5:15.34,.1:23.54,.05:26.3,.025:28.85,.01:32,.005:34.27},17:{.995:5.7,.99:6.41,.975:7.56,.95:8.67,.9:10.09,.5:16.34,.1:24.77,.05:27.59,.025:30.19,.01:33.41,.005:35.72},18:{.995:6.26,.99:7.01,.975:8.23,.95:9.39,.9:10.87,.5:17.34,.1:25.99,.05:28.87,.025:31.53,.01:34.81,.005:37.16},19:{.995:6.84,.99:7.63,.975:8.91,.95:10.12,.9:11.65,.5:18.34,.1:27.2,.05:30.14,.025:32.85,.01:36.19,.005:38.58},20:{.995:7.43,.99:8.26,.975:9.59,.95:10.85,.9:12.44,.5:19.34,.1:28.41,.05:31.41,.025:34.17,.01:37.57,.005:40},21:{.995:8.03,.99:8.9,.975:10.28,.95:11.59,.9:13.24,.5:20.34,.1:29.62,.05:32.67,.025:35.48,.01:38.93,.005:41.4},22:{.995:8.64,.99:9.54,.975:10.98,.95:12.34,.9:14.04,.5:21.34,.1:30.81,.05:33.92,.025:36.78,.01:40.29,.005:42.8},23:{.995:9.26,.99:10.2,.975:11.69,.95:13.09,.9:14.85,.5:22.34,.1:32.01,.05:35.17,.025:38.08,.01:41.64,.005:44.18},24:{.995:9.89,.99:10.86,.975:12.4,.95:13.85,.9:15.66,.5:23.34,.1:33.2,.05:36.42,.025:39.36,.01:42.98,.005:45.56},25:{.995:10.52,.99:11.52,.975:13.12,.95:14.61,.9:16.47,.5:24.34,.1:34.28,.05:37.65,.025:40.65,.01:44.31,.005:46.93},26:{.995:11.16,.99:12.2,.975:13.84,.95:15.38,.9:17.29,.5:25.34,.1:35.56,.05:38.89,.025:41.92,.01:45.64,.005:48.29},27:{.995:11.81,.99:12.88,.975:14.57,.95:16.15,.9:18.11,.5:26.34,.1:36.74,.05:40.11,.025:43.19,.01:46.96,.005:49.65},28:{.995:12.46,.99:13.57,.975:15.31,.95:16.93,.9:18.94,.5:27.34,.1:37.92,.05:41.34,.025:44.46,.01:48.28,.005:50.99},29:{.995:13.12,.99:14.26,.975:16.05,.95:17.71,.9:19.77,.5:28.34,.1:39.09,.05:42.56,.025:45.72,.01:49.59,.005:52.34},30:{.995:13.79,.99:14.95,.975:16.79,.95:18.49,.9:20.6,.5:29.34,.1:40.26,.05:43.77,.025:46.98,.01:50.89,.005:53.67},40:{.995:20.71,.99:22.16,.975:24.43,.95:26.51,.9:29.05,.5:39.34,.1:51.81,.05:55.76,.025:59.34,.01:63.69,.005:66.77},50:{.995:27.99,.99:29.71,.975:32.36,.95:34.76,.9:37.69,.5:49.33,.1:63.17,.05:67.5,.025:71.42,.01:76.15,.005:79.49},60:{.995:35.53,.99:37.48,.975:40.48,.95:43.19,.9:46.46,.5:59.33,.1:74.4,.05:79.08,.025:83.3,.01:88.38,.005:91.95},70:{.995:43.28,.99:45.44,.975:48.76,.95:51.74,.9:55.33,.5:69.33,.1:85.53,.05:90.53,.025:95.02,.01:100.42,.005:104.22},80:{.995:51.17,.99:53.54,.975:57.15,.95:60.39,.9:64.28,.5:79.33,.1:96.58,.05:101.88,.025:106.63,.01:112.33,.005:116.32},90:{.995:59.2,.99:61.75,.975:65.65,.95:69.13,.9:73.29,.5:89.33,.1:107.57,.05:113.14,.025:118.14,.01:124.12,.005:128.3},100:{.995:67.33,.99:70.06,.975:74.22,.95:77.93,.9:82.36,.5:99.33,.1:118.5,.05:124.34,.025:129.56,.01:135.81,.005:140.17}},$=Math.sqrt(2*Math.PI),F={gaussian:function(t){return Math.exp(-.5*t*t)/$}},z={nrd:function(t){var e=M(t),n=y(t);return"number"==typeof n&&(e=Math.min(e,n/1.34)),1.06*e*Math.pow(t.length,-.2)}};function V(t,e,n){var r,i;if(void 0===e)r=F.gaussian;else if("string"==typeof e){if(!F[e])throw new Error('Unknown kernel "'+e+'"');r=F[e]}else r=e;if(void 0===n)i=z.nrd(t);else if("string"==typeof n){if(!z[n])throw new Error('Unknown bandwidth method "'+n+'"');i=z[n](t)}else i=n;return function(e){var n=0,o=0;for(n=0;n<t.length;n++)o+=r((e-t[n])/i);return o/i/t.length}}var q=Math.sqrt(2*Math.PI);function H(t){for(var e=t,n=t,r=1;r<15;r++)e+=n*=t*t/(2*r+1);return Math.round(1e4*(.5+e/q*Math.exp(-t*t/2)))/1e4}for(var G=[],U=0;U<=3.09;U+=.01)G.push(H(U));function Y(t){var e=1/(1+.5*Math.abs(t)),n=e*Math.exp(-Math.pow(t,2)-1.26551223+1.00002368*e+.37409196*Math.pow(e,2)+.09678418*Math.pow(e,3)-.18628806*Math.pow(e,4)+.27886807*Math.pow(e,5)-1.13520398*Math.pow(e,6)+1.48851587*Math.pow(e,7)-.82215223*Math.pow(e,8)+.17087277*Math.pow(e,9));return 0<=t?1-n:n-1}function W(t){var e=8*(Math.PI-3)/(3*Math.PI*(4-Math.PI)),n=Math.sqrt(Math.sqrt(Math.pow(2/(Math.PI*e)+Math.log(1-t*t)/2,2)-Math.log(1-t*t)/e)-(2/(Math.PI*e)+Math.log(1-t*t)/2));return 0<=t?n:-n}function X(t){if("number"==typeof t)return t<0?-1:0===t?0:1;throw new TypeError("not a number")}t.linearRegression=function(t){var e,n,r=t.length;if(1===r)n=t[e=0][1];else{for(var i,o,a,s=0,u=0,l=0,c=0,f=0;f<r;f++)s+=o=(i=t[f])[0],u+=a=i[1],l+=o*o,c+=o*a;n=u/r-(e=(r*c-s*u)/(r*l-s*s))*s/r}return{m:e,b:n}},t.linearRegressionLine=function(t){return function(e){return t.b+t.m*e}},t.standardDeviation=o,t.rSquared=function(t,e){if(t.length<2)return 1;for(var n,r=0,i=0;i<t.length;i++)r+=t[i][1];n=r/t.length;for(var o=0,a=0;a<t.length;a++)o+=Math.pow(n-t[a][1],2);for(var s=0,u=0;u<t.length;u++)s+=Math.pow(t[u][1]-e(t[u][0]),2);return 1-s/o},t.mode=function(t){return a(s(t))},t.modeFast=function(t){for(var e,n=new Map,r=0,i=0;i<t.length;i++){var o=n.get(t[i]);void 0===o?o=1:o++,r<o&&(e=t[i],r=o),n.set(t[i],o)}if(0===r)throw new Error("mode requires at last one data point");return e},t.modeSorted=a,t.min=u,t.max=l,t.extent=function(t){if(0===t.length)throw new Error("extent requires at least one data point");for(var e=t[0],n=t[0],r=1;r<t.length;r++)t[r]>n&&(n=t[r]),t[r]<e&&(e=t[r]);return[e,n]},t.minSorted=function(t){return t[0]},t.maxSorted=function(t){return t[t.length-1]},t.extentSorted=function(t){return[t[0],t[t.length-1]]},t.sum=e,t.sumSimple=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n];return e},t.product=function(t){for(var e=1,n=0;n<t.length;n++)e*=t[n];return e},t.quantile=h,t.quantileSorted=c,t.quantileRank=function(t,e){return m(s(t),e)},t.quantileRankSorted=m,t.interquartileRange=y,t.iqr=y,t.medianAbsoluteDeviation=b,t.mad=b,t.chunk=function(t,e){var n=[];if(e<1)throw new Error("chunk size must be a positive number");if(Math.floor(e)!==e)throw new Error("chunk size must be an integer");for(var r=0;r<t.length;r+=e)n.push(t.slice(r,r+e));return n},t.sampleWithReplacement=function(t,e,n){if(0===t.length)return[];n=n||Math.random;for(var r=t.length,i=[],o=0;o<e;o++){var a=Math.floor(n()*r);i.push(t[a])}return i},t.shuffle=w,t.shuffleInPlace=x,t.sample=function(t,e,n){return w(t,n).slice(0,e)},t.ckmeans=function(t,e){if(e>t.length)throw new Error("cannot generate more classes than there are data values");var n=s(t);if(1===j(n))return[n];var r=S(e,n.length),i=S(e,n.length);!function(t,e,n){for(var r,i=e[0].length,o=t[Math.floor(i/2)],a=[],s=[],u=0;u<i;++u)r=t[u]-o,0===u?(a.push(r),s.push(r*r)):(a.push(a[u-1]+r),s.push(s[u-1]+r*r)),e[0][u]=O(0,u,a,s),n[0][u]=0;for(var l=1;l<e.length;++l)k(l<e.length-1?l:i-1,i-1,l,e,n,a,s)}(n,r,i);for(var o=[],a=i[0].length-1,u=i.length-1;0<=u;u--){var l=i[u][a];o[u]=n.slice(l,a+1),0<u&&(a=l-1)}return o},t.uniqueCountSorted=j,t.sumNthPowerDeviations=r,t.equalIntervalBreaks=function(t,e){if(t.length<2)return t;for(var n=u(t),r=l(t),i=[n],o=(r-n)/e,a=1;a<e;a++)i.push(i[0]+o*a);return i.push(r),i},t.sampleCovariance=E,t.sampleCorrelation=function(t,e){return E(t,e)/M(t)/M(e)},t.sampleVariance=C,t.sampleStandardDeviation=M,t.sampleSkewness=function(t){if(t.length<3)throw new Error("sampleSkewness requires at least three data points");for(var e,r=n(t),i=0,o=0,a=0;a<t.length;a++)i+=(e=t[a]-r)*e,o+=e*e*e;var s=t.length-1,u=Math.sqrt(i/s),l=t.length;return l*o/((l-1)*(l-2)*Math.pow(u,3))},t.sampleKurtosis=function(t){var e=t.length;if(e<4)throw new Error("sampleKurtosis requires at least four data points");for(var r,i=n(t),o=0,a=0,s=0;s<e;s++)o+=(r=t[s]-i)*r,a+=r*r*r*r;return(e-1)/((e-2)*(e-3))*(e*(e+1)*a/(o*o)-3*(e-1))},t.permutationsHeap=function(t){for(var e=new Array(t.length),n=[t.slice()],r=0;r<t.length;r++)e[r]=0;for(r=0;r<t.length;)if(e[r]<r){var i=0;r%2!=0&&(i=e[r]);var o=t[i];t[i]=t[r],t[r]=o,n.push(t.slice()),e[r]++,r=0}else e[r]=0,r++;return n},t.combinations=function t(e,n){var r,i,o,a,s=[];for(r=0;r<e.length;r++)if(1===n)s.push([e[r]]);else for(o=t(e.slice(r+1,e.length),n-1),i=0;i<o.length;i++)(a=o[i]).unshift(e[r]),s.push(a);return s},t.combinationsReplacement=function t(e,n){for(var r=[],i=0;i<e.length;i++)if(1===n)r.push([e[i]]);else for(var o=t(e.slice(i,e.length),n-1),a=0;a<o.length;a++)r.push([e[i]].concat(o[a]));return r},t.addToMean=function(t,e,n){return t+(n-t)/(e+1)},t.combineMeans=T,t.combineVariances=function(t,e,n,r,i,o){var a=T(e,n,i,o);return(n*(t+Math.pow(e-a,2))+o*(r+Math.pow(i-a,2)))/(n+o)},t.geometricMean=function(t){if(0===t.length)throw new Error("geometricMean requires at least one data point");for(var e=1,n=0;n<t.length;n++){if(t[n]<=0)throw new Error("geometricMean requires only positive numbers as input");e*=t[n]}return Math.pow(e,1/t.length)},t.harmonicMean=function(t){if(0===t.length)throw new Error("harmonicMean requires at least one data point");for(var e=0,n=0;n<t.length;n++){if(t[n]<=0)throw new Error("harmonicMean requires only positive numbers as input");e+=1/t[n]}return t.length/e},t.average=n,t.mean=n,t.median=_,t.medianSorted=function(t){return c(t,.5)},t.subtractFromMean=function(t,e,n){return(t*e-n)/(e-1)},t.rootMeanSquare=P,t.rms=P,t.variance=i,t.tTest=function(t,e){return(n(t)-e)/(o(t)/Math.sqrt(t.length))},t.tTestTwoSample=function(t,e,r){var i=t.length,o=e.length;if(!i||!o)return null;r||(r=0);var a=n(t),s=n(e),u=C(t),l=C(e);if("number"==typeof a&&"number"==typeof s&&"number"==typeof u&&"number"==typeof l){var c=((i-1)*u+(o-1)*l)/(i+o-2);return(a-s-r)/Math.sqrt(c*(1/i+1/o))}},t.BayesianClassifier=A,t.bayesian=A,t.PerceptronModel=I,t.perceptron=I,t.epsilon=N,t.factorial=D,t.gamma=function t(e){if("number"==typeof(n=e)&&isFinite(n)&&Math.floor(n)===n)return e<=0?NaN:D(e-1);var n;if(--e<0)return Math.PI/(Math.sin(Math.PI*-e)*t(-e));var r=e+.25;return Math.pow(e/Math.E,e)*Math.sqrt(2*Math.PI*(e+1/6))*(1+1/144/Math.pow(r,2)-1/12960/Math.pow(r,3)-257/207360/Math.pow(r,4)-52/2612736/Math.pow(r,5)+5741173/9405849600/Math.pow(r,6)+37529/18811699200/Math.pow(r,7))},t.gammaln=function(t){if(t<=0)return 1/0;t--;for(var e=R[0],n=1;n<15;n++)e+=R[n]/(t+n);var r=5.2421875+t;return L+Math.log(e)-r+(t+.5)*Math.log(r)},t.bernoulliDistribution=function(t){if(t<0||1<t)throw new Error("bernoulliDistribution requires probability to be between 0 and 1 inclusive");return[1-t,t]},t.binomialDistribution=function(t,e){if(!(e<0||1<e||t<=0||t%1!=0)){for(var n=0,r=0,i=[],o=1;i[n]=o*Math.pow(e,n)*Math.pow(1-e,t-n),r+=i[n],o=o*(t-++n+1)/n,r<1-N;);return i}},t.poissonDistribution=function(t){if(!(t<=0)){for(var e=0,n=0,r=[],i=1;r[e]=Math.exp(-t)*Math.pow(t,e)/i,n+=r[e],i*=++e,n<1-N;);return r}},t.chiSquaredDistributionTable=B,t.chiSquaredGoodnessOfFit=function(t,e,r){for(var i,o,a=0,s=e(n(t)),u=[],l=[],c=0;c<t.length;c++)void 0===u[t[c]]&&(u[t[c]]=0),u[t[c]]++;for(c=0;c<u.length;c++)void 0===u[c]&&(u[c]=0);for(o in s)o in u&&(l[+o]=s[o]*t.length);for(o=l.length-1;0<=o;o--)l[o]<3&&(l[o-1]+=l[o],l.pop(),u[o-1]+=u[o],u.pop());for(o=0;o<u.length;o++)a+=Math.pow(u[o]-l[o],2)/l[o];return i=u.length-1-1,B[i][r]<a},t.kernelDensityEstimation=V,t.kde=V,t.zScore=function(t,e,n){return(t-e)/n},t.cumulativeStdNormalProbability=function(t){var e=Math.abs(t),n=Math.min(Math.round(100*e),G.length-1);return 0<=t?G[n]:+(1-G[n]).toFixed(4)},t.standardNormalTable=G,t.errorFunction=Y,t.erf=Y,t.inverseErrorFunction=W,t.probit=function(t){return 0===t?t=N:1<=t&&(t=1-N),Math.sqrt(2)*W(2*t-1)},t.permutationTest=function(t,e,r,i){if(void 0===i&&(i=1e4),void 0===r&&(r="two_side"),"two_side"!==r&&"greater"!==r&&"less"!==r)throw new Error("`alternative` must be either 'two_side', 'greater', or 'less'");for(var o=n(t)-n(e),a=new Array(i),s=t.concat(e),u=Math.floor(s.length/2),l=0;l<i;l++){x(s);var c=s.slice(0,u),f=s.slice(u,s.length),d=n(c)-n(f);a[l]=d}var h=0;if("two_side"===r)for(l=0;l<=i;l++)Math.abs(a[l])>=Math.abs(o)&&(h+=1);else if("greater"===r)for(l=0;l<=i;l++)a[l]>=o&&(h+=1);else for(l=0;l<=i;l++)a[l]<=o&&(h+=1);return h/i},t.bisect=function(t,e,n,r,i){if("function"!=typeof t)throw new TypeError("func must be a function");for(var o=0;o<r;o++){var a=(e+n)/2;if(0===t(a)||Math.abs((n-e)/2)<i)return a;X(t(a))===X(t(e))?e=a:n=a}throw new Error("maximum number of iterations exceeded")},t.quickselect=f,t.sign=X,t.numericSort=s,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_topojson-client@3.1.0@topojson-client/dist/topojson-client.js":
- /*!*************************************************************************************!*\
- !*** ./node_modules/_topojson-client@3.1.0@topojson-client/dist/topojson-client.js ***!
- \*************************************************************************************/
- /*! no static exports found */function(t,e,n){!function(t){"use strict";function e(t){return t}function n(t){if(null==t)return e;var n,r,i=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var u=2,l=t.length,c=new Array(l);for(c[0]=(n+=t[0])*i+a,c[1]=(r+=t[1])*o+s;u<l;)c[u]=t[u],++u;return c}}function r(t){var e,r=n(t.transform),i=1/0,o=i,a=-i,s=-i;function u(t){(t=r(t))[0]<i&&(i=t[0]),t[0]>a&&(a=t[0]),t[1]<o&&(o=t[1]),t[1]>s&&(s=t[1])}function l(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(l);break;case"Point":u(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(u)}}for(e in t.arcs.forEach((function(t){for(var e,n=-1,u=t.length;++n<u;)(e=r(t[n],n))[0]<i&&(i=e[0]),e[0]>a&&(a=e[0]),e[1]<o&&(o=e[1]),e[1]>s&&(s=e[1])})),t.objects)l(t.objects[e]);return[i,o,a,s]}function i(t,e){var n=e.id,r=e.bbox,i=null==e.properties?{}:e.properties,a=o(t,e);return null==n&&null==r?{type:"Feature",properties:i,geometry:a}:null==r?{type:"Feature",id:n,properties:i,geometry:a}:{type:"Feature",id:n,bbox:r,properties:i,geometry:a}}function o(t,e){var r=n(t.transform),i=t.arcs;function o(t,e){e.length&&e.pop();for(var n=i[t<0?~t:t],o=0,a=n.length;o<a;++o)e.push(r(n[o],o));t<0&&function(t,e){for(var n,r=t.length,i=r-e;i<--r;)n=t[i],t[i++]=t[r],t[r]=n}(e,a)}function a(t){return r(t)}function s(t){for(var e=[],n=0,r=t.length;n<r;++n)o(t[n],e);return e.length<2&&e.push(e[0]),e}function u(t){for(var e=s(t);e.length<4;)e.push(e[0]);return e}function l(t){return t.map(u)}return function t(e){var n,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(t)};case"Point":n=a(e.coordinates);break;case"MultiPoint":n=e.coordinates.map(a);break;case"LineString":n=s(e.arcs);break;case"MultiLineString":n=e.arcs.map(s);break;case"Polygon":n=l(e.arcs);break;case"MultiPolygon":n=e.arcs.map(l);break;default:return null}return{type:r,coordinates:n}}(e)}function a(t,e){var n={},r={},i={},o=[],a=-1;function s(t,e){for(var r in t){var i=t[r];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){n[t<0?~t:t]=1})),o.push(i)}}return e.forEach((function(n,r){var i,o=t.arcs[n<0?~n:n];o.length<3&&!o[1][0]&&!o[1][1]&&(i=e[++a],e[a]=n,e[r]=i)})),e.forEach((function(e){var n,o,a=function(e){var n,r=t.arcs[e<0?~e:e],i=r[0];return t.transform?(n=[0,0],r.forEach((function(t){n[0]+=t[0],n[1]+=t[1]}))):n=r[r.length-1],e<0?[n,i]:[i,n]}(e),s=a[0],u=a[1];if(n=i[s])if(delete i[n.end],n.push(e),n.end=u,o=r[u]){delete r[o.start];var l=o===n?n:n.concat(o);r[l.start=n.start]=i[l.end=o.end]=l}else r[n.start]=i[n.end]=n;else if(n=r[u])if(delete r[n.start],n.unshift(e),n.start=s,o=i[s]){delete i[o.end];var c=o===n?n:o.concat(n);r[c.start=o.start]=i[c.end=n.end]=c}else r[n.start]=i[n.end]=n;else r[(n=[e]).start=s]=i[n.end=u]=n})),s(i,r),s(r,i),e.forEach((function(t){n[t<0?~t:t]||o.push([t])})),o}function s(t,e,n){var r,i,o;if(arguments.length>1)r=u(0,e,n);else for(i=0,r=new Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:"MultiLineString",arcs:a(t,r)}}function u(t,e,n){var r,i=[],o=[];function a(t){var e=t<0?~t:t;(o[e]||(o[e]=[])).push({i:t,g:r})}function s(t){t.forEach(a)}function u(t){t.forEach(s)}return function t(e){switch(r=e,e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"LineString":s(e.arcs);break;case"MultiLineString":case"Polygon":u(e.arcs);break;case"MultiPolygon":!function(t){t.forEach(u)}(e.arcs)}}(e),o.forEach(null==n?function(t){i.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&i.push(t[0].i)}),i}function l(t,e){var n={},r=[],i=[];function s(t){t.forEach((function(e){e.forEach((function(e){(n[e=e<0?~e:e]||(n[e]=[])).push(t)}))})),r.push(t)}function u(e){return function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[0]*i[1]-e[1]*i[0];return Math.abs(o)}(o(t,{type:"Polygon",arcs:[e]}).coordinates[0])}return e.forEach((function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":s(e.arcs);break;case"MultiPolygon":e.arcs.forEach(s)}})),r.forEach((function(t){if(!t._){var e=[],r=[t];for(t._=1,i.push(e);t=r.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){n[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:i.map((function(e){var r,i=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){n[t<0?~t:t].length<2&&i.push(t)}))}))})),(r=(i=a(t,i)).length)>1)for(var o,s,l=1,c=u(i[0]);l<r;++l)(o=u(i[l]))>c&&(s=i[0],i[0]=i[l],i[l]=s,c=o);return i})).filter((function(t){return t.length>0}))}}function c(t,e){for(var n=0,r=t.length;n<r;){var i=n+r>>>1;t[i]<e?n=i+1:r=i}return n}function f(t){if(null==t)return e;var n,r,i=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var u=2,l=t.length,c=new Array(l),f=Math.round((t[0]-a)/i),d=Math.round((t[1]-s)/o);for(c[0]=f-n,n=f,c[1]=d-r,r=d;u<l;)c[u]=t[u],++u;return c}}t.bbox=r,t.feature=function(t,e){return"string"==typeof e&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return i(t,e)}))}:i(t,e)},t.merge=function(t){return o(t,l.apply(this,arguments))},t.mergeArcs=l,t.mesh=function(t){return o(t,s.apply(this,arguments))},t.meshArcs=s,t.neighbors=function(t){var e={},n=t.map((function(){return[]}));function r(t,n){t.forEach((function(t){t<0&&(t=~t);var r=e[t];r?r.push(n):e[t]=[n]}))}function i(t,e){t.forEach((function(t){r(t,e)}))}var o={LineString:r,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach((function(t){i(t,e)}))}};for(var a in t.forEach((function t(e,n){"GeometryCollection"===e.type?e.geometries.forEach((function(e){t(e,n)})):e.type in o&&o[e.type](e.arcs,n)})),e)for(var s=e[a],u=s.length,l=0;l<u;++l)for(var f=l+1;f<u;++f){var d,h=s[l],p=s[f];(d=n[h])[a=c(d,p)]!==p&&d.splice(a,0,p),(d=n[p])[a=c(d,h)]!==h&&d.splice(a,0,h)}return n},t.quantize=function(t,e){if(t.transform)throw new Error("already quantized");if(e&&e.scale)u=t.bbox;else{if(!((n=Math.floor(e))>=2))throw new Error("n must be ≥2");var n,i=(u=t.bbox||r(t))[0],o=u[1],a=u[2],s=u[3];e={scale:[a-i?(a-i)/(n-1):1,s-o?(s-o)/(n-1):1],translate:[i,o]}}var u,l,c=f(e),d=t.objects,h={};function p(t){return c(t)}function v(t){var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(v)};break;case"Point":e={type:"Point",coordinates:p(t.coordinates)};break;case"MultiPoint":e={type:"MultiPoint",coordinates:t.coordinates.map(p)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}for(l in d)h[l]=v(d[l]);return{type:"Topology",bbox:u,transform:e,objects:h,arcs:t.arcs.map((function(t){var e,n=0,r=1,i=t.length,o=new Array(i);for(o[0]=c(t[0],0);++n<i;)((e=c(t[n],n))[0]||e[1])&&(o[r++]=e);return 1===r&&(o[r++]=[0,0]),o.length=r,o}))}},t.transform=n,t.untransform=f,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_tslib@2.1.0@tslib/tslib.js":
- /*!**************************************************!*\
- !*** ./node_modules/_tslib@2.1.0@tslib/tslib.js ***!
- \**************************************************/
- /*! no static exports found */function(t,e,n){(function(n){var r,i,o,a,s,u,l,c,f,d,h,p,v,g,m,y,_,b,x,w,j,S,O,k,E;
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */!function(C){var M="object"==typeof n?n:"object"==typeof self?self:"object"==typeof this?this:{};function T(t,e){return t!==M&&("function"==typeof Object.create?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(n,r){return t[n]=e?e(n,r):r}}void 0===(r=function(t){!function(t){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])};i=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},s=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},u=function(t,e){return function(n,r){e(n,r,t)}},l=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},f=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},d=function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||E(e,t,n)},E=Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]},h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},v=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t},g=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},m=function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},y=function(t){return this instanceof y?(this.v=t,this):new y(t)},_=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(t){c(o[0][3],t)}var n}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}},b=function(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:y(t[r](e)),done:"return"===r}:i?i(e):e}:i}},x=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=h(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,i,(e=t[n](e)).done,e.value)}))}}},w=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t};var n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};j=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&E(e,t,r);return n(e,t),e},S=function(t){return t&&t.__esModule?t:{default:t}},O=function(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)},k=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n},t("__extends",i),t("__assign",o),t("__rest",a),t("__decorate",s),t("__param",u),t("__metadata",l),t("__awaiter",c),t("__generator",f),t("__exportStar",d),t("__createBinding",E),t("__values",h),t("__read",p),t("__spread",v),t("__spreadArrays",g),t("__spreadArray",m),t("__await",y),t("__asyncGenerator",_),t("__asyncDelegator",b),t("__asyncValues",x),t("__makeTemplateObject",w),t("__importStar",j),t("__importDefault",S),t("__classPrivateFieldGet",O),t("__classPrivateFieldSet",k)}(T(M,T(t)))}.apply(e,[e]))||(t.exports=r)}()}).call(this,n(/*! ./../_webpack@4.46.0@webpack/buildin/global.js */"./node_modules/_webpack@4.46.0@webpack/buildin/global.js"))},"./node_modules/_webpack@4.46.0@webpack/buildin/global.js":
- /*!***********************************!*\
- !*** (webpack)/buildin/global.js ***!
- \***********************************/
- /*! no static exports found */function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"./node_modules/_webpack@4.46.0@webpack/buildin/module.js":
- /*!***********************************!*\
- !*** (webpack)/buildin/module.js ***!
- \***********************************/
- /*! no static exports found */function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js":
- /*!***************************************************************************************!*\
- !*** ./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js ***!
- \***************************************************************************************/
- /*! no static exports found */function(t,e,n){var r;
- /*!
- * EventEmitter v5.2.9 - git.io/ee
- * Unlicense - http://unlicense.org/
- * Oliver Caldwell - https://oli.me.uk/
- * @preserve
- */!function(e){"use strict";function i(){}var o=i.prototype,a=e.EventEmitter;function s(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}o.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},o.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},o.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},o.addListener=function(t,e){if(!function t(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&t(e.listener)}(e))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(t),i="object"==typeof e;for(n in r)r.hasOwnProperty(n)&&-1===s(r[n],e)&&r[n].push(i?e:{listener:e,once:!1});return this},o.on=u("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=u("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,e){var n,r,i=this.getListenersAsObject(t);for(r in i)i.hasOwnProperty(r)&&-1!==(n=s(i[r],e))&&i[r].splice(n,1);return this},o.off=u("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,n){var r,i,o=t?this.removeListener:this.addListener,a=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(r=n.length;r--;)o.call(this,e,n[r]);else for(r in e)e.hasOwnProperty(r)&&(i=e[r])&&("function"==typeof i?o.call(this,r,i):a.call(this,r,i));return this},o.removeEvent=function(t){var e,n=typeof t,r=this._getEvents();if("string"===n)delete r[t];else if(t instanceof RegExp)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return this},o.removeAllListeners=u("removeEvent"),o.emitEvent=function(t,e){var n,r,i,o,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(t,r.listener),r.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,r.listener);return this},o.trigger=u("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return e.EventEmitter=a,i},void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}("undefined"!=typeof window?window:this||{})},"./src/api/geo.ts":
- /*!************************!*\
- !*** ./src/api/geo.ts ***!
- \************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=n(/*! d3-geo-projection */"./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js"),s=n(/*! ../view */"./src/view.ts"),u=r.__importDefault(n(/*! ../util/get-geo-projection */"./src/util/get-geo-projection.ts")),l={geoArea:function(t){return o.geoArea(t)},geoAreaByName:function(t){return o.geoArea(this.geoFeatureByName(t))},geoCentroid:function(t){return o.geoCentroid(t)},geoCentroidByName:function(t){return o.geoCentroid(this.geoFeatureByName(t))},geoDistance:function(t,e){return o.geoDistance(t,e)},geoLength:function(t){return o.geoLength(t)},geoLengthByName:function(t){return o.geoLength(this.geoFeatureByName(t))},geoContains:function(t,e){return o.geoContains(t,e)},geoFeatureByName:function(t){var e;return this.rows.some((function(n){return n.name===t&&(e=n,!0)})),e},geoFeatureByPosition:function(t){var e;return this.rows.some((function(n){return!!o.geoContains(n,t)&&(e=n,!0)})),e},geoNameByPosition:function(t){var e=this.geoFeatureByPosition(t);if(e)return e.name},getGeoProjection:u.default,geoProject:function(t,e,n){return e=u.default(e,n),a.geoProject(t,e)},geoProjectByName:function(t,e,n){return e=u.default(e,n),a.geoProject(this.geoFeatureByName(t),e)},geoProjectPosition:function(t,e,n){return u.default(e,n)(t)},geoProjectInvert:function(t,e,n){return u.default(e,n).invert(t)}};i.assign(s.View.prototype,l)},"./src/api/hierarchy.ts":
- /*!******************************!*\
- !*** ./src/api/hierarchy.ts ***!
- \******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../view */"./src/view.ts");r.assign(i.View.prototype,{getAllNodes:function(){var t=[],e=this.root;return e&&e.each?e.each((function(e){t.push(e)})):e&&e.eachNode&&e.eachNode((function(e){t.push(e)})),t},getAllLinks:function(){for(var t,e=[],n=[this.root];t=n.pop();){var r=t.children;r&&r.forEach((function(r){e.push({source:t,target:r}),n.push(r)}))}return e}}),r.assign(i.View.prototype,{getAllEdges:i.View.prototype.getAllLinks})},"./src/api/partition.ts":
- /*!******************************!*\
- !*** ./src/api/partition.ts ***!
- \******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../view */"./src/view.ts");i.assign(a.View.prototype,{partition:function(t,e){return void 0===e&&(e=[]),o.default(this.rows,t,e)},group:function(t,e){void 0===e&&(e=[]);var n=this.partition(t,e);return i.values(n)},groups:function(t,e){return void 0===e&&(e=[]),this.group(t,e)}})},"./src/api/statistics.ts":
- /*!*******************************!*\
- !*** ./src/api/statistics.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=r.__importStar(n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=n(/*! ../view */"./src/view.ts"),s=r.__importDefault(n(/*! ../util/p-by-fraction */"./src/util/p-by-fraction.ts"));function u(t,e){var n=t.getColumn(e);return o.isArray(n)&&o.isArray(n[0])&&(n=o.flattenDeep(n)),n}r.__importDefault(n(/*! ../constants */"./src/constants.ts")).default.STATISTICS_METHODS.forEach((function(t){a.View.prototype[t]=function(e){return i[t](u(this,e))}}));var l=i.quantile;o.assign(a.View.prototype,{average:a.View.prototype.mean,quantile:function(t,e){return l(u(this,t),e)},quantiles:function(t,e){var n=u(this,t);return e.map((function(t){return l(n,t)}))},quantilesByFraction:function(t,e){return this.quantiles(t,s.default(e))},range:function(t){return[this.min(t),this.max(t)]},extent:function(t){return this.range(t)}})},"./src/connector/default.ts":
- /*!**********************************!*\
- !*** ./src/connector/default.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js");n(/*! ../data-set */"./src/data-set.ts").DataSet.registerConnector("default",(function(t,e){var n;if(!(n=r.isString(t)?e.getView(t):t))throw new TypeError("Invalid dataView");return r.deepMix([],n.rows)}))},"./src/connector/dsv.ts":
- /*!******************************!*\
- !*** ./src/connector/dsv.ts ***!
- \******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! d3-dsv */"./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js"),o=n(/*! ../data-set */"./src/data-set.ts");o.DataSet.registerConnector("dsv",(function(t,e){void 0===e&&(e={});var n=e.delimiter||",";if(!r.isString(n))throw new TypeError("Invalid delimiter: must be a string!");return i.dsvFormat(n).parse(t)})),o.DataSet.registerConnector("csv",(function(t){return i.csvParse(t)})),o.DataSet.registerConnector("tsv",(function(t){return i.tsvParse(t)}))},"./src/connector/geo-graticule.ts":
- /*!****************************************!*\
- !*** ./src/connector/geo-graticule.ts ***!
- \****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),i=n(/*! ../data-set */"./src/data-set.ts");function o(t,e){e.dataType="geo-graticule";var n=r.geoGraticule().lines();return n.map((function(t,e){return t.index=""+e,t})),e.rows=n,n}e.default=o,i.DataSet.registerConnector("geo-graticule",o)},"./src/connector/geojson.ts":
- /*!**********************************!*\
- !*** ./src/connector/geojson.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importDefault(n(/*! point-at-length */"./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=n(/*! ../data-set */"./src/data-set.ts"),s=o.geoPath();function u(t,e,n){n.dataType=a.DataSet.CONSTANTS.GEO;var o=i.deepMix([],t.features);return o.forEach((function(t){t.name=t.properties.name,t.longitude=[],t.latitude=[];var e=t.pathData=s(t);r.default(e)._path.forEach((function(e){t.longitude.push(e[1]),t.latitude.push(e[2])}));var n=s.centroid(t);t.centroidX=n[0],t.centroidY=n[1]})),o}a.DataSet.registerConnector("geo",u),a.DataSet.registerConnector("geojson",u),a.DataSet.registerConnector("GeoJSON",u),e.default=u},"./src/connector/graph.ts":
- /*!********************************!*\
- !*** ./src/connector/graph.ts ***!
- \********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../data-set */"./src/data-set.ts"),o={nodes:function(t){return t.nodes},edges:function(t){return t.edges}};function a(t,e,n){e=r.assign({},o,e),n.dataType=i.DataSet.CONSTANTS.GRAPH;var a=e.nodes,s=e.edges;if(a&&!r.isFunction(a))throw new TypeError("Invalid nodes: must be a function!");if(s&&!r.isFunction(s))throw new TypeError("Invalid edges: must be a function!");return n.rows=n.graph={nodes:a(t),edges:s(t)},r.assign(n,n.graph),n.rows}i.DataSet.registerConnector("graph",a),i.DataSet.registerConnector("diagram",a)},"./src/connector/hexjson.ts":
- /*!**********************************!*\
- !*** ./src/connector/hexjson.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! d3-hexjson */"./node_modules/_d3-hexjson@1.1.1@d3-hexjson/build/d3-hexjson.js"),o=n(/*! ../data-set */"./src/data-set.ts"),a={width:1,height:1};function s(t){return t.cx=t.x,t.cy=t.y,t.x=[],t.y=[],t.vertices.forEach((function(e){t.x.push(e.x+t.cx),t.y.push(e.y+t.cy)})),t}function u(t,e,n){n.dataType=o.DataSet.CONSTANTS.HEX;var u=(e=r.assign({},a,e)).width,l=e.height,c=r.deepMix([],t);n._HexJSON=c;var f=n._GridHexJSON=i.getGridForHexJSON(c),d=n.rows=i.renderHexJSON(c,u,l).map(s);return n._gridRows=i.renderHexJSON(f,u,l).map(s),d}o.DataSet.registerConnector("hex",u),o.DataSet.registerConnector("hexjson",u),o.DataSet.registerConnector("hex-json",u),o.DataSet.registerConnector("HexJSON",u),e.default=u},"./src/connector/hierarchy.ts":
- /*!************************************!*\
- !*** ./src/connector/hierarchy.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js"),o=n(/*! ../data-set */"./src/data-set.ts");function a(t,e,n){n.dataType=o.DataSet.CONSTANTS.HIERARCHY;var a=e&&e.children?e.children:null;if(a&&!r.isFunction(a))throw new TypeError("Invalid children: must be a function!");return e.pureData?n.rows=n.root=t:n.rows=n.root=i.hierarchy(t,a),t}o.DataSet.registerConnector("hierarchy",a),o.DataSet.registerConnector("tree",a)},"./src/connector/topojson.ts":
- /*!***********************************!*\
- !*** ./src/connector/topojson.ts ***!
- \***********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! topojson-client */"./node_modules/_topojson-client@3.1.0@topojson-client/dist/topojson-client.js"),a=r.__importDefault(n(/*! ./geojson */"./src/connector/geojson.ts")),s=n(/*! ../data-set */"./src/data-set.ts");function u(t,e,n){var r=e.object;if(!i.isString(r))throw new TypeError("Invalid object: must be a string!");var s=o.feature(t,t.objects[r]);return a.default(s,void 0,n)}s.DataSet.registerConnector("topojson",u),s.DataSet.registerConnector("TopoJSON",u)},"./src/constants.ts":
- /*!**************************!*\
- !*** ./src/constants.ts ***!
- \**************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={HIERARCHY:"hierarchy",GEO:"geo",HEX:"hex",GRAPH:"graph",TABLE:"table",GEO_GRATICULE:"geo-graticule",STATISTICS_METHODS:["max","mean","median","min","mode","product","standardDeviation","sum","sumSimple","variance"]}},"./src/data-set.ts":
- /*!*************************!*\
- !*** ./src/data-set.ts ***!
- \*************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataSet=void 0;var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! wolfy87-eventemitter */"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),a=n(/*! ./view */"./src/view.ts"),s=r.__importDefault(n(/*! ./constants */"./src/constants.ts")),u=function(t){function e(e){void 0===e&&(e={state:{}});var n=t.call(this)||this;return n.isDataSet=!0,n._onChangeTimer=null,n.views={},n.state={},n.state=e.state,n}return r.__extends(e,t),e.registerConnector=function(t,n){e.connectors[t]=n},e.getConnector=function(t){return e.connectors[t]||e.connectors.default},e.registerTransform=function(t,n){e.transforms[t]=n},e.getTransform=function(t){return e.transforms[t]||e.transforms.default},e.prototype._getUniqueViewName=function(){for(var t=i.uniqueId("view_");this.views[t];)t=i.uniqueId("view_");return t},e.prototype.createView=function(t,e){if(i.isNil(t)&&(t=this._getUniqueViewName()),i.isObject(t)&&(e=t,t=this._getUniqueViewName()),this.views[t])throw new Error("data view exists: "+t);var n=new a.View(this,e);return this.views[t]=n,n},e.prototype.getView=function(t){return this.views[t]},e.prototype.setView=function(t,e){this.views[t]=e},e.prototype.setState=function(t,e){var n=this;this.state[t]=e,this._onChangeTimer&&(window.clearTimeout(this._onChangeTimer),this._onChangeTimer=null),this._onChangeTimer=window.setTimeout((function(){n.emit("statechange",t,e)}),16)},e.CONSTANTS=s.default,e.connectors={},e.transforms={},e.DataSet=e,e.DataView=a.View,e.View=a.View,e.version="____DATASET_VERSION____",e}(o.default);e.DataSet=u,i.assign(u,s.default),i.assign(u.prototype,{view:u.prototype.createView}),a.View.DataSet=u},"./src/index.ts":
- /*!**********************!*\
- !*** ./src/index.ts ***!
- \**********************/
- /*! no static exports found */function(t,e,n){"use strict";n(/*! ./api/geo */"./src/api/geo.ts"),n(/*! ./api/hierarchy */"./src/api/hierarchy.ts"),n(/*! ./api/partition */"./src/api/partition.ts"),n(/*! ./api/statistics */"./src/api/statistics.ts"),n(/*! ./connector/default */"./src/connector/default.ts"),n(/*! ./connector/dsv */"./src/connector/dsv.ts"),n(/*! ./connector/geo-graticule */"./src/connector/geo-graticule.ts"),n(/*! ./connector/geojson */"./src/connector/geojson.ts"),n(/*! ./connector/graph */"./src/connector/graph.ts"),n(/*! ./connector/hexjson */"./src/connector/hexjson.ts"),n(/*! ./connector/hierarchy */"./src/connector/hierarchy.ts"),n(/*! ./connector/topojson */"./src/connector/topojson.ts"),n(/*! ./transform/default */"./src/transform/default.ts"),n(/*! ./transform/filter */"./src/transform/filter.ts"),n(/*! ./transform/fold */"./src/transform/fold.ts"),n(/*! ./transform/map */"./src/transform/map.ts"),n(/*! ./transform/partition */"./src/transform/partition.ts"),n(/*! ./transform/percent */"./src/transform/percent.ts"),n(/*! ./transform/pick */"./src/transform/pick.ts"),n(/*! ./transform/proportion */"./src/transform/proportion.ts"),n(/*! ./transform/rename */"./src/transform/rename.ts"),n(/*! ./transform/reverse */"./src/transform/reverse.ts"),n(/*! ./transform/sort */"./src/transform/sort.ts"),n(/*! ./transform/sort-by */"./src/transform/sort-by.ts"),n(/*! ./transform/subset */"./src/transform/subset.ts"),n(/*! ./transform/fill-rows */"./src/transform/fill-rows.ts"),n(/*! ./transform/impute */"./src/transform/impute.ts"),n(/*! ./transform/aggregate */"./src/transform/aggregate.ts"),n(/*! ./transform/regression */"./src/transform/regression.ts"),n(/*! ./transform/kde */"./src/transform/kde.ts"),n(/*! ./transform/bin/hexagon */"./src/transform/bin/hexagon.ts"),n(/*! ./transform/bin/histogram */"./src/transform/bin/histogram.ts"),n(/*! ./transform/bin/quantile */"./src/transform/bin/quantile.ts"),n(/*! ./transform/bin/rectangle */"./src/transform/bin/rectangle.ts"),n(/*! ./transform/geo/centroid */"./src/transform/geo/centroid.ts"),n(/*! ./transform/geo/projection */"./src/transform/geo/projection.ts"),n(/*! ./transform/geo/region */"./src/transform/geo/region.ts"),n(/*! ./transform/diagram/arc */"./src/transform/diagram/arc.ts"),n(/*! ./transform/diagram/dagre */"./src/transform/diagram/dagre.ts"),n(/*! ./transform/diagram/sankey */"./src/transform/diagram/sankey.ts"),n(/*! ./transform/diagram/voronoi */"./src/transform/diagram/voronoi.ts"),n(/*! ./transform/hierarchy/cluster */"./src/transform/hierarchy/cluster.ts"),n(/*! ./transform/hierarchy/compact-box */"./src/transform/hierarchy/compact-box.ts"),n(/*! ./transform/hierarchy/dendrogram */"./src/transform/hierarchy/dendrogram.ts"),n(/*! ./transform/hierarchy/indented */"./src/transform/hierarchy/indented.ts"),n(/*! ./transform/hierarchy/pack */"./src/transform/hierarchy/pack.ts"),n(/*! ./transform/hierarchy/partition */"./src/transform/hierarchy/partition.ts"),n(/*! ./transform/hierarchy/tree */"./src/transform/hierarchy/tree.ts"),n(/*! ./transform/hierarchy/treemap */"./src/transform/hierarchy/treemap.ts"),n(/*! ./transform/tag-cloud */"./src/transform/tag-cloud.ts"),n(/*! ./transform/waffle */"./src/transform/waffle.ts"),n(/*! ./transform/kernel-smooth/density */"./src/transform/kernel-smooth/density.ts"),n(/*! ./transform/kernel-smooth/regression */"./src/transform/kernel-smooth/regression.ts");var r=n(/*! ./data-set */"./src/data-set.ts");t.exports=r.DataSet},"./src/transform/aggregate.ts":
- /*!************************************!*\
- !*** ./src/transform/aggregate.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importStar(n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=s.DataSet.registerTransform,l=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),c={as:[],fields:[],groupBy:[],operations:[]},f={count:function(t){return t.length},distinct:function(t,e){return i.uniq(t.map((function(t){return t[e]}))).length}};function d(t,e){e=i.assign({},c,e);var n=l.getFields(e);if(!i.isArray(n))throw new TypeError("Invalid fields: it must be an array with one or more strings!");var r=e.as||[];i.isString(r)&&(r=[r]);var o=e.operations;i.isString(o)&&(o=[o]);var s=["count"];if(i.isArray(o)&&o.length||(console.warn('operations is not defined, will use [ "count" ] directly.'),r=o=s),1!==o.length||"count"!==o[0]){if(o.length!==n.length)throw new TypeError("Invalid operations: it's length must be the same as fields!");if(r.length!==n.length)throw new TypeError("Invalid as: it's length must be the same as fields!")}var u=a.default(t.rows,e.groupBy),d=[];i.forIn(u,(function(t){var e=t[0];o.forEach((function(i,o){var a=r[o],s=n[o];e[a]=f[i](t,s)})),d.push(e)})),t.rows=d}s.DataSet.CONSTANTS.STATISTICS_METHODS.forEach((function(t){f[t]=function(e,n){var r=e.map((function(t){return t[n]}));return i.isArray(r)&&i.isArray(r[0])&&(r=i.flattenDeep(r)),o[t](r)}})),f.average=f.mean,u("aggregate",d),u("summary",d),e.default={VALID_AGGREGATES:i.keys(f)}},"./src/transform/bin/hexagon.ts":
- /*!**************************************!*\
- !*** ./src/transform/bin/hexagon.ts ***!
- \**************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1},u=Math.sqrt(3),l=Math.PI/3,c=[0,l,2*l,3*l,4*l,5*l];function f(t,e,n,r){return Math.sqrt((t-n)*(t-n)+(e-r)*(e-r))}function d(t,e,n){var r=t-n;e/=2;var i=Math.floor(r/e);return[e*(i+(1===Math.abs(i%2)?1:0))+n,e*(i+(1===Math.abs(i%2)?0:1))+n]}function h(t,e){e=i.assign({},s,e);var n=a.getFields(e);if(!i.isArray(n)||2!==n.length)throw new TypeError("Invalid fields: it must be an array with 2 strings!");var o=r.__read(n,2),l=o[0],h=o[1],p=t.range(l),v=t.range(h),g=p[1]-p[0],m=v[1]-v[0],y=e.binWidth||[];if(2!==y.length){var _=r.__read(e.bins,2),b=_[0],x=_[1];if(b<=0||x<=0)throw new TypeError("Invalid bins: must be an array with two positive numbers (e.g. [ 30, 30 ])!");y=[g/b,m/x]}var w=r.__read(e.offset,2),j=w[0],S=w[1],O=3*y[0]/(u*y[1]),k=function(t,e,n){void 0===e&&(e=[1,1]),void 0===n&&(n=[0,0]);var i={},o=r.__read(e,2),a=o[0],s=o[1],u=r.__read(n,2),l=u[0],c=u[1];return t.forEach((function(t){var e,n,o,u,h,p=r.__read(t,2),v=p[0],g=p[1],m=r.__read(d(v,a,l),2),y=m[0],_=m[1],b=r.__read(d(g,s,c),2),x=b[0],w=b[1];f(v,g,y,x)<f(v,g,_,w)?(o="x"+y+"y"+x,u=(e=r.__read([y,x],2))[0],h=e[1]):(o="x"+_+"y"+w,u=(n=r.__read([_,w],2))[0],h=n[1]),i[o]=i[o]||{x:u,y:h,count:0},i[o].count++})),i}(t.rows.map((function(t){return[t[l],O*t[h]]})),[y[0],O*y[1]],[j,O*S]),E=r.__read(e.as,3),C=E[0],M=E[1],T=E[2];if(!C||!M||!T)throw new TypeError('Invalid as: it must be an array with three elements (e.g. [ "x", "y", "count" ])!');var P=y[0]/u,A=c.map((function(t){return[Math.sin(t)*P,-Math.cos(t)*P]})),I=[],N=0;e.sizeByCount&&i.forIn(k,(function(t){t.count>N&&(N=t.count)})),i.forIn(k,(function(t){var n=t.x,r=t.y,i=t.count,o={};o[T]=i,e.sizeByCount?(o[C]=A.map((function(e){return n+t.count/N*e[0]})),o[M]=A.map((function(e){return(r+t.count/N*e[1])/O}))):(o[C]=A.map((function(t){return n+t[0]})),o[M]=A.map((function(t){return(r+t[1])/O}))),I.push(o)})),t.rows=I}o.DataSet.registerTransform("bin.hexagon",h),o.DataSet.registerTransform("bin.hex",h),o.DataSet.registerTransform("hexbin",h)},"./src/transform/bin/histogram.ts":
- /*!****************************************!*\
- !*** ./src/transform/bin/histogram.ts ***!
- \****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={as:["x","count"],bins:void 0,offset:0,groupBy:[]};function l(t,e){e=i.assign({},u,e);var n=s.getField(e);if(0!==t.rows.length){var a,l=t.range(n),c=l[1]-l[0],f=e.binWidth,d=e.bins;if(!f&&d){if(d<=0)throw new TypeError("Invalid bins: it must be a positive number!");f=c/d}if(!f&&!d){var h=(a=t.rows.length,Math.ceil(Math.log(a)/Math.LN2)+1);f=c/h}var p=e.offset%f,v=[],g=e.groupBy,m=o.default(t.rows,g);i.forIn(m,(function(t){var o={};t.map((function(t){return t[n]})).forEach((function(t){var e=r.__read(function(t,e,n){var r=t-n,i=Math.floor(r/e);return[i*e+n,(i+1)*e+n]}(t,f,p),2),n=e[0],i=e[1],a=n+"-"+i;o[a]=o[a]||{x0:n,x1:i,count:0},o[a].count++}));var a=r.__read(e.as,2),s=a[0],u=a[1];if(!s||!u)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var l=i.pick(t[0],g);i.forIn(o,(function(t){var e=i.assign({},l);e[s]=[t.x0,t.x1],e[u]=t.count,v.push(e)}))})),t.rows=v}}a.DataSet.registerTransform("bin.histogram",l),a.DataSet.registerTransform("bin.dot",l)},"./src/transform/bin/quantile.ts":
- /*!***************************************!*\
- !*** ./src/transform/bin/quantile.ts ***!
- \***************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),s=r.__importDefault(n(/*! ../../util/p-by-fraction */"./src/util/p-by-fraction.ts")),u=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,l=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),c={as:"_bin",groupBy:[],fraction:4};u("bin.quantile",(function(t,e){e=i.assign({},c,e);var n=l.getField(e),r=e.as;if(!i.isString(r))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var u=e.p,f=e.fraction;i.isArray(u)&&0!==u.length||(u=s.default(f));var d=t.rows,h=e.groupBy,p=a.default(d,h),v=[];i.forIn(p,(function(t){var e=t[0],i=t.map((function(t){return t[n]})),a=u.map((function(t){return o.quantile(i,t)}));e[r]=a,v.push(e)})),t.rows=v}))},"./src/transform/bin/rectangle.ts":
- /*!****************************************!*\
- !*** ./src/transform/bin/rectangle.ts ***!
- \****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function u(t,e,n){var r=t-n,i=Math.floor(r/e);return[i*e+n,(i+1)*e+n]}function l(t,e){e=i.assign({},s,e);var n=r.__read(a.getFields(e),2),o=n[0],l=n[1];if(!o||!l)throw new TypeError("Invalid fields: must be an array with 2 strings!");var c=t.range(o),f=t.range(l),d=c[1]-c[0],h=f[1]-f[0],p=e.binWidth||[];if(2!==p.length){var v=r.__read(e.bins,2),g=v[0],m=v[1];if(g<=0||m<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");p=[d/g,h/m]}var y=t.rows.map((function(t){return[t[o],t[l]]})),_={},b=r.__read(e.offset,2),x=b[0],w=b[1];y.forEach((function(t){var e=r.__read(u(t[0],p[0],x),2),n=e[0],i=e[1],o=r.__read(u(t[1],p[1],w),2),a=o[0],s=o[1],l=n+"-"+i+"-"+a+"-"+s;_[l]=_[l]||{x0:n,x1:i,y0:a,y1:s,count:0},_[l].count++}));var j=[],S=r.__read(e.as,3),O=S[0],k=S[1],E=S[2];if(!O||!k||!E)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(e.sizeByCount){var C=0;i.forIn(_,(function(t){t.count>C&&(C=t.count)})),i.forIn(_,(function(t){var e=t.x0,n=t.x1,i=t.y0,o=t.y1,a=t.count,s=a/C,u=r.__read([(e+n)/2,(i+o)/2],2),l=u[0],c=u[1],f=(n-e)*s/2,d=(o-i)*s/2,h=l-f,p=l+f,v=c-d,g=c+d,m={};m[O]=[h,p,p,h],m[k]=[v,v,g,g],m[E]=a,j.push(m)}))}else i.forIn(_,(function(t){var e={};e[O]=[t.x0,t.x1,t.x1,t.x0],e[k]=[t.y0,t.y0,t.y1,t.y1],e[E]=t.count,j.push(e)}));t.rows=j}o("bin.rectangle",l),o("bin.rect",l)},"./src/transform/default.ts":
- /*!**********************************!*\
- !*** ./src/transform/default.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(/*! ../data-set */"./src/data-set.ts").DataSet.registerTransform("default",(function(t){return t}))},"./src/transform/diagram/arc.ts":
- /*!**************************************!*\
- !*** ./src/transform/diagram/arc.ts ***!
- \**************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),o={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t,e){e=r.assign({},o,e);var n={},i=t.nodes,a=t.edges;r.isArray(i)&&0!==i.length||(i=function(t,e,n){return void 0===n&&(n={}),t.forEach((function(t){var r=e.edgeSource(t),i=e.edgeTarget(t);n[r]||(n[r]={id:r}),n[i]||(n[i]={id:i})})),r.values(n)}(a,e,n)),i.forEach((function(t){var r=e.id(t);n[r]=t})),function(t,e,n){r.forIn(t,(function(t,r){t.inEdges=e.filter((function(t){return""+n.target(t)==""+r})),t.outEdges=e.filter((function(t){return""+n.source(t)==""+r})),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach((function(e){t.value+=n.targetWeight(e)})),t.outEdges.forEach((function(e){t.value+=n.sourceWeight(e)}))}))}(n,a,e),function(t,e){var n={weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,n){return(""+e.id(t)).localeCompare(""+e.id(n))}}[e.sortBy];!n&&r.isFunction(e.sortBy)&&(n=e.sortBy),n&&t.sort(n)}(i,e),function(t,e){var n=t.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var i=r/(2*n),o=e.thickness;if(o<=0||o>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var a=0;t.forEach((function(t){a+=t.value})),t.forEach((function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=o})),t.forEach((function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*i;var u=n.minX=i+a,l=n.maxX=n.minX+n.width,c=n.minY=e.y-o/2,f=n.maxY=c+o;n.x=[u,l,l,u],n.y=[c,c,f,f]}))}else{var s=1/n;t.forEach((function(t,n){t.x=(n+.5)*s,t.y=e.y}))}}(i,e),function(t,e,n){if(n.weight){var i={};r.forIn(t,(function(t,e){i[e]=t.value})),e.forEach((function(e){var r=n.source(e),o=n.target(e),a=t[r],s=t[o];if(a&&s){var u=i[r],l=n.sourceWeight(e),c=a.minX+(a.value-u)/a.value*a.width,f=c+l/a.value*a.width;i[r]-=l;var d=i[o],h=n.targetWeight(e),p=s.minX+(s.value-d)/s.value*s.width,v=p+h/s.value*s.width;i[o]-=h;var g=n.y;e.x=[c,f,p,v],e.y=[g,g,g,g]}}))}else e.forEach((function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y])}))}(n,a,e),t.nodes=i,t.edges=a}i.DataSet.registerTransform("diagram.arc",a),i.DataSet.registerTransform("arc",a)},"./src/transform/diagram/dagre.ts":
- /*!****************************************!*\
- !*** ./src/transform/diagram/dagre.ts ***!
- \****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! dagre */"./node_modules/_dagre@0.8.5@dagre/index.js")),a=n(/*! ../../data-set */"./src/data-set.ts"),s={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};function u(t,e){e=i.assign({},s,e);var n=new o.default.graphlib.Graph;n.setGraph({}),n.setDefaultEdgeLabel((function(){return{}})),t.nodes.forEach((function(t){var r=e.nodeId?e.nodeId(t):t.id;t.height||t.width||(t.height=t.width=e.edgesep),n.setNode(r,t)})),t.edges.forEach((function(t){n.setEdge(e.source(t),e.target(t))})),o.default.layout(n);var r=[],a=[];n.nodes().forEach((function(t){var e=n.node(t),i=e.x,o=e.y,a=e.height,s=e.width;e.x=[i-s/2,i+s/2,i+s/2,i-s/2],e.y=[o+a/2,o+a/2,o-a/2,o-a/2],r.push(e)})),n.edges().forEach((function(t){var e=n.edge(t).points,r={};r.x=e.map((function(t){return t.x})),r.y=e.map((function(t){return t.y})),a.push(r)})),t.nodes=r,t.edges=a}a.DataSet.registerTransform("diagram.dagre",u),a.DataSet.registerTransform("dagre",u)},"./src/transform/diagram/sankey.ts":
- /*!*****************************************!*\
- !*** ./src/transform/diagram/sankey.ts ***!
- \*****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! d3-sankey */"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a={sankeyLeft:i.sankeyLeft,sankeyRight:i.sankeyRight,sankeyCenter:i.sankeyCenter,sankeyJustify:i.sankeyJustify},s={value:function(t){return t.value},source:function(t){return t.source},target:function(t){return t.target},nodeAlign:"sankeyJustify",nodeWidth:.02,nodePadding:.02,sort:void 0};function u(t,e){e=r.assign({},s,e);var n=null;r.isString(e.nodeAlign)?n=a[e.nodeAlign]:r.isFunction(e.nodeAlign)&&(n=e.nodeAlign);var o=i.sankey().nodeSort(e.sort).links((function(t){return t.edges})).nodeWidth(e.nodeWidth).nodePadding(e.nodePadding).extent([[0,0],[1,1]]);r.isFunction(e.nodeId)&&o.nodeId(e.nodeId),n&&o.nodeAlign(n),o(t),t.nodes.forEach((function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]})),t.edges.forEach((function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var o=t.width/2;t.y=[t.y0+o,t.y0-o,t.y1+o,t.y1-o]}))}o.DataSet.registerTransform("diagram.sankey",u),o.DataSet.registerTransform("sankey",u)},"./src/transform/diagram/voronoi.ts":
- /*!******************************************!*\
- !*** ./src/transform/diagram/voronoi.ts ***!
- \******************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importStar(n(/*! d3-voronoi */"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["_x","_y"]};function u(t,e){var n=(e=i.assign({},s,e)).as;if(!i.isArray(n)||2!==n.length)throw new TypeError("Invalid as: must be an array with two strings!");var o=n[0],u=n[1],l=a.getFields(e);if(!i.isArray(l)||2!==l.length)throw new TypeError("Invalid fields: must be an array with two strings!");var c=l[0],f=l[1],d=t.rows,h=d.map((function(t){return[t[c],t[f]]})),p=r.voronoi();e.extend&&p.extent(e.extend),e.size&&p.size(e.size);var v=p(h).polygons();d.forEach((function(t,e){var n=v[e].filter((function(t){return!!t}));t[o]=n.map((function(t){return t[0]})),t[u]=n.map((function(t){return t[1]}))}))}o("diagram.voronoi",u),o("voronoi",u)},"./src/transform/fill-rows.ts":
- /*!************************************!*\
- !*** ./src/transform/fill-rows.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../data-set */"./src/data-set.ts"),s={fillBy:"group",groupBy:[],orderBy:[]};function u(t,e){var n=t.map((function(t){return t}));return e.forEach((function(t){var e=n.indexOf(t);e>-1&&n.splice(e,1)})),n}function l(t,e){e=i.assign({},s,e);var n=t.rows,r=e.groupBy,a=e.orderBy,l=o.default(n,r,a),c=0,f=[];i.forIn(l,(function(t){t.length>c&&(c=t.length,f=t)}));var d=[],h={};if(f.forEach((function(t){var e=a.map((function(e){return t[e]})).join("-");d.push(e),h[e]=t})),"order"===e.fillBy){var p=f[0],v=[],g={};n.forEach((function(t){var e=a.map((function(e){return t[e]})).join("-");-1===v.indexOf(e)&&(v.push(e),g[e]=t)})),u(v,d).forEach((function(t){var e={};r.forEach((function(t){e[t]=p[t]})),a.forEach((function(n){e[n]=g[t][n]})),n.push(e),f.push(e),d.push(t),h[t]=e})),c=f.length}i.forIn(l,(function(t){if(t!==f&&t.length<c){var e=t[0],i=[];t.forEach((function(t){i.push(a.map((function(e){return t[e]})).join("-"))})),u(d,i).some((function(i,o){if(o>=c-t.length)return!0;var s=h[i],u={};return r.forEach((function(t){u[t]=e[t]})),a.forEach((function(t){u[t]=s[t]})),n.push(u),!1}))}}))}a.DataSet.registerTransform("fill-rows",l),a.DataSet.registerTransform("fillRows",l)},"./src/transform/filter.ts":
- /*!*********************************!*\
- !*** ./src/transform/filter.ts ***!
- \*********************************/
- /*! no static exports found */function(t,e,n){"use strict";function r(t){return!!t}Object.defineProperty(e,"__esModule",{value:!0}),n(/*! ../data-set */"./src/data-set.ts").DataSet.registerTransform("filter",(function(t,e){t.rows=t.rows.filter(e.callback||r)}))},"./src/transform/fold.ts":
- /*!*******************************!*\
- !*** ./src/transform/fold.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../data-set */"./src/data-set.ts"),o=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),a={fields:[],key:"key",retains:[],value:"value"};i.DataSet.registerTransform("fold",(function(t,e){var n=t.getColumnNames();e=r.assign({},a,e);var i=o.getFields(e);0===i.length&&(console.warn("warning: option fields is not specified, will fold all columns."),i=n);var s=e.key,u=e.value,l=e.retains;l&&0!==l.length||(l=r.difference(n,i));var c=[];t.rows.forEach((function(t){i.forEach((function(e){var n=r.pick(t,l);n[s]=e,n[u]=t[e],c.push(n)}))})),t.rows=c}))},"./src/transform/geo/centroid.ts":
- /*!***************************************!*\
- !*** ./src/transform/geo/centroid.ts ***!
- \***************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,o=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),a={as:["_centroid_x","_centroid_y"]};i("geo.centroid",(function(t,e){e=r.assign({},a,e);var n=o.getField(e),i=e.geoView||e.geoDataView;if(r.isString(i)&&t.dataSet&&(i=t.dataSet.getView(i)),!i||"geo"!==i.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var s=e.as;if(!r.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var u=s[0],l=s[1];t.rows.forEach((function(t){var e=i.geoFeatureByName(t[n]);e&&(i._projectedAs?(t[u]=e[i._projectedAs[2]],t[l]=e[i._projectedAs[3]]):(t[u]=e.centroidX,t[l]=e.centroidY))}))}))},"./src/transform/geo/projection.ts":
- /*!*****************************************!*\
- !*** ./src/transform/geo/projection.ts ***!
- \*****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=r.__importDefault(n(/*! point-at-length */"./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),s=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,u=r.__importDefault(n(/*! ../../util/get-geo-projection */"./src/util/get-geo-projection.ts")),l={as:["_x","_y","_centroid_x","_centroid_y"]};s("geo.projection",(function(t,e){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");var n=(e=i.assign({},l,e)).projection;if(!n)throw new TypeError("Invalid projection!");n=u.default(n);var s=o.geoPath(n),c=e.as;if(!i.isArray(c)||4!==c.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=c;var f=r.__read(c,4),d=f[0],h=f[1],p=f[2],v=f[3];t.rows.forEach((function(t){t[d]=[],t[h]=[];var e=s(t);if(e){a.default(e)._path.forEach((function(e){t[d].push(e[1]),t[h].push(e[2])}));var n=s.centroid(t);t[p]=n[0],t[v]=n[1]}})),t.rows=t.rows.filter((function(t){return 0!==t[d].length}))}))},"./src/transform/geo/region.ts":
- /*!*************************************!*\
- !*** ./src/transform/geo/region.ts ***!
- \*************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts").DataSet.registerTransform,o=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),a={as:["_x","_y"]};i("geo.region",(function(t,e){e=r.assign({},a,e);var n=o.getField(e),i=e.geoView||e.geoDataView;if(r.isString(i)&&(i=t.dataSet.getView(i)),!i||"geo"!==i.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var s=e.as;if(!r.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=s[0],l=s[1];t.rows.forEach((function(t){var e=i.geoFeatureByName(t[n]);e&&(i._projectedAs?(t[u]=e[i._projectedAs[0]],t[l]=e[i._projectedAs[1]]):(t[u]=e.longitude,t[l]=e.latitude))}))}))},"./src/transform/hierarchy/cluster.ts":
- /*!********************************************!*\
- !*** ./src/transform/hierarchy/cluster.ts ***!
- \********************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function u(t,e){if(t.dataType!==o.DataSet.CONSTANTS.HIERARCHY||!t.root)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root,u=(e=i.assign({},s,e)).as;if(!i.isArray(u)||2!==u.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var l=void 0;try{l=a.getField(e)}catch(t){console.warn(t)}l&&n.sum((function(t){return t[l]}));var c=r.cluster();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(n);var f=u[0],d=u[1];n.each((function(t){t[f]=t.x,t[d]=t.y}))}o.DataSet.registerTransform("hierarchy.cluster",u),o.DataSet.registerTransform("dendrogram",u)},"./src/transform/hierarchy/compact-box.ts":
- /*!************************************************!*\
- !*** ./src/transform/hierarchy/compact-box.ts ***!
- \************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),o={};function a(t,e){var n=t.root;if(e=Object.assign({},o,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.compactBox(n,e)}i.DataSet.registerTransform("hierarchy.compact-box",a),i.DataSet.registerTransform("compact-box-tree",a),i.DataSet.registerTransform("non-layered-tidy-tree",a),i.DataSet.registerTransform("mindmap-logical",a)},"./src/transform/hierarchy/dendrogram.ts":
- /*!***********************************************!*\
- !*** ./src/transform/hierarchy/dendrogram.ts ***!
- \***********************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),o={};function a(t,e){var n=t.root;if(e=Object.assign({},o,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.dendrogram(n,e)}i.DataSet.registerTransform("hierarchy.dendrogram",a),i.DataSet.registerTransform("dendrogram",a)},"./src/transform/hierarchy/indented.ts":
- /*!*********************************************!*\
- !*** ./src/transform/hierarchy/indented.ts ***!
- \*********************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),o={};function a(t,e){var n=t.root;if(e=Object.assign({},o,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.indented(n,e)}i.DataSet.registerTransform("hierarchy.indented",a),i.DataSet.registerTransform("indented-tree",a)},"./src/transform/hierarchy/pack.ts":
- /*!*****************************************!*\
- !*** ./src/transform/hierarchy/pack.ts ***!
- \*****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",size:[1,1],padding:0,as:["x","y","r"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,r=t.root,l=(e=i.assign({},u,e)).as;if(!i.isArray(l)||3!==l.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=s.getField(e)}catch(t){console.warn(t)}n&&r.sum((function(t){return t[n]})).sort((function(t,e){return e[n]-t[n]}));var c=o.pack();c.size(e.size),e.padding&&c.padding(e.padding),c(r);var f=l[0],d=l[1],h=l[2];r.each((function(t){t[f]=t.x,t[d]=t.y,t[h]=t.r}))}a.DataSet.registerTransform("hierarchy.pack",l),a.DataSet.registerTransform("hierarchy.circle-packing",l),a.DataSet.registerTransform("circle-packing",l)},"./src/transform/hierarchy/partition.ts":
- /*!**********************************************!*\
- !*** ./src/transform/hierarchy/partition.ts ***!
- \**********************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function u(t,e){if(t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=i.assign({},s,e)).as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum((function(t){return t[n]}));var c=r.partition();c.size(e.size).round(e.round).padding(e.padding),c(u);var f=l[0],d=l[1];u.each((function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===l.indexOf(e)&&delete t[e]}))}))}o.DataSet.registerTransform("hierarchy.partition",u),o.DataSet.registerTransform("adjacency",u)},"./src/transform/hierarchy/tree.ts":
- /*!*****************************************!*\
- !*** ./src/transform/hierarchy/tree.ts ***!
- \*****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function u(t,e){if(t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=i.assign({},s,e)).as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum((function(t){return t[n]}));var c=r.tree();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(u);var f=l[0],d=l[1];u.each((function(t){t[f]=t.x,t[d]=t.y}))}o.DataSet.registerTransform("hierarchy.tree",u),o.DataSet.registerTransform("tree",u)},"./src/transform/hierarchy/treemap.ts":
- /*!********************************************!*\
- !*** ./src/transform/hierarchy/treemap.ts ***!
- \********************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js").__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};function u(t,e){if(t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=i.assign({},s,e)).as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum((function(t){return t[n]}));var c=r.treemap();c.tile(r[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft),c(u);var f=l[0],d=l[1];u.each((function(t){t[f]=[t.x0,t.x1,t.x1,t.x0],t[d]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===l.indexOf(e)&&delete t[e]}))}))}o.DataSet.registerTransform("hierarchy.treemap",u),o.DataSet.registerTransform("treemap",u)},"./src/transform/impute.ts":
- /*!*********************************!*\
- !*** ./src/transform/impute.ts ***!
- \*********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importStar(n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),l={groupBy:[]};function c(t){return t.filter((function(t){return!i.isUndefined(t)}))}var f=["mean","median","max","min"],d={};f.forEach((function(t){d[t]=function(e,n){return o[t](n)}})),d.value=function(t,e,n){return n},s.DataSet.registerTransform("impute",(function(t,e){e=i.assign({},l,e);var n=u.getField(e),r=e.method;if(!r)throw new TypeError("Invalid method!");if("value"===r&&!i.has(e,"value"))throw new TypeError("Invalid value: it is nil.");var o=c(t.getColumn(n)),s=a.default(t.rows,e.groupBy);i.forIn(s,(function(t){var a=c(t.map((function(t){return t[n]})));0===a.length&&(a=o),t.forEach((function(o){if(i.isUndefined(o[n]))if(i.isFunction(r))o[n]=r(o,a,e.value,t);else{if(!i.isString(r))throw new TypeError("Invalid method: must be a function or one of "+f.join(", "));o[n]=d[r](o,a,e.value)}}))}))}))},"./src/transform/kde.ts":
- /*!******************************!*\
- !*** ./src/transform/kde.ts ***!
- \******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(n(/*! ../util/kernel */"./src/util/kernel.ts")),s=r.__importStar(n(/*! ../util/bandwidth */"./src/util/bandwidth.ts")),u=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),l=n(/*! ../data-set */"./src/data-set.ts"),c=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),f=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),d={minSize:.01,as:["key","y","size"],extent:[],method:"gaussian",bandwidth:"nrd",step:0,groupBy:[]},h=i.keys(a.default),p=i.keys(s);function v(t,e){e=i.assign({},d,e);var n=c.getFields(e);if(!i.isArray(n)||n.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var l=e.as;if(!i.isArray(l)||3!==l.length)throw new TypeError("invalid as: must be an array of 3 strings!");var p=e.method;if(i.isString(p)){if(-1===h.indexOf(p))throw new TypeError("invalid method: "+p+". Must be one of "+h.join(", "));p=a.default[p]}if(!i.isFunction(p))throw new TypeError("invalid method: kernel method must be a function!");var v=e.extent;if(!i.isArray(v)||0===v.length){var g=[];i.each(n,(function(e){var n=t.range(e);g=g.concat(n)})),v=[Math.min.apply(Math,r.__spread(g)),Math.max.apply(Math,r.__spread(g))]}var m=e.bandwidth;i.isString(m)&&s[m]?m=s[m](t.getColumn(n[0])):i.isFunction(m)?m=m(t.getColumn(n[0])):(!i.isNumber(m)||m<=0)&&(m=s.nrd(t.getColumn(n[0])));var y=o.default(v,e.step?e.step:m),_=[],b=e.groupBy,x=u.default(t.rows,b);i.forIn(x,(function(t){var o={};i.each(n,(function(n){var a=i.pick(t[0],b);o[n]=f.kernelDensityEstimation(t.map((function(t){return t[n]})),p,m);var s=r.__read(l,3),u=s[0],c=s[1],d=s[2];a[u]=n,a[c]=[],a[d]=[],i.each(y,(function(t){var r=o[n](t);r>=e.minSize&&(a[c].push(t),a[d].push(r))})),_.push(a)}))})),t.rows=_}l.DataSet.registerTransform("kernel-density-estimation",v),l.DataSet.registerTransform("kde",v),l.DataSet.registerTransform("KDE",v),e.default={KERNEL_METHODS:h,BANDWIDTH_METHODS:p}},"./src/transform/kernel-smooth/density.ts":
- /*!************************************************!*\
- !*** ./src/transform/kernel-smooth/density.ts ***!
- \************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(n(/*! ../../util/kernel */"./src/util/kernel.ts")),s=n(/*! ../../data-set */"./src/data-set.ts"),u=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l=n(/*! ../../util/bandwidth */"./src/util/bandwidth.ts"),c={as:["x","y","z"],method:"gaussian"},f=i.keys(a.default);function d(t,e){var n,s;e=i.assign({},c,e);var d=u.getFields(e);if(!i.isArray(d)||2!==d.length)throw new TypeError("invalid fields: must be an array of 2 strings!");var h,p=r.__read(e.as,3),v=p[0],g=p[1],m=p[2];if(!i.isString(v)||!i.isString(g)||!i.isString(m))throw new TypeError("invalid as: must be an array of 3 strings!");if(i.isString(e.method)){if(-1===f.indexOf(e.method))throw new TypeError("invalid method: "+e.method+". Must be one of "+f.join(", "));h=a.default[e.method]}var y,_,b,x,w=r.__read(d,2),j=w[0],S=w[1],O=e.extent,k=e.bandwidth;O&&Array.isArray(O)&&Array.isArray(O[0])&&Array.isArray(O[1])?(y=(n=r.__read(O,2))[0],_=n[1]):(y=t.range(j),_=t.range(S)),k&&Array.isArray(k)&&k.slice(0,2).every(i.isNumber)&&k.slice(0,2).every((function(t){return t>0}))?(b=(s=r.__read(k,2))[0],x=s[1]):(b=l.silverman(t.getColumn(j)),x=l.silverman(t.getColumn(S)));for(var E=o.default(y,b),C=o.default(_,x),M=t.rows.length,T=[],P=0;P<E.length;P++)for(var A=0;A<C.length;A++){for(var I=0,N=E[P],D=C[A],R=0;R<M;R++)I+=h((N-t.rows[R][j])/b)*h((D-t.rows[R][S])/x);var L=1/(M*b*x)*I,B={};B[v]=N,B[g]=D,B[m]=L,T.push(B)}t.rows=T}s.DataSet.registerTransform("kernel-smooth.density",d),s.DataSet.registerTransform("kernel.density",d),e.default={KERNEL_METHODS:f}},"./src/transform/kernel-smooth/regression.ts":
- /*!***************************************************!*\
- !*** ./src/transform/kernel-smooth/regression.ts ***!
- \***************************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(n(/*! ../../util/kernel */"./src/util/kernel.ts")),s=n(/*! ../../data-set */"./src/data-set.ts"),u=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),l=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),c=n(/*! ../../util/bandwidth */"./src/util/bandwidth.ts"),f={as:["x","y"],method:"gaussian"},d=i.keys(a.default);function h(t,e,n,r){return t((r-n)/e)}function p(t){return function(e){return i.isArray(e)?e.map((function(e){return t(e)})):t(e)}}function v(t,e){e=i.assign({},f,e);var n=l.getFields(e);if(!i.isArray(n)||1!==n.length&&2!==n.length)throw new TypeError("invalid fields: must be an array of 1 or 2 strings!");var s,v=r.__read(e.as,2),g=v[0],m=v[1];if(!i.isString(g)||!i.isString(m))throw new TypeError("invalid as: must be an array of 2 strings!");var y=e.method;if(i.isString(y)){if(-1===d.indexOf(y))throw new TypeError("invalid method: "+y+". Must be one of "+d.join(", "));s=a.default[y]}var _=r.__read(n,2),b=_[0],x=_[1],w=t.getColumn(b),j=e.extent;!j&&i.isArray(j)||(j=t.range(b));var S=e.bandwidth;(!S||!i.isNumber(S)||S<=0)&&(S=c.silverman(w));var O,k=o.default(j,S),E=w.length,C=h.bind(null,s,S);if(i.isNil(x))O=p((function(t){var e=w.map((function(e){return C(t,e)})),n=u.sum(e),r=E*S;return n&&r?n/r:0}));else{var M=t.getColumn(x);O=p((function(t){var e=w.map((function(e){return C(t,e)})),n=u.sum(e.map((function(t,e){return t*M[e]}))),r=u.sum(e);return n&&r?n/r:0}))}var T=k.map((function(t){var e={};return e[g]=t,e[m]=O(t),e}));t.rows=T}s.DataSet.registerTransform("kernel-smooth.regression",v),s.DataSet.registerTransform("kernel.regression",v),e.default={KERNEL_METHODS:d}},"./src/transform/map.ts":
- /*!******************************!*\
- !*** ./src/transform/map.ts ***!
- \******************************/
- /*! no static exports found */function(t,e,n){"use strict";function r(t){return t}Object.defineProperty(e,"__esModule",{value:!0}),n(/*! ../data-set */"./src/data-set.ts").DataSet.registerTransform("map",(function(t,e){t.rows=t.rows.map(e.callback||r)}))},"./src/transform/partition.ts":
- /*!************************************!*\
- !*** ./src/transform/partition.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../data-set */"./src/data-set.ts"),s={groupBy:[],orderBy:[]};function u(t,e){e=i.assign({},s,e),t.rows=i.values(o.default(t.rows,e.groupBy,e.orderBy))}a.DataSet.registerTransform("partition",(function(t,e){e=i.assign({},s,e),t.rows=o.default(t.rows,e.groupBy,e.orderBy)})),a.DataSet.registerTransform("group",u),a.DataSet.registerTransform("groups",u)},"./src/transform/percent.ts":
- /*!**********************************!*\
- !*** ./src/transform/percent.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),l={groupBy:[],as:"_percent"};s.DataSet.registerTransform("percent",(function(t,e){e=i.assign({},l,e);var n=u.getField(e),r=e.dimension,s=e.groupBy,c=e.as;if(!i.isString(r))throw new TypeError("Invalid dimension: must be a string!");if(i.isArray(c)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),c=c[0]),!i.isString(c))throw new TypeError("Invalid as: must be a string!");var f=t.rows,d=[],h=a.default(f,s);i.forIn(h,(function(t){var e=o.sum(t.map((function(t){return t[n]}))),s=a.default(t,[r]);i.forIn(s,(function(t){var i=o.sum(t.map((function(t){return t[n]}))),a=t[0],s=a[r];a[n]=i,a[r]=s,a[c]=0===e?0:i/e,d.push(a)}))})),t.rows=d}))},"./src/transform/pick.ts":
- /*!*******************************!*\
- !*** ./src/transform/pick.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../data-set */"./src/data-set.ts"),o=n(/*! ../util/option-parser */"./src/util/option-parser.ts");i.DataSet.registerTransform("pick",(function(t,e){var n=o.getFields(e,t.getColumnNames());t.rows=t.rows.map((function(t){return r.pick(t,n)}))}))},"./src/transform/proportion.ts":
- /*!*************************************!*\
- !*** ./src/transform/proportion.ts ***!
- \*************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../data-set */"./src/data-set.ts"),s=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),u={groupBy:[],as:"_proportion"};a.DataSet.registerTransform("proportion",(function(t,e){e=i.assign({},u,e);var n=s.getField(e),r=e.dimension,a=e.groupBy,l=e.as;if(!i.isString(r))throw new TypeError("Invalid dimension: must be a string!");if(i.isArray(l)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),l=l[0]),!i.isString(l))throw new TypeError("Invalid as: must be a string!");var c=t.rows,f=[],d=o.default(c,a);i.forIn(d,(function(t){var e=t.length,a=o.default(t,[r]);i.forIn(a,(function(t){var i=t.length,o=t[0],a=o[r];o[n]=i,o[r]=a,o[l]=i/e,f.push(o)}))})),t.rows=f}))},"./src/transform/regression.ts":
- /*!*************************************!*\
- !*** ./src/transform/regression.ts ***!
- \*************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=r.__importDefault(n(/*! regression */"./node_modules/_regression@2.0.1@regression/dist/regression.js")),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=r.__importDefault(n(/*! ../util/get-series-values */"./src/util/get-series-values.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),l=n(/*! ../util/bandwidth */"./src/util/bandwidth.ts"),c={as:["x","y"],method:"linear",order:2,precision:2},f=["linear","exponential","logarithmic","power","polynomial"];s.DataSet.registerTransform("regression",(function(t,e){e=o.assign({},c,e);var n=u.getFields(e);if(!o.isArray(n)||2!==n.length)throw new TypeError("invalid fields: must be an array of 2 strings.");var s=r.__read(n,2),d=s[0],h=s[1],p=e.method;if(-1===f.indexOf(p))throw new TypeError("invalid method: "+p+". Must be one of "+f.join(", "));var v=t.rows.map((function(t){return[t[d],t[h]]})),g=i.default[p](v,e),m=e.extent;o.isArray(m)&&2===m.length||(m=t.range(d));var y=e.bandwidth;(!o.isNumber(y)||y<=0)&&(y=l.silverman(t.getColumn(d)));var _=a.default(m,y),b=[],x=r.__read(e.as,2),w=x[0],j=x[1];_.forEach((function(t){var e={},n=r.__read(g.predict(t),2),i=n[0],o=n[1];e[w]=i,e[j]=o,isFinite(o)&&b.push(e)})),t.rows=b})),e.default={REGRESSION_METHODS:f}},"./src/transform/rename.ts":
- /*!*********************************!*\
- !*** ./src/transform/rename.ts ***!
- \*********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../data-set */"./src/data-set.ts");function o(t,e){var n=e.map||{},i={};r.isPlainObject(n)&&r.forIn(n,(function(t,e){r.isString(t)&&r.isString(e)&&(i[e]=t)})),t.rows.forEach((function(t){r.forIn(i,(function(e,n){var r=t[n];delete t[n],t[e]=r}))}))}i.DataSet.registerTransform("rename",o),i.DataSet.registerTransform("rename-fields",o)},"./src/transform/reverse.ts":
- /*!**********************************!*\
- !*** ./src/transform/reverse.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(/*! ../data-set */"./src/data-set.ts").DataSet.registerTransform("reverse",(function(t){t.rows.reverse()}))},"./src/transform/sort-by.ts":
- /*!**********************************!*\
- !*** ./src/transform/sort-by.ts ***!
- \**********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=n(/*! ../data-set */"./src/data-set.ts"),o=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),a=["ASC","DESC"];function s(t,e){var n=o.getFields(e,[t.getColumnName(0)]);if(!r.isArray(n))throw new TypeError("Invalid fields: must be an array with strings!");t.rows=r.sortBy(t.rows,n);var i=e.order;if(i&&-1===a.indexOf(i))throw new TypeError("Invalid order: "+i+" must be one of "+a.join(", "));"DESC"===i&&t.rows.reverse()}i.DataSet.registerTransform("sort-by",s),i.DataSet.registerTransform("sortBy",s)},"./src/transform/sort.ts":
- /*!*******************************!*\
- !*** ./src/transform/sort.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(/*! ../data-set */"./src/data-set.ts").DataSet.registerTransform("sort",(function(t,e){var n=t.getColumnName(0);t.rows.sort(e.callback||function(t,e){return t[n]-e[n]})}))},"./src/transform/subset.ts":
- /*!*********************************!*\
- !*** ./src/transform/subset.ts ***!
- \*********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ../data-set */"./src/data-set.ts"),i=n(/*! ../util/option-parser */"./src/util/option-parser.ts");r.DataSet.registerTransform("subset",(function(t,e){var n=e.startRowIndex||0,r=e.endRowIndex||t.rows.length-1,o=i.getFields(e,t.getColumnNames());t.rows=t.getSubset(n,r,o)}))},"./src/transform/tag-cloud.ts":
- /*!************************************!*\
- !*** ./src/transform/tag-cloud.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! ../data-set */"./src/data-set.ts"),a=r.__importDefault(n(/*! ../util/tag-cloud */"./src/util/tag-cloud.ts")),s=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),u={fields:["text","value"],font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:500};function l(t,e){e=i.assign({},u,e);var n=a.default();if(!e.size[0]||!e.size[1])return t.rows=[],void(t._tagCloud=n);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval"].forEach((function(t){e[t]&&n[t](e[t])}));var o=s.getFields(e),l=r.__read(o,2),c=l[0],f=l[1];if(!i.isString(c)||!i.isString(f))throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ "text", "value" ])!');var d=t.rows.map((function(t){return t.text=t[c],t.value=t[f],t}));n.words(d),e.imageMask&&n.createMask(e.imageMask);var h=n.start(),p=h._tags,v=h._bounds||[{x:0,y:0},{x:e.size[0],y:e.size[1]}];p.forEach((function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2}));var g=r.__read(e.size,2),m=g[0],y=g[1],_=h.hasImage;p.push({text:"",value:0,x:_?0:v[0].x,y:_?0:v[0].y,opacity:0}),p.push({text:"",value:0,x:_?m:v[1].x,y:_?y:v[1].y,opacity:0}),t.rows=p,t._tagCloud=h}o.DataSet.registerTransform("tag-cloud",l),o.DataSet.registerTransform("word-cloud",l)},"./src/transform/waffle.ts":
- /*!*********************************!*\
- !*** ./src/transform/waffle.ts ***!
- \*********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),l={fields:["name","value"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:["x","y"]};s.DataSet.registerTransform("waffle",(function(t,e){e=i.assign({},l,e);var n=u.getFields(e),s=r.__read(n,2),c=s[0],f=s[1],d=r.__read(e.as,2),h=d[0],p=d[1],v=e.groupBy,g=a.default(t.rows,v),m=i.keys(g),y=r.__read(e.size,2),_=y[0],b=y[1],x=e.maxCount,w=b/m.length,j=e.rows,S=e.gapRatio,O=[],k=e.scale,E=0,C=0;i.forIn(g,(function(t){var e=o.sum(i.map(t,(function(t){return t[f]}))),n=Math.ceil(e*k/j);e*k>x&&(k=x/e,n=Math.ceil(e*k/j)),C=_/n})),i.forIn(g,(function(t){var e=[E*w,(E+1)*w],n=(e[1]-e[0])*(1-S)/j,r=0,o=0;i.each(t,(function(t){for(var a=t[f],s=Math.round(a*k),u=0;u<s;u++){o===j&&(o=0,r++);var l=i.pick(t,[c,f].concat(v));l[h]=r*C+C/2,l[p]=o*n+n/2+e[0],l._wStep=C,l._hStep=n,o++,O.push(l)}})),E+=1})),t.rows=O}))},"./src/util/bandwidth.ts":
- /*!*******************************!*\
- !*** ./src/util/bandwidth.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nrd=e.silverman=void 0;var r=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js");e.silverman=function(t){var e=r.standardDeviation(t),n=4*Math.pow(e,5),i=3*t.length;return Math.pow(n/i,.2)},e.nrd=function(t){var e=r.standardDeviation(t),n=r.interquartileRange(t);return"number"==typeof n&&(e=Math.min(e,n/1.34)),1.06*e*Math.pow(t.length,-.2)}},"./src/util/get-geo-projection.ts":
- /*!****************************************!*\
- !*** ./src/util/get-geo-projection.ts ***!
- \****************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importStar(n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js")),a=r.__importStar(n(/*! d3-geo-projection */"./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js")),s=r.__importStar(n(/*! d3-composite-projections */"./node_modules/_d3-composite-projections@1.4.0@d3-composite-projections/d3-composite-projections.js"));e.default=function(t,e){if(void 0===e&&(e=!1),i.isFunction(t))return e?t:t();if(i.isString(t)){if(o[t])return e?o[t]:o[t]();if(a[t])return e?a[t]:a[t]();if(s[t])return e?s[t]:s[t]()}return null}},"./src/util/get-series-values.ts":
- /*!***************************************!*\
- !*** ./src/util/get-series-values.ts ***!
- \***************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js");e.default=function(t,e){for(var n=e||1,i=r.__read(t,2),o=i[0],a=i[1],s=[],u=o;u<a;)s.push(u),u+=n;return s.push(a),s}},"./src/util/kernel.ts":
- /*!****************************!*\
- !*** ./src/util/kernel.ts ***!
- \****************************/
- /*! no static exports found */function(t,e,n){"use strict";function r(t){return Math.abs(t)<=1?.5:0}Object.defineProperty(e,"__esModule",{value:!0}),e.default={boxcar:r,cosine:function(t){return Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0},epanechnikov:function(t){return Math.abs(t)<1?.75*(1-t*t):0},gaussian:function(t){return.3989422804*Math.exp(-.5*t*t)},quartic:function(t){if(Math.abs(t)<1){var e=1-t*t;return 15/16*e*e}return 0},triangular:function(t){var e=Math.abs(t);return e<1?1-e:0},tricube:function(t){return Math.abs(t)<1?70/81*function(t){var e=1-Math.pow(Math.abs(t),3);return Math.pow(e,3)}(t):0},triweight:function(t){if(Math.abs(t)<1){var e=1-t*t;return 35/32*e*e*e}return 0},uniform:r}},"./src/util/option-parser.ts":
- /*!***********************************!*\
- !*** ./src/util/option-parser.ts ***!
- \***********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFields=e.getField=void 0;var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i="Invalid fields: it must be an array!";e.getField=function(t,e){var n=t.field,i=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn("Invalid field: it must be a string!"),n[0];if(console.warn("Invalid field: it must be a string! will try to get fields instead."),r.isString(i))return i;if(r.isArray(i)&&i.length)return i[0];if(e)return e;throw new TypeError("Invalid field: it must be a string!")},e.getFields=function(t,e){var n=t.field,o=t.fields;if(r.isArray(o))return o;if(r.isString(o))return console.warn(i),[o];if(console.warn(i+" will try to get field instead."),r.isString(n))return console.warn(i),[n];if(r.isArray(n)&&n.length)return console.warn(i),n;if(e)return e;throw new TypeError(i)}},"./src/util/p-by-fraction.ts":
- /*!***********************************!*\
- !*** ./src/util/p-by-fraction.ts ***!
- \***********************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=1/t,n=[],r=0;r<=1;r+=e)n.push(r);return n}},"./src/util/partition.ts":
- /*!*******************************!*\
- !*** ./src/util/partition.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=r.__importDefault(n(/*! ./simple-sort-by */"./src/util/simple-sort-by.ts"));e.default=function(t,e,n){void 0===n&&(n=[]);var r,a=t;return n&&n.length&&(a=o.default(t,n)),i.isFunction(e)?r=e:i.isArray(e)?r=function(t){return"_"+e.map((function(e){return t[e]})).join("-")}:i.isString(e)&&(r=function(t){return"_"+t[e]}),i.groupBy(a,r)}},"./src/util/simple-sort-by.ts":
- /*!************************************!*\
- !*** ./src/util/simple-sort-by.ts ***!
- \************************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js");e.default=function(t,e){void 0===e&&(e=[]);var n=void 0;return r.isFunction(e)?n=e:r.isArray(e)?n=function(t,n){for(var r=0;r<e.length;r++){var i=e[r];if(t[i]<n[i])return-1;if(t[i]>n[i])return 1}return 0}:r.isString(e)&&(n=function(t,n){return t[e]<n[e]?-1:t[e]>n[e]?1:0}),t.sort(n)}},"./src/util/tag-cloud.ts":
- /*!*******************************!*\
- !*** ./src/util/tag-cloud.ts ***!
- \*******************************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=Math.PI/180;function o(t){return t.text}function a(){return"serif"}function s(){return"normal"}function u(t){return t.value}function l(){return 90*~~(2*Math.random())}function c(){return 1}function f(t,e,n,r){if(!e.sprite){var o=t.context,a=t.ratio;o.clearRect(0,0,2048/a,2048/a);var s=0,u=0,l=0,c=n.length;for(--r;++r<c;){e=n[r],o.save(),o.font=e.style+" "+e.weight+" "+~~((e.size+1)/a)+"px "+e.font;var f=o.measureText(e.text+"m").width*a,d=e.size<<1;if(e.rotate){var h=Math.sin(e.rotate*i),p=Math.cos(e.rotate*i),v=f*p,g=f*h,m=d*p,y=d*h;f=Math.max(Math.abs(v+y),Math.abs(v-y))+31>>5<<5,d=~~Math.max(Math.abs(g+m),Math.abs(g-m))}else f=f+31>>5<<5;if(d>l&&(l=d),s+f>=2048&&(s=0,u+=l,l=0),u+d>=2048)break;o.translate((s+(f>>1))/a,(u+(d>>1))/a),e.rotate&&o.rotate(e.rotate*i),o.fillText(e.text,0,0),e.padding&&(o.lineWidth=2*e.padding,o.strokeText(e.text,0,0)),o.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=u,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var _=o.getImageData(0,0,2048/a,2048/a).data,b=[];--r>=0;)if((e=n[r]).hasText){for(var x=(f=e.width)>>5,w=(d=e.y1-e.y0,0);w<d*x;w++)b[w]=0;if(null==(s=e.xoff))return;u=e.yoff;for(var j=0,S=-1,O=0;O<d;O++){for(w=0;w<f;w++){var k=x*O+(w>>5),E=_[2048*(u+O)+(s+w)<<2]?1<<31-w%32:0;b[k]|=E,j|=E}j?S=O:(e.y0++,d--,O--,u++)}e.y1=e.y0+S,e.sprite=b.slice(0,(e.y1-e.y0)*x)}}}function d(t,e,n){n>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),s=127&a,u=32-s,l=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),f=0;f<l;f++){r=0;for(var d=0;d<=o;d++)if((r<<u|(d<o?(r=i[f*o+d])>>>s:0))&e[c+d])return!0;c+=n}return!1}function h(t,e){var n=t[0],r=t[1];e.x+e.x0<n.x&&(n.x=e.x+e.x0),e.y+e.y0<n.y&&(n.y=e.y+e.y0),e.x+e.x1>r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function v(t){for(var e=[],n=-1;++n<t;)e[n]=0;return e}function g(){return document.createElement("canvas")}function m(t){return"function"==typeof t?t:function(){return t}}var y={archimedean:p,rectangular:function(t){var e=4*t[0]/t[1],n=0,r=0;return function(t){var i=t<0?-1:1;switch(Math.sqrt(1+4*i*t)-i&3){case 0:n+=e;break;case 1:r+=4;break;case 2:n-=e;break;default:r-=4}return[n,r]}}};e.default=function(){var t=[256,256],e=o,n=a,i=u,_=s,b=s,x=l,w=c,j=p,S=[],O=1/0,k=Math.random,E=g,C={};function M(e,n,r){for(var i,o,a,s,u,l=n.x,c=n.y,f=Math.sqrt(t[0]*t[0]+t[1]*t[1]),h=j(t),p=k()<.5?1:-1,v=-p;(i=h(v+=p))&&(o=~~i[0],a=~~i[1],!(Math.min(Math.abs(o),Math.abs(a))>=f));)if(n.x=l+o,n.y=c+a,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1]||r&&d(n,e,t[0])||r&&(u=r,!((s=n).x+s.x1>u[0].x&&s.x+s.x0<u[1].x&&s.y+s.y1>u[0].y&&s.y+s.y0<u[1].y)))){for(var g=n.sprite,m=n.width>>5,y=t[0]>>5,_=n.x-(m<<4),b=127&_,x=32-b,w=n.y1-n.y0,S=void 0,O=(n.y+n.y0)*y+(_>>5),E=0;E<w;E++){S=0;for(var C=0;C<=m;C++)e[O+C]|=S<<x|(C<m?(S=g[E*m+C])>>>b:0);O+=y}return delete n.sprite,!0}return!1}return C.canvas=function(t){return arguments.length?(E=m(t),C):E},C.start=function(){var o=r.__read(t,2),a=o[0],s=o[1],u=function(t){t.width=t.height=1;var e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=2048/e,t.height=2048/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}(E()),l=C.board?C.board:v((t[0]>>5)*t[1]),c=S.length,d=[],p=S.map((function(t,r){return t.text=e.call(this,t,r),t.font=n.call(this,t,r),t.style=_.call(this,t,r),t.weight=b.call(this,t,r),t.rotate=x.call(this,t,r),t.size=~~i.call(this,t,r),t.padding=w.call(this,t,r),t})).sort((function(t,e){return e.size-t.size})),g=-1,m=C.board?[{x:0,y:0},{x:a,y:s}]:null;return function(){for(var e=Date.now();Date.now()-e<O&&++g<c;){var n=p[g];n.x=a*(k()+.5)>>1,n.y=s*(k()+.5)>>1,f(u,n,p,g),n.hasText&&M(l,n,m)&&(d.push(n),m?C.hasImage||h(m,n):m=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}C._tags=d,C._bounds=m}(),C},C.createMask=function(e){var n=document.createElement("canvas"),i=r.__read(t,2),o=i[0],a=i[1];if(o&&a){var s=o>>5,u=v((o>>5)*a);n.width=o,n.height=a;var l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,o,a);for(var c=l.getImageData(0,0,o,a).data,f=0;f<a;f++)for(var d=0;d<o;d++){var h=s*f+(d>>5),p=f*o+d<<2,g=c[p]>=250&&c[p+1]>=250&&c[p+2]>=250?1<<31-d%32:0;u[h]|=g}C.board=u,C.hasImage=!0}},C.timeInterval=function(t){return arguments.length?(O=null==t?1/0:t,C):O},C.words=function(t){return arguments.length?(S=t,C):S},C.size=function(e){return arguments.length?(t=[+e[0],+e[1]],C):t},C.font=function(t){return arguments.length?(n=m(t),C):n},C.fontStyle=function(t){return arguments.length?(_=m(t),C):_},C.fontWeight=function(t){return arguments.length?(b=m(t),C):b},C.rotate=function(t){return arguments.length?(x=m(t),C):x},C.text=function(t){return arguments.length?(e=m(t),C):e},C.spiral=function(t){return arguments.length?(j=y[t]||t,C):j},C.fontSize=function(t){return arguments.length?(i=m(t),C):i},C.padding=function(t){return arguments.length?(w=m(t),C):w},C.random=function(t){return arguments.length?(k=t,C):k},C}},"./src/view.ts":
- /*!*********************!*\
- !*** ./src/view.ts ***!
- \*********************/
- /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.View=void 0;var r=n(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),i=r.__importDefault(n(/*! wolfy87-eventemitter */"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=function(t){function e(e,n){var r=t.call(this)||this;if(r.isView=!0,r.isDataView=!0,r.watchingStates=null,r.dataType="table",r.transforms=[],r.origin=[],r.rows=[],e&&e.isDataSet?r.dataSet=e:(r.dataSet=null,n=e),r.loose=!r.dataSet,n&&(r.watchingStates=n.watchingStates),!r.loose){var i=r.watchingStates;e.on("statechange",(function(t){o.isArray(i)?i.indexOf(t)>-1&&r._reExecute():r._reExecute()}))}return r}return r.__extends(e,t),e.prototype._parseStateExpression=function(t){var e=this.dataSet;if(null!==e){var n=/^\$state\.(\w+)/.exec(t);return n?e.state[n[1]]:t}},e.prototype._preparseOptions=function(t){var e=this,n=function(t){var e={};return o.forIn(t,(function(t,n){o.isObject(t)&&t.isView?e[n]=t:o.isArray(t)?e[n]=t.concat([]):o.isPlainObject(t)?e[n]=o.clone(t):e[n]=t})),e}(t);return this.loose||o.forIn(n,(function(t,r){o.isString(t)&&/^\$state\./.test(t)&&(n[r]=e._parseStateExpression(t))})),n},e.prototype._prepareSource=function(t,n){if(this._source={source:t,options:n},n)r=this._preparseOptions(n),this.origin=e.DataSet.getConnector(r.type)(t,r,this);else if(t instanceof e||o.isString(t))this.origin=e.DataSet.getConnector("default")(t,this.dataSet);else if(o.isArray(t))this.origin=t;else{if(!o.isObject(t)||!t.type)throw new TypeError("Invalid source");var r=this._preparseOptions(t);this.origin=e.DataSet.getConnector(r.type)(r,this)}return this.rows=o.deepMix([],this.origin),this},e.prototype.source=function(t,e){return this._prepareSource(t,e)._reExecuteTransforms(),this.trigger("change",[]),this},e.prototype.transform=function(t){return t&&t.type&&(this.transforms.push(t),this._executeTransform(t)),this},e.prototype._executeTransform=function(t){t=this._preparseOptions(t),e.DataSet.getTransform(t.type)(this,t)},e.prototype._reExecuteTransforms=function(){var t=this;this.transforms.forEach((function(e){t._executeTransform(e)}))},e.prototype.addRow=function(t){this.rows.push(t)},e.prototype.removeRow=function(t){this.rows.splice(t,1)},e.prototype.updateRow=function(t,e){o.assign(this.rows[t],e)},e.prototype.findRows=function(t){return this.rows.filter((function(e){return o.isMatch(e,t)}))},e.prototype.findRow=function(t){return o.find(this.rows,t)},e.prototype.getColumnNames=function(){var t=this.rows[0];return t?o.keys(t):[]},e.prototype.getColumnName=function(t){return this.getColumnNames()[t]},e.prototype.getColumnIndex=function(t){return this.getColumnNames().indexOf(t)},e.prototype.getColumn=function(t){return this.rows.map((function(e){return e[t]}))},e.prototype.getColumnData=function(t){return this.getColumn(t)},e.prototype.getSubset=function(t,e,n){for(var r=[],i=t;i<=e;i++)r.push(o.pick(this.rows[i],n));return r},e.prototype.toString=function(t){return void 0===t&&(t=!1),t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},e.prototype._reExecute=function(){var t=this._source,e=t.source,n=t.options;this._prepareSource(e,n),this._reExecuteTransforms(),this.trigger("change",[])},e}(i.default);e.View=a}})},t.exports=r()},function(t,e,n){(function(t){(function(e){"use strict";var n=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},r=function(t,e){if(!n(t))return t;for(var r=[],i=0;i<t.length;i++){var o=t[i];e(o,i)&&r.push(o)}return r},i={}.toString,o=function(t,e){return i.call(t)==="[object "+e+"]"},a=function(t){return o(t,"Function")},s=function(t){return null==t},u=function(t){return Array.isArray?Array.isArray(t):o(t,"Array")},l=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e};function c(t,e){if(t)if(u(t))for(var n=0,r=t.length;n<r&&!1!==e(t[n],n);n++);else if(l(t))for(var i in t)if(t.hasOwnProperty(i)&&!1===e(t[i],i))break}var f=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return c(t,(function(n,r){a(t)&&"prototype"===r||e.push(r)})),e},d=function(t){return"object"==typeof t&&null!==t},h=function(t){if(!d(t)||!o(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},p=function(t){return o(t,"String")},v=function(t){var e=[];return c(t,(function(t){(function(t,e){return!!n(t)&&t.indexOf(e)>-1})(e,t)||e.push(t)})),e};function g(t){if(n(t))return t[0]}function m(t){if(n(t))return t[t.length-1]}var y=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},_=function(t){return o(t,"Number")},b=function(t){return s(t)?"":t.toString()},x=function(t){var e=b(t);return e.charAt(0).toLowerCase()+e.substring(1)};function w(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t}var j=function(t){var e=b(t);return e.charAt(0).toUpperCase()+e.substring(1)},S={}.toString,O=function(t){return o(t,"Boolean")},k=function(t){return o(t,"Date")},E=Object.prototype;function C(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function M(t,e,n,r){return e&&C(t,e),n&&C(t,n),r&&C(t,r),t}function T(t,e,n,r){for(var i in n=n||0,r=r||5,e)if(e.hasOwnProperty(i)){var o=e[i];null!==o&&h(o)?(h(t[i])||(t[i]={}),n<r?T(t[i],o,n+1,r):t[i]=e[i]):u(o)?(t[i]=[],t[i]=t[i].concat(o)):void 0!==o&&(t[i]=o)}}var P=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)T(t,e[r]);return t},A=function(t,e){if(!n(t))return-1;var r=Array.prototype.indexOf;if(r)return r.call(t,e);for(var i=-1,o=0;o<t.length;o++)if(t[o]===e){i=o;break}return i},I=Object.prototype.hasOwnProperty;function N(t){if(s(t))return!0;if(n(t))return!t.length;var e=function(t){return S.call(t).replace(/^\[object /,"").replace(/]$/,"")}(t);if("Map"===e||"Set"===e)return!t.size;if(function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||E)}(t))return!Object.keys(t).length;for(var r in t)if(I.call(t,r))return!1;return!0}var D=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(p(t)||p(e))return!1;if(n(t)||n(e)){if(t.length!==e.length)return!1;for(var r=!0,i=0;i<t.length&&(r=D(t[i],e[i]));i++);return r}if(d(t)||d(e)){var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(r=!0,i=0;i<o.length&&(r=D(t[o[i]],e[o[i]]));i++);return r}return!1},R=function(t,e){if(!n(t))return t;for(var r=[],i=0;i<t.length;i++){var o=t[i];r.push(e(o,i))}return r};function L(t){return s(t)?0:n(t)?t.length:Object.keys(t).length}function B(t){for(var e=[],n=0,r=t.length;n<r;n++)e=e.concat(t[n]);return e}function $(t,e){for(var n=[],r={},i=0,o=t.length;i<o;i++){var a=t[i][e];s(a)||(u(a)?c(a,(function(t){r[t]||(n.push(t),r[t]=!0)})):r[a]||(n.push(a),r[a]=!0))}return n}function F(t,e){for(var n=null,r=0,i=t.length;r<i;r++){var o=t[r][e];if(!s(o)){n=u(o)?o[0]:o;break}}return n}function z(t,e){if(!e)return{0:t};for(var n=function(t){for(var n="_",r=0,i=e.length;r<i;r++)n+=t[e[r]]&&t[e[r]].toString();return n},r={},i=0,o=t.length;i<o;i++){var a=t[i],s=n(a);r[s]?r[s].push(a):r[s]=[a]}return r}function V(t,e,n){if(void 0===n&&(n={}),!e)return[t];var r=z(t,e),i=[];if(1===e.length&&n[e[0]])c(n[e[0]],(function(t){t="_"+t,i.push(r[t])}));else for(var o in r)i.push(r[o]);return i}function q(t,e){if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}function H(t){if(!t.length)return{min:0,max:0};var e=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:e}}var G=Object.freeze({__proto__:null,merge:B,values:$,firstValue:F,group:V,groupToMap:z,remove:q,getRange:H}),U=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0},Y="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync,W="object"==typeof my&&"function"==typeof my.getSystemInfoSync,X=typeof t&&!1,K="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.sessionStorage;function Z(t){return!(!t||"object"!=typeof t||(1!==t.nodeType||!t.nodeName)&&!t.isCanvasElement)}function Q(){return window&&window.devicePixelRatio||1}function J(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function tt(t){var e=J(t,"width");return"auto"===e&&(e=t.offsetWidth),parseFloat(e)}function et(t){var e=J(t,"height");return"auto"===e&&(e=t.offsetHeight),parseFloat(e)}function nt(t){return t?document.getElementById(t):null}function rt(t,e){var n=e.get("el");if(!n)return t;var r=n.getBoundingClientRect(),i=r.top,o=r.left,a=parseFloat(J(n,"padding-left")),s=parseFloat(J(n,"padding-top"));return{x:t.x-o-a,y:t.y-i-s}}function it(t,e,n){t.addEventListener(e,n,U)}function ot(t,e,n){t.removeEventListener(e,n,U)}function at(t,e){var n=e.get("landscape");if(!n)return t;if(a(n))return n(t,e);var r=e.get("height");return{x:t.y,y:r-t.x}}function st(t,e){var n=t.touches;if(!n)return[at(rt({x:t.clientX,y:t.clientY},e),e)];n.length||(n=t.changedTouches||[]);for(var r=[],i=0,o=n.length;i<o;i++){var a=n[i],s=a.x,u=a.y,l=a.clientX,c=a.clientY,f=void 0;f=_(s)||_(u)?{x:s,y:u}:rt({x:l,y:c},e),r.push(at(f,e))}return r}function ut(t,e){var n=st(t,e.get("canvas"))[0]||{};return{type:t.type,chart:e,native:t,x:n.x,y:n.y}}function lt(t,e,n){return n||(n=document.createElement("canvas").getContext("2d")),n.font=e||"12px sans-serif",n.measureText(t)}function ct(t){var e,n,r,i;return _(t)||p(t)?e=r=i=n=t:u(t)&&(e=t[0],n=s(t[1])?t[0]:t[1],r=s(t[2])?t[0]:t[2],i=s(t[3])?n:t[3]),[e,n,r,i]}function ft(t,e){return void 0===t||"string"==typeof t&&-1!==t.indexOf(e)}function dt(t){return p(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var ht=Object.freeze({__proto__:null,Array:G,upperFirst:j,lowerFirst:x,isString:p,isNumber:_,isBoolean:O,isFunction:a,isDate:k,isArray:u,isNil:s,isObject:l,isPlainObject:h,isEqual:D,deepMix:P,mix:M,each:c,uniq:v,find:function(t,e){if(!u(t))return null;var n;if(a(e)&&(n=e),h(e)&&(n=function(t){return function(t,e){var n=f(e),r=n.length;if(s(t))return!r;for(var i=0;i<r;i+=1){var o=n[i];if(e[o]!==t[o]||!(o in t))return!1}return!0}(t,e)}),n)for(var r=0;r<t.length;r+=1)if(n(t[r]))return t[r];return null},isObjectValueEqual:function(t,e){t=Object.assign({},t),e=Object.assign({},e);var n=Object.getOwnPropertyNames(t),r=Object.getOwnPropertyNames(e);if(n.length!==r.length)return!1;for(var i=0,o=n.length;i<o;i++){var a=n[i];if(t[a]!==e[a])return!1}return!0},parsePadding:ct,directionEnabled:ft,toTimeStamp:dt,substitute:w,isWx:Y,isMy:W,isNode:X,isBrowser:K,isCanvasElement:Z,getPixelRatio:Q,getStyle:J,getWidth:tt,getHeight:et,getDomById:nt,getRelativePosition:rt,addEventListener:it,removeEventListener:ot,createEvent:ut,convertPoints:st,measureText:lt}),pt={label:{fill:"#808080",fontSize:10},line:{stroke:"#E8E8E8",lineWidth:1},grid:{type:"line",stroke:"#E8E8E8",lineWidth:1,lineDash:[2]},tickLine:null,labelOffset:7.5},vt={fontFamily:'"Helvetica Neue", "San Francisco", Helvetica, Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", sans-serif',defaultColor:"#1890FF",pixelRatio:1,padding:"auto",appendPadding:15,colors:["#1890FF","#2FC25B","#FACC14","#223273","#8543E0","#13C2C2","#3436C7","#F04864"],shapes:{line:["line","dash"],point:["circle","hollowCircle"]},sizes:[4,10],axis:{common:pt,bottom:M({},pt,{grid:null}),left:M({},pt,{line:null}),right:M({},pt,{line:null}),circle:M({},pt,{line:null}),radius:M({},pt,{labelOffset:4})},shape:{line:{lineWidth:2,lineJoin:"round",lineCap:"round"},point:{lineWidth:0,size:3},area:{fillOpacity:.1}},_defaultAxis:pt},gt={general:{title:"这是一个图表,",withTitle:"这是一个关于“{title}”的图表。"},coord:{cartesian:"X轴是{xLabel}Y轴是{yLabel}"},scale:{linear:"数值型,数据最小值为{min},最大值为{max};",cat:"分类型, 分类类型有:{values};",timeCat:"时间型,时间范围从{start}到{end};"},geometry:{prefix:"共有{count}种分类组成,",oneData:"第{index}类是{name},数据是{values};",partData:"第{index}类是{name},共有{count}项数据,前{part}项是{values};",allData:"第{index}类是{name},有{count}项数据,分别是{values};"},legend:{prefix:"图例分类有:"}},mt={version:"3.8.8",scales:{},widthRatio:{column:.5,rose:.999999,multiplePie:3/4},lineDash:[4,4],lang:gt};function yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _t(){return(_t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function bt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function xt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}mt.setTheme=function(t){P(mt,t)},mt.setTheme(vt);var wt=function(){function t(){this.__events={}}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this.__events[t]||[];n.push(e),this.__events[t]=n}},e.emit=function(t,e){var n=this;if(l(t)&&(t=(e=t)&&e.type),t){var r=this.__events[t];r&&r.length&&r.forEach((function(t){t.call(n,e)}))}},e.off=function(t,e){var n=this.__events,r=n[t];if(r&&r.length)if(e)for(var i=0,o=r.length;i<o;i++)r[i]===e&&(r.splice(i,1),i--);else delete n[t]},t}(),jt=function(t){bt(n,t);var e=n.prototype;function n(e){var n,r={},i=(n=t.call(this)||this).getDefaultCfg();return n._attrs=r,M(r,i,e),n}return e.getDefaultCfg=function(){return{}},e.get=function(t){return this._attrs[t]},e.set=function(t,e){this._attrs[t]=e},e.destroy=function(){this._attrs={},this.destroyed=!0},n}(wt),St=function(){function t(t){M(this,t),this._init()}var e=t.prototype;return e._init=function(){var t=this.start,e=this.end,n=Math.min(t.x,e.x),r=Math.max(t.x,e.x),i=Math.min(t.y,e.y),o=Math.max(t.y,e.y);this.tl={x:n,y:i},this.tr={x:r,y:i},this.bl={x:n,y:o},this.br={x:r,y:o},this.width=r-n,this.height=o-i},e.reset=function(t,e){this.start=t,this.end=e,this._init()},e.isInRange=function(t,e){l(t)&&(e=t.y,t=t.x);var n=this.tl,r=this.br;return n.x<=t&&t<=r.x&&n.y<=e&&e<=r.y},t}(),Ot={generateDefault:function(){return[1,0,0,1,0,0]},isChanged:function(t){return 1!==t[0]||0!==t[1]||0!==t[2]||1!==t[3]||0!==t[4]||0!==t[5]},multiply:function(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]},scale:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[0],t[2]=e[2]*n[1],t[3]=e[3]*n[1],t[4]=e[4],t[5]=e[5],t},rotate:function(t,e,n){var r=Math.cos(n),i=Math.sin(n),o=e[0]*r+e[2]*i,a=e[1]*r+e[3]*i,s=e[0]*-i+e[2]*r,u=e[1]*-i+e[3]*r;return t[0]=o,t[1]=a,t[2]=s,t[3]=u,t[4]=e[4],t[5]=e[5],t},translate:function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+e[0]*n[0]+e[2]*n[1],t[5]=e[5]+e[1]*n[0]+e[3]*n[1],t},transform:function(t,e){for(var n=[].concat(t),r=0,i=e.length;r<i;r++){var o=e[r];switch(o[0]){case"t":Ot.translate(n,n,[o[1],o[2]]);break;case"s":Ot.scale(n,n,[o[1],o[2]]);break;case"r":Ot.rotate(n,n,o[1])}}return n}},kt={create:function(){return[0,0]},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},normalize:function(t,e){var n=this.length(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},direction:function(t,e){return t[0]*e[1]-e[0]*t[1]},angle:function(t,e){var n=this.dot(t,e)/(this.length(t)*this.length(e));return Math.acos(n)},angleTo:function(t,e,n){var r=this.angle(t,e),i=this.direction(t,e)>=0;return n?i?2*Math.PI-r:r:i?r:2*Math.PI-r},zero:function(t){return 0===t[0]&&0===t[1]},distance:function(t,e){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)},clone:function(t){return[t[0],t[1]]},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},transformMat2d:function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}},Et=[1,0,0,1,0,0],Ct=function(){var t=e.prototype;function e(t){var e,n;this._initDefaultCfg(),M(this,t),this.plot?(e=this.plot.bl,n=this.plot.tr,this.start=e,this.end=n):(e=this.start,n=this.end),this.init(e,n)}return t._initDefaultCfg=function(){},t._scale=function(t,e){var n=this.matrix,r=this.center;Ot.translate(n,n,[r.x,r.y]),Ot.scale(n,n,[t,e]),Ot.translate(n,n,[-r.x,-r.y])},t.init=function(t,e){this.matrix=[].concat(Et),this.center={x:(e.x-t.x)/2+t.x,y:(e.y-t.y)/2+t.y},this.scale&&this._scale(this.scale[0],this.scale[1])},t.convertPoint=function(t){var e=this._convertPoint(t),n=e.x,r=e.y;if(!Ot.isChanged(this.matrix))return{x:n,y:r};var i=[n,r];return kt.transformMat2d(i,i,this.matrix),{x:i[0],y:i[1]}},t.invertPoint=function(t){return this._invertPoint(t)},t._convertPoint=function(t){return t},t._invertPoint=function(t){return t},t.reset=function(t){this.plot=t;var e=t.bl,n=t.tr;this.start=e,this.end=n,this.init(e,n)},e}(),Mt=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="cartesian",this.transposed=!1,this.isRect=!0},n.init=function(e,n){t.prototype.init.call(this,e,n),this.x={start:e.x,end:n.x},this.y={start:e.y,end:n.y}},n._convertPoint=function(t){var e=this.transposed,n=e?"y":"x",r=e?"x":"y",i=this.x,o=this.y;return{x:i.start+(i.end-i.start)*t[n],y:o.start+(o.end-o.start)*t[r]}},n._invertPoint=function(t){var e=this.transposed,n=e?"y":"x",r=e?"x":"y",i=this.x,o=this.y,a={};return a[n]=(t.x-i.start)/(i.end-i.start),a[r]=(t.y-o.start)/(o.end-o.start),a},e}(Ct);function Tt(t,e){return p(e)?e:t.invert(t.scale(e))}Ct.Cartesian=Mt,Ct.Rect=Mt;var Pt=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,r=this.callback;if(t.callback){var i=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var a=i.apply(void 0,n);return s(a)&&(a=r.apply(e,n)),a}}M(this,t),n&&M(this,{callback:n})}var e=t.prototype;return e._getAttrValue=function(t,e){var n=this.values;if(t.isCategory&&!this.linear)return n[t.translate(e)%n.length];var r=t.scale(e);return this.getLinearValue(r)},e.getLinearValue=function(t){var e=this.values,n=e.length-1,r=Math.floor(n*t),i=n*t-r,o=e[r];return o+((r===n?o:e[r+1])-o)*i},e.callback=function(t){var e=this.scales[0];return"identity"===e.type?e.value:this._getAttrValue(e,t)},e.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),r=[],i=0;i<n;i++)r.push(e[i]);return r},e.getFields=function(){var t=this.scales,e=[];return c(t,(function(t){e.push(t.field)})),e},e.getScale=function(t){return this.scales[this.names.indexOf(t)]},e.mapping=function(){for(var t=this.scales,e=this.callback,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r;if(e){for(var a=0,s=r.length;a<s;a++)r[a]=this._toOriginParam(r[a],t[a]);o=e.apply(this,r)}return o=[].concat(o)},e._toOriginParam=function(t,e){var n=t;if(!e.isLinear)if(u(t)){n=[];for(var r=0,i=t.length;r<i;r++)n.push(Tt(e,t[r]))}else n=Tt(e,t);return n},t}(),At=function(t){function e(e){var n;return(n=t.call(this,e)||this).names=["x","y"],n.type="position",n}return bt(e,t),e.prototype.mapping=function(t,e){var n,r,i,o=this.scales,a=this.coord,l=o[0],f=o[1];if(s(t)||s(e))return[];if(u(e)&&u(t)){n=[],r=[];for(var d=0,h=0,p=t.length,v=e.length;d<p&&h<v;d++,h++)i=a.convertPoint({x:l.scale(t[d]),y:f.scale(e[h])}),n.push(i.x),r.push(i.y)}else if(u(e))t=l.scale(t),r=[],c(e,(function(e){e=f.scale(e),i=a.convertPoint({x:t,y:e}),n&&n!==i.x?(u(n)||(n=[n]),n.push(i.x)):n=i.x,r.push(i.y)}));else if(u(t))e=f.scale(e),n=[],c(t,(function(t){t=l.scale(t),i=a.convertPoint({x:t,y:e}),r&&r!==i.y?(u(r)||(r=[r]),r.push(i.y)):r=i.y,n.push(i.x)}));else{t=l.scale(t),e=f.scale(e);var g=a.convertPoint({x:t,y:e});n=g.x,r=g.y}return[n,r]},e}(Pt),It=function(t){function e(e){var n;return(n=t.call(this,e)||this).names=["shape"],n.type="shape",n.gradient=null,n}return bt(e,t),e.prototype.getLinearValue=function(t){var e=this.values;return e[Math.round((e.length-1)*t)]},e}(Pt),Nt=function(t){function e(e){var n;return(n=t.call(this,e)||this).names=["size"],n.type="size",n.gradient=null,n}return bt(e,t),e}(Pt);function Dt(t,e,n,r){return t[r]+(e[r]-t[r])*n}function Rt(t){return"#"+Lt(t[0])+Lt(t[1])+Lt(t[2])}function Lt(t){return 1===(t=(t=Math.round(t)).toString(16)).length&&(t="0"+t),t}var Bt={black:"#000000",blue:"#0000ff",grey:"#808080",green:"#008000",orange:"#ffa500",pink:"#ffc0cb",purple:"#800080",red:"#ff0000",white:"#ffffff",yellow:"#ffff00"};function $t(t){var e=[];return p(t)&&(t=t.split("-")),c(t,(function(t){var n,r;-1===t.indexOf("#")&&(t=function(t){if(Bt[t])return Bt[t];if("#"===t[0]){if(7===t.length)return t;var e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,r){return"#"+e+e+n+n+r+r}));return Bt[t]=e,e}var n=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return n.shift(),n=Rt(n),Bt[t]=n,n}(t)),e.push((n=t,(r=[]).push(parseInt(n.substr(1,2),16)),r.push(parseInt(n.substr(3,2),16)),r.push(parseInt(n.substr(5,2),16)),r))})),function(t){return function(t,e){var n=t.length-1,r=Math.floor(n*e),i=n*e-r,o=t[r],a=r===n?o:t[r+1];return Rt([Dt(o,a,i,0),Dt(o,a,i,1),Dt(o,a,i,2)])}(e,t)}}var Ft=function(t){function e(e){var n;return(n=t.call(this,e)||this).names=["color"],n.type="color",n.gradient=null,p(n.values)&&(n.linear=!0),n}return bt(e,t),e.prototype.getLinearValue=function(t){var e=this.gradient;return e||(e=$t(this.values),this.gradient=e),e(t)},e}(Pt),zt=Object.freeze({__proto__:null,Position:At,Shape:It,Size:Nt,Color:Ft}),Vt={},qt={_coord:null,draw:function(t,e){this.drawShape&&this.drawShape(t,e)},setCoord:function(t){this._coord=t},parsePoint:function(t){var e=this._coord;return e.isPolar&&(1===t.x&&(t.x=.9999999),1===t.y&&(t.y=.9999999)),e.convertPoint(t)},parsePoints:function(t){if(!t)return!1;var e=this,n=[];return t.forEach((function(t){n.push(e.parsePoint(t))})),n}},Ht={defaultShapeType:null,setCoord:function(t){this._coord=t},getShape:function(t){u(t)&&(t=t[0]);var e=this[t]||this[this.defaultShapeType];return e._coord=this._coord,e},getShapePoints:function(t,e){var n=this.getShape(t);return(n.getPoints||n.getShapePoints||this.getDefaultPoints)(e)},getDefaultPoints:function(){return[]},drawShape:function(t,e,n){var r=this.getShape(t);return e.color||(e.color=mt.colors[0]),r.draw(e,n)}};function Gt(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Vt.registerFactory=function(t,e){var n=j(t),r=M({},Ht,e);return Vt[n]=r,r.name=t,r},Vt.registerShape=function(t,e,n){var r=j(t),i=Vt[r],o=M({},qt,n);return i[e]=o,o},Vt.registShape=Vt.registerShape,Vt.getShapeFactory=function(t){return this[j(t=t||"point")]};var Ut=function(t,e,n,r){return e&&Gt(t,e),n&&Gt(t,n),r&&Gt(t,r),t},Yt=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),Ut(this,t)}return t._initDefaultCfg=function(){this.adjustNames=["x","y"]},t.processAdjust=function(){},e}();function Wt(t){var e=t.type,n=t.values;if("linear"===e)return w(gt.scale.linear,t);if("cat"===e)return w(gt.scale.cat,{values:n.slice(0,10).join(" ")});if("timeCat"===e){var r=t.getText(n[0]),i=t.getText(n[n.length-1]);return w(gt.scale.timeCat,{start:r,end:i})}return""}var Xt=["color","size","shape"];function Kt(t){return u(t)?t:p(t)?t.split("*"):[t]}var Zt=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:null,data:null,attrs:{},scales:{},container:null,styleOptions:null,chart:null,shapeType:"",generatePoints:!1,attrOptions:{},sortable:!1,startOnZero:!0,visible:!0,connectNulls:!1,ignoreEmptyGroup:!1,isInit:!1}},n.init=function(){this.get("isInit")||(this._initAttrs(),this._processData(),this.set("isInit",!0))},n._getGroupScales=function(){var t=this,e=[];return c(Xt,(function(n){var r=t.getAttr(n);r&&c(r.scales,(function(t){t&&t.isCategory&&-1===e.indexOf(t)&&e.push(t)}))})),e},n._groupData=function(t){var e=this.get("colDefs"),n=this._getGroupScales();if(n.length){var r={},i=[];return c(n,(function(t){var n=t.field;i.push(n),e&&e[n]&&e[n].values&&(r[t.field]=e[n].values)})),V(t,i,r)}return[t]},n._setAttrOptions=function(t,e){this.get("attrOptions")[t]=e;var n=this.get("attrs");Object.keys(n).length&&this._createAttr(t,e)},n._createAttrOption=function(t,e,n,r){var i={};i.field=e,n?a(n)?i.callback=n:i.values=n:i.values=r,this._setAttrOptions(t,i)},n._createAttr=function(t,e){var n=this.get("attrs"),r=this.get("coord"),i=j(t),o=Kt(e.field);"position"===t&&(e.coord=r);for(var a=[],s=0,u=o.length;s<u;s++){var l=o[s],c=this._createScale(l);a.push(c)}if("position"===t){var f=a[1];"polar"===r.type&&r.transposed&&this.hasAdjust("stack")&&f.values.length&&f.change({nice:!1,min:0,max:Math.max.apply(null,f.values)})}e.scales=a;var d=new zt[i](e);return n[t]=d,d},n._initAttrs=function(){var t=this.get("attrOptions");for(var e in t)t.hasOwnProperty(e)&&this._createAttr(e,t[e])},n._createScale=function(t){var e=this.get("scales"),n=e[t];return n||(n=this.get("chart").createScale(t),e[t]=n),n},n._processData=function(){var t=this.get("data"),e=[],n=this._groupData(t);if(this.get("ignoreEmptyGroup")){var r=this.getYScale();n=n.filter((function(t){return t.some((function(t){return void 0!==t[r.field]}))}))}for(var i=0,o=n.length;i<o;i++){var a=n[i],s=this._saveOrigin(a);this.hasAdjust("dodge")&&this._numberic(s),e.push(s)}return this.get("adjust")&&this._adjustData(e),this.get("sortable")&&this._sort(e),this.emit("afterprocessdata",{dataArray:e}),this.set("mappingData",e),this.set("dataArray",e),e},n._saveOrigin=function(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n],o={};for(var a in i)o[a]=i[a];o._origin=i,e.push(o)}return e},n._numberic=function(t){for(var e=this.getAttr("position").scales,n=0,r=t.length;n<r;n++)for(var i=t[n],o=Math.min(2,e.length),a=0;a<o;a++){var s=e[a];if(s.isCategory){var u=s.field;i[u]=s.translate(i[u])}}},n._adjustData=function(t){var e=this.get("adjust");if(e){var n=j(e.type);if(!Yt[n])throw new Error("not support such adjust : "+e);var r=this.getXScale(),i=this.getYScale(),o=M({xField:r.field,yField:i.field},e);new Yt[n](o).processAdjust(t),"Stack"===n&&this._updateStackRange(i.field,i,t)}},n._updateStackRange=function(t,e,n){for(var r=B(n),i=e.min,o=e.max,a=0,s=r.length;a<s;a++){var u=r[a],l=Math.min.apply(null,u[t]),c=Math.max.apply(null,u[t]);l<i&&(i=l),c>o&&(o=c)}(i<e.min||o>e.max)&&e.change({min:i,max:o})},n._sort=function(t){var e=this.getXScale(),n=e.field,r=e.type;"identity"!==r&&e.values.length>1&&c(t,(function(t){t.sort((function(t,i){return"timeCat"===r?dt(t._origin[n])-dt(i._origin[n]):e.translate(t._origin[n])-e.translate(i._origin[n])}))})),this.set("hasSorted",!0),this.set("dataArray",t)},n.paint=function(){var t=this.get("mappingData"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this._beforeMapping(t);for(var r=0,i=t.length;r<i;r++){var o=t[r];if(o.length){var a=this._mapping(o);e.push(a),this.draw(a,n)}}this.set("dataArray",e),this.generateAria()},n.getShapeFactory=function(){var t=this.get("shapeFactory");if(!t){var e=this.get("shapeType");t=Vt.getShapeFactory(e),this.set("shapeFactory",t)}return t},n._mapping=function(t){var e=this.get("attrs"),n=this.getYScale().field,r={},i=new Array(t.length);for(var o in e)if(e.hasOwnProperty(o))for(var a=e[o],s=a.names,l=a.scales,c=0,f=t.length;c<f;c++){var d=t[c],h=_t({},d,i[c]);if(h._originY=d[n],"position"===a.type)for(var p=this._getAttrValues(a,d),v=0,g=p.length;v<g;v++){var m=p[v];h[s[v]]=u(m)&&1===m.length?m[0]:m}else{var y=s[0],_=""+y+d[l[0].field],b=r[_];b||(b=this._getAttrValues(a,d),r[_]=b),h[y]=b[0]}i[c]=h}return i},n._getAttrValues=function(t,e){for(var n=t.scales,r=[],i=0,o=n.length;i<o;i++){var a=n[i],s=a.field;"identity"===a.type?r.push(a.value):r.push(e[s])}return t.mapping.apply(t,r)},n.getAttrValue=function(t,e){var n=this.getAttr(t),r=null;return n&&(r=this._getAttrValues(n,e)[0]),r},n._beforeMapping=function(t){this.get("generatePoints")&&this._generatePoints(t)},n.isInCircle=function(){var t=this.get("coord");return t&&t.isPolar},n.getCallbackCfg=function(t,e,n){if(!t)return e;var r={},i=t.map((function(t){return n[t]}));return c(e,(function(t,e){a(t)?r[e]=t.apply(null,i):r[e]=t})),r},n.getDrawCfg=function(t){var e=this.isInCircle(),n={origin:t,x:t.x,y:t.y,color:t.color,size:t.size,shape:t.shape,isInCircle:e,opacity:t.opacity},r=this.get("styleOptions");return r&&r.style&&(n.style=this.getCallbackCfg(r.fields,r.style,t._origin)),this.get("generatePoints")&&(n.points=t.points,n.nextPoints=t.nextPoints),e&&(n.center=this.get("coord").center),n},n.draw=function(t,e){var n=this,r=n.get("container"),i=n.getYScale();c(t,(function(t,o){if(!i||!s(t._origin[i.field])){t.index=o;var a=n.getDrawCfg(t),u=t.shape;n.drawShape(u,t,a,r,e)}}))},n.drawShape=function(t,e,n,r,i){var o=i.drawShape(t,n,r);o&&c([].concat(o),(function(t){t.set("origin",e)}))},n._generatePoints=function(t){var e=this,n=e.getShapeFactory(),r=e.getAttr("shape");c(t,(function(t){for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e.createShapePointsCfg(a),u=r?e._getAttrValues(r,a):null,l=n.getShapePoints(u,s);a.points=l}})),c(t,(function(e,n){var r=t[n+1];r&&(e[0].nextPoints=r[0].points)}))},n.generateAria=function(){var t=this.get("container");if(t.get("aria")){var e=[],n=this.get("coord"),r=this.getXScale(),i=this.getYScale(),o=function(t,e,n){var r=t.type;return gt.coord[r]?w(gt.coord[r],{xLabel:Wt(e),yLabel:Wt(n)}):""}(n,r,i);e.push(o);var a=gt.geometry,s=a.prefix,u=a.oneData,l=a.partData,f=a.allData,d=this.get("dataArray"),h=d.length,p=this._getGroupScales()[0];if(p){var v=w(s,{count:h});e.push(v),c(d,(function(t,n){var o=t.length;if(o){var a=t[0]._origin;if(1===o)e.push(w(u,{index:n+1,count:o,name:a[p.field],values:a[i.field]}));else{var s=o>5?l:f,c=t.slice(0,5).map((function(t){var e=t._origin;return r.getText(e[r.field])+":"+i.getText(e[i.field])}));e.push(w(s,{index:n+1,count:o,part:3,name:a[p.field],values:c.join(" ")}))}}}))}t.set("ariaLabel",e.join(""))}},n.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},n.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return this.get("startOnZero")?n<=0&&e<=0?n:e>=0?e:0:e},n._normalizeValues=function(t,e){var n=[];if(u(t))for(var r=0,i=t.length;r<i;r++){var o=t[r];n.push(e.scale(o))}else n=e.scale(t);return n},n.getAttr=function(t){return this.get("attrs")[t]},n.getXScale=function(){return this.getAttr("position").scales[0]},n.getYScale=function(){return this.getAttr("position").scales[1]},n.hasAdjust=function(t){return this.get("adjust")&&this.get("adjust").type===t},n._getSnap=function(t,e,n){var r,i=0,o=this.getYScale().field;if(this.hasAdjust("stack")&&t.field===o){r=[],n.forEach((function(t){r.push(t._originY)}));for(var a=r.length;i<a&&!(r[0][0]>e);i++){if(r[r.length-1][1]<=e){i=r.length-1;break}if(r[i][0]<=e&&r[i][1]>e)break}}else{(r=t.values).sort((function(t,e){return t-e}));for(var s=r.length;!(!(i<s)||s<=1||(r[0]+r[1])/2>e||(r[i-1]+r[i])/2<=e&&(r[i+1]+r[i])/2>e);i++)if((r[r.length-2]+r[r.length-1])/2<=e){i=r.length-1;break}}return r[i]},n.getSnapRecords=function(t){var e=this,n=e.get("coord"),r=e.getXScale(),i=e.getYScale(),o=r.field,a=e.get("dataArray");this.get("hasSorted")||this._sort(a);var l=[],c=n.invertPoint(t),f=c.x;e.isInCircle()&&!n.transposed&&f>(1+r.rangeMax())/2&&(f=r.rangeMin());var d=r.invert(f);r.isCategory||(d=e._getSnap(r,d));var h=[];if(a.forEach((function(t){t.forEach((function(t){var n=s(t._origin)?t[o]:t._origin[o];e._isEqual(n,d,r)&&h.push(t)}))})),this.hasAdjust("stack")&&n.isPolar&&n.transposed){if(f>=0&&f<=1){var p=i.invert(c.y);p=e._getSnap(i,p,h),h.forEach((function(t){(u(p)?t._originY.toString()===p.toString():t._originY===p)&&l.push(t)}))}}else l=h;return l},n.getRecords=function(t){var e=this,n=this.getXScale(),r=this.get("dataArray"),i=n.field;return r.map((function(r){for(var o=r.length-1;o>=0;o--){var a=r[o],u=s(a._origin)?a[i]:a._origin[i];if(e._isEqual(u,t,n))return a}return null}))},n._isEqual=function(t,e,n){return"timeCat"===n.type?dt(t)===e:e===t},n.position=function(t){return this._setAttrOptions("position",{field:t}),this},n.color=function(t,e){return this._createAttrOption("color",t,e,mt.colors),this},n.size=function(t,e){return this._createAttrOption("size",t,e,mt.sizes),this},n.shape=function(t,e){var n=this.get("type"),r=mt.shapes[n]||[];return this._createAttrOption("shape",t,e,r),this},n.style=function(t,e){var n,r=this.get("styleOptions");return r||(r={},this.set("styleOptions",r)),l(t)&&(e=t,t=null),t&&(n=Kt(t)),r.fields=n,r.style=e,this},n.adjust=function(t){return p(t)&&(t={type:t}),this.set("adjust",t),this},n.animate=function(t){return this.set("animateCfg",t),this},n.changeData=function(t){this.set("data",t),this.set("scales",{}),this.get("isInit")&&(this.set("isInit",!1),this.init())},n.clearInner=function(){var t=this.get("container");t&&t.clear()},n.reset=function(){this.set("isInit",!1),this.set("attrs",{}),this.set("attrOptions",{}),this.set("adjust",null),this.clearInner()},n.clear=function(){this.clearInner()},n.destroy=function(){this.set("isInit",!1),this.clear(),t.prototype.destroy.call(this)},n._display=function(t){this.set("visible",t);var e=this.get("container"),n=e.get("canvas");e.set("visible",t),n.draw()},n.show=function(){this._display(!0)},n.hide=function(){this._display(!1)},e}(jt),Qt={};function Jt(t){return Qt[t]}function te(t,e){Qt[t]=e}var ee=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){M(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return R(this.ticks,(function(e,n){return l(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}}))},t.prototype.getText=function(t,e){var n=this.formatter,r=n?n(t,e):t;return s(r)||!a(r.toString)?"":r.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){M(this,this.__cfg__),this.setDomain(),N(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(p(t)){var n=Jt(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else a(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return g(this.range)},t.prototype.rangeMax=function(){return m(this.range)},t.prototype.calcPercent=function(t,e,n){return _(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),ne=function(t,e){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */function re(t,e){function n(){this.constructor=t}ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function ie(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var oe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return re(e,t),e.prototype.translate=function(t){var e=A(this.values,t);return-1===e?_(t)?t:NaN:e},e.prototype.scale=function(t){var e=this.translate(t),n=this.calcPercent(e,this.min,this.max);return this.calcValue(n,this.rangeMin(),this.rangeMax())},e.prototype.invert=function(t){var e=this.max-this.min,n=this.calcPercent(t,this.rangeMin(),this.rangeMax()),r=Math.round(e*n)+this.min;return r<this.min||r>this.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=e;return _(e)&&!this.values.includes(e)&&(i=this.values[i]),t.prototype.getText.apply(this,ie([i],n))},e.prototype.initCfg=function(){this.tickMethod="cat"},e.prototype.setDomain=function(){if(s(this.getConfig("min"))&&(this.min=0),s(this.getConfig("max"))){var t=this.values.length;this.max=t>1?t-1:t}},e}(ee),ae=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,se="[^\\s]+",ue=/\[([^]*?)\]/gm;function le(t,e){for(var n=[],r=0,i=t.length;r<i;r++)n.push(t[r].substr(0,e));return n}var ce=function(t){return function(e,n){var r=n[t].map((function(t){return t.toLowerCase()})).indexOf(e.toLowerCase());return r>-1?r:null}};function fe(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];for(var a in o)t[a]=o[a]}return t}var de=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],he=["January","February","March","April","May","June","July","August","September","October","November","December"],pe=le(he,3),ve={dayNamesShort:le(de,3),dayNames:de,monthNamesShort:pe,monthNames:he,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!=10?1:0)*t%10]}},ge=fe({},ve),me=function(t){return ge=fe(ge,t)},ye=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},_e=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length<e;)t="0"+t;return t},be={D:function(t){return String(t.getDate())},DD:function(t){return _e(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return String(t.getDay())},dd:function(t){return _e(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return String(t.getMonth()+1)},MM:function(t){return _e(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return _e(String(t.getFullYear()),4).substr(2)},YYYY:function(t){return _e(t.getFullYear(),4)},h:function(t){return String(t.getHours()%12||12)},hh:function(t){return _e(t.getHours()%12||12)},H:function(t){return String(t.getHours())},HH:function(t){return _e(t.getHours())},m:function(t){return String(t.getMinutes())},mm:function(t){return _e(t.getMinutes())},s:function(t){return String(t.getSeconds())},ss:function(t){return _e(t.getSeconds())},S:function(t){return String(Math.round(t.getMilliseconds()/100))},SS:function(t){return _e(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return _e(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+_e(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+_e(Math.floor(Math.abs(e)/60),2)+":"+_e(Math.abs(e)%60,2)}},xe=function(t){return+t-1},we=[null,"[1-9]\\d?"],je=[null,se],Se=["isPm",se,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],Oe=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],ke={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+se,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",xe],MM:["month","\\d\\d",xe],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:we,dd:we,ddd:je,dddd:je,MMM:["month",se,ce("monthNamesShort")],MMMM:["month",se,ce("monthNames")],a:Se,A:Se,ZZ:Oe,Z:Oe},Ee={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Ce=function(t){return fe(Ee,t)},Me=function(t,e,n){if(void 0===e&&(e=Ee.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var r=[];e=(e=Ee[e]||e).replace(ue,(function(t,e){return r.push(e),"@@@"}));var i=fe(fe({},ge),n);return(e=e.replace(ae,(function(e){return be[e](t,i)}))).replace(/@@@/g,(function(){return r.shift()}))};function Te(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Ee[e]||e,t.length>1e3)return null;var r={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],o=[],a=e.replace(ue,(function(t,e){return o.push(ye(e)),"@@@"})),s={},u={};a=ye(a).replace(ae,(function(t){var e=ke[t],n=e[0],r=e[1],o=e[3];if(s[n])throw new Error("Invalid format. "+n+" specified twice in format");return s[n]=!0,o&&(u[o]=!0),i.push(e),"("+r+")"})),Object.keys(u).forEach((function(t){if(!s[t])throw new Error("Invalid format. "+t+" is required in specified format")})),a=a.replace(/@@@/g,(function(){return o.shift()}));var l=t.match(new RegExp(a,"i"));if(!l)return null;for(var c=fe(fe({},ge),n),f=1;f<l.length;f++){var d=i[f-1],h=d[0],p=d[2],v=p?p(l[f],c):+l[f];if(null==v)return null;r[h]=v}1===r.isPm&&null!=r.hour&&12!=+r.hour?r.hour=+r.hour+12:0===r.isPm&&12==+r.hour&&(r.hour=0);for(var g=new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond),m=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],y=(f=0,m.length);f<y;f++)if(s[m[f][0]]&&r[m[f][0]]!==g[m[f][1]]())return null;return null==r.timezoneOffset?g:new Date(Date.UTC(r.year,r.month,r.day,r.hour,r.minute-r.timezoneOffset,r.second,r.millisecond))}var Pe={format:Me,parse:Te,defaultI18n:ve,setGlobalDateI18n:me,setGlobalDateMasks:Ce},Ae=Object.freeze({__proto__:null,default:Pe,assign:fe,format:Me,parse:Te,defaultI18n:ve,setGlobalDateI18n:me,setGlobalDateMasks:Ce});function Ie(t,e){return(Ae.format||Pe.format)(t,e)}function Ne(t){return p(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),k(t)&&(t=t.getTime()),t}var De=36e5,Re=24*De,Le=31*Re,Be=[["HH:mm:ss",1e3],["HH:mm:ss",1e4],["HH:mm:ss",3e4],["HH:mm",6e4],["HH:mm",6e5],["HH:mm",18e5],["HH",De],["HH",6*De],["HH",12*De],["YYYY-MM-DD",Re],["YYYY-MM-DD",4*Re],["YYYY-WW",7*Re],["YYYY-MM",Le],["YYYY-MM",4*Le],["YYYY-MM",6*Le],["YYYY",380*Re]];function $e(t,e,n){var r,i=(r=function(t){return t[1]},function(t,e,n,i){for(var o=s(n)?0:n,a=s(i)?t.length:i;o<a;){var u=o+a>>>1;r(t[u])>e?a=u:o=u+1}return o})(Be,(e-t)/n)-1,o=Be[i];return i<0?o=Be[0]:i>=Be.length&&(o=m(Be)),o}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return re(e,t),e.prototype.translate=function(t){t=Ne(t);var e=this.values.indexOf(t);return-1===e&&(e=_(t)&&t<this.values.length?t:NaN),e},e.prototype.getText=function(t,e){var n=this.translate(t);if(n>-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):Ie(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;c(e,(function(t,n){e[n]=Ne(t)})),e.sort((function(t,e){return t-e})),t.prototype.setDomain.call(this)},e}(oe),ze=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return re(e,t),e.prototype.scale=function(t){if(s(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=g(e),r=m(e);n<this.min&&(this.min=n),r>this.max&&(this.max=r),s(this.minLimit)||(this.min=n),s(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=function(t){var e=t.filter((function(t){return!isNaN(t)}));if(!e.length)return{min:0,max:0};if(u(t[0])){for(var n=[],r=0;r<t.length;r++)n=n.concat(t[r]);e=n}var i=Math.max.apply(null,e);return{min:Math.min.apply(null,e),max:i}}(this.values),e=t.min,n=t.max;s(this.min)&&(this.min=e),s(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=r(n,(function(t){return t>=e.min&&t<=e.max}))),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(ee),Ve=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return re(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(ze);function qe(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function He(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function Ge(t,e,n){s(n)&&(n=Math.max.apply(null,t));var r=n;return c(t,(function(t){t>0&&t<r&&(r=t)})),r===n&&(r=n/e),r>1&&(r=1),r}var Ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return re(e,t),e.prototype.invert=function(t){var e,n=this.base,r=He(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;var s=1/(r-(e=He(n,a/n)))*o;if(t<s)return t/s*a}else e=He(n,this.min);var u=(t-i)/o*(r-e)+e;return Math.pow(n,u)},e.prototype.initCfg=function(){this.tickMethod="log",this.base=10,this.tickCount=6,this.nice=!0},e.prototype.setDomain=function(){t.prototype.setDomain.call(this);var e=this.min;if(e<0)throw new Error("When you use log scale, the minimum value must be greater than zero!");0===e&&(this.positiveMin=Ge(this.values,this.base,this.max))},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var r=this.base,i=this.positiveMin;return i&&(n=1*i/r),t<i?t/i/(He(r,e)-He(r,n)):(He(r,t)-He(r,n))/(He(r,e)-He(r,n))},e}(ze),Ye=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="pow",e}return re(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t),n=this.exponent,r=qe(n,this.max),i=qe(n,this.min),o=e*(r-i)+i,a=o>=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return(qe(r,t)-qe(r,n))/(qe(r,e)-qe(r,n))},e}(ze),We=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return re(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):Ie(n,this.mask)},e.prototype.scale=function(e){var n=e;return(p(n)||k(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Ne(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(s(e)&&_(e)||(this.min=this.translate(this.min)),s(n)&&_(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],i=1/0,o=i,a=0;c(t,(function(t){var e=Ne(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");i>e?(o=i,i=e):o>e&&(o=e),a<e&&(a=e),r.push(e)})),t.length>1&&(this.minTickInterval=o-i),s(e)&&(this.min=i),s(n)&&(this.max=a)}},e}(Ve),Xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return re(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),i=Math.floor(r*(n-1));if(i>=n-1)return m(e);if(i<0)return g(e);var o=e[i],a=i/(n-1);return o+(r-a)/((i+1)/(n-1)-a)*(e[i+1]-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(m(e)!==this.max&&e.push(this.max),g(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(t<g(e))return 0;if(t>m(e))return 1;var n=0;return c(e,(function(e,r){if(!(t>=e))return!1;n=r})),n/(e.length-1)},e}(ze),Ke=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return re(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Xe),Ze={};function Qe(t){return Ze[t]}function Je(t,e){if(Qe(t))throw new Error("type '"+t+"' existed.");Ze[t]=e}var tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return re(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&_(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return t<e[0]||t>e[1]?NaN:this.values[0]},e}(ee),en=[1,5,2,2.5,4,3],nn=100*Number.EPSILON;function rn(t,e,n,r,i,o){var a=L(e),s=A(e,t),u=0,l=function(t,e){return(t%e+e)%e}(r,o);return(l<nn||o-l<nn)&&r<=0&&i>=0&&(u=1),1-s/(a-1)-n+u}function on(t,e,n){var r=L(e);return 1-A(e,t)/(r-1)-n+1}function an(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function sn(t,e){return t>=e?2-(t-1)/(e-1):1}function un(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function ln(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function cn(t,e,n,r,i,o){if(void 0===n&&(n=5),void 0===r&&(r=!0),void 0===i&&(i=en),void 0===o&&(o=[.25,.2,.5,.05]),"number"!=typeof t||"number"!=typeof e)return{min:0,max:0,ticks:[]};if(t===e||1===n)return{min:t,max:e,ticks:[t]};for(var a={score:-2,lmin:0,lmax:0,lstep:0},s=1;s<1/0;){for(var u=0,l=i;u<l.length;u++){var c=l[u],f=on(c,i,s);if(Number.isNaN(f))throw new Error("NaN");if(o[0]*f+o[1]+o[2]+o[3]<a.score){s=1/0;break}for(var d=2;d<1/0;){var h=sn(d,n);if(o[0]*f+o[1]+o[2]*h+o[3]<a.score)break;for(var p=(e-t)/(d+1)/s/c,v=Math.ceil(Math.log10(p));v<1/0;){var y=s*c*Math.pow(10,v),_=ln(t,e,y*(d-1));if(o[0]*f+o[1]*_+o[2]*h+o[3]<a.score)break;var b=Math.floor(e/y)*s-(d-1)*s,x=Math.ceil(t/y)*s;if(b>x)v+=1;else{for(var w=b;w<=x;w+=1){var j=w*(y/s),S=j+y*(d-1),O=y,k=rn(c,i,s,j,S,O),E=un(t,e,j,S),C=an(d,n,t,e,j,S),M=o[0]*k+o[1]*E+o[2]*C+1*o[3];M>a.score&&(!r||j<=t&&S>=e)&&(a.lmin=j,a.lmax=S,a.lstep=O,a.score=M)}v+=1}}d+=1}}s+=1}for(var T=Number.isInteger(a.lstep)?0:Math.ceil(Math.abs(Math.log10(a.lstep))),P=[],A=a.lmin;A<=a.lmax;A+=a.lstep)P.push(A);var I=T?R(P,(function(t){return Number.parseFloat(t.toFixed(T))})):P;return{min:Math.min(t,g(I)),max:Math.max(e,m(I)),ticks:I}}function fn(t){var e=t.values,n=t.tickInterval,i=t.tickCount,o=e;if(_(n))return r(o,(function(t,e){return e%n==0}));var a=t.min,u=t.max;if(s(a)&&(a=0),s(u)&&(u=e.length-1),_(i)&&i<u-a){var l=cn(a,u,i,!1,[1,2,5,3,4,7,6,8,9]).ticks;return r(l,(function(t){return t>=a&&t<=u})).map((function(t){return e[t]}))}return e.slice(a,u+1)}var dn=Math.sqrt(50),hn=Math.sqrt(10),pn=Math.sqrt(2),vn=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],u=this._domain[a];return u<s&&(s=(e=[u,s])[0],u=e[1],o=(n=[a,o])[0],a=n[1]),(r=gn(s,u,t))>0?r=gn(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,t):r<0&&(r=gn(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=gn(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o}(this._domain[0],this._domain[this._domain.length-1],t||5)},t}();function gn(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=dn?10:o>=hn?5:o>=pn?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=dn?10:o>=hn?5:o>=pn?2:1)}function mn(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function yn(t,e,n){var r=mn(t,n,"floor"),i=mn(e,n,"ceil");r=y(r,n),i=y(i,n);for(var o=[],a=r;a<=i;a+=n){var s=y(a,n);o.push(s)}return{min:r,max:i,ticks:o}}function _n(t,e,n){var r,i=t.minLimit,o=t.maxLimit,a=t.min,u=t.max,l=t.tickCount,c=void 0===l?5:l,f=s(i)?s(e)?a:e:i,d=s(o)?s(n)?u:n:o;if(f>d&&(d=(r=[f,d])[0],f=r[1]),c<=2)return[f,d];for(var h=(d-f)/(c-1),p=[],v=0;v<c;v++)p.push(f+h*v);return p}function bn(t,e,n){void 0===n&&(n=5);var r={max:0,min:0,ticks:[]};if(t===e)return{max:e,min:t,ticks:[t]};var i=(e-t)/n,o=Math.pow(10,Math.floor(Math.log10(i))),a=o<1?Math.ceil(Math.abs(Math.log10(o))):0,s=o;2*o-i<1.5*(i-s)&&5*o-i<2.75*(i-(s=2*o))&&10*o-i<1.5*(i-(s=5*o))&&(s=10*o);var u=Math.ceil(e/s),l=Math.floor(t/s);r.max=Math.max(u*s,e),r.min=Math.min(l*s,t);for(var c=Number.parseFloat((l*s).toFixed(a));c<e;)r.ticks.push(c),c+=s,a&&(c=Number.parseFloat(c.toFixed(a)));return r.ticks.push(c),r}function xn(t,e){var n=t.length*e;return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function wn(t){return new Date(t).getFullYear()}function jn(t){return new Date(t,0,1).getTime()}function Sn(t){return new Date(t).getMonth()}function On(t,e){return new Date(t,e,1).getTime()}te("cat",fn),te("time-cat",(function(t){var e=fn(t),n=m(t.values);return n!==m(e)&&e.push(n),e})),te("wilkinson-extended",(function(t){var e=t.min,n=t.max,r=t.tickCount,i=t.nice,o=t.tickInterval,a=t.minLimit,u=t.maxLimit,l=cn(e,n,r,i).ticks;return s(a)&&s(u)?o?yn(e,n,o).ticks:l:_n(t,g(l),m(l))})),te("r-pretty",(function(t){var e=t.min,n=t.max,r=t.tickCount,i=t.tickInterval,o=t.minLimit,a=t.maxLimit,u=bn(e,n,r).ticks;return s(o)&&s(a)?i?yn(e,n,i).ticks:u:_n(t,g(u),m(u))})),te("time",(function(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickInterval,o=t.tickCount;if(i)o=Math.ceil((n-e)/i);else{var a=(n-e)/(i=$e(e,n,o)[1])/o;a>1&&(i*=Math.ceil(a)),r&&i<r&&(i=r)}for(var s=[],u=e;u<n+i;u+=i)s.push(u);return s})),te("time-pretty",(function(t){var e=t.min,n=t.max,r=t.minTickInterval,i=t.tickCount,o=t.tickInterval,a=[];o||(o=(n-e)/i,r&&o<r&&(o=r));var s=wn(e);if(o>31536e6)for(var u=wn(n),l=Math.ceil(o/31536e6),c=s;c<=u+l;c+=l)a.push(jn(c));else if(o>Le){var f=Math.ceil(o/Le),d=Sn(e),h=function(t,e){var n=wn(t),r=wn(e),i=Sn(t);return 12*(r-n)+(Sn(e)-i)%12}(e,n);for(c=0;c<=h+f;c+=f)a.push(On(s,c+d))}else if(o>Re){var p=(_=new Date(e)).getFullYear(),v=_.getMonth(),g=_.getDate(),m=Math.ceil(o/Re),y=function(t,e){return Math.ceil((e-t)/Re)}(e,n);for(c=0;c<y+m;c+=m)a.push(new Date(p,v,g+c).getTime())}else if(o>De){p=(_=new Date(e)).getFullYear(),v=_.getMonth(),m=_.getDate();var _,b=_.getHours(),x=Math.ceil(o/De),w=function(t,e){return Math.ceil((e-t)/De)}(e,n);for(c=0;c<=w+x;c+=x)a.push(new Date(p,v,m,b+c).getTime())}else if(o>6e4){var j=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),S=Math.ceil(o/6e4);for(c=0;c<=j+S;c+=S)a.push(e+6e4*c)}else{var O=o;O<1e3&&(O=1e3);var k=1e3*Math.floor(e/1e3),E=Math.ceil((n-e)/1e3),C=Math.ceil(O/1e3);for(c=0;c<E+C;c+=C)a.push(k+1e3*c)}return a.length>=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a})),te("log",(function(t){var e,n=t.base,r=t.tickCount,i=t.min,o=t.max,a=t.values,s=He(n,o);if(i>0)e=Math.floor(He(n,i));else{var u=Ge(a,n,o);e=Math.floor(He(n,u))}for(var l=s-e,c=Math.ceil(l/r),f=[],d=e;d<s+c;d+=c)f.push(Math.pow(n,d));return i<=0&&f.unshift(0),f})),te("pow",(function(t){var e=t.exponent,n=t.tickCount,r=Math.ceil(qe(e,t.max));return bn(Math.floor(qe(e,t.min)),r,n).ticks.map((function(t){var n=t>=0?1:-1;return Math.pow(t,e)*n}))})),te("quantile",(function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort((function(t,e){return t-e})),i=[],o=0;o<e;o++){var a=o/(e-1);i.push(xn(r,a))}return i})),te("d3-linear",(function(t){var e=t.min,n=t.max,r=t.tickInterval,i=t.minLimit,o=t.maxLimit,a=function(t){var e=t.min,n=t.max,r=t.nice,i=t.tickCount,o=new vn;return o.domain([e,n]),r&&o.nice(i),o.ticks(i)}(t);return s(i)&&s(o)?r?yn(e,n,r).ticks:a:_n(t,g(a),m(a))})),Je("cat",oe),Je("category",oe),Je("identity",tn),Je("linear",Ve),Je("log",Ue),Je("pow",Ye),Je("time",We),Je("timeCat",Fe),Je("quantize",Xe),Je("quantile",Ke);var kn=function(t){var e=t.values,n=t.tickCount;if(!n)return e;if(e.length<=1)return e;for(var r=parseInt(e.length/(n-1))||1,i=[],o=0;o<e.length;o+=r)i.push(e[o]);var a=e[e.length-1];return i[i.length-1]!==a&&(i.length>=n?i[i.length-1]=a:i.push(a)),i},En=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function Cn(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function Mn(t){var e=t.interval,n=t.tickCount,r=t.max,i=t.min;return Math.floor(i/e)*e+(n-1)*e>=r}function Tn(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function Pn(t,e){return parseFloat(t.toFixed(e))}var An=Qe("linear"),In=Qe("identity"),Nn=Qe("category"),Dn=Qe("timeCat");function Rn(t){Object.keys(t).forEach((function(e){delete t[e]}))}te("cat",kn),te("time-cat",kn),te("wilkinson-extended",(function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},o=i.min,a=i.max;o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=n&&n>=2?n:5,u=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*Cn(r);for(var i=(r-n)/(e-1),o=Cn(i),a=i/o,s=r/o,u=n/o,l=0,c=0;c<En.length;c++)if(a<=En[c]){l=c;break}var f=function t(e,n,r,i){for(var o=!1,a=En[e],s=e;s<En.length;s++)if(Mn({interval:En[s],tickCount:n,max:i,min:r})){a=En[s],o=!0;break}return o?a:10*t(0,n,r/10,i/10)}(l,e,u,s),d=Tn(f)+Tn(o);return Pn(f*o,d)}({tickCount:s,max:a,min:o}),l=Math.floor(o/u)*u;if(r){var c=Math.abs(Math.ceil((a-l)/r))+1;s=Math.max(s,c)}for(var f=[],d=0,h=Tn(u);d<s;)f.push(Pn(l+d*u,h)),d++;return f})),ee.Linear=An,ee.Identity=In,ee.Category=Nn,ee.Cat=Nn,ee.TimeCat=Dn;var Ln=function(){function t(t){this.defs={},this.scales={},M(this,t)}var e=t.prototype;return e.setFieldDef=function(t,e){var n=this.defs;l(t)?M(n,t):n[t]=e,this.updateScales()},e._getDef=function(t){var e=this.defs,n=null;return(mt.scales[t]||e[t])&&(n=M({},mt.scales[t]),c(e[t],(function(t,e){s(t)?delete n[e]:n[e]=t}))),n},e._getDefaultType=function(t,e,n){if(n&&n.type)return n.type;var r="linear",i=F(e,t);return u(i)&&(i=i[0]),p(i)&&(r="cat"),r},e._getScaleDef=function(t,e,n,r){var i,o={field:e,values:i=r&&r.values?r.values:$(n,e)};if("cat"!==t&&"timeCat"!==t){if(!r||!r.min||!r.max){var a=H(i),s=a.min,u=a.max;o.min=s,o.max=u,o.nice=!0}}else o.isRounding=!1;return o},e._adjustRange=function(t,e){var n=e.range,r=e.values;if("linear"===t||n||!r)return e;var i=r.length;if(1===i)e.range=[.5,1];else{var o=this.chart.get("coord"),a=mt.widthRatio.multiplePie,u=0;!function(t){if(!t.isPolar)return!1;var e=t.startAngle,n=t.endAngle;return!(!s(e)&&!s(n)&&n-e<2*Math.PI)}(o)?(u=1/i*.5,e.range=[u,1-u]):o.transposed?(u=1/i*a,e.range=[u/2,1-u/2]):e.range=[0,1-1/i]}return e},e._getScaleCfg=function(t,e){var n=this._getDef(t);if(!e||!e.length)return n&&n.type?(n.field=t,{type:n.type,cfg:n}):{type:"identity",cfg:{value:t,field:t.toString(),values:[t]}};var r=e[0][t];if(null===r&&(r=F(e,t)),_(t)||s(r)&&!n)return{type:"identity",cfg:{value:t,field:t.toString(),values:[t]}};var i=this._getDefaultType(t,e,n),o=this._getScaleDef(i,t,e,n);return n&&M(o,n),{type:i,cfg:o=this._adjustRange(i,o)}},e.createScale=function(t,e){var n=this.scales,r=this._getScaleCfg(t,e),i=r.type,o=r.cfg,a=n[t];if(a&&a.type===i)return a.change(o),a;var s=new(Qe(i))(o);return n[t]=s,s},e._updateScale=function(t){var e=t.field,n=this.chart._getScaleData(e),r=this._getScaleCfg(e,n).cfg;t.change(r)},e.updateScales=function(){var t=this;c(this.scales,(function(e){t._updateScale(e)}))},e.adjustStartZero=function(t){var e=this.defs,n=t.field,r=t.min,i=t.max;e[n]&&e[n].min||(r>0?t.change({min:0}):i<0&&t.change({max:0}))},e.clear=function(){Rn(this.defs),Rn(this.scales),this.data=null},t}(),Bn=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),M(this,t),this.draw()}return t._initDefaultCfg=function(){this.ticks=[],this.tickLine={},this.offsetFactor=1,this.frontContainer=null,this.backContainer=null,this.gridPoints=[]},t.draw=function(){var t=this.line,e=this.tickLine,n=this.label,r=this.grid;r&&this.drawGrid(r),e&&this.drawTicks(e),t&&this.drawLine(t),n&&this.drawLabels()},t.drawTicks=function(t){var e=this,n=e.ticks,r=t.length,i=e.getContainer(t.top);c(n,(function(n){var o=e.getOffsetPoint(n.value),a=e.getSidePoint(o,r);i.addShape("line",{className:"axis-tick",attrs:M({x1:o.x,y1:o.y,x2:a.x,y2:a.y},t)})._id=e._id+"-ticks"}))},t.drawLabels=function(){var t=this,e=t.labelOffset;c(t.labels,(function(n){var r=t.getContainer(n.get("top")),i=t.getOffsetPoint(n.get("value")),o=t.getSidePoint(i,e),a=o.x,s=o.y;n.attr(M({x:a,y:s},t.getTextAlignInfo(i,e),n.get("textStyle"))),n._id=t._id+"-"+n.attr("text"),r.add(n)}))},t.drawLine=function(){},t.drawGrid=function(t){var e=this,n=e.gridPoints,r=e.ticks,i=t,o=n.length;c(n,(function(n,s){if(a(t)){var u=r[s]||{},l=t(u.text,s,o);i=l?M({},mt._defaultAxis.grid,l):null}if(i){var c,f=i.type,d=n.points,h=e.getContainer(i.top);if("arc"===f){var p=e.center,v=e.startAngle,g=e.endAngle,m=kt.length([d[0].x-p.x,d[0].y-p.y]);c=h.addShape("Arc",{className:"axis-grid",attrs:M({x:p.x,y:p.y,startAngle:v,endAngle:g,r:m},i)})}else c=h.addShape("Polyline",{className:"axis-grid",attrs:M({points:d},i)});c._id=n._id}}))},t.getOffsetPoint=function(){},t.getAxisVector=function(){},t.getOffsetVector=function(t,e){var n=this.getAxisVector(t),r=kt.normalize([],n),i=this.offsetFactor,o=[-1*r[1]*i,r[0]*i];return kt.scale([],o,e)},t.getSidePoint=function(t,e){var n=this.getOffsetVector(t,e);return{x:t.x+n[0],y:t.y+n[1]}},t.getTextAlignInfo=function(t,e){var n=this.getOffsetVector(t,e);return{textAlign:n[0]>0?"left":n[0]<0?"right":"center",textBaseline:n[1]>0?"top":n[1]<0?"bottom":"middle"}},t.getContainer=function(t){var e=this.frontContainer,n=this.backContainer;return t?e:n},e}(),$n=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.start=null,this.end=null},n.getOffsetPoint=function(t){var e=this.start,n=this.end;return{x:e.x+(n.x-e.x)*t,y:e.y+(n.y-e.y)*t}},n.getAxisVector=function(){var t=this.start,e=this.end;return[e.x-t.x,e.y-t.y]},n.drawLine=function(t){var e=this.getContainer(t.top),n=this.start,r=this.end;e.addShape("line",{className:"axis-line",attrs:M({x1:n.x,y1:n.y,x2:r.x,y2:r.y},t)})},e}(Bn);Bn.Line=$n;var Fn=function(){function t(t){this.axisCfg={},this.frontPlot=null,this.backPlot=null,this.axes={},M(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.axisCfg;return!e||!1===e[t]},e._getLinePosition=function(t,e,n,r){var i="",o=t.field,a=this.axisCfg;return a[o]&&a[o].position?i=a[o].position:"x"===e?i=r?"left":"bottom":"y"===e&&(i=n?"right":"left",r&&(i="bottom")),i},e._getLineCfg=function(t,e,n){var r,i,o=1;return"x"===e?(r={x:0,y:0},i={x:1,y:0}):"right"===n?(r={x:1,y:0},i={x:1,y:1}):(r={x:0,y:0},i={x:0,y:1},o=-1),t.transposed&&(o*=-1),{offsetFactor:o,start:t.convertPoint(r),end:t.convertPoint(i)}},e._getCircleCfg=function(t){return{startAngle:t.startAngle,endAngle:t.endAngle,center:t.center,radius:t.circleRadius}},e._getRadiusCfg=function(t){var e,n;return t.transposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(n)}},e._getAxisCfg=function(t,e,n,r,i){var o=this,s=this,u=this.axisCfg,l=e.getTicks(),f=P({ticks:l,frontContainer:this.frontPlot,backContainer:this.backPlot},i,u[e.field]),d=[],h=f.label,p=l.length,v=0,g=0,m=h;return c(l,(function(t,e){if(a(h)){var n=h(t.text,e,p);m=n?M({},mt._defaultAxis.label,n):null}if(m){var r={};m.textAlign&&(r.textAlign=m.textAlign),m.textBaseline&&(r.textBaseline=m.textBaseline);var i=(m.top?o.frontPlot:o.backPlot).addShape("text",{className:"axis-label",aria:!1,attrs:M({x:0,y:0,text:t.text,fontFamily:s.chart.get("canvas").get("fontFamily")},m),value:t.value,textStyle:r,top:m.top,context:s.chart.get("canvas").get("context")});d.push(i);var u=i.getBBox(),l=u.width,c=u.height;v=Math.max(v,l),g=Math.max(g,c)}})),f.labels=d,f.maxWidth=v,f.maxHeight=g,f},e._createAxis=function(t,e,n,r,i){void 0===i&&(i="");var o,a,s,u=t.type,l=t.transposed;if("cartesian"===u||"rect"===u){var c=this._getLinePosition(e,r,i,l);(s=mt.axis[c]).position=c,o="Line",a=c}else"x"===r&&!l||"y"===r&&l?(s=mt.axis.circle,o="Circle",a="circle"):(s=mt.axis.radius,o="Line",a="radius");var f=this._getAxisCfg(t,e,n,r,s);f.type=o,f.dimType=r,f.verticalScale=n,f.index=i,this.axes[a]=f},e.createAxis=function(t,e,n){var r=this;e&&!r._isHide(e.field)&&r._createAxis(t,e,n[0],"x"),c(n,(function(n,i){r._isHide(n.field)||r._createAxis(t,n,e,"y",i)}));var i=this.axes,o=r.chart;if(o._isAutoPadding()){var a=ct(o.get("padding")),u=ct(o.get("appendPadding")),l=o.get("legendRange")||{top:0,right:0,bottom:0,left:0},f=["auto"===a[0]?l.top+2*u[0]:a[0],"auto"===a[1]?l.right+u[1]:a[1],"auto"===a[2]?l.bottom+u[2]:a[2],"auto"===a[3]?l.left+u[3]:a[3]];if(t.isPolar){var d=i.circle;if(d){var h=d.maxHeight,p=d.maxWidth,v=d.labelOffset;f[0]+=h+v,f[1]+=p+v,f[2]+=h+v,f[3]+=p+v}}else{if(i.right&&"auto"===a[1]){var g=i.right,m=g.maxWidth,y=g.labelOffset;f[1]+=m+y}if(i.left&&"auto"===a[3]){var _=i.left,b=_.maxWidth,x=_.labelOffset;f[3]+=b+x}if(i.bottom&&"auto"===a[2]){var w=i.bottom,j=w.maxHeight,S=w.labelOffset;f[2]+=j+S}}o.set("_padding",f),o._updateLayout(f)}c(i,(function(e){var n,i=e.type,o=e.grid,a=e.verticalScale,u=e.ticks,l=e.dimType,f=e.position,d=e.index;if(t.isPolar?"Line"===i?n=r._getRadiusCfg(t):"Circle"===i&&(n=r._getCircleCfg(t)):n=r._getLineCfg(t,l,f),o&&a){var h=[],p=function(t){var e=t.slice(0);if(e.length>0){var n=e[0],r=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==r.value&&e.push({value:1})}return e}(a.getTicks());c(u,(function(e){var n=[];c(p,(function(r){var i="x"===l?e.value:r.value,o="x"===l?r.value:e.value;if(i>=0&&i<=1&&o>=0&&o<=1){var a=t.convertPoint({x:i,y:o});n.push(a)}})),h.push({points:n,_id:"axis-"+l+d+"-grid-"+e.tickValue})})),e.gridPoints=h,t.isPolar&&(e.center=t.center,e.startAngle=t.startAngle,e.endAngle=t.endAngle)}n._id="axis-"+l,s(d)||(n._id="axis-"+l+d),new Bn[i](M(e,n))}))},e.clear=function(){this.axes={},this.frontPlot.clear(),this.backPlot.clear()},t}(),zn=function(t,e){var n=e.x-t.x,r=e.y-t.y;return Math.abs(n)>Math.abs(r)?n>0?"right":"left":r>0?"down":"up"},Vn=function(t,e){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.sqrt(n*n+r*r)},qn=function(){function t(t){var e=this,n=t.canvas,r=t.el;yt(this,"_click",(function(t){var n=st(t,e.canvas);t.points=n,e.emitEvent("click",t)})),yt(this,"_start",(function(t){var n,r,i=st(t,e.canvas);i&&(t.points=i,e.emitEvent("touchstart",t),e.reset(),e.startTime=Date.now(),e.startPoints=i,i.length>1?(e.startDistance=Vn(i[0],i[1]),e.center=(n=i[0],r=i[1],{x:n.x+(r.x-n.x)/2,y:n.y+(r.y-n.y)/2})):e.pressTimeout=setTimeout((function(){t.direction="none",e.emitStart("press",t),e.emitEvent("press",t),e.eventType="press",e.direction="none"}),250))})),yt(this,"_move",(function(t){var n=st(t,e.canvas);if(n){e.clearPressTimeout(),t.points=n,e.emitEvent("touchmove",t);var r=e.startPoints;if(r)if(n.length>1){var i=e.startDistance,o=Vn(n[0],n[1]);t.zoom=o/i,t.center=e.center,e.emitStart("pinch",t),e.emitEvent("pinch",t)}else{var a=n[0].x-r[0].x,s=n[0].y-r[0].y,u=e.direction||zn(r[0],n[0]);e.direction=u;var l=e.getEventType(n);t.direction=u,t.deltaX=a,t.deltaY=s,e.emitStart(l,t),e.emitEvent(l,t);var c=e.lastMoveTime,f=Date.now();f-c>0&&(e.prevMoveTime=c,e.prevMovePoints=e.lastMovePoints,e.lastMoveTime=f,e.lastMovePoints=n)}}})),yt(this,"_end",(function(t){var n=st(t,e.canvas);t.points=n,e.emitEnd(t),e.emitEvent("touchend",t);var r=e.lastMoveTime;if(Date.now()-r<100){var i=r-(e.prevMoveTime||e.startTime);if(i>0){var o=e.prevMovePoints||e.startPoints,a=e.lastMovePoints,s=Vn(o[0],a[0])/i;s>.3&&(t.velocity=s,t.direction=zn(o[0],a[0]),e.emitEvent("swipe",t))}}e.reset();var u=t.touches;u&&u.length>0&&e._start(t)})),yt(this,"_cancel",(function(t){e.emitEvent("touchcancel",t),e.reset()})),this.canvas=n,this.delegateEvent(r),this.processEvent={}}var e=t.prototype;return e.delegateEvent=function(t){t.addEventListener("click",this._click),t.addEventListener("touchstart",this._start),t.addEventListener("touchmove",this._move),t.addEventListener("touchend",this._end),t.addEventListener("touchcancel",this._cancel)},e.emitEvent=function(t,e){this.canvas.emit(t,e)},e.getEventType=function(t){var e,n=this.eventType,r=this.canvas,i=this.startTime,o=this.startPoints;if(n)return n;var a=r.__events.pan;return e=a&&a.length?Date.now()-i>250&&Vn(o[0],t[0])<10?"press":"pan":"press",this.eventType=e,e},e.enable=function(t){this.processEvent[t]=!0},e.isProcess=function(t){return this.processEvent[t]},e.emitStart=function(t,e){this.isProcess(t)||(this.enable(t),this.emitEvent(t+"start",e))},e.emitEnd=function(t){var e=this,n=this.processEvent;Object.keys(n).forEach((function(r){e.emitEvent(r+"end",t),delete n[r]}))},e.clearPressTimeout=function(){this.pressTimeout&&(clearTimeout(this.pressTimeout),this.pressTimeout=0)},e.reset=function(){this.clearPressTimeout(),this.startTime=0,this.startPoints=null,this.startDistance=0,this.direction=null,this.eventType=null,this.pinch=!1,this.prevMoveTime=0,this.prevMovePoints=null,this.lastMoveTime=0,this.lastMovePoints=null},t}(),Hn=function(t){function e(e){var n;return(n=t.call(this)||this).context=e,n.width=0,n.height=0,n.style={},n.currentStyle={},n.attrs={},n.isCanvasElement=!0,n}bt(e,t);var n=e.prototype;return n.getContext=function(){return this.context},n.getBoundingClientRect=function(){return{top:0,right:this.width,bottom:this.height,left:0}},n.setAttribute=function(t,e){this.attrs[t]=e},n.addEventListener=function(t,e){this.on(t,e)},n.removeEventListener=function(t,e){this.off(t,e)},n.dispatchEvent=function(t,e){this.emit(t,e)},e}(wt),Gn=function(t){return t?function(t){if(!t)return!1;if(1!==t.nodeType||!t.nodeName||"canvas"!==t.nodeName.toLowerCase())return!1;var e=!1;try{t.addEventListener("eventTest",(function(){e=!0})),t.dispatchEvent(new Event("eventTest"))}catch(t){e=!1}return e}(t.canvas)?t.canvas:new Hn(t):null};function Un(t,e){c(t,(function(t){t=t.split(":"),e.addColorStop(Number(t[0]),t[1])}))}function Yn(t,e,n){if("("===t[1])try{var r=t[0];if("l"===r)return function(t,e,n){var r,i,o=t.split(" "),a=o[0].slice(2,o[0].length-1);r=parseFloat(a)*Math.PI/180,i=2*Math.PI,a=(r%i+i)%i;var s,u,l=o.slice(1),c=e.getBBox(),f=c.minX,d=c.minY,h=c.maxX,p=c.maxY;a>=0&&a<.5*Math.PI?(s={x:f,y:d},u={x:h,y:p}):.5*Math.PI<=a&&a<Math.PI?(s={x:h,y:d},u={x:f,y:p}):Math.PI<=a&&a<1.5*Math.PI?(s={x:h,y:p},u={x:f,y:d}):(s={x:f,y:p},u={x:h,y:d});var v=Math.tan(a),g=v*v,m=(u.x-s.x+v*(u.y-s.y))/(g+1)+s.x,y=v*(u.x-s.x+v*(u.y-s.y))/(g+1)+s.y,_=n.createLinearGradient(s.x,s.y,m,y);return Un(l,_),_}(t,e,n);if("r"===r)return function(t,e,n){var r=t.split(" "),i=r[0].slice(2,r[0].length-1);i=i.split(",");var o=parseFloat(i[0]),a=parseFloat(i[1]),s=parseFloat(i[2]),u=r.slice(1);if(0===s)return u[u.length-1].split(":")[1];var l=e.getBBox(),c=l.width,f=l.height,d=l.minX,h=l.minY,p=Math.sqrt(c*c+f*f)/2,v=n.createRadialGradient(d+c*o,h+f*a,s*p,d+c/2,h+f/2,p);return Un(u,v),v}(t,e,n)}catch(t){console.error("error in parsing gradient string, please check if there are any extra whitespaces."),console.error(t)}return t}var Wn={stroke:"strokeStyle",fill:"fillStyle",opacity:"globalAlpha"},Xn=["fillStyle","font","globalAlpha","lineCap","lineWidth","lineJoin","miterLimit","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","strokeStyle","textAlign","textBaseline","lineDash","shadow"],Kn=["circle","sector","polygon","rect","polyline"],Zn=function(){var t=e.prototype;function e(t){this._initProperties(),M(this._attrs,t);var e=this._attrs.attrs;e&&this.initAttrs(e),this.initTransform()}return t._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1}},t.get=function(t){return this._attrs[t]},t.set=function(t,e){this._attrs[t]=e},t.isGroup=function(){return this.get("isGroup")},t.isShape=function(){return this.get("isShape")},t.initAttrs=function(t){this.attr(M(this.getDefaultAttrs(),t))},t.getDefaultAttrs=function(){return{}},t._setAttr=function(t,e){var n=this._attrs.attrs;if("clip"===t)e=this._setAttrClip(e);else{var r=Wn[t];r&&(n[r]=e)}n[t]=e},t._getAttr=function(t){return this._attrs.attrs[t]},t._setAttrClip=function(t){return t&&Kn.indexOf(t._attrs.type)>-1?(null===t.get("canvas")&&(t=Object.assign({},t)),t.set("parent",this.get("parent")),t.set("context",this.get("context")),t):null},t.attr=function(t,e){var n=this;if(n.get("destroyed"))return null;var r=arguments.length;if(0===r)return n._attrs.attrs;if(l(t)){for(var i in this._attrs.bbox=null,t)n._setAttr(i,t[i]);return n._afterAttrsSet&&n._afterAttrsSet(),n}return 2===r?(this._attrs.bbox=null,n._setAttr(t,e),n._afterAttrsSet&&n._afterAttrsSet(),n):n._getAttr(t)},t.getParent=function(){return this.get("parent")},t.draw=function(t){this.get("destroyed")||this.get("visible")&&(this.setContext(t),this.drawInner(t),this.restoreContext(t))},t.setContext=function(t){var e=this._attrs.attrs.clip;t.save(),e&&(e.resetTransform(t),e.createPath(t),t.clip()),this.resetContext(t),this.resetTransform(t)},t.restoreContext=function(t){t.restore()},t.resetContext=function(t){var e=this._attrs.attrs;for(var n in e)if(Xn.indexOf(n)>-1){var r=e[n];"fillStyle"!==n&&"strokeStyle"!==n||!r||(r=Yn(r,this,t)),"lineDash"===n&&t.setLineDash&&u(r)?t.setLineDash(r):t[n]=r}},t.hasFill=function(){return this.get("canFill")&&this._attrs.attrs.fillStyle},t.hasStroke=function(){return this.get("canStroke")&&this._attrs.attrs.strokeStyle},t.drawInner=function(){},t.show=function(){return this.set("visible",!0),this},t.hide=function(){return this.set("visible",!1),this},t.isVisible=function(){return this.get("visible")},t.getAriaLabel=function(){var t=this._attrs,e=t.destroyed,n=t.visible,r=t.isShape,i=t.aria;if(!e&&n&&(!r||i))return this._getAriaLabel()},t._getAriaLabel=function(){return this._attrs.ariaLabel},t._removeFromParent=function(){var t=this.get("parent");return t&&q(t.get("children"),this),this},t.remove=function(t){t?this.destroy():this._removeFromParent()},t.destroy=function(){if(this.get("destroyed"))return null;this._removeFromParent(),this._attrs={},this.set("destroyed",!0)},t.getBBox=function(){return{minX:0,maxX:0,minY:0,maxY:0,width:0,height:0}},t.initTransform=function(){var t=this._attrs.attrs||{};t.matrix||(t.matrix=[1,0,0,1,0,0]),this._attrs.attrs=t},t.getMatrix=function(){return this._attrs.attrs.matrix},t.setMatrix=function(t){this._attrs.attrs.matrix=[t[0],t[1],t[2],t[3],t[4],t[5]]},t.transform=function(t){var e=this._attrs.attrs.matrix;return this._attrs.attrs.matrix=Ot.transform(e,t),this},t.setTransform=function(t){return this._attrs.attrs.matrix=[1,0,0,1,0,0],this.transform(t)},t.translate=function(t,e){var n=this._attrs.attrs.matrix;Ot.translate(n,n,[t,e])},t.rotate=function(t){var e=this._attrs.attrs.matrix;Ot.rotate(e,e,t)},t.scale=function(t,e){var n=this._attrs.attrs.matrix;Ot.scale(n,n,[t,e])},t.moveTo=function(t,e){var n=this._attrs.x||0,r=this._attrs.y||0;this.translate(t-n,e-r),this.set("x",t),this.set("y",e)},t.apply=function(t){var e=this._attrs.attrs.matrix;return kt.transformMat2d(t,t,e),this},t.resetTransform=function(t){var e=this._attrs.attrs.matrix;Ot.isChanged(e)&&t.transform(e[0],e[1],e[2],e[3],e[4],e[5])},t.isDestroyed=function(){return this.get("destroyed")},e}(),Qn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={zIndex:0,visible:!0,destroyed:!1,isShape:!0,attrs:{}}},n.getType=function(){return this._attrs.type},n.drawInner=function(t){var e=this.get("attrs");this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var r=e.fillOpacity;s(r)||1===r?t.fill():(t.globalAlpha=r,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&e.lineWidth>0){var i=e.strokeOpacity;s(i)||1===i||(t.globalAlpha=i),t.stroke()}},n.getBBox=function(){var t=this._attrs.bbox;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._attrs.bbox=t),t},n.calculateBox=function(){return null},n.createPath=function(){},e}(Zn),Jn=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="rect"},n.getDefaultAttrs=function(){return{x:0,y:0,width:0,height:0,radius:0,lineWidth:0}},n.createRadiusPath=function(t,e,n,r,i,o){o=function(t,e,n){if(!((t=ct(t))[0]||t[1]||t[2]||t[3]))return t;var r=Math.max(t[0]+t[1],t[2]+t[3]),i=Math.max(t[0]+t[3],t[1]+t[2]),o=Math.min(e/r,n/i);return o<1?t.map((function(t){return t*o})):t}(o,r,i),t.moveTo(e+o[0],n),t.lineTo(e+r-o[1],n),t.arc(e+r-o[1],n+o[1],o[1],-Math.PI/2,0,!1),t.lineTo(e+r,n+i-o[2]),t.arc(e+r-o[2],n+i-o[2],o[2],0,Math.PI/2,!1),t.lineTo(e+o[3],n+i),t.arc(e+o[3],n+i-o[3],o[3],Math.PI/2,Math.PI,!1),t.lineTo(e,n+o[0]),t.arc(e+o[0],n+o[0],o[0],Math.PI,3*Math.PI/2,!1),t.closePath()},n.createPath=function(t){var e=this.get("attrs"),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;t.beginPath(),a&&i*o?this.createRadiusPath(t,n,r,i,o,a):t.rect(n,r,i,o)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},e}(Qn),tr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!1,this._attrs.canStroke=!1,this._attrs.loading=!1,this._attrs.image=null,this._attrs.type="image"},n.draw=function(e){var n=this;if(!this.get("loading"))if(this.get("image"))t.prototype.draw.call(this,e);else{var r=this.get("attrs").src;if(r&&window.Image){this.set("loading",!0);var i=new Image;i.crossOrigin="",i.onload=function(){n.set("loading",!1),n.set("image",i),n.draw(e)},i.src=r}}},n.createPath=function(t){var e=this.get("image");this.drawImage(t,e)},n.drawImage=function(t,e){var n=this._attrs,r=n.attrs;if(!n.destroyed){var i=r.x,o=r.y,a=r.width,u=r.height,l=r.sx,c=r.sy,f=r.swidth,d=r.sheight,h=r.radius,p=r.fillOpacity;h&&(t.save(),this.createRadiusPath(t,i,o,a,u,h),t.clip());var v=t.globalAlpha;s(p)||(t.globalAlpha=p),s(l)||s(c)||s(f)||s(d)?t.drawImage(e,i,o,a,u):t.drawImage(e,l,c,f,d,i,o,a,u),t.globalAlpha=v,h&&t.restore()}},e}(Jn),er=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="circle"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,r=t.r;return{minX:e-r,maxX:e+r,minY:n-r,maxY:n+r}},e}(Qn),nr=kt.create(),rr=kt.create(),ir=kt.create();function or(t,e,n,r,i){var o=t*t;return e+(3*-e+t*(3*e-e*t))*t+(3*n+t*(-6*n+3*n*t))*t+(3*r-3*r*t)*o+i*(o*t)}function ar(t){for(var e,n,r,i,o,a=1/0,s=-1/0,u=1/0,l=-1/0,c={x:t[0],y:t[1]},f={x:t[2],y:t[3]},d={x:t[4],y:t[5]},h={x:t[6],y:t[7]},p=0;p<100;p++){var v={x:or(o=p/100,(e=c).x,(n=f).x,(r=d).x,(i=h).x),y:or(o,e.y,n.y,r.y,i.y)};v.x<a&&(a=v.x),v.x>s&&(s=v.x),v.y<u&&(u=v.y),v.y>l&&(l=v.y)}return{minX:a,minY:u,maxX:s,maxY:l}}function sr(t,e){if(0!==t.length){for(var n=t[0],r=n.x,i=n.x,o=n.y,a=n.y,s=t.length,u=1;u<s;u++)n=t[u],r=Math.min(r,n.x),i=Math.max(i,n.x),o=Math.min(o,n.y),a=Math.max(a,n.y);return{minX:r-(e=e/2||0),minY:o-e,maxX:i+e,maxY:a+e}}}function ur(t,e,n,r,i,o){var a=Math.abs(r-i);if(a%(2*Math.PI)<1e-4&&a>1e-4)return{minX:t-n,minY:e-n,maxX:t+n,maxY:e+n};nr[0]=Math.cos(r)*n+t,nr[1]=Math.sin(r)*n+e,rr[0]=Math.cos(i)*n+t,rr[1]=Math.sin(i)*n+e;var s=[0,0],u=[0,0];if(kt.min(s,nr,rr),kt.max(u,nr,rr),(r%=2*Math.PI)<0&&(r+=2*Math.PI),(i%=2*Math.PI)<0&&(i+=2*Math.PI),r>i&&!o?i+=2*Math.PI:r<i&&o&&(r+=2*Math.PI),o){var l=i;i=r,r=l}for(var c=0;c<i;c+=Math.PI/2)c>r&&(ir[0]=Math.cos(c)*n+t,ir[1]=Math.sin(c)*n+e,kt.min(s,ir,s),kt.max(u,ir,u));return{minX:s[0],minY:s[1],maxX:u[0],maxY:u[1]}}var lr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.type="line"},n.getDefaultAttrs=function(){return{x1:0,y1:0,x2:0,y2:0,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x1,r=e.y1,i=e.x2,o=e.y2;t.beginPath(),t.moveTo(n,r),t.lineTo(i,o)},n.calculateBox=function(){var t=this.get("attrs");return function(t,e,n,r,i){return i=i/2||0,{minX:Math.min(t,n)-i,minY:Math.min(e,r)-i,maxX:Math.max(t,n)+i,maxY:Math.max(e,r)+i}}(t.x1,t.y1,t.x2,t.y2,t.lineWidth)},e}(Qn),cr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polygon"},n.getDefaultAttrs=function(){return{points:null,lineWidth:0}},n.createPath=function(t){var e=this.get("attrs").points;t.beginPath();for(var n=0,r=e.length;n<r;n++){var i=e[n];0===n?t.moveTo(i.x,i.y):t.lineTo(i.x,i.y)}t.closePath()},n.calculateBox=function(){return sr(this.get("attrs").points)},e}(Qn);function fr(t){return[t.x,t.y]}function dr(t,e,n){for(var r,i,o,a=!!e,s=function(t,e,n,r){var i,o,a,s,u,l,c,f,d=[],h=!!r;if(h){for(a=[1/0,1/0],s=[-1/0,-1/0],f=0,c=t.length;f<c;f++)u=fr(t[f]),kt.min(a,a,u),kt.max(s,s,u);kt.min(a,a,r[0]),kt.max(s,s,r[1])}for(f=0,l=t.length;f<l;f++){if(u=fr(t[f]),n)i=fr(t[f?f-1:l-1]),o=fr(t[(f+1)%l]);else{if(0===f||f===l-1){d.push([u[0],u[1]]);continue}i=fr(t[f-1]),o=fr(t[f+1])}var p=kt.sub([],o,i);kt.scale(p,p,e);var v=kt.distance(u,i),g=kt.distance(u,o),m=v+g;0!==m&&(v/=m,g/=m);var y=kt.scale([],p,-v),_=kt.scale([],p,g),b=kt.add([],u,y),x=kt.add([],u,_);h&&(kt.max(b,b,a),kt.min(b,b,s),kt.max(x,x,a),kt.min(x,x,s)),d.push([b[0],b[1]]),d.push([x[0],x[1]])}return n&&d.push(d.shift()),d}(t,.4,a,n),u=t.length,l=[],c=0;c<u-1;c++)r=s[2*c],i=s[2*c+1],o=t[c+1],l.push(["C",r[0],r[1],i[0],i[1],o.x,o.y]);return a&&(r=s[u],i=s[u+1],o=t[0],l.push(["C",r[0],r[1],i[0],i[1],o.x,o.y])),l}function hr(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];isNaN(i.x)||isNaN(i.y)||e.push(i)}return e}var pr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="polyline"},n.getDefaultAttrs=function(){return{points:null,lineWidth:1,smooth:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.points,r=e.smooth,i=hr(n);if(t.beginPath(),i.length)if(t.moveTo(i[0].x,i[0].y),r)for(var o=dr(i,!1,[[0,0],[1,1]]),a=0,s=o.length;a<s;a++){var u=o[a];t.bezierCurveTo(u[1],u[2],u[3],u[4],u[5],u[6])}else{var l,c;for(l=1,c=i.length-1;l<c;l++)t.lineTo(i[l].x,i[l].y);t.lineTo(i[c].x,i[c].y)}},n.calculateBox=function(){var t=this.get("attrs"),e=t.points,n=t.smooth,r=t.lineWidth,i=hr(e);if(n){for(var o=[],a=dr(i,!1,[[0,0],[1,1]]),s=0,u=a.length;s<u;s++){var l=a[s];if(0===s)o.push([i[0].x,i[0].y,l[1],l[2],l[3],l[4],l[5],l[6]]);else{var c=a[s-1];o.push([c[5],c[6],l[1],l[2],l[3],l[4],l[5],l[6]])}}return function(t,e){for(var n=1/0,r=-1/0,i=1/0,o=-1/0,a=0,s=t.length;a<s;a++){var u=ar(t[a]);u.minX<n&&(n=u.minX),u.maxX>r&&(r=u.maxX),u.minY<i&&(i=u.minY),u.maxY>o&&(o=u.maxY)}return{minX:n-(e=e/2||0),minY:i-e,maxX:r+e,maxY:o+e}}(o,r)}return sr(i,r)},e}(Qn),vr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canStroke=!0,this._attrs.canFill=!0,this._attrs.type="arc"},n.getDefaultAttrs=function(){return{x:0,y:0,r:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1,lineWidth:1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,r=e.y,i=e.r,o=e.startAngle,a=e.endAngle,s=e.anticlockwise;t.beginPath(),o!==a&&t.arc(n,r,i,o,a,s)},n.calculateBox=function(){var t=this.get("attrs");return ur(t.x,t.y,t.r,t.startAngle,t.endAngle,t.anticlockwise)},e}(Qn),gr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="sector"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0,r:0,r0:0,startAngle:0,endAngle:2*Math.PI,anticlockwise:!1}},n.createPath=function(t){var e=this.get("attrs"),n=e.x,r=e.y,i=e.startAngle,o=e.endAngle,a=e.r,s=e.r0,u=e.anticlockwise;t.beginPath();var l=Math.cos(i),c=Math.sin(i);t.moveTo(l*s+n,c*s+r),t.lineTo(l*a+n,c*a+r),(Math.abs(o-i)>1e-4||0===i&&o<0)&&(t.arc(n,r,a,i,o,u),t.lineTo(Math.cos(o)*s+n,Math.sin(o)*s+r),0!==s&&t.arc(n,r,s,o,i,!u)),t.closePath()},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,r=t.r,i=t.r0,o=t.startAngle,a=t.endAngle,s=t.anticlockwise,u=ur(e,n,r,o,a,s),l=ur(e,n,i,o,a,s);return{minX:Math.min(u.minX,l.minX),minY:Math.min(u.minY,l.minY),maxX:Math.max(u.maxX,l.maxX),maxY:Math.max(u.maxY,l.maxY)}},e}(Qn),mr=function(t){var e=t.width,n=t.height,r=t.rotate,i=Math.abs(r);return{width:Math.abs(e*Math.cos(i)+n*Math.sin(i)),height:Math.abs(n*Math.cos(i)+e*Math.sin(i))}},yr=0,_r={},br=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="text"},n.getDefaultAttrs=function(){return{lineWidth:0,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null}},n._getFontStyle=function(){var t=this._attrs.attrs,e=t.fontSize,n=t.fontFamily,r=t.fontWeight;return t.fontStyle+" "+t.fontVariant+" "+r+" "+e+"px "+n},n._afterAttrsSet=function(){var t=this._attrs.attrs;if(t.font=this._getFontStyle(),t.text){var e=t.text,n=null,r=1;p(e)&&-1!==e.indexOf("\n")&&(r=(n=e.split("\n")).length),t.lineCount=r,t.textArr=n}this.set("attrs",t)},n._getTextHeight=function(){var t=this._attrs.attrs;if(t.height)return t.height;var e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},n._getSpaceingY=function(){var t=this._attrs.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},n.drawInner=function(t){var e=this._attrs.attrs,n=e.text,r=e.x,i=e.y;if(!(s(n)||isNaN(r)||isNaN(i))){var o=e.textArr,a=1*e.fontSize,u=this._getSpaceingY();e.rotate&&(t.translate(r,i),t.rotate(e.rotate),r=0,i=0);var l,c,f=e.textBaseline;if(o&&(l=this._getTextHeight()),this.hasFill()){var d=e.fillOpacity;if(s(d)||1===d||(t.globalAlpha=d),o)for(var h=0,p=o.length;h<p;h++){var v=o[h];c=i+h*(u+a)-l+a,"middle"===f&&(c+=l-a-(l-a)/2),"top"===f&&(c+=l-a),t.fillText(v,r,c)}else t.fillText(n,r,i)}if(this.hasStroke())if(o)for(var g=0,m=o.length;g<m;g++){var y=o[g];c=i+g*(u+a)-l+a,"middle"===f&&(c+=l-a-(l-a)/2),"top"===f&&(c+=l-a),t.strokeText(y,r,c)}else t.strokeText(n,r,i)}},n._getAriaLabel=function(){return this._attrs.attrs.text},n.calculateBox=function(){var t=this._attrs.attrs,e=t.x,n=t.y,r=t.textAlign,i=t.textBaseline,o=this._getTextWidth();if(!o)return{minX:e,minY:n,maxX:e,maxY:n};var a=this._getTextHeight();if(t.rotate){var s=mr({width:o,height:a,rotate:t.rotate});o=s.width,a=s.height}var u={x:e,y:n-a};return r&&("end"===r||"right"===r?u.x-=o:"center"===r&&(u.x-=o/2)),i&&("top"===i?u.y+=a:"middle"===i&&(u.y+=a/2)),{minX:u.x,minY:u.y,maxX:u.x+o,maxY:u.y+a}},n._getTextWidth=function(){var t=this._attrs.attrs;if(t.width)return t.width;var e=t.text,n=this.get("context");if(!s(e)){var r=t.font,i=t.textArr,o=e+""+r;if(_r[o])return _r[o];var a=0;if(i)for(var u=0,l=i.length;u<l;u++){var c=i[u];a=Math.max(a,lt(c,r,n).width)}else a=lt(e,r,n).width;return yr>5e3&&(yr=0,_r={}),yr++,_r[o]=a,a}},e}(Qn),xr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.createPath=null,this._attrs.type="custom"},n.createPath=function(t){var e=this.get("createPath");e&&e.call(this,t)},n.calculateBox=function(){var t=this.get("calculateBox");return t&&t.call(this)},e}(Qn),wr={circle:function(t,e,n,r){r.arc(t,e,n,0,2*Math.PI,!1)},square:function(t,e,n,r){r.moveTo(t-n,e-n),r.lineTo(t+n,e-n),r.lineTo(t+n,e+n),r.lineTo(t-n,e+n),r.closePath()}},jr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){t.prototype._initProperties.call(this),this._attrs.canFill=!0,this._attrs.canStroke=!0,this._attrs.type="marker"},n.getDefaultAttrs=function(){return{x:0,y:0,lineWidth:0}},n.createPath=function(t){var e,n=this.get("attrs"),r=n.x,i=n.y,o=n.radius,s=n.symbol||"circle";e=a(s)?s:wr[s],t.beginPath(),e(r,i,o,t,this)},n.calculateBox=function(){var t=this.get("attrs"),e=t.x,n=t.y,r=t.radius;return{minX:e-r,minY:n-r,maxX:e+r,maxY:n+r}},e}(Qn);Qn.Rect=Jn,Qn.Image=tr,Qn.Circle=er,Qn.Line=lr,Qn.Polygon=cr,Qn.Polyline=pr,Qn.Arc=vr,Qn.Sector=gr,Qn.Text=br,Qn.Custom=xr,Qn.Marker=jr;var Sr={},Or={getGroupClass:function(){},getChildren:function(){return this.get("children")},addShape:function(t,e){void 0===e&&(e={});var n=Sr[t];n||(n=j(t),Sr[t]=n);var r=new Qn[n](e);return this.add(r),r},addGroup:function(t){var e=new(this.getGroupClass())(t);return this.add(e),e},contain:function(t){return this.get("children").indexOf(t)>-1},sort:function(){for(var t=this.get("children"),e=0,n=t.length;e<n;e++)t[e]._INDEX=e;return t.sort(function(t){return function(e,n){var r=t(e,n);return 0===r?e._INDEX-n._INDEX:r}}((function(t,e){return t.get("zIndex")-e.get("zIndex")}))),this},drawChildren:function(t){for(var e=this.get("children"),n=0,r=e.length;n<r;n++)e[n].draw(t);return this},clear:function(){for(var t=this.get("children");0!==t.length;)t[t.length-1].remove(!0);return this},add:function(t){var e=this.get("children");u(t)||(t=[t]);for(var n=0,r=t.length;n<r;n++){var i=t[n],o=i.get("parent");o&&q(o.get("children"),i),this._setEvn(i),e.push(i)}return this},_setEvn:function(t){var e=this._attrs,n=e.context,r=e.canvas,i=e.aria,o=t._attrs,a=o.isGroup,s=o.type;t._attrs.parent=this,t._attrs.context=n,t._attrs.canvas=r,i&&!1!==t._attrs.aria&&(t._attrs.aria=i),"text"===s&&r&&r.get("fontFamily")&&(t._attrs.attrs.fontFamily=t._attrs.attrs.fontFamily||r.get("fontFamily"));var u=t._attrs.attrs.clip;if(u&&(u._attrs.parent=this,u._attrs.context=n,u._attrs.canvas=r),a)for(var l=t._attrs.children,c=0,f=l.length;c<f;c++)t._setEvn(l[c])},_getAriaLabel:function(){var t=this._attrs,e=t.aria,n=t.ariaLabel,r=t.children;if(e){var i=[];if(r&&r.length)for(var o=0,a=r.length;o<a;o++){var s=r[o].getAriaLabel();s&&i.push(s)}var u=i.join(" ");return n&&u?n+" "+u+" ":n||u}}},kr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initProperties=function(){this._attrs={type:"group",zIndex:0,visible:!0,destroyed:!1,isGroup:!0,canFill:!0,canStroke:!0,attrs:{},children:[]}},n.getBBox=function(){for(var t=1/0,e=-1/0,n=1/0,r=-1/0,i=this.get("children"),o=0,a=i.length;o<a;o++){var s=i[o];if(s.get("visible")){var u=s.getBBox();if(!u)continue;var l=[u.minX,u.minY],c=[u.minX,u.maxY],f=[u.maxX,u.minY],d=[u.maxX,u.maxY],h=s.attr("matrix");kt.transformMat2d(l,l,h),kt.transformMat2d(c,c,h),kt.transformMat2d(f,f,h),kt.transformMat2d(d,d,h),t=Math.min(l[0],c[0],f[0],d[0],t),e=Math.max(l[0],c[0],f[0],d[0],e),n=Math.min(l[1],c[1],f[1],d[1],n),r=Math.max(l[1],c[1],f[1],d[1],r)}}return{minX:t,minY:n,maxX:e,maxY:r,x:t,y:n,width:e-t,height:r-n}},n.createPath=function(e){var n=this.get("attrs");(n.fillStyle||n.strokeStyle)&&t.prototype.createPath.call(this,e)},n.drawInner=function(e){t.prototype.drawInner.call(this,e),this.drawChildren(e)},n.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e}(Jn);M(kr.prototype,Or,{getGroupClass:function(){return kr}});var Er="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:function(t){return setTimeout(t,16)},Cr=function(t){bt(n,t);var e=n.prototype;function n(e){var n;n=t.call(this)||this;var r=e.title,i=r?w(gt.general.withTitle,{title:r}):gt.general.title;return n._attrs=M({type:"canvas",children:[],ariaLabel:i},e),n._initPixelRatio(),n._initCanvas(),n}return e.get=function(t){return this._attrs[t]},e.set=function(t,e){this._attrs[t]=e},e._initPixelRatio=function(){this.get("pixelRatio")||this.set("pixelRatio",Q())},e.beforeDraw=function(){var t=this._attrs.context,e=this._attrs.el;t&&t.clearRect&&t.clearRect(0,0,e.width,e.height)},e._initCanvas=function(){var t,e=this.get("el"),n=this.get("context");if(!e&&!n)throw new Error("Please specify the id, el or context of the chart!");t=e?p(e)?nt(e):e:Gn(n),n&&t&&!t.getContext&&(t.getContext=function(){return n});var r=this.get("width");r||(r=tt(t));var i=this.get("height");i||(i=et(t)),this.set("canvas",this),this.set("el",t),this.set("context",n||t.getContext("2d")),this.changeSize(r,i);var o=new qn({canvas:this,el:t});this.set("eventController",o)},e.changeSize=function(t,e){var n=this.get("pixelRatio"),r=this.get("el");r.style&&(r.style.width=t+"px",r.style.height=e+"px"),Z(r)&&(r.width=t*n,r.height=e*n,1!==n&&this.get("context").scale(n,n)),this.set("width",t),this.set("height",e)},e.getWidth=function(){var t=this.get("pixelRatio");return this.get("width")*t},e.getHeight=function(){var t=this.get("pixelRatio");return this.get("height")*t},e.getPointByClient=function(t,e){var n=this.get("el"),r=n.getBoundingClientRect(),i=r.right-r.left,o=r.bottom-r.top;return{x:(t-r.left)*(n.width/i),y:(e-r.top)*(n.height/o)}},e._beginDraw=function(){this._attrs.toDraw=!0},e._endDraw=function(){this._attrs.toDraw=!1},e.draw=function(){var t=this;t.get("destroyed")||(t.get("animateHandler")?this._beginDraw():function e(){t.set("animateHandler",Er((function(){t.set("animateHandler",void 0),t.get("toDraw")&&e()}))),t.beforeDraw();try{var n=t._attrs.context;t.drawChildren(n),n.draw&&n.draw(),t.setAriaLabel()}catch(e){console.warn("error in draw canvas, detail as:"),console.warn(e),t._endDraw()}t._endDraw()}())},e.setAriaLabel=function(){var t=this._attrs.el,e=this._getAriaLabel();e&&t.setAttribute&&t.setAttribute("aria-label",e)},e.destroy=function(){if(!this.get("destroyed")){var t=this.get("el");t.width=0,t.height=0,this.clear(),this._attrs={},this.set("destroyed",!0)}},e.isDestroyed=function(){return this.get("destroyed")},n}(wt);M(Cr.prototype,Or,{getGroupClass:function(){return kr}});var Mr={};function Tr(t){var e=Mr[t];return e||{Canvas:Cr,Group:kr,Shape:Qn}}function Pr(t){return new(Tr(t.renderer).Canvas)(t)}var Ar=Object.freeze({__proto__:null,registerEngine:function(t,e){Mr[t]=e},getEngine:Tr,createCanvas:Pr,Canvas:Cr,Group:kr,Shape:Qn,Matrix:Ot,Vector2:kt});function Ir(t){var e,n=t.start,r=t.end,i=r.x-n.x,o=Math.abs(r.y-n.y);if(t.isPolar){var a=t.circleRadius,s=t.center,u=t.startAngle,l=t.endAngle;e=new Qn.Sector({attrs:{x:s.x,y:s.y,r:a,r0:0,startAngle:u,endAngle:l}})}else e=new Qn.Rect({attrs:{x:n.x,y:r.y-10,width:i,height:o+20}});return e.isClip=!0,e}function Nr(t,e){var n=t.x,r=t.y,i=e.tl,o=e.tr,a=e.br;return n>=i.x&&n<=o.x&&r>=i.y&&r<=a.y}var Dr=Object.freeze({__proto__:null,getClip:Ir,isPointInPlot:Nr});function Rr(t,e){return t-e}var Lr=function(t){bt(n,t),n.initPlugins=function(){return{_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var r,i,o,a,s=this.descriptors(t),u=s.length;for(r=0;r<u;++r)if("function"==typeof(a=(i=s[r].plugin)[e])&&(o=[t].concat(n||[]),!1===a.apply(i,o)))return!1;return!0},descriptors:function(t){var e=t._plugins||(t._plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],r=[];return this._plugins.concat(t&&t.get("plugins")||[]).forEach((function(t){-1===n.indexOf(t)&&(n.push(t),r.push({plugin:t}))})),e.descriptors=r,e.id=this._cacheId,r}}};var e=n.prototype;function n(e){var n,r=xt(n=t.call(this,e)||this);return c(Zt,(function(t,e){var n=x(e);r[n]=function(e){var n=new t(e);return r.addGeom(n),n}})),r._init(),n}return e.getDefaultCfg=function(){return{id:null,renderer:"canvas",rendered:!1,padding:mt.padding,data:null,scales:{},geoms:[],colDefs:null,pixelRatio:mt.pixelRatio,filters:null,appendPadding:mt.appendPadding}},e._syncYScales=function(){if(this.get("syncY")){var t=this.get("geoms"),e=[],n=[],r=[];c(t,(function(t){var i=t.getYScale();i.isLinear&&(e.push(i),n.push(i.min),r.push(i.max))})),n=Math.min.apply(null,n),r=Math.max.apply(null,r),c(e,(function(t){t.change({min:n}),t.change({max:r})}))}},e._getFieldsForLegend=function(){var t=[];return c(this.get("geoms"),(function(e){var n=e.get("attrOptions").color;n&&n.field&&p(n.field)&&c(n.field.split("*"),(function(e){-1===t.indexOf(e)&&t.push(e)}))})),t},e._getScaleData=function(t){var e=this.get("data"),n=this.get("filteredData");return n.length&&-1===this._getFieldsForLegend().indexOf(t)&&(e=n),e},e._adjustScale=function(){for(var t=this.get("scaleController"),e=this.get("geoms"),n=0;n<e.length;n++){var r=e[n];if("interval"===r.get("type")){var i=r.getYScale();t.adjustStartZero(i)}}},e._removeGeoms=function(){for(var t=this.get("geoms");t.length>0;)t.shift().destroy()},e._clearGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e<n;e++)t[e].clear()},e._clearInner=function(){this._clearGeoms(),n.plugins.notify(this,"clearInner"),this.emit("clearinner"),this.get("axisController")&&this.get("axisController").clear()},e._initFilteredData=function(){var t=this.get("filters"),e=this.get("data")||[];t&&(e=e.filter((function(e){var n=!0;return c(t,(function(t,r){if(t&&!(n=t(e[r],e)))return!1})),n}))),this.set("filteredData",e)},e._changeGeomsData=function(){for(var t=this.get("geoms"),e=this.get("filteredData"),n=0,r=t.length;n<r;n++)t[n].changeData(e)},e._initGeom=function(t){if(!t.get("isInit")){var e=this.get("coord"),n=this.get("filteredData"),r=this.get("colDefs"),i=this.get("middlePlot");t.set("chart",this),t.set("container",i.addGroup()),t.set("data",n),t.set("coord",e),t.set("colDefs",r),t.init(),this.emit("_aftergeominit",t)}},e._initGeoms=function(){for(var t=this.get("geoms"),e=0,n=t.length;e<n;e++)this._initGeom(t[e])},e._initCoord=function(){var t=this.get("plotRange"),e=M({type:"cartesian"},this.get("coordCfg"),{plot:t}),n=e.type,r=new(0,Ct[j(n)])(e);this.set("coord",r)},e._initLayout=function(){var t=this.get("_padding");t||(t=ct(t=this.get("margin")||this.get("padding")));var e="auto"===t[0]?0:t[0],n="auto"===t[1]?0:t[1],r="auto"===t[2]?0:t[2],i={x:"auto"===t[3]?0:t[3],y:e},o={x:this.get("width")-n,y:this.get("height")-r},a=this.get("plot");if(a)a.reset(i,o);else{var s=new St({start:i,end:o});this.set("plotRange",s),this.set("plot",s)}},e._initCanvas=function(){try{var t=Pr({renderer:this.get("renderer"),el:this.get("el")||this.get("id"),context:this.get("context"),pixelRatio:this.get("pixelRatio"),width:this.get("width"),height:this.get("height"),fontFamily:mt.fontFamily,aria:this.get("aria"),title:this.get("title"),landscape:this.get("landscape")});this.set("canvas",t),this.set("el",t.get("el")),this.set("width",t.get("width")),this.set("height",t.get("height"))}catch(t){throw t}n.plugins.notify(this,"afterCanvasInit")},e._initLayers=function(){var t=this.get("canvas");this.set("backPlot",t.addGroup()),this.set("middlePlot",t.addGroup({zIndex:10})),this.set("frontPlot",t.addGroup({zIndex:20}))},e._initEvents=function(){var t=this;this.on("afterdatachange",(function(){t._initFilteredData(),t._changeGeomsData()})),this.on("_aftersizechange",(function(){t._initLayout();var e=t.get("coord");e&&e.reset(t.get("plot"))}))},e._initScaleController=function(){var t=new Ln({chart:this});this.set("colDefs",t.defs),this.set("scales",t.scales),this.set("scaleController",t)},e._clearScaleController=function(){this.get("scaleController").clear()},e._init=function(){this._initCanvas(),this._initLayout(),this._initLayers(),this._initEvents(),this._initScaleController(),this.set("axisController",new Fn({frontPlot:this.get("frontPlot").addGroup({className:"axisContainer"}),backPlot:this.get("backPlot").addGroup({className:"axisContainer"}),chart:this})),n.plugins.notify(this,"init")},e.init=function(){this._initFilteredData(),this._initCoord(),n.plugins.notify(this,"beforeGeomInit"),this._initGeoms(),this._syncYScales(),this._adjustScale(),this.emit("afterinit")},e.source=function(t,e){return this.set("data",t),e&&this.scale(e),this},e.scale=function(t,e){return this.get("scaleController").setFieldDef(t,e),this},e.axis=function(t,e){var n=this.get("axisController");return t?(n.axisCfg=n.axisCfg||{},n.axisCfg[t]=e):n.axisCfg=null,this},e.coord=function(t,e){var n;return l(t)?n=t:(n=e||{}).type=t||"cartesian",this.set("coordCfg",n),this},e.filter=function(t,e){var n=this.get("filters")||{};n[t]=e,this.set("filters",n),this.get("rendered")&&this.emit("afterdatachange",this.get("data"))},e.render=function(){var t=this.get("rendered"),e=this.get("canvas"),r=this.get("geoms");t?(this._initGeoms(),this._adjustScale()):(this.init(),this.set("rendered",!0)),this.emit("beforerender"),n.plugins.notify(this,"beforeGeomDraw"),this._renderAxis();var i=this.get("middlePlot");if(this.get("limitInPlot")&&!i.attr("clip")){var o=Ir(this.get("coord"));o.set("canvas",i.get("canvas")),i.attr("clip",o)}this.emit("beforegeomdraw");for(var a=0,s=r.length;a<s;a++)r[a].paint();return this.emit("aftergeomdraw"),n.plugins.notify(this,"afterGeomDraw"),e.sort(),this.get("frontPlot").sort(),n.plugins.notify(this,"beforeCanvasDraw"),e.draw(),this.emit("afterrender"),this},e.clear=function(){return n.plugins.notify(this,"clear"),this.emit("clear"),this._clearInner(),this._removeGeoms(),this._clearScaleController(),this.set("legendItems",null),this.set("filters",null),this.set("isUpdate",!1),this.set("_padding",null),this.set("rendered",!1),this.get("canvas").draw(),this},e.repaint=function(){this.get("rendered")&&(this.set("isUpdate",!0),this.set("legendItems",null),n.plugins.notify(this,"repaint"),this._clearInner(),this.emit("repaint"),this.render())},e.changeData=function(t){this.emit("beforedatachange",t),this.set("data",t),n.plugins.notify(this,"changeData"),this.emit("afterdatachange",t),this.set("_padding",null),this.repaint()},e.changeSize=function(t,e){return t?this.set("width",t):t=this.get("width"),e?this.set("height",e):e=this.get("height"),this.get("canvas").changeSize(t,e),this.emit("_aftersizechange",{width:t,height:e}),this.repaint(),this},e.destroy=function(){this.clear(),this.get("canvas").destroy(),n.plugins.notify(this,"afterCanvasDestroyed"),this._interactions&&c(this._interactions,(function(t){t.destroy()})),t.prototype.destroy.call(this)},e.getPosition=function(t){for(var e=this.get("coord"),n=this.getXScale(),r=n.field,i=this.getYScales(),o=i[0],a=o.field,s=0,u=i.length;s<u;s++){var l=i[s],c=l.field;if(t[c]){o=l,a=c;break}}var f=n.scale(t[r]),d=o.scale(t[a]);return e.convertPoint({x:f,y:d})},e.getRecord=function(t){var e=this.get("coord"),n=this.getXScale(),r=this.getYScales()[0],i=e.invertPoint(t),o={};return o[n.field]=n.invert(i.x),o[r.field]=r.invert(i.y),o},e.getSnapRecords=function(t){var e=this.get("geoms")[0],n=[];return e&&(n=e.getSnapRecords(t)),n},e.createScale=function(t){var e=this._getScaleData(t);return this.get("scaleController").createScale(t,e)},e.addGeom=function(t){this.get("geoms").push(t)},e.getXScale=function(){return this.get("geoms")[0].getXScale()},e.getYScales=function(){var t=this.get("geoms"),e=[];return c(t,(function(t){var n=t.getYScale();-1===e.indexOf(n)&&e.push(n)})),e},e.getLegendItems=function(){if(this.get("legendItems"))return this.get("legendItems");var t={},e=[];return c(this.get("geoms"),(function(n){var r=n.getAttr("color");if(r){var i=r.getScale("color");if(i.isCategory&&!function(t,e){var n=!1;return c(t,(function(t){var r=[].concat(t.values),i=[].concat(e.values);t.type!==e.type||t.field!==e.field||r.sort(Rr).toString()!==i.sort(Rr).toString()||(n=!0)})),n}(e,i)){e.push(i);var o=i.field,a=i.getTicks(),s=[];c(a,(function(t){var e=t.text,n=t.value,o=i.invert(n),a={fill:r.mapping(o).join("")||mt.defaultColor,radius:3,symbol:"circle",stroke:"#fff"};s.push({name:e,dataValue:o,checked:!0,marker:a})})),t[o]=s}}})),this.set("legendItems",t),t},e.registerPlugins=function(t){var e=this,r=e.get("plugins")||[];u(r)||(r=[r]),[].concat(t).forEach((function(t){-1===r.indexOf(t)&&(t.init&&t.init(e),r.push(t))})),n.plugins._cacheId++,e.set("plugins",r)},e._renderAxis=function(){var t=this.get("axisController"),e=this.getXScale(),r=this.getYScales(),i=this.get("coord");n.plugins.notify(this,"beforeRenderAxis"),t.createAxis(i,e,r)},e._isAutoPadding=function(){if(this.get("_padding"))return!1;var t=this.get("padding");return u(t)?-1!==t.indexOf("auto"):"auto"===t},e._updateLayout=function(t){var e=this.get("width"),n=this.get("height"),r={x:t[3],y:t[0]},i={x:e-t[1],y:n-t[2]},o=this.get("plot"),a=this.get("coord");o.reset(r,i),a.reset(o)},e.landscape=function(t){this.get("canvas").set("landscape",t)},n}(jt);Lr.plugins=Lr.initPlugins();var Br=function(){return null};function $r(t){var e=[],n=t.x,r=t.y;return(r=u(r)?r:[r]).forEach((function(t,r){var i={x:u(n)?n[r]:n,y:t};e.push(i)})),e}function Fr(t,e,n){if(!t.length)return[];var r,i=[],o=[];return c(t,(function(t){r=t._origin?t._origin[e]:t[e],n?s(r)||o.push(t):u(r)&&s(r[0])||s(r)?o.length&&(i.push(o),o=[]):o.push(t)})),o.length&&i.push(o),i}function zr(t,e,n){if(0!==t.size){var r=function(t){var e={lineWidth:0,stroke:t.color,fill:t.color};return t.size&&(e.size=t.size),M(e,t.style),M({},mt.shape.point,e)}(t),i=r.r||r.size,o=t.x,a=u(t.y)?t.y:[t.y];"hollowCircle"===n&&(r.lineWidth=1,r.fill=null);for(var s=0,l=a.length;s<l;s++)return"rect"===n?e.addShape("Rect",{className:"point",attrs:M({x:o-i,y:a[s]-i,width:2*i,height:2*i},r)}):e.addShape("Circle",{className:"point",attrs:M({x:o,y:a[s],r:i},r)})}}Vt.registerFactory("point",{defaultShapeType:"circle",getDefaultPoints:function(t){return $r(t)}}),c(["circle","hollowCircle","rect"],(function(t){Vt.registerShape("point",t,{draw:function(e,n){return zr(e,n,t)}})}));var Vr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="point",e.shapeType="point",e.generatePoints=!1,e},n.draw=function(t,e){var n=this,r=n.get("container");c(t,(function(t){var i=t.shape,o=n.getDrawCfg(t);if(u(t.y)){var a=n.hasAdjust("stack");c(t.y,(function(s,u){o.y=s,a&&0===u||n.drawShape(i,t,o,r,e)}))}else s(t.y)||n.drawShape(i,t,o,r,e)}))},e}(Zt);Zt.Point=Vr,Vt.registerFactory("line",{defaultShapeType:"line"}),c(["line","smooth","dash"],(function(t){Vt.registerShape("line",t,{draw:function(e,n){var r="smooth"===t,i=function(t){var e={strokeStyle:t.color};return t.size>=0&&(e.lineWidth=t.size),M(e,t.style),M({},mt.shape.line,e)}(e);return"dash"===t&&(i.lineDash=mt.lineDash),function(t,e,n,r){var i=t.points;if(i.length&&u(i[0].y)){for(var o=[],a=[],s=0,l=i.length;s<l;s++){var c=$r(i[s]);a.push(c[0]),o.push(c[1])}return t.isInCircle&&(o.push(o[0]),a.push(a[0])),t.isStack?e.addShape("Polyline",{className:"line",attrs:M({points:o,smooth:r},n)}):[e.addShape("Polyline",{className:"line",attrs:M({points:o,smooth:r},n)}),e.addShape("Polyline",{className:"line",attrs:M({points:a,smooth:r},n)})]}return t.isInCircle&&i.push(i[0]),e.addShape("Polyline",{className:"line",attrs:M({points:i,smooth:r},n)})}(e,n,i,r)}})}));var qr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="path",e.shapeType="line",e},n.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.isStack=this.hasAdjust("stack"),n},n.draw=function(t,e){var n=this,r=n.get("container"),i=n.getYScale(),o=n.get("connectNulls"),a=Fr(t,i.field,o),s=this.getDrawCfg(t[0]);s.origin=t,c(a,(function(i,o){s.splitedIndex=o,s.points=i,n.drawShape(s.shape,t[0],s,r,e)}))},e}(Zt);Zt.Path=qr;var Hr=function(t){function e(){return t.apply(this,arguments)||this}return bt(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="line",e.sortable=!0,e},e}(qr);function Gr(t,e){return Math.abs(t-e)<1e-5}function Ur(t){return!isNaN(t)&&!s(t)}function Yr(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];Ur(i.x)&&Ur(i.y)&&e.push(i)}return e}function Wr(t,e,n){var r=t.points,i=[],o=[];c(r,(function(t){o.push(t[0]),i.push(t[1])}));var a=M({fillStyle:t.color},mt.shape.area,t.style);return o.reverse(),i=this.parsePoints(i),o=this.parsePoints(o),t.isInCircle&&(i.push(i[0]),o.unshift(o[o.length-1]),function(t,e){var n=!0;return c(t,(function(t){if(!Gr(t.x,e.x)||!Gr(t.y,e.y))return n=!1,!1})),n}(o,t.center)&&(o=[])),function(t,e,n,r,i){var o=t.concat(e);return i?n.addShape("Custom",{className:"area",attrs:M({points:o},r),createPath:function(t){var e=[[0,0],[1,1]],n=Yr(this._attrs.attrs.points),r=n.length,i=n.slice(0,r/2),o=n.slice(r/2,r),a=dr(i,!1,e);t.beginPath(),t.moveTo(i[0].x,i[0].y);for(var s=0,u=a.length;s<u;s++){var l=a[s];t.bezierCurveTo(l[1],l[2],l[3],l[4],l[5],l[6])}if(o.length){var c=dr(o,!1,e);t.lineTo(o[0].x,o[0].y);for(var f=0,d=c.length;f<d;f++){var h=c[f];t.bezierCurveTo(h[1],h[2],h[3],h[4],h[5],h[6])}}t.closePath()},calculateBox:function(){return sr(Yr(this._attrs.attrs.points))}}):n.addShape("Polyline",{className:"area",attrs:M({points:o},r)})}(i,o,e,a,n)}Zt.Line=Hr,Vt.registerFactory("area",{defaultShapeType:"area",getDefaultPoints:function(t){var e=t.x,n=t.y,r=t.y0;n=u(n)?n:[r,n];var i=[];return i.push({x:e,y:n[0]},{x:e,y:n[1]}),i}}),c(["area","smooth"],(function(t){Vt.registerShape("area",t,{draw:function(e,n){var r="smooth"===t;return Wr.call(this,e,n,r)}})}));var Xr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="area",e.shapeType="area",e.generatePoints=!0,e.sortable=!0,e},n.draw=function(t,e){var n=this,r=n.get("container"),i=this.getDrawCfg(t[0]),o=n.getYScale(),a=n.get("connectNulls"),s=Fr(t,o.field,a);i.origin=t,c(s,(function(o,a){i.splitedIndex=a;var s=o.map((function(t){return t.points}));i.points=s,n.drawShape(i.shape,t[0],i,r,e)}))},e}(Zt);Zt.Area=Xr;var Kr={initEvent:function(){var t=this,e=this.get("chart");e&&e.on("_aftersizechange",(function(){t.set("_width",null)}))},getDefaultSize:function(){var t=this.get("defaultSize");if(!t){var e=this.get("coord"),n=this.getXScale(),r=this.get("dataArray"),i=v(n.values).length,o=n.range,a=1/i,s=1;e&&e.isPolar?s=e.transposed&&i>1?mt.widthRatio.multiplePie:mt.widthRatio.rose:(n.isLinear&&(a*=o[1]-o[0]),s=mt.widthRatio.column),a*=s,this.hasAdjust("dodge")&&(a/=r.length),t=a,this.set("defaultSize",t)}return t},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),r=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),i=0;return n&&r&&(i=Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2))),i},_getWidth:function(){var t=this.get("_width");if(!t){var e=this.get("coord");t=e&&e.isPolar&&!e.transposed?(e.endAngle-e.startAngle)*e.circleRadius:this.getDimWidth("x"),this.set("_width",t)}return t},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return e=s(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(s(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};function Zr(t){var e,n,r=t.x,i=t.y,o=t.y0,a=t.size,s=o,l=i;return u(i)&&(l=i[1],s=i[0]),u(r)?(e=r[0],n=r[1]):(e=r-a/2,n=r+a/2),[{x:e,y:s},{x:e,y:l},{x:n,y:l},{x:n,y:s}]}Vt.registerFactory("interval",{defaultShapeType:"rect",getDefaultPoints:function(t){return Zr(t)}}),Vt.registerShape("interval","rect",{draw:function(t,e){var n=this.parsePoints(t.points),r=M({fill:t.color},mt.shape.interval,t.style);if(t.isInCircle){var i=n.slice(0);this._coord.transposed&&(i=[n[0],n[3],n[2],n[1]]);var o=t.center,a=o.x,s=o.y,u=[1,0],l=[i[0].x-a,i[0].y-s],c=[i[1].x-a,i[1].y-s],f=[i[2].x-a,i[2].y-s],d=kt.angleTo(u,c),h=kt.angleTo(u,f),p=kt.length(l),v=kt.length(c);return d>=1.5*Math.PI&&(d-=2*Math.PI),h>=1.5*Math.PI&&(h-=2*Math.PI),e.addShape("Sector",{className:"interval",attrs:M({x:a,y:s,r:v,r0:p,startAngle:d,endAngle:h},r)})}var g=function(t){for(var e=[],n=[],r=0,i=t.length;r<i;r++){var o=t[r];e.push(o.x),n.push(o.y)}var a=Math.min.apply(null,e),s=Math.min.apply(null,n);return{x:a,y:s,width:Math.max.apply(null,e)-a,height:Math.max.apply(null,n)-s}}(n);return e.addShape("rect",{className:"interval",attrs:M(g,r)})}}),["pyramid","funnel"].forEach((function(t){Vt.registerShape("interval",t,{getPoints:function(t){return t.size=2*t.size,Zr(t)},draw:function(e,n){var r,i,o=this.parsePoints(e.points),a=this.parsePoints(e.nextPoints),s=null;a?s=[o[0],o[1],a[1],a[0]]:(s=[o[0],o[1]],"pyramid"===t?s.push((r=o[2],i=o[3],{x:(r.x-i.x)/2+i.x,y:(r.y-i.y)/2+i.y})):s.push(o[2],o[3]));var u=M({fill:e.color,points:s},mt.shape.interval,e.style);return n.addShape("polygon",{className:"interval",attrs:u})}})}));var Qr=function(t){bt(n,t);var e=n.prototype;function n(e){var n;return M(xt(n=t.call(this,e)||this),Kr),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="interval",e.shapeType="interval",e.generatePoints=!0,e},e.init=function(){t.prototype.init.call(this),this.initEvent()},e.createShapePointsCfg=function(e){var n=t.prototype.createShapePointsCfg.call(this,e);return n.size=this.getNormalizedSize(e),n},e.clearInner=function(){t.prototype.clearInner.call(this),this.set("defaultSize",null)},n}(Zt);Zt.Interval=Qr,Vt.registerFactory("polygon",{defaultShapeType:"polygon",getDefaultPoints:function(t){for(var e=[],n=t.x,r=t.y,i=0,o=n.length;i<o;i++)e.push({x:n[i],y:r[i]});return e}}),Vt.registerShape("polygon","polygon",{draw:function(t,e){var n=this.parsePoints(t.points),r=M({fill:t.color,points:n},t.style);return e.addShape("Polygon",{className:"polygon",attrs:r})}});var Jr=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e},n.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),i=r.x,o=r.y;if(!u(i)||!u(o)){var a=this.getXScale(),s=this.getYScale(),l=.5/(a.values?a.values.length:a.ticks.length),c=.5/(s.values?s.values.length:s.ticks.length);a.isCategory&&s.isCategory?(i=[i-l,i-l,i+l,i+l],o=[o-c,o+c,o+c,o-c]):u(i)?(i=[(n=i)[0],n[0],n[1],n[1]],o=[o-c/2,o+c/2,o+c/2,o-c/2]):u(o)&&(o=[(n=o)[0],n[1],n[1],n[0]],i=[i-l/2,i-l/2,i+l/2,i+l/2]),r.x=i,r.y=o}return r},e}(Zt);Zt.Polygon=Jr,Vt.registerFactory("schema",{}),Vt.registerShape("schema","candle",{getPoints:function(t){return e=t.x,n=t.y,r=t.size,i=function(t){var e=t.sort((function(t,e){return t<e?1:-1})),n=e.length;if(n<4)for(var r=e[n-1],i=0;i<4-n;i++)e.push(r);return e}(n),[{x:e,y:i[0]},{x:e,y:i[1]},{x:e-r/2,y:i[2]},{x:e-r/2,y:i[1]},{x:e+r/2,y:i[1]},{x:e+r/2,y:i[2]},{x:e,y:i[2]},{x:e,y:i[3]}];var e,n,r,i},draw:function(t,e){var n=this.parsePoints(t.points),r=M({stroke:t.color,fill:t.color,lineWidth:1},t.style);return e.addShape("Custom",{className:"schema",attrs:r,createPath:function(t){t.beginPath(),t.moveTo(n[0].x,n[0].y),t.lineTo(n[1].x,n[1].y),t.moveTo(n[2].x,n[2].y);for(var e=3;e<6;e++)t.lineTo(n[e].x,n[e].y);t.closePath(),t.moveTo(n[6].x,n[6].y),t.lineTo(n[7].x,n[7].y)}})}});var ti=function(t){bt(n,t);var e=n.prototype;function n(e){var n;return M(xt(n=t.call(this,e)||this),Kr),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e},e.init=function(){t.prototype.init.call(this),this.initEvent()},e.createShapePointsCfg=function(e){var n=t.prototype.createShapePointsCfg.call(this,e);return n.size=this.getNormalizedSize(e),n},e.clearInner=function(){t.prototype.clearInner.call(this),this.set("defaultSize",null)},n}(Zt);Zt.Schema=ti;var ei={}.toString,ni=function(t,e){return ei.call(t)==="[object "+e+"]"},ri=Array.isArray?Array.isArray:function(t){return ni(t,"Array")},ii=function(t){return null==t},oi=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i._initDefaultCfg=function(){this.xField=null,this.yField=null},i.processAdjust=function(t){this.processStack(t)},i.processStack=function(t){var e=this.xField,n=this.yField,r=t.length,i={positive:{},negative:{}};this.reverseOrder&&(t=t.slice(0).reverse());for(var o=0;o<r;o++)for(var a=t[o],s=0,u=a.length;s<u;s++){var l=a[s],c=l[e]||0,f=l[n],d=c.toString();if(f=ri(f)?f[1]:f,!ii(f)){var h=f>=0?"positive":"negative";i[h][d]||(i[h][d]=0),l[n]=[i[h][d],f+i[h][d]],i[h][d]+=f}}},r}(Yt);Yt.Stack=oi;var ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},si=function(t){var e=void 0===t?"undefined":ai(t);return null!==t&&"object"===e||"function"===e},ui=function(t,e){if(t)if(ri(t))for(var n=0,r=t.length;n<r&&!1!==e(t[n],n);n++);else if(si(t))for(var i in t)if(t.hasOwnProperty(i)&&!1===e(t[i],i))break},li=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i._initDefaultCfg=function(){this.marginRatio=.5,this.dodgeRatio=.5,this.adjustNames=["x","y"]},i.getDodgeOffset=function(t,e,n){var r=t.pre,i=t.next,o=i-r,a=o*this.dodgeRatio/n,s=this.marginRatio*a;return(r+i)/2+(.5*(o-n*a-(n-1)*s)+((e+1)*a+e*s)-.5*a-.5*o)},i.processAdjust=function(t){var e=this,n=t.length,r=e.xField;ui(t,(function(t,i){for(var o=0,a=t.length;o<a;o++){var s=t[o],u=s[r],l={pre:1===a?u-1:u-.5,next:1===a?u+1:u+.5},c=e.getDodgeOffset(l,i,n);s[r]=c}}))},r}(Yt);Yt.Dodge=li;var ci=function(t){return ni(t,"Function")},fi=function(t,e){if(ri(t)){var n=t[0],r=void 0;r=ci(e)?e(t[0]):t[0][e];var i=void 0;return ui(t,(function(t){(i=ci(e)?e(t):t[e])>r&&(n=t,r=i)})),n}},di={merge:function(t){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},hi=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i._initDefaultCfg=function(){this.xField=null,this.yField=null,this.cacheMax=null,this.adjustNames=["y"],this.groupFields=null},i._getMax=function(t){var e=this.mergeData,n=fi(e,(function(e){var n=e[t];return ri(n)?Math.max.apply(null,n):n}))[t];return ri(n)?Math.max.apply(null,n):n},i._getXValuesMax=function(){var t=this.yField,e=this.xField,n={},r=this.mergeData;return ui(r,(function(r){var i=r[e],o=r[t],a=ri(o)?Math.max.apply(null,o):o;n[i]=n[i]||0,n[i]<a&&(n[i]=a)})),n},i.processAdjust=function(t){var e=di.merge(t);this.mergeData=e,this._processSymmetric(t),this.mergeData=null},i._processSymmetric=function(t){var e,n=this.xField,r=this.yField,i=this._getMax(r),o=t[0][0];o&&ri(o[r])&&(e=this._getXValuesMax()),ui(t,(function(t){ui(t,(function(t){var o,a=t[r];if(ri(a)){var s=t[n],u=e[s];o=(i-u)/2;var l=[];ui(a,(function(t){l.push(o+t)})),t[r]=l}else o=(i-a)/2,t[r]=[o,a+o]}))}))},r}(Yt);Yt.Symmetric=hi;var pi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="polar",this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.inner=0,this.innerRadius=0,this.isPolar=!0,this.transposed=!1,this.center=null,this.radius=null},n.init=function(e,n){t.prototype.init.call(this,e,n);var r,i,o=this.inner||this.innerRadius,a=Math.abs(n.x-e.x),s=Math.abs(n.y-e.y);this.startAngle===-Math.PI&&0===this.endAngle?(r=Math.min(a/2,s),i={x:(e.x+n.x)/2,y:e.y}):(r=Math.min(a,s)/2,i={x:(e.x+n.x)/2,y:(e.y+n.y)/2});var u=this.radius;u>0&&u<=1&&(r*=u),this.x={start:this.startAngle,end:this.endAngle},this.y={start:r*o,end:r},this.center=i,this.circleRadius=r},n._convertPoint=function(t){var e=this.center,n=this.transposed,r=n?"y":"x",i=n?"x":"y",o=this.x,a=this.y,s=o.start+(o.end-o.start)*t[r],u=a.start+(a.end-a.start)*t[i];return{x:e.x+Math.cos(s)*u,y:e.y+Math.sin(s)*u}},n._invertPoint=function(t){var e=this.center,n=this.transposed,r=this.x,i=this.y,o=n?"y":"x",a=n?"x":"y",s=[1,0,0,1,0,0];Ot.rotate(s,s,r.start);var u=[1,0];kt.transformMat2d(u,u,s),u=[u[0],u[1]];var l=[t.x-e.x,t.y-e.y];if(kt.zero(l))return{x:0,y:0};var c=kt.angleTo(u,l,r.end<r.start);Math.abs(c-2*Math.PI)<.001&&(c=0);var f=kt.length(l),d=c/(r.end-r.start);d=r.end-r.start>0?d:-d;var h=(f-i.start)/(i.end-i.start),p={};return p[o]=d,p[a]=h,p},e}(Ct);Ct.Polar=pi;var vi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.startAngle=-Math.PI/2,this.endAngle=3*Math.PI/2,this.radius=null,this.center=null},n.getOffsetPoint=function(t){var e=this.startAngle,n=e+(this.endAngle-e)*t;return this._getCirclePoint(n)},n._getCirclePoint=function(t,e){var n=this.center;return e=e||this.radius,{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},n.getTextAlignInfo=function(t,e){var n,r=this.getOffsetVector(t,e),i="middle";return r[0]>0?n="left":r[0]<0?n="right":(n="center",r[1]>0?i="top":r[1]<0&&(i="bottom")),{textAlign:n,textBaseline:i}},n.getAxisVector=function(t){var e=this.center,n=this.offsetFactor;return[(t.y-e.y)*n,-1*(t.x-e.x)*n]},n.drawLine=function(t){var e=this.center,n=this.radius,r=this.startAngle,i=this.endAngle;this.getContainer(t.top).addShape("arc",{className:"axis-line",attrs:M({x:e.x,y:e.y,r:n,startAngle:r,endAngle:i},t)})},e}(Bn);Bn.Circle=vi;var gi={min:0,median:.5,max:1},mi=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),P(this,t)}return t._initDefaultCfg=function(){},t._getNormalizedValue=function(t,e){return s(gi[t])?e.scale(t):gi[t]},t.parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,r=parseFloat(e[1])/100,i=t.start,o=t.end,a=Math.abs(i.x-o.x),s=Math.abs(i.y-o.y);return{x:a*n+Math.min(i.x,o.x),y:s*r+Math.min(i.y,o.y)}},t.parsePoint=function(t,e){var n=this.xScale,r=this.yScales;if(a(e)&&(e=e(n,r)),p(e[0])&&-1!==e[0].indexOf("%")&&!isNaN(e[0].slice(0,-1)))return this.parsePercentPoint(t,e);var i=this._getNormalizedValue(e[0],n),o=this._getNormalizedValue(e[1],r[0]),s=t.convertPoint({x:i,y:o});return this.limitInPlot?i>=0&&i<=1&&o>=0&&o<=1?s:null:s},t.render=function(){},t.repaint=function(){this.remove();var t=this.coord,e=this.container,n=this.canvas;e&&!e.isDestroyed()&&(this.render(t,e),n.draw())},t.remove=function(){var t=this.element;t&&t.remove(!0)},t.changeVisible=function(t){this.visible=t;var e=this.element;e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},e}(),yi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="arc",this.start=[],this.end=[],this.style={stroke:"#999",lineWidth:1}},n.render=function(t,e){var n=this.parsePoint(t,this.start),r=this.parsePoint(t,this.end);if(n&&r){var i=t.center,o=Math.sqrt((n.x-i.x)*(n.x-i.x)+(n.y-i.y)*(n.y-i.y)),a=Math.atan2(n.y-i.y,n.x-i.x),s=Math.atan2(r.y-i.y,r.x-i.x),u=e.addShape("arc",{className:"guide-arc",attrs:M({x:i.x,y:i.y,r:o,startAngle:a,endAngle:s},this.style)});return this.element=u,u}},e}(mi);function _i(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}function bi(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]}mi.Arc=yi;var xi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="html",this.position=null,this.alignX="center",this.alignY="middle",this.offsetX=null,this.offsetY=null,this.html=null},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n){var r=bi(this.html);r=_i(r,{position:"absolute",top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"hidden"});var i=e.get("canvas").get("el"),o=i.parentNode;o=_i(o,{position:"relative"});var a=bi('<div class="guideWapper" style="position: absolute;top: 0; left: 0;"></div>');o.appendChild(a),a.appendChild(r);var s=i.offsetTop,u=i.offsetLeft,l=this.alignX,c=this.alignY,f=this.offsetX,d=this.offsetY,h=function(t,e,n,r){var i=[];return"left"===t&&"top"===e?(i[0]=0,i[1]=0):"right"===t&&"top"===e?(i[0]=-n,i[1]=0):"left"===t&&"bottom"===e?(i[0]=0,i[1]=Math.floor(-r)):"right"===t&&"bottom"===e?(i[0]=Math.floor(-n),i[1]=Math.floor(-r)):"right"===t&&"middle"===e?(i[0]=Math.floor(-n),i[1]=Math.floor(-r/2)):"left"===t&&"middle"===e?(i[0]=0,i[1]=Math.floor(-r/2)):"center"===t&&"bottom"===e?(i[0]=Math.floor(-n/2),i[1]=Math.floor(-r)):"center"===t&&"top"===e?(i[0]=Math.floor(-n/2),i[1]=0):(i[0]=Math.floor(-n/2),i[1]=Math.floor(-r/2)),i}(l,c,tt(r),et(r));n.x=n.x+h[0]+u,n.y=n.y+h[1]+s,f&&(n.x+=f),d&&(n.y+=d),_i(r,{top:Math.floor(n.y)+"px",left:Math.floor(n.x)+"px",visibility:"visible"}),this.element=a}},n.remove=function(){var t=this.element;t&&t.parentNode&&t.parentNode.removeChild(t)},e}(mi);mi.Html=xi;var wi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="line",this.start=[],this.end=[],this.style={stroke:"#000",lineWidth:1}},n.render=function(t,e){var n=[];if(n[0]=this.parsePoint(t,this.start),n[1]=this.parsePoint(t,this.end),n[0]&&n[1]){var r=e.addShape("Line",{className:"guide-line",attrs:M({x1:n[0].x,y1:n[0].y,x2:n[1].x,y2:n[1].y},this.style)});return this.element=r,r}},e}(mi);mi.Line=wi;var ji=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="rect",this.start=[],this.end=[],this.style={fill:"#CCD7EB",opacity:.4}},n.render=function(t,e){var n=this.parsePoint(t,this.start),r=this.parsePoint(t,this.end);if(n&&r){var i=e.addShape("rect",{className:"guide-rect",attrs:M({x:Math.min(n.x,r.x),y:Math.min(n.y,r.y),width:Math.abs(r.x-n.x),height:Math.abs(n.y-r.y)},this.style)});return this.element=i,i}},e}(mi);mi.Rect=ji;var Si=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="text",this.position=null,this.content=null,this.style={fill:"#000"},this.offsetX=0,this.offsetY=0},n.render=function(t,e){var n=this.position,r=this.parsePoint(t,n);if(r){var i=this.content,o=this.style,a=this.offsetX,s=this.offsetY;a&&(r.x+=a),s&&(r.y+=s);var u=e.addShape("text",{className:"guide-text",attrs:M({x:r.x,y:r.y,text:i},o)});return this.element=u,u}},e}(mi);mi.Text=Si;var Oi=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="tag",this.position=null,this.content=null,this.direct="tl",this.autoAdjust=!0,this.offsetX=0,this.offsetY=0,this.side=4,this.background={padding:5,radius:2,fill:"#1890FF"},this.textStyle={fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},this.withPoint=!0,this.pointStyle={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n._getDirect=function(t,e,n,r){var i=this.direct,o=this.side,a=t.get("canvas"),s=a.get("width"),u=a.get("height"),l=e.x,c=e.y,f=i[0],d=i[1];"t"===f&&c-o-r<0?f="b":"b"===f&&c+o+r>u&&(f="t");var h="c"===f?o:0;return"l"===d&&l-h-n<0?d="r":"r"===d&&l+h+n>s?d="l":"c"===d&&(n/2+l+h>s?d="l":l-n/2-h<0&&(d="r")),i=f+d},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(n&&!isNaN(n.x)&&!isNaN(n.y)){var r=this.content,i=this.background,o=this.textStyle,a=[],s=e.addGroup({className:"guide-tag"});if(this.withPoint){var u=s.addShape("Circle",{className:"guide-tag-point",attrs:M({x:n.x,y:n.y},this.pointStyle)});a.push(u)}var l=s.addGroup(),c=l.addShape("text",{className:"guide-tag-text",zIndex:1,attrs:M({x:0,y:0,text:r},o)});a.push(c);var f=c.getBBox(),d=ct(i.padding),h=f.width+d[1]+d[3],p=f.height+d[0]+d[2],v=f.minY-d[0],g=f.minX-d[3],m=l.addShape("rect",{className:"guide-tag-bg",zIndex:-1,attrs:M({x:g,y:v,width:h,height:p},i)});a.push(m);var y,_=this.autoAdjust?this._getDirect(e,n,h,p):this.direct,b=this.side,x=n.x+this.offsetX,w=n.y+this.offsetY,j=ct(i.radius);"tl"===_?(y=[{x:h+g-b-1,y:p+v-1},{x:h+g,y:p+v-1},{x:h+g,y:p+b+v}],j[2]=0,x-=h,w=w-b-p):"cl"===_?(y=[{x:h+g-1,y:(p-b)/2+v-1},{x:h+g-1,y:(p+b)/2+v+1},{x:h+b+g,y:p/2+v}],x=x-h-b,w-=p/2):"bl"===_?(y=[{x:h+g,y:-b+v},{x:h+g-b-1,y:v+1},{x:h+g,y:v+1}],j[1]=0,x-=h,w+=b):"bc"===_?(y=[{x:h/2+g,y:-b+v},{x:(h-b)/2+g-1,y:v+1},{x:(h+b)/2+g+1,y:v+1}],x-=h/2,w+=b):"br"===_?(y=[{x:g,y:v-b},{x:g,y:v+1},{x:g+b+1,y:v+1}],j[0]=0,w+=b):"cr"===_?(y=[{x:g-b,y:p/2+v},{x:g+1,y:(p-b)/2+v-1},{x:g+1,y:(p+b)/2+v+1}],x+=b,w-=p/2):"tr"===_?(y=[{x:g,y:p+b+v},{x:g,y:p+v-1},{x:b+g+1,y:p+v-1}],j[3]=0,w=w-p-b):"tc"===_&&(y=[{x:(h-b)/2+g-1,y:p+v-1},{x:(h+b)/2+g+1,y:p+v-1},{x:h/2+g,y:p+b+v}],x-=h/2,w=w-p-b);var S=l.addShape("Polygon",{className:"guide-tag-side",zIndex:0,attrs:{points:y,fill:i.fill}});return a.push(S),m.attr("radius",j),l.moveTo(x-g,w-v),l.sort(),this.element=s,a}},e}(mi);mi.Tag=Oi;var ki=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n._initDefaultCfg=function(){this.type="point",this.position=null,this.offsetX=0,this.offsetY=0,this.style={fill:"#1890FF",r:3,lineWidth:1,stroke:"#fff"}},n.render=function(t,e){var n=this.parsePoint(t,this.position);if(!n)return null;var r=e.addShape("Circle",{className:"guide-point",attrs:M({x:n.x+this.offsetX,y:n.y+this.offsetY},this.style)});return this.element=r,r},e}(mi);mi.Point=ki;var Ei=function(){var t=e.prototype;function e(t){P(this,this.getDefaultCfg(),t),this._init(),this._renderTitle(),this._renderItems()}return t.getDefaultCfg=function(){return{showTitle:!1,title:null,items:null,titleGap:12,itemGap:10,itemMarginBottom:12,itemFormatter:null,itemWidth:null,wordSpace:6,x:0,y:0,layout:"horizontal",joinString:": "}},t._init=function(){var t=this.parent;if(t){var e=t.addGroup({zIndex:this.zIndex||0});this.container=e;var n=e.addGroup();this.wrapper=n;var r=n.addGroup({className:"itemsGroup"});this.itemsGroup=r}},t._renderTitle=function(t){t=t||this.title;var e=this.titleShape,n=0;if(this.showTitle&&t){if(e&&!e.get("destroyed"))e.attr("text",t);else{var r=this.wrapper,i=this.titleStyle;e=r.addShape("text",{className:"title",attrs:M({x:0,y:0,text:t},i)}),this.titleShape=e}n=e.getBBox().height+this.titleGap}this._titleHeight=n},t._renderItems=function(t){var e=this;(t=t||e.items)&&(e.reversed&&t.reverse(),c(t,(function(t,n){e._addItem(t,n)})),t.length>1&&this._adjustItems(),this._renderBackground())},t._renderBackground=function(){var t=this.background;if(t){var e=this.container,n=this.wrapper.getBBox(),r=n.minX,i=n.minY,o=n.width,a=n.height,s=t.padding||[0,0,0,0],u=M({x:r-(s=ct(s))[3],y:i-s[0],width:o+s[1]+s[3],height:a+s[0]+s[2]},t),l=this.backShape;l?l.attr(u):l=e.addShape("Rect",{zIndex:-1,attrs:u}),this.backShape=l,e.sort()}},t._addItem=function(t){var e,n=this.itemsGroup.addGroup({name:t.name,value:t.value,dataValue:t.dataValue,checked:t.checked}),r=this.unCheckStyle,i=this.unCheckColor,o=this.nameStyle,a=this.valueStyle,s=this.wordSpace,u=t.marker,l=t.value,c=0;if(i&&(r.fill=i),u){var f=M({x:u.radius||3,y:this._titleHeight},u);!1===t.checked&&M(f,r),c+=n.addShape("marker",{className:"item-marker",attrs:f}).getBBox().width+s}var d=t.name;if(d){var h=this.joinString||"";d=l?d+h:d,e=n.addShape("text",{className:"name",attrs:M({x:c,y:this._titleHeight,text:this._formatItemValue(d)},o,!1===t.checked?r:null)})}if(l){var p=c;e&&(p+=e.getBBox().width),n.addShape("text",{className:"value",attrs:M({x:p,y:this._titleHeight,text:l},a,!1===t.checked?r:null)})}return n},t._formatItemValue=function(t){var e=this.itemFormatter;return e&&(t=e.call(this,t)),t},t._getMaxItemWidth=function(){var t=this.itemWidth;if(_(t)||s(t))return t;if("auto"===t){for(var e=this.itemsGroup.get("children"),n=e.length,r=0,i=0;i<n;i++){var o=e[i].getBBox().width;r=Math.max(r,o)}var a=this.maxLength,u=this.itemGap,l=(a-u)/2,c=(a-2*u)/3;return 2===n?Math.max(r,l):r<=c?c:r<=l?l:r}},t._adjustHorizontal=function(){for(var t,e,n=this.maxLength,r=this.itemsGroup.get("children"),i=this.itemGap,o=this.itemMarginBottom,a=this._titleHeight,s=0,u=0,l=this._getMaxItemWidth(),c=[],f=0,d=r.length;f<d;f++){var h=r[f],p=h.getBBox(),v=p.height,g=p.width;e=v+o,(t=l||g)-(n-u)>1e-4&&(s++,u=0),h.moveTo(u,s*e),c.push({x:u,y:s*e+a-v/2,width:1.375*g,height:1.375*v}),u+=t+i}this.legendHitBoxes=c},t._adjustVertical=function(){for(var t,e,n=this.maxLength,r=this.itemsGroup,i=this.itemGap,o=this.itemMarginBottom,a=this.itemWidth,s=this._titleHeight,u=r.get("children"),l=0,c=0,f=0,d=[],h=0,p=u.length;h<p;h++){var v=u[h],g=v.getBBox();t=g.width,e=g.height,_(a)?c=a+i:t>c&&(c=t+i),n-l<e?(l=0,f+=c,v.moveTo(f,0),d.push({x:f,y:s-e/2,width:1.375*t,height:1.375*e})):(v.moveTo(f,l),d.push({x:f,y:l-e/2+s,width:1.375*t,height:1.375*e})),l+=e+o}this.legendHitBoxes=d},t._adjustItems=function(){"horizontal"===this.layout?this._adjustHorizontal():this._adjustVertical()},t.moveTo=function(t,e){this.x=t,this.y=e;var n=this.container;return n&&n.moveTo(t,e),this},t.setItems=function(t){this.clearItems(),this._renderItems(t)},t.setTitle=function(t){this._renderTitle(t)},t.clearItems=function(){this.itemsGroup.clear()},t.getWidth=function(){return this.container.getBBox().width},t.getHeight=function(){return this.container.getBBox().height},t.show=function(){this.container.show()},t.hide=function(){this.container.hide()},t.clear=function(){var t=this.container;t.clear(),t.remove(!0)},e}(),Ci=function(){var t=e.prototype;function e(t){P(this,this.getDefaultCfg(),t),this._init();var e=this.content,n=this.x,r=this.y;s(e)||this.updateContent(e),this.updatePosition(n,r)}return t.getDefaultCfg=function(){return{x:0,y:0,content:"",textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle",fontFamily:"Arial"},background:{radius:1,fill:"rgba(0, 0, 0, 0.65)",padding:[3,5]},width:0,height:0,className:""}},t._init=function(){var t=this.content,e=this.textStyle,n=this.background,r=this.className,i=this.visible,o=this.context,a=new kr({context:o,className:r,zIndex:0,visible:i}),s=a.addShape("Text",{className:r+"-text",zIndex:1,attrs:M({text:t,x:0,y:0},e)}),u=a.addShape("Rect",{className:r+"-bg",zIndex:-1,attrs:M({x:0,y:0,width:0,height:0},n)});a.sort(),this.container=a,this.textShape=s,this.backgroundShape=u},t._getBBox=function(){var t=this.textShape,e=this.background,n=t.getBBox(),r=ct(e.padding),i=n.width+r[1]+r[3],o=n.height+r[0]+r[2];return{x:n.minX-r[3],y:n.minY-r[0],width:i,height:o}},t.updateContent=function(t){var e=this.textShape,n=this.backgroundShape;if(!s(t)){l(t)||(t={text:t}),e.attr(t);var r=this._getBBox(),i=r.x,o=r.y,a=r.width,u=r.height,c=this.width||a,f=this.height||u;n.attr({x:i,y:o,width:c,height:f}),this._width=c,this._height=f,this.content=t.text}},t.updatePosition=function(t,e){var n=this.container,r=this._getBBox(),i=r.x,o=r.y;n.moveTo(t-i,e-o),this.x=t-i,this.y=e-o},t.getWidth=function(){return this._width},t.getHeight=function(){return this._height},t.show=function(){this.container.show()},t.hide=function(){this.container.hide()},t.clear=function(){var t=this.container;t.clear(),t.remove(!0),this.container=null,this.textShape=null,this.backgroundShape=null},e}(),Mi=function(){var t=e.prototype;function e(t){P(this,this.getDefaultCfg(),t);var e=this.frontPlot;if(!this.custom){var n=new Ei(M({parent:e,zIndex:3},t));this.container=n;var r=this.fixed,i=this.background;r||(this.tooltipArrow=e.addShape("Polygon",{className:"tooltip-arrow",visible:!1,zIndex:2,attrs:M({points:[]},i)}))}if(this.showXTip){var o=this.xTipBackground,a=this.xTipTextStyle,s=new Ci({context:e.get("context"),className:"xTip",background:o,textStyle:a,visible:!1});e.add(s.container),this.xTipBox=s}if(this.showYTip){var u=this.yTipBackground,l=this.yTipTextStyle,c=new Ci({context:e.get("context"),className:"yTip",background:u,textStyle:l,visible:!1});e.add(c.container),this.yTipBox=c}this.showCrosshairs&&this._renderCrosshairs(),e.sort()}return t.getDefaultCfg=function(){return{showCrosshairs:!1,crosshairsStyle:{stroke:"rgba(0, 0, 0, 0.25)",lineWidth:1},crosshairsType:"y",showXTip:!1,showYTip:!1,xTip:null,xTipBackground:{radius:1,fill:"rgba(0, 0, 0, 0.65)",padding:[3,5]},xTipTextStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},yTip:null,yTipBackground:{radius:1,fill:"rgba(0, 0, 0, 0.65)",padding:[3,5]},yTipTextStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"},background:null,layout:"horizontal",offsetX:0,offsetY:0}},t.setContent=function(t,e){if(this.title=t,this.items=e,!this.custom){var n=this.container;n.setTitle(t),n.setItems(e)}},t.setYTipContent=function(t){var e=this.yTip;t=a(e)?e(t):M({text:t},e),this.yTipBox&&this.yTipBox.updateContent(t)},t.setYTipPosition=function(t){var e=this.plotRange,n=this.crosshairsShapeX;if(this.showYTip){var r=this.yTipBox,i=r.getHeight(),o=r.getWidth(),a=e.tl.x-o,s=t-i/2;s<=e.tl.y&&(s=e.tl.y),s+i>=e.br.y&&(s=e.br.y-i),a<0&&(a=e.tl.x,n&&n.attr("x1",e.tl.x+o)),r.updatePosition(a,s)}},t.setXTipContent=function(t){var e=this.xTip;t=a(e)?e(t):M({text:t},e),this.xTipBox&&this.xTipBox.updateContent(t)},t.setXTipPosition=function(t){var e=this.showXTip,n=this.canvas,r=this.plotRange,i=this.xTipBox,o=this.crosshairsShapeY;if(e){var a=n.get("height"),s=i.getWidth(),u=i.getHeight(),l=t-s/2,c=r.br.y;l<=r.tl.x&&(l=r.tl.x),l+s>=r.tr.x&&(l=r.tr.x-s),a-c<u&&(c-=u),i.updatePosition(l,c),o&&o.attr("y1",c)}},t.setXCrosshairPosition=function(t){this.crosshairsShapeX&&this.crosshairsShapeX.moveTo(0,t)},t.setYCrosshairPosition=function(t){this.crosshairsShapeY&&this.crosshairsShapeY.moveTo(t,0)},t.setPosition=function(t){var e=this.container,n=this.plotRange,r=this.offsetX,i=this.offsetY,o=this.fixed,a=this.tooltipArrow;if(e){var s,u=e.container.getBBox(),l=u.minX,c=u.minY,f=u.width,d=u.height,h=n.tl,p=n.tr,v=0,g=h.y-d-4+i;if(g<0&&(g=0),o)v=(h.x+p.x)/2-f/2+r;else if((v=(s=t.length>1?(t[0].x+t[t.length-1].x)/2:t[0].x)-f/2+r)<h.x&&(v=h.x),v+f>p.x&&(v=p.x-f),a){var m=g+d;a.attr("points",[{x:s-3,y:m},{x:s+3,y:m},{x:s,y:m+4}]);var y=e.backShape,_=ct(y.attr("radius"));s===h.x?(_[3]=0,a.attr("points",[{x:h.x,y:m},{x:h.x+4,y:m},{x:h.x,y:m+4}])):s===p.x&&(_[2]=0,a.attr("points",[{x:p.x-4,y:m},{x:p.x,y:m},{x:p.x,y:m+4}])),y.attr("radius",_)}e.moveTo(v-l,g-c)}},t.setMarkers=function(t){void 0===t&&(t={});var e=t,n=e.items,r=e.style,i=e.type,o=this._getMarkerGroup(i);if("circle"===i)for(var a=0,s=n.length;a<s;a++){var u=n[a];o.addShape("marker",{className:"tooltip-circle-marker",attrs:M({x:u.x,y:u.y,stroke:u.color},r)})}else o.addShape("rect",{className:"tooltip-rect-marker",attrs:r})},t.clearMarkers=function(){var t=this.markerGroup;t&&t.clear()},t.show=function(){var t=this.crosshairsShapeX,e=this.crosshairsShapeY,n=this.markerGroup,r=this.container,i=this.tooltipArrow,o=this.xTipBox,a=this.yTipBox,s=this.canvas;t&&t.show(),e&&e.show(),n&&n.show(),r&&r.show(),i&&i.show(),o&&o.show(),a&&a.show(),s.draw()},t.hide=function(){var t=this.crosshairsShapeX,e=this.crosshairsShapeY,n=this.markerGroup,r=this.container,i=this.tooltipArrow,o=this.xTipBox,a=this.yTipBox;t&&t.hide(),e&&e.hide(),n&&n.hide(),r&&r.hide(),i&&i.hide(),o&&o.hide(),a&&a.hide()},t.destroy=function(){var t=this.crosshairsShapeX,e=this.crosshairsShapeY,n=this.markerGroup,r=this.container,i=this.tooltipArrow,o=this.xTipBox,a=this.yTipBox;t&&t.remove(!0),e&&e.remove(!0),n&&n.remove(!0),i&&i.remove(!0),r&&r.clear(),o&&o.clear(),a&&a.clear(),this.destroyed=!0},t._getMarkerGroup=function(t){var e=this.markerGroup;return e?e.clear():("circle"===t?(e=this.frontPlot.addGroup({zIndex:1}),this.frontPlot.sort()):e=this.backPlot.addGroup(),this.markerGroup=e),e},t._renderCrosshairs=function(){var t=this.crosshairsType,e=this.crosshairsStyle,n=this.frontPlot,r=this.plotRange,i=r.tl,o=r.br;ft(t,"x")&&(this.crosshairsShapeX=n.addShape("Line",{className:"tooltip-crosshairs-x",zIndex:0,visible:!1,attrs:M({x1:i.x,y1:0,x2:o.x,y2:0},e)})),ft(t,"y")&&(this.crosshairsShapeY=n.addShape("Line",{className:"tooltip-crosshairs-y",zIndex:0,visible:!1,attrs:M({x1:0,y1:o.y,x2:0,y2:i.y},e)}))},e}();function Ti(t){var e=t.getAttr("color");if(e){var n=e.getScale(e.type);if(n.isLinear)return n}var r=t.getXScale(),i=t.getYScale();return i||r}function Pi(t,e){var n,r,i=t._getGroupScales();if(i.length&&c(i,(function(t){return r=t,!1})),r){var o=r.field;n=r.getText(e[o])}else{var a=Ti(t);n=a.alias||a.field}return n}function Ai(t,e){var n=Ti(t);return n.getText(e[n.field])}function Ii(t,e){var n=t.getAttr("position").getFields()[0],r=t.get("scales")[n];return r.getText(e[r.field])}function Ni(t){var e=[];return c(t,(function(t){var n=function(t,e){var n=-1;return c(t,(function(t,r){if(t.title===e.title&&t.name===e.name&&t.value===e.value&&t.color===e.color)return n=r,!1})),n}(e,t);-1===n?e.push(t):e[n]=t})),e}mt.tooltip=P({triggerOn:"press",triggerOff:"pressend",alwaysShow:!1,showTitle:!1,showCrosshairs:!1,crosshairsStyle:{stroke:"rgba(0, 0, 0, 0.25)",lineWidth:1},showTooltipMarker:!0,background:{radius:1,fill:"rgba(0, 0, 0, 0.65)",padding:[3,5]},titleStyle:{fontSize:12,fill:"#fff",textAlign:"start",textBaseline:"top"},nameStyle:{fontSize:12,fill:"rgba(255, 255, 255, 0.65)",textAlign:"start",textBaseline:"middle"},valueStyle:{fontSize:12,fill:"#fff",textAlign:"start",textBaseline:"middle"},showItemMarker:!0,itemMarkerStyle:{radius:3,symbol:"circle",lineWidth:1,stroke:"#fff"},layout:"horizontal",snap:!1},mt.tooltip||{});var Di=function(){function t(t){var e=this;yt(this,"handleShowEvent",(function(t){var n=e.chart;if(e.enable){var r=n.get("plotRange"),i=ut(t,n);if(Nr(i,r)||e._tooltipCfg.alwaysShow){var o=e.timeStamp,a=+new Date;a-o>16&&(e.showTooltip(i),e.timeStamp=a)}else e.hideTooltip()}})),yt(this,"handleHideEvent",(function(){e.enable&&e.hideTooltip()})),this.enable=!0,this.cfg={},this.tooltip=null,this.chart=null,this.timeStamp=0,M(this,t);var n=this.chart.get("canvas");this.canvas=n,this.canvasDom=n.get("el")}var e=t.prototype;return e._setCrosshairsCfg=function(){var t=this.chart,e=M({},mt.tooltip),n=t.get("geoms"),r=[];c(n,(function(t){var e=t.get("type");-1===r.indexOf(e)&&r.push(e)}));var i=t.get("coord").type;return!n.length||"cartesian"!==i&&"rect"!==i||1===r.length&&-1!==["line","area","path","point"].indexOf(r[0])&&M(e,{showCrosshairs:!0}),e},e._getMaxLength=function(t){void 0===t&&(t={});var e=t,n=e.layout,r=e.plotRange;return"horizontal"===n?r.br.x-r.bl.x:r.bl.y-r.tr.y},e.render=function(){if(!this.tooltip){var t=this.chart,e=t.get("canvas"),n=t.get("frontPlot").addGroup({className:"tooltipContainer",zIndex:10}),r=t.get("backPlot").addGroup({className:"tooltipContainer"}),i=t.get("plotRange"),o=t.get("coord"),a=this._setCrosshairsCfg(),s=this.cfg,u=P({plotRange:i,frontPlot:n,backPlot:r,canvas:e,fixed:o.transposed||o.isPolar},a,s);u.maxLength=this._getMaxLength(u),this._tooltipCfg=u;var l=new Mi(u);this.tooltip=l,u.alwaysShow&&this.prePoint&&this.showTooltip(this.prePoint),this.bindEvents()}},e.clear=function(){var t=this.tooltip;t&&(t.destroy(),this.unBindEvents()),this.tooltip=null,this._lastActive=null},e._getTooltipMarkerStyle=function(t){void 0===t&&(t={});var e=t,n=e.type,r=e.items,i=this._tooltipCfg;if("rect"===n){var o,a,s,u,l=this.chart,c=l.get("plotRange"),f=c.tl,d=c.br,h=l.get("coord"),p=r[0],v=r[r.length-1],g=p.width;h.transposed?(o=f.x,a=v.y-.75*g,s=d.x-f.x,u=p.y-v.y+1.5*g):(o=p.x-.75*g,a=f.y,s=v.x-p.x+1.5*g,u=d.y-f.y),t.style=M({x:o,y:a,width:s,height:u,fill:"#CCD6EC",opacity:.3},i.tooltipMarkerStyle)}else t.style=M({radius:4,fill:"#fff",lineWidth:2},i.tooltipMarkerStyle);return t},e._setTooltip=function(t,e,n){void 0===n&&(n={}),this.prePoint=t;var r=this._lastActive,i=this.tooltip,o=this._tooltipCfg;e=Ni(e);var a=this.chart,s=a.get("coord"),u=a.getYScales()[0],l=o.snap;if(!1===l&&u.isLinear){var c,f,d=s.invertPoint(t);Nr(t,a.get("plotRange"))&&(s.transposed?(c=u.invert(d.x),f=t.x,i.setXTipContent(c),i.setXTipPosition(f),i.setYCrosshairPosition(f)):(c=u.invert(d.y),f=t.y,i.setYTipContent(c),i.setYTipPosition(f),i.setXCrosshairPosition(f)))}if(o.onShow&&o.onShow({x:t.x,y:t.y,tooltip:i,items:e,tooltipMarkerCfg:n}),h=r,p=e,JSON.stringify(h)!==JSON.stringify(p)){var h,p;this._lastActive=e;var v=o.onChange;v&&v({x:t.x,y:t.y,tooltip:i,items:e,tooltipMarkerCfg:n});var g=e[0],m=g.title||g.name,y=g.x;if(e.length>1&&(y=(e[0].x+e[e.length-1].x)/2),i.setContent(m,e,s.transposed),i.setPosition(e,t),s.transposed){var _=g.y;e.length>1&&(_=(e[0].y+e[e.length-1].y)/2),i.setYTipContent(m),i.setYTipPosition(_),i.setXCrosshairPosition(_),l&&(i.setXTipContent(g.value),i.setXTipPosition(y),i.setYCrosshairPosition(y))}else i.setXTipContent(m),i.setXTipPosition(y),i.setYCrosshairPosition(y),l&&(i.setYTipContent(g.value),i.setYTipPosition(g.y),i.setXCrosshairPosition(g.y));var b=n.items;o.showTooltipMarker&&b.length?(n=this._getTooltipMarkerStyle(n),i.setMarkers(n)):i.clearMarkers(),i.show()}else!1===l&&(ft(o.crosshairsType,"y")||o.showYTip)&&this.chart.get("canvas").draw()},e.showTooltip=function(t){var e,n,r=this.chart,i=[],o=[],a=this._tooltipCfg,s=a.showItemMarker,l=a.itemMarkerStyle,f=a.alwaysShow;s&&(n=l);var d=r.get("geoms"),h=r.get("coord");if(c(d,(function(r){if(r.get("visible")){var a=r.get("type"),s=r.getSnapRecords(t),l=r.get("adjust");if("interval"===a&&l&&"symmetric"===l.type)return;c(s,(function(t){var s=t.x,l=t.y,c=t._origin,f=t.color;if((s||!isNaN(s))&&(l||!isNaN(l))){var d={x:s,y:u(l)?l[1]:l,color:f||mt.defaultColor,origin:c,name:Pi(r,c),value:Ai(r,c),title:Ii(r,c)};n&&(d.marker=M({fill:f||mt.defaultColor},n)),o.push(d),-1!==["line","area","path"].indexOf(a)?(e="circle",i.push(d)):"interval"!==a||"cartesian"!==h.type&&"rect"!==h.type||(e="rect",d.width=r.getSize(t._origin),i.push(d))}}))}})),o.length){var p={items:i,type:e};this._setTooltip(t,o,p)}else f||this.hideTooltip()},e.hideTooltip=function(){var t=this._tooltipCfg;this._lastActive=null;var e=this.tooltip;e&&(e.hide(),t.onHide&&t.onHide({tooltip:e}),this.chart.get("canvas").draw())},e._handleEvent=function(t,e,n){var r=this.canvas;c([].concat(t),(function(t){"bind"===n?r.on(t,e):r.off(t,e)}))},e.bindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,r=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"bind"),r||this._handleEvent(n,this.handleHideEvent,"bind")},e.unBindEvents=function(){var t=this._tooltipCfg,e=t.triggerOn,n=t.triggerOff,r=t.alwaysShow;e&&this._handleEvent(e,this.handleShowEvent,"unBind"),r||this._handleEvent(n,this.handleHideEvent,"unBind")},t}();function Ri(t){var e=new Di({chart:t});t.set("tooltipController",e),t.tooltip=function(t,n){return l(t)&&(n=t,t=!0),e.enable=t,n&&(e.cfg=n),this}}function Li(t){var e=t.get("tooltipController");e.render(),t.showTooltip=function(t){return e.showTooltip(t),this},t.hideTooltip=function(){return e.hideTooltip(),this}}function Bi(t){t.get("tooltipController").clear()}var $i={init:Ri,afterGeomDraw:Li,clearInner:Bi},Fi=Object.freeze({__proto__:null,init:Ri,afterGeomDraw:Li,clearInner:Bi,default:$i});mt.guide=P({line:{style:{stroke:"#a3a3a3",lineWidth:1},top:!0},text:{style:{fill:"#787878",textAlign:"center",textBaseline:"middle"},offsetX:0,offsetY:0,top:!0},rect:{style:{fill:"#fafafa"},top:!1},arc:{style:{stroke:"#a3a3a3"},top:!0},html:{offsetX:0,offsetY:0,alignX:"center",alignY:"middle"},tag:{top:!0,offsetX:0,offsetY:0,side:4,background:{padding:5,radius:2,fill:"#1890FF"},textStyle:{fontSize:12,fill:"#fff",textAlign:"center",textBaseline:"middle"}},point:{top:!0,offsetX:0,offsetY:0,style:{fill:"#fff",r:3,lineWidth:2,stroke:"#1890ff"}}},mt.guide||{});var zi=function(){function t(t){this.guides=[],this.xScale=null,this.yScales=null,this.guideShapes=[],M(this,t)}var e=t.prototype;return e._toString=function(t){return a(t)&&(t=t(this.xScale,this.yScales)),t=t.toString()},e._getId=function(t,e){var n=e.id;if(!n){var r=e.type;n="arc"===r||"line"===r||"rect"===r?this._toString(e.start)+"-"+this._toString(e.end):this._toString(e.position)}return n},e.paint=function(t){var e=this,n=e.chart,r=e.guides,i=e.xScale,o=e.yScales,a=[];c(r,(function(r,s){var u;r.xScale=i,r.yScales=o,"regionFilter"===r.type?r.chart=n:u=r.top?e.frontPlot:e.backPlot,r.coord=t,r.container=u,r.canvas=n.get("canvas");var l=r.render(t,u);if(l){var c=e._getId(l,r);[].concat(l).forEach((function(t){t._id=t.get("className")+"-"+c,t.set("index",s),a.push(t)}))}})),e.guideShapes=a},e.clear=function(){return this.reset(),this.guides=[],this},e.reset=function(){c(this.guides,(function(t){t.remove()}))},e._createGuide=function(t,e){var n=j(t),r=new mi[n](P({},mt.guide[t],e));return this.guides.push(r),r},e.line=function(t){return void 0===t&&(t={}),this._createGuide("line",t)},e.text=function(t){return void 0===t&&(t={}),this._createGuide("text",t)},e.arc=function(t){return void 0===t&&(t={}),this._createGuide("arc",t)},e.html=function(t){return void 0===t&&(t={}),this._createGuide("html",t)},e.rect=function(t){return void 0===t&&(t={}),this._createGuide("rect",t)},e.tag=function(t){return void 0===t&&(t={}),this._createGuide("tag",t)},e.point=function(t){return void 0===t&&(t={}),this._createGuide("point",t)},e.regionFilter=function(t){return void 0===t&&(t={}),this._createGuide("regionFilter",t)},t}();function Vi(t){var e=new zi({frontPlot:t.get("frontPlot").addGroup({zIndex:20,className:"guideContainer"}),backPlot:t.get("backPlot").addGroup({className:"guideContainer"})});t.set("guideController",e),t.guide=function(){return e}}function qi(t){var e=t.get("guideController");if(e.guides.length){var n=t.getXScale(),r=t.getYScales(),i=t.get("coord");e.xScale=n,e.yScales=r,e.chart=t,e.paint(i)}}function Hi(t){t.get("guideController").clear()}function Gi(t){t.get("guideController").reset()}var Ui={init:Vi,afterGeomDraw:qi,clear:Hi,repaint:Gi},Yi=Object.freeze({__proto__:null,init:Vi,afterGeomDraw:qi,clear:Hi,repaint:Gi,default:Ui}),Wi={itemMarginBottom:12,itemGap:10,showTitle:!1,titleStyle:{fontSize:12,fill:"#808080",textAlign:"start",textBaseline:"top"},nameStyle:{fill:"#808080",fontSize:12,textAlign:"start",textBaseline:"middle"},valueStyle:{fill:"#000000",fontSize:12,textAlign:"start",textBaseline:"middle"},unCheckStyle:{fill:"#bfbfbf"},itemWidth:"auto",wordSpace:6,selectedMode:"multiple"};mt.legend=P({common:Wi,right:M({position:"right",layout:"vertical"},Wi),left:M({position:"left",layout:"vertical"},Wi),top:M({position:"top",layout:"horizontal"},Wi),bottom:M({position:"bottom",layout:"horizontal"},Wi)},mt.legend||{});var Xi=function(){function t(t){var e=this;yt(this,"handleEvent",(function(t){var n=e,r=n.chart,i=ut(t,r),o=function(t,e){var r=null;return c(n.legends,(function(n){c(n,(function(n){var i=n.itemsGroup,o=n.legendHitBoxes,a=i.get("children");if(a.length){var s=n.x,u=n.y;c(o,(function(i,o){if(t>=i.x+s&&t<=i.x+i.width+s&&e>=i.y+u&&e<=i.height+i.y+u)return r={clickedItem:a[o],clickedLegend:n},!1}))}}))})),r}(i.x,i.y);if(o&&!1!==o.clickedLegend.clickable){var a=o.clickedItem,s=o.clickedLegend;if(s.onClick)t.clickedItem=a,s.onClick(t);else if(!s.custom){var u=a.get("checked"),l=a.get("dataValue"),f=s.filteredVals,d=s.field;"single"===s.selectedMode?r.filter(d,(function(t){return t===l})):(u?f.push(l):q(f,l),r.filter(d,(function(t){return-1===f.indexOf(t)}))),r.repaint()}}})),this.legendCfg={},this.enable=!0,this.position="top",M(this,t);var n=this.chart;this.canvasDom=n.get("canvas").get("el"),this.clear()}var e=t.prototype;return e.addLegend=function(t,e,n){var r=this.legendCfg,i=t.field,o=r[i];if(!1===o)return null;if(o&&o.custom)this.addCustomLegend(i);else{var a=r.position||this.position;o&&o.position&&(a=o.position),t.isCategory&&this._addCategoryLegend(t,e,a,n)}},e.addCustomLegend=function(t){var e=this.legendCfg;t&&e[t]&&(e=e[t]);var n=e.position||this.position,r=this.legends;r[n]=r[n]||[];var i=e.items;if(!i)return null;var o=this.container;c(i,(function(t){h(t.marker)?t.marker.radius=t.marker.radius||3:t.marker={symbol:t.marker||"circle",fill:t.fill,radius:3},t.checked=!!s(t.checked)||t.checked,t.name=t.name||t.value}));var a=new Ei(P({},mt.legend[n],e,{maxLength:this._getMaxLength(n),items:i,parent:o}));r[n].push(a)},e.clear=function(){c(this.legends,(function(t){c(t,(function(t){t.clear()}))})),this.legends={},this.unBindEvents()},e._isFiltered=function(t,e,n){var r=!1;return c(e,(function(e){if(r=r||t.getText(e)===t.getText(n))return!1})),r},e._getMaxLength=function(t){var e=this.chart,n=ct(e.get("appendPadding"));return"right"===t||"left"===t?e.get("height")-(n[0]+n[2]):e.get("width")-(n[1]+n[3])},e._addCategoryLegend=function(t,e,n,r){var i=this,o=i.legendCfg,a=i.legends,s=i.container,u=i.chart,l=t.field;a[n]=a[n]||[];var f="circle";o[l]&&o[l].marker?f=o[l].marker:o.marker&&(f=o.marker),c(e,(function(e){h(f)?M(e.marker,f):e.marker.symbol=f,r&&(e.checked=!i._isFiltered(t,r,e.dataValue))})),u.get("legendItems")[l]=e;var d=P({},mt.legend[n],o[l]||o,{maxLength:i._getMaxLength(n),items:e,field:l,filteredVals:r,parent:s});d.showTitle&&P(d,{title:t.alias||t.field});var p=new Ei(d);return a[n].push(p),p},e._alignLegend=function(t,e,n){var r=this.plotRange,i=r.tl,o=r.bl,a=this.chart,s=t.offsetX||0,u=t.offsetY||0,l=a.get("width"),c=a.get("height"),f=ct(a.get("appendPadding")),d=t.getHeight(),h=t.getWidth(),p=0,v=0;if("left"===n||"right"===n){var g=t.verticalAlign||"middle",m=Math.abs(i.y-o.y);p="left"===n?f[3]:l-h-f[1],v=(m-d)/2+i.y,"top"===g?v=i.y:"bottom"===g&&(v=o.y-d),e&&(v=e.get("y")-d-12)}else{var y=t.align||"left";if(p=f[3],"center"===y?p=l/2-h/2:"right"===y&&(p=l-(h+f[1])),v="top"===n?f[0]+Math.abs(t.container.getBBox().minY):c-d,e){var _=e.getWidth();p=e.x+_+12}}"bottom"===n&&u>0&&(u=0),"right"===n&&s>0&&(s=0),t.moveTo(p+s,v+u)},e.alignLegends=function(){var t=this;return c(t.legends,(function(e,n){c(e,(function(r,i){var o=e[i-1];t._alignLegend(r,o,n)}))})),t},e.bindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";it(this.canvasDom,t,this.handleEvent)},e.unBindEvents=function(){var t=this.legendCfg.triggerOn||"touchstart";ot(this.canvasDom,t,this.handleEvent)},t}();function Ki(t){var e=new Xi({container:t.get("backPlot").addGroup(),plotRange:t.get("plotRange"),chart:t});t.set("legendController",e),t.legend=function(t,n){var r=e.legendCfg;return e.enable=!0,O(t)?(e.enable=t,r=n||{}):l(t)?r=t:r[t]=n,e.legendCfg=r,this}}function Zi(t){var e=t.get("legendController");if(!e.enable)return null;var n=e.legendCfg,r=e.container;if(n&&n.custom)e.addCustomLegend();else{var i=t.getLegendItems(),o=t.get("scales"),a=t.get("filters");c(i,(function(t,n){var r,i=o[n],s=i.values;r=a&&a[n]?s.filter((function(t){return!a[n](t)})):[],e.addLegend(i,t,r)}))}n&&!1!==n.clickable&&e.bindEvents();var s=e.legends,u={top:0,right:0,bottom:0,left:0};c(s,(function(e,n){var r=0;c(e,(function(t){var e=t.getWidth(),i=t.getHeight();"top"===n||"bottom"===n?(r=Math.max(r,i),t.offsetY>0&&(r+=t.offsetY)):(r=Math.max(r,e),t.offsetX>0&&(r+=t.offsetX))})),u[n]=r+function(t,e){var n=0;switch(e=ct(e),t){case"top":n=e[0];break;case"right":n=e[1];break;case"bottom":n=e[2];break;case"left":n=e[3]}return n}(n,t.get("appendPadding"))})),t.set("legendRange",u),Object.keys(s).length?r.set("ariaLabel",gt.legend.prefix):r.set("ariaLabel",null)}function Qi(t){t.get("legendController").alignLegends()}function Ji(t){t.get("legendController").clear(),t.set("legendRange",null)}var to={init:Ki,beforeGeomDraw:Zi,afterGeomDraw:Qi,clearInner:Ji},eo=Object.freeze({__proto__:null,init:Ki,beforeGeomDraw:Zi,afterGeomDraw:Qi,clearInner:Ji,default:to}),no="object"==typeof performance&&performance.now?performance:Date,ro=function(){function t(){this.anims=[],this.time=null,this.playing=!1,this.canvas=[]}var e=t.prototype;return e.play=function(){var t=this;t.time=no.now(),t.playing=!0,Er((function e(){t.playing&&(Er(e),t.update())}))},e.stop=function(){this.playing=!1,this.time=null,this.canvas=[]},e.pushAnim=function(t){this.playing||this.play();var e=t.delay,n=t.duration,r=this.time+e,i=r+n;t.startTime=r,t.endTime=i,this.anims.push(t)},e.update=function(){var t=no.now();if(this.canvas=[],this.anims.length){for(var e=0;e<this.anims.length;e++){var n=this.anims[e];if(!(t<n.startTime||n.hasEnded)){var r=n.shape;if(r.get("destroyed"))this.anims.splice(e,1),e--;else{var i=n.startState,o=n.endState,a=n.interpolate,s=n.duration;t>=n.startTime&&!n.hasStarted&&(n.hasStarted=!0,n.onStart&&n.onStart());var u=(t-n.startTime)/s;if(u=Math.max(0,Math.min(u,1)),u=n.easing(u),n.onFrame)n.onFrame(u);else for(var l in a){var c=(0,a[l])(u),f=void 0;if("points"===l){f=[];for(var d=Math.max(i.points.length,o.points.length),h=0;h<d;h+=2)f.push({x:c[h],y:c[h+1]})}else f=c;r._attrs.attrs[l]=f,r._attrs.bbox=null}var p=r.get("canvas");-1===this.canvas.indexOf(p)&&this.canvas.push(p),n.onUpdate&&n.onUpdate(u),t>=n.endTime&&!n.hasEnded&&(n.hasEnded=!0,n.onEnd&&n.onEnd()),1===u&&(this.anims.splice(e,1),e--)}}}this.canvas.map((function(t){return t.draw(),t})),this.time=no.now()}else this.stop()},t}();function io(t){return t}function oo(t){return 1-ao(1-t)}function ao(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}var so=Object.freeze({__proto__:null,linear:io,quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=r/(2*Math.PI)*Math.asin(1/n),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:oo,bounceOut:ao,bounceInOut:function(t){return t<.5?.5*oo(2*t):.5*ao(2*t-1)+.5}});function uo(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&(e.push(t[n].x),e.push(t[n].y));return e}function lo(t,e){return e-=t=+t,function(n){return t+e*n}}function co(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=lo(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}var fo=function(){function t(t,e,n){this.hasStarted=!1,this.hasEnded=!1,this.shape=t,this.source=e,this.timeline=n,this.animate=null}var e=t.prototype;return e.to=function(t){void 0===t&&(t={});var e,n=t.delay||0,r=t.attrs||{},i=t.duration||1e3;e="function"==typeof t.easing?t.easing:so[t.easing]||io;var o={shape:this.shape,delay:n,duration:i,easing:e},a={};for(var s in r){var u=this.source[s],l=r[s];"points"===s?(u=uo(u),l=uo(l),a.points=co(u,l),this.source.points=u,r.points=l):"matrix"===s?a.matrix=co(u,l):a[s]=lo(u,l)}return o.interpolate=a,o.startState=this.source,o.endState=r,this.timeline.pushAnim(o),this.animate=o,this},e.onFrame=function(t){return this.animate&&(this.animate.onFrame=function(e){t(e)}),this},e.onStart=function(t){return this.animate&&(this.animate.onStart=function(){t()}),this},e.onUpdate=function(t){return this.animate&&(this.animate.onUpdate=function(e){t(e)}),this},e.onEnd=function(t){return this.animate&&(this.animate.onEnd=function(){t()}),this},t}(),ho={appear:{duration:450,easing:"quadraticOut"},update:{duration:300,easing:"quadraticOut"},enter:{duration:300,easing:"quadraticOut"},leave:{duration:350,easing:"quadraticIn"}},po={defaultCfg:{},Action:{},getAnimation:function(t,e,n){var r=this.defaultCfg[t];if(r){var i=r[n];if(a(i))return i(e)}return!1},getAnimateCfg:function(t,e){var n=ho[e],r=this.defaultCfg[t];return r&&r.cfg&&r.cfg[e]?P({},n,r.cfg[e]):n},registerAnimation:function(t,e){var n;this.Action||(this.Action={}),this.Action=_t({},this.Action,((n={})[t]=e,n))}};function vo(t,e,n){var r;t.apply(e);var i=e[0],o=e[1];if("x"===n){t.transform([["t",i,o],["s",.01,1],["t",-i,-o]]);var a=t.getMatrix();r=Ot.transform(a,[["t",i,o],["s",100,1],["t",-i,-o]])}else if("y"===n){t.transform([["t",i,o],["s",1,.01],["t",-i,-o]]);var s=t.getMatrix();r=Ot.transform(s,[["t",i,o],["s",1,100],["t",-i,-o]])}else if("xy"===n){t.transform([["t",i,o],["s",.01,.01],["t",-i,-o]]);var u=t.getMatrix();r=Ot.transform(u,[["t",i,o],["s",100,100],["t",-i,-o]])}return r}function go(t,e,n,r){var i=t._id,o=function(t,e,n){var r={};return t.delay&&(r.delay=a(t.delay)?t.delay(e,n):t.delay),r.easing=t.easing,r.duration=t.duration,r.delay=t.delay,r}(n,t.get("index"),i),s=o.easing,u=o.delay,l=o.duration,c=t.animate().to({attrs:e,duration:l,delay:u,easing:s});r&&c.onEnd((function(){r()}))}function mo(t,e){var n=s(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),r=s(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity");t.attr("fillOpacity",0),t.attr("strokeOpacity",0),go(t,{fillOpacity:n,strokeOpacity:r},e)}var yo=Object.freeze({__proto__:null,fadeIn:mo});function _o(t,e,n,r,i){var o,a,s=function(t){var e=t.start,n=t.end;return{start:e,end:n,width:n.x-e.x,height:Math.abs(n.y-e.y)}}(n),u=s.start,l=s.end,c=s.width,f=s.height,d=new Qn.Rect({attrs:{x:u.x,y:l.y,width:c,height:f}});"y"===i?(o=u.x+c/2,a=r.y<u.y?r.y:u.y):"x"===i?(o=r.x>u.x?r.x:u.x,a=u.y+f/2):"xy"===i&&(n.isPolar?(o=n.center.x,a=n.center.y):(o=(u.x+l.x)/2,a=(u.y+l.y)/2));var h=vo(d,[o,a],i);d.isClip=!0,d.endState={matrix:h},d.set("canvas",t.get("canvas")),t.attr("clip",d),go(d,d.endState,e,(function(){t.attr("clip",null),d.remove(!0)}))}function bo(t,e,n){for(var r=t.get("children"),i=0,o=r.length;i<o;i++){var a=r[i],s=a.getBBox();go(a,{matrix:vo(a,[(s.minX+s.maxX)/2,(s.minY+s.maxY)/2],n)},e)}}function xo(t,e,n,r){_o(t,e,n,r,"x")}function wo(t,e,n,r){_o(t,e,n,r,"y")}function jo(t,e,n,r){_o(t,e,n,r,"xy")}function So(t,e){bo(t,e,"xy")}function Oo(t,e,n){var r=Ir(n);r.set("canvas",t.get("canvas")),t.attr("clip",r);var i={};if(n.isPolar){var o=n.startAngle,a=n.endAngle;i.endAngle=a,r.attr("endAngle",o)}else{var s=n.start,u=n.end,l=Math.abs(s.x-u.x),c=Math.abs(s.y-u.y);n.isTransposed?(r.attr("height",0),i.height=c):(r.attr("width",0),i.width=l)}go(r,i,e,(function(){t.attr("clip",null),r.remove(!0)}))}var ko,Eo=Object.freeze({__proto__:null,groupWaveIn:Oo,groupScaleInX:xo,groupScaleInY:wo,groupScaleInXY:jo,shapesScaleInX:function(t,e){bo(t,e,"x")},shapesScaleInY:function(t,e){bo(t,e,"y")},shapesScaleInXY:So});Zn.prototype.animate=function(){var t=M({},this.get("attrs"));return new fo(this,t,ko)},Lr.prototype.animate=function(t){return this.set("animate",t),this},po.Action=yo,po.defaultCfg={interval:{enter:function(t){return t.isPolar&&t.transposed?function(t){t.set("zIndex",-1),t.get("parent").sort()}:mo}},area:{enter:function(t){return t.isPolar?null:mo}},line:{enter:function(t){return t.isPolar?null:mo}},path:{enter:function(t){return t.isPolar?null:mo}}};var Co={line:function(t){return t.isPolar?jo:Oo},area:function(t){return t.isPolar?jo:Oo},path:function(t){return t.isPolar?jo:Oo},point:function(){return So},interval:function(t){var e;return t.isPolar?(e=jo,t.transposed&&(e=Oo)):e=t.transposed?xo:wo,e},schema:function(){return Oo}};function Mo(t,e,n){var r=[];return c(t,(function(t,i){var o=t.get("container").get("children"),a=t.get("type"),u=s(t.get("animateCfg"))?Io(a,e):t.get("animateCfg");!1!==u&&c(o,(function(e,o){e.get("className")===a&&(e._id=function(t,e,n){var r,i=t.get("type"),o="geom"+n+"-"+i,a=t.getXScale(),s=t.getYScale(),u=a.field||"x",l=s.field||"y",f=e[l];return r=a.isIdentity?a.value:e[u],o+="interval"===i||"schema"===i?"-"+r:"line"===i||"area"===i||"path"===i?"-"+i:a.isCategory?"-"+r:"-"+r+"-"+f,c(t._getGroupScales(),(function(t){var n=t.field;"identity"!==t.type&&(o+="-"+e[n])})),o}(t,e.get("origin")._origin,i),e.set("coord",n),e.set("animateCfg",u),e.set("index",o),r.push(e))})),t.set("shapes",o)})),r}function To(t,e,n,r){return a(r)?r:p(r)?po.Action[r]:po.getAnimation(t,e,n)}function Po(t,e,n){if(!1===n||l(n)&&!1===n[e])return!1;var r=po.getAnimateCfg(t,e);return n&&n[e]?P({},r,n[e]):r}function Ao(t,e,n){var r,i,o=[],s=[];c(e,(function(e){var n=t[e._id];n?(e.set("cacheShape",n),o.push(e),delete t[e._id]):s.push(e)})),c(t,(function(t){var e=t.className,o=t.coord,s=t._id,u=t.attrs,l=t.index,c=t.type;if(!1===(i=Po(e,"leave",t.animateCfg)))return!0;if(r=To(e,o,"leave",i.animation),a(r)){var f=n.addShape(c,{attrs:u,index:l,canvas:n,className:e});f._id=s,r(f,i,o)}})),c(o,(function(t){var e=t.get("className");if(!1===(i=Po(e,"update",t.get("animateCfg"))))return!0;var n=t.get("coord"),o=t.get("cacheShape").attrs,s=function(t,e){var n={};for(var r in e)(_(t[r])&&t[r]!==e[r]||u(t[r])&&JSON.stringify(t[r])!==JSON.stringify(e[r]))&&(n[r]=e[r]);return n}(o,t._attrs.attrs);if(Object.keys(s).length)if(r=To(e,n,"update",i.animation),a(r))r(t,i,n);else{var l={};c(s,(function(t,e){l[e]=o[e]})),t.attr(l),t.animate().to({attrs:s,duration:i.duration,easing:i.easing,delay:i.delay}).onEnd((function(){t.set("cacheShape",null)}))}})),c(s,(function(t){var e=t.get("className"),n=t.get("coord");if(!1===(i=Po(e,"enter",t.get("animateCfg"))))return!0;if(r=To(e,n,"enter",i.animation),a(r))if("interval"===e&&n.isPolar&&n.transposed){var s=t.get("index"),u=o[s-1];r(t,i,u)}else r(t,i,n)}))}function Io(t,e){if(!t)return null;var n=e.get("animate");return t.indexOf("guide-tag")>-1&&(t="guide-tag"),l(n)?n[t]:!1!==n&&null}function No(){(ko=new ro).play()}function Do(t){if(!1!==t.get("animate")){var e=t.get("isUpdate"),n=t.get("canvas"),r=t.get("coord"),i=t.get("geoms"),o=n.get("caches")||[];0===o.length&&(e=!1);var u=Mo(i,t,r),l=t.get("axisController"),f=l.frontPlot,d=l.backPlot,h=f.get("children").concat(d.get("children")),p=[];t.get("guideController")&&(p=t.get("guideController").guideShapes);var v,g,m=[];h.concat(p).forEach((function(e){var n=Io(e.get("className"),t);e.set("coord",r),e.set("animateCfg",n),m.push(e),u.push(e)})),n.set("caches",function(t){for(var e={},n=0,r=t.length;n<r;n++){var i=t[n];if(i._id&&!i.isClip){var o=i._id;e[o]={_id:o,type:i.get("type"),attrs:M({},i._attrs.attrs),className:i.get("className"),geomType:i.get("className"),index:i.get("index"),coord:i.get("coord"),animateCfg:i.get("animateCfg")}}}return e}(u)),e?Ao(o,u,n):(c(i,(function(e){var n=e.get("type"),i=s(e.get("animateCfg"))?Io(n,t):e.get("animateCfg");if(!1!==i)if(v=Po(n,"appear",i),g=To(n,r,"appear",v.animation),a(g))c(e.get("shapes"),(function(t){g(t,v,r)}));else if(Co[n]){g=Eo[v.animation]||Co[n](r);var o=e.getYScale(),u=r.convertPoint({x:0,y:o.scale(e.getYMinValue())}),l=e.get("container");g&&g(l,v,r,u)}})),c(m,(function(t){var e=t.get("animateCfg"),n=t.get("className");if(e&&e.appear){var i=po.getAnimateCfg(n,"appear"),o=P({},i,e.appear),s=To(n,r,"appear",o.animation);a(s)&&s(t,o,r)}})))}}function Ro(){ko.stop()}var Lo={afterCanvasInit:No,beforeCanvasDraw:Do,afterCanvasDestroyed:Ro},Bo=Object.freeze({__proto__:null,afterCanvasInit:No,beforeCanvasDraw:Do,afterCanvasDestroyed:Ro,default:Lo});Lr._Interactions={},Lr.registerInteraction=function(t,e){Lr._Interactions[t]=e},Lr.getInteraction=function(t){return Lr._Interactions[t]},Lr.prototype.interaction=function(t,e){var n=this._interactions||{};n[t]&&n[t].destroy();var r=new(Lr.getInteraction(t))(e,this);return n[t]=r,this._interactions=n,this},Lr.prototype.clearInteraction=function(t){var e=this._interactions;if(e)return t?(e[t]&&e[t].destroy(),delete e[t]):c(e,(function(t,n){t.destroy(),delete e[n]})),this};var $o=[0,1],Fo=function(){function t(t){var e=this;yt(this,"chart",null),yt(this,"values",null),yt(this,"range",$o),yt(this,"startRange",$o),yt(this,"minCount",10),yt(this,"_afterinit",(function(){var t=e.getPinchScale(),n=[].concat(t.values);e.values=n,e.minScale||(e.minScale=e.minCount/n.length),e.range!==$o&&(e.updateRange(e.range),e.updateTicks())})),yt(this,"_afterdatachange",(function(){e.updateRange(e.range)})),this.chart=t,this._initEvent(t)}var e=t.prototype;return e._initEvent=function(t){t.on("afterinit",this._afterinit),t.on("afterdatachange",this._afterdatachange)},e.getPinchScale=function(){return this.chart.getXScale()},e.getFollowScale=function(){return(this.chart.getYScales()||[])[0]},e.start=function(){var t=this.range,e=this.getPinchScale(),n=t[0],r=t[1];this.startRange=[n,r],this.lastTickCount=e.tickCount},e.doZoom=function(t,e,n){var r=this.startRange,i=this.minScale,o=r[0],a=r[1],s=(a-o)*(1-n),u=s*t,l=s*e,c=Math.max(0,o-u),f=Math.min(1,a+l),d=[c,f];f-c<i||this.updateRange(d)},e.doMove=function(t){if(t){var e,n=this.startRange,r=n[0],i=n[1],o=i-r,a=o*t,s=r-a,u=i-a;e=s<0?[0,o]:u>1?[1-o,1]:[s,u],this.updateRange(e)}},e.updateRange=function(t){var e=this.values,n=t[0],r=t[1];n=Math.max(0,n),r=Math.min(1,r),this.range=[n,r];var i=e.length,o=n*i,a=r*i,s=e.slice(o,a);this.repaint(s)},e.repaint=function(t){var e=this.chart,n=this.getPinchScale(),r=n.values,i=n.ticks;(function(t,e){if(t.length!==e.length)return!1;var n=t.length-1;return t[0]===e[0]&&t[n]===e[n]})(r,t)||(this.updateScale(n,{ticks:i,values:t}),this.updateFollowScale(n,t),e.repaint())},e.updateFollowScale=function(t,e){var n=this.chart,r=this.getFollowScale(),i=t.field,o=t.type,a=r.field,s=[],u={};e.forEach((function(t){u[t]=!0})),n.get("data").forEach((function(t){if("timeCat"===o){var e=dt(t[i]);u[e]&&s.push(t[a])}}));var l=H(s),c=l.min,f=l.max;this.updateScale(r,{min:c,max:f,nice:!0})},e.updateScale=function(t,e){t&&t.change(e)},e.updateTicks=function(){var t=this.chart,e=this.values,n=this.getPinchScale(),r=n.values,i=n.tickCount,o=Math.round(i*e.length/r.length),a=Jt("cat")({tickCount:o,values:e});this.updateScale(n,{ticks:a,values:r}),t.repaint()},e.destroy=function(){var t=this.chart;t.off("afterinit",this._afterinit),t.off("afterdatachange",this._afterdatachange)},t}(),zo=function(){var t=e.prototype;function e(t,e){var n=this;yt(this,"type",""),yt(this,"startEvent","touchstart"),yt(this,"processEvent","touchmove"),yt(this,"endEvent","touchend"),yt(this,"resetEvent",null),yt(this,"context",null),yt(this,"_start",(function(t){n.preStart&&n.preStart(t),n.start(t),n.onStart&&n.onStart(t)})),yt(this,"_process",(function(t){n.preProcess&&n.preProcess(t),n.process(t),n.onProcess&&n.onProcess(t)})),yt(this,"_end",(function(t){n.preEnd&&n.preEnd(t),n.end(t),n.onEnd&&n.onEnd(t)})),yt(this,"_reset",(function(t){n.preReset&&n.preReset(t),n.reset(t),n.onReset&&n.onReset(t)})),M(this,this.getDefaultCfg(),t),this.context=this.getInteractionContext(e),this.chart=e;var r=this.range;r&&(this.context.range=r),this._bindEvents(e)}return t.getDefaultCfg=function(){return{}},t.getInteractionContext=function(t){var e=t.get("interactionContext");return e||(e=new Fo(t),t.set("interactionContext",e),e)},t._bindEvents=function(t){var e=this.startEvent,n=this.processEvent,r=this.endEvent,i=this.resetEvent,o=t.get("canvas");o.on(e,this._start),o.on(n,this._process),o.on(r,this._end),o.on(i,this._reset)},t._clearEvents=function(){var t=this.chart,e=this.startEvent,n=this.processEvent,r=this.endEvent,i=this.resetEvent,o=t.get("canvas");o.off(e,this._start),o.off(n,this._process),o.off(r,this._end),o.off(i,this._start)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t.destroy=function(){this.context.destroy(),this._clearEvents()},e}(),Vo=function(t){function e(){return t.apply(this,arguments)||this}bt(e,t);var n=e.prototype;return n.getDefaultCfg=function(){return{type:"pan",startEvent:"panstart",processEvent:"pan",endEvent:"panend"}},n.start=function(){this.context.start()},n.process=function(t){var e=t.direction,n=t.deltaX;if("up"!==e&&"down"!==e){t.preventDefault&&t.preventDefault();var r=this.context,i=r.chart.get("coord"),o=i.start,a=n/(i.end.x-o.x);r.doMove(a)}},e}(zo),qo=function(t){bt(n,t);var e=n.prototype;function n(e,n){var r;return M(xt(r=t.call(this,e,n)||this).context,e),r}return e.getDefaultCfg=function(){return{type:"pinch",startEvent:"pinchstart",processEvent:"pinch",endEvent:"pinchend"}},e.start=function(){this.context.start()},e.process=function(t){t.preventDefault&&t.preventDefault();var e=t.zoom,n=t.center,r=this.context,i=r.chart.get("coord"),o=i.start,a=i.end,s=a.x-o.x,u=Math.abs(n.x-o.x)/s,l=Math.abs(a.x-n.x)/s;r.doZoom(u,l,e)},e.end=function(){this.context.updateTicks()},n}(zo);Lr.registerInteraction("pan",Vo),Lr.registerInteraction("pinch",qo);var Ho={Marker:Qn.Marker,Tooltip:Mi};Lr.plugins.register([Fi,eo,Yi,Bo]);var Go={Component:Ho,Global:mt,Chart:Lr,Shape:Vt,G:Ar,Util:ht,Helper:Dr,track:Br,Animate:po};e.Animate=po,e.Chart=Lr,e.Component=Ho,e.G=Ar,e.Global=mt,e.Helper=Dr,e.Shape=Vt,e.Util=ht,e.default=Go,e.track=Br,Object.defineProperty(e,"__esModule",{value:!0})})(e)}).call(this,n(52))},function(t,e,n){t.exports=n(192)},function(t,e,n){"use strict";var r=n(30),i=n(155),o=n(193),a=n(161);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=s(n(158));u.Axios=o,u.create=function(t){return s(a(u.defaults,t))},u.Cancel=n(162),u.CancelToken=n(206),u.isCancel=n(157),u.all=function(t){return Promise.all(t)},u.spread=n(207),u.isAxiosError=n(208),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";var r=n(30),i=n(156),o=n(194),a=n(195),s=n(161);function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=u},function(t,e,n){"use strict";var r=n(30);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(30),i=n(196),o=n(157),a=n(158);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(30);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(30);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(160);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(30);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(202),i=n(203);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(30),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(30);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(162);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){"use strict";n.r(e),n.d(e,"install",(function(){return $t})),n.d(e,"version",(function(){return Bt}));var r=n(95);n.d(e,"ActionSheet",(function(){return r.default}));var i=n(96);n.d(e,"AddressEdit",(function(){return i.default}));var o=n(97);n.d(e,"AddressList",(function(){return o.default}));var a=n(64);n.d(e,"Area",(function(){return a.default}));var s=n(98);n.d(e,"Badge",(function(){return s.default}));var u=n(14);n.d(e,"Button",(function(){return u.default}));var l=n(99);n.d(e,"Calendar",(function(){return l.default}));var c=n(100);n.d(e,"Card",(function(){return c.default}));var f=n(101);n.d(e,"Cascader",(function(){return f.default}));var d=n(12);n.d(e,"Cell",(function(){return d.default}));var h=n(66);n.d(e,"CellGroup",(function(){return h.default}));var p=n(67);n.d(e,"Checkbox",(function(){return p.default}));var v=n(102);n.d(e,"CheckboxGroup",(function(){return v.default}));var g=n(103);n.d(e,"Circle",(function(){return g.default}));var m=n(104);n.d(e,"Col",(function(){return m.default}));var y=n(105);n.d(e,"Collapse",(function(){return y.default}));var _=n(106);n.d(e,"CollapseItem",(function(){return _.default}));var b=n(107);n.d(e,"ContactCard",(function(){return b.default}));var x=n(108);n.d(e,"ContactEdit",(function(){return x.default}));var w=n(109);n.d(e,"ContactList",(function(){return w.default}));var j=n(110);n.d(e,"CountDown",(function(){return j.default}));var S=n(57);n.d(e,"Coupon",(function(){return S.default}));var O=n(111);n.d(e,"CouponCell",(function(){return O.default}));var k=n(112);n.d(e,"CouponList",(function(){return k.default}));var E=n(68);n.d(e,"DatetimePicker",(function(){return E.default}));var C=n(45);n.d(e,"Dialog",(function(){return C.default}));var M=n(113);n.d(e,"Divider",(function(){return M.default}));var T=n(114);n.d(e,"DropdownItem",(function(){return T.default}));var P=n(115);n.d(e,"DropdownMenu",(function(){return P.default}));var A=n(116);n.d(e,"Empty",(function(){return A.default}));var I=n(22);n.d(e,"Field",(function(){return I.default}));var N=n(117);n.d(e,"Form",(function(){return N.default}));var D=n(63);n.d(e,"GoodsAction",(function(){return D.default}));var R=n(55);n.d(e,"GoodsActionButton",(function(){return R.default}));var L=n(118);n.d(e,"GoodsActionIcon",(function(){return L.default}));var B=n(119);n.d(e,"Grid",(function(){return B.default}));var $=n(120);n.d(e,"GridItem",(function(){return $.default}));var F=n(5);n.d(e,"Icon",(function(){return F.default}));var z=n(31);n.d(e,"Image",(function(){return z.default}));var V=n(50);n.d(e,"ImagePreview",(function(){return V.default}));var q=n(121);n.d(e,"IndexAnchor",(function(){return q.default}));var H=n(122);n.d(e,"IndexBar",(function(){return H.default}));var G=n(25);n.d(e,"Info",(function(){return G.default}));var U=n(163);n.d(e,"Lazyload",(function(){return U.default}));var Y=n(123);n.d(e,"List",(function(){return Y.default}));var W=n(19);n.d(e,"Loading",(function(){return W.default}));var X=n(39);n.d(e,"Locale",(function(){return X.default}));var K=n(124);n.d(e,"NavBar",(function(){return K.default}));var Z=n(125);n.d(e,"NoticeBar",(function(){return Z.default}));var Q=n(126);n.d(e,"Notify",(function(){return Q.default}));var J=n(127);n.d(e,"NumberKeyboard",(function(){return J.default}));var tt=n(62);n.d(e,"Overlay",(function(){return tt.default}));var et=n(128);n.d(e,"Pagination",(function(){return et.default}));var nt=n(129);n.d(e,"Panel",(function(){return nt.default}));var rt=n(130);n.d(e,"PasswordInput",(function(){return rt.default}));var it=n(46);n.d(e,"Picker",(function(){return it.default}));var ot=n(131);n.d(e,"Popover",(function(){return ot.default}));var at=n(21);n.d(e,"Popup",(function(){return at.default}));var st=n(132);n.d(e,"Progress",(function(){return st.default}));var ut=n(133);n.d(e,"PullRefresh",(function(){return ut.default}));var lt=n(47);n.d(e,"Radio",(function(){return lt.default}));var ct=n(48);n.d(e,"RadioGroup",(function(){return ct.default}));var ft=n(134);n.d(e,"Rate",(function(){return ft.default}));var dt=n(135);n.d(e,"Row",(function(){return dt.default}));var ht=n(136);n.d(e,"Search",(function(){return ht.default}));var pt=n(137);n.d(e,"ShareSheet",(function(){return pt.default}));var vt=n(71);n.d(e,"Sidebar",(function(){return vt.default}));var gt=n(72);n.d(e,"SidebarItem",(function(){return gt.default}));var mt=n(138);n.d(e,"Skeleton",(function(){return mt.default}));var yt=n(139);n.d(e,"Sku",(function(){return yt.default}));var _t=n(140);n.d(e,"Slider",(function(){return _t.default}));var bt=n(141);n.d(e,"Step",(function(){return bt.default}));var xt=n(73);n.d(e,"Stepper",(function(){return xt.default}));var wt=n(142);n.d(e,"Steps",(function(){return wt.default}));var jt=n(65);n.d(e,"Sticky",(function(){return jt.default}));var St=n(143);n.d(e,"SubmitBar",(function(){return St.default}));var Ot=n(69);n.d(e,"Swipe",(function(){return Ot.default}));var kt=n(144);n.d(e,"SwipeCell",(function(){return kt.default}));var Et=n(70);n.d(e,"SwipeItem",(function(){return Et.default}));var Ct=n(37);n.d(e,"Switch",(function(){return Ct.default}));var Mt=n(145);n.d(e,"SwitchCell",(function(){return Mt.default}));var Tt=n(40);n.d(e,"Tab",(function(){return Tt.default}));var Pt=n(146);n.d(e,"Tabbar",(function(){return Pt.default}));var At=n(147);n.d(e,"TabbarItem",(function(){return At.default}));var It=n(49);n.d(e,"Tabs",(function(){return It.default}));var Nt=n(38);n.d(e,"Tag",(function(){return Nt.default}));var Dt=n(26);n.d(e,"Toast",(function(){return Dt.default}));var Rt=n(148);n.d(e,"TreeSelect",(function(){return Rt.default}));var Lt=n(74);n.d(e,"Uploader",(function(){return Lt.default}));var Bt="2.12.20";function $t(t){[r.default,i.default,o.default,a.default,s.default,u.default,l.default,c.default,f.default,d.default,h.default,p.default,v.default,g.default,m.default,y.default,_.default,b.default,x.default,w.default,j.default,S.default,O.default,k.default,E.default,C.default,M.default,T.default,P.default,A.default,I.default,N.default,D.default,R.default,L.default,B.default,$.default,F.default,z.default,V.default,q.default,H.default,G.default,Y.default,W.default,X.default,K.default,Z.default,Q.default,J.default,tt.default,et.default,nt.default,rt.default,it.default,ot.default,at.default,st.default,ut.default,lt.default,ct.default,ft.default,dt.default,ht.default,pt.default,vt.default,gt.default,mt.default,yt.default,_t.default,bt.default,xt.default,wt.default,jt.default,St.default,Ot.default,kt.default,Et.default,Ct.default,Mt.default,Tt.default,Pt.default,At.default,It.default,Nt.default,Dt.default,Rt.default,Lt.default].forEach((function(e){e.install?t.use(e):e.name&&t.component(e.name,e)}))}"undefined"!=typeof window&&window.Vue&&$t(window.Vue),e.default={install:$t,version:Bt}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(211),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(52))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,a,s,u=1,l={},c=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return l[u]=i,r(u),u++},d.clearImmediate=h}function h(t){delete l[t]}function p(t){if(c)setTimeout(p,0,t);else{var e=l[t];if(e){c=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{h(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(52),n(94))},function(t,e,n){"use strict";(function(n){var r;function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return{s:e=function(){},n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}var d={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},h="object"===(void 0===n?"undefined":i(n))&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=console).error.apply(t,["SEMVER"].concat(n))}:function(){},p=function(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}((function(t,e){var n=d.MAX_SAFE_COMPONENT_LENGTH,r=(e=t.exports={}).re=[],i=e.src=[],o=e.t={},a=0;(t=function(t,e,n){var s=a++;h(s,e),o[t]=s,i[s]=e,r[s]=new RegExp(e,n?"g":void 0)})("NUMERICIDENTIFIER","0|[1-9]\\d*"),t("NUMERICIDENTIFIERLOOSE","[0-9]+"),t("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),t("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),t("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),t("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),t("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),t("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),t("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),t("BUILDIDENTIFIER","[0-9A-Za-z-]+"),t("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),t("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),t("FULL","^".concat(i[o.FULLPLAIN],"$")),t("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),t("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),t("GTLT","((?:<|>)?=?)"),t("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),t("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),t("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),t("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),t("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),t("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),t("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),t("COERCERTL",i[o.COERCE],!0),t("LONETILDE","(?:~>?)"),t("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",t("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),t("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),t("LONECARET","(?:\\^)"),t("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",t("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),t("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),t("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),t("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),t("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",t("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),t("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),t("STAR","(<|>)?=?\\s*\\*"),t("GTE0","^\\s*>=\\s*0.0.0\\s*$"),t("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),v=/^[0-9]+$/,g=function(t,e){var n=v.test(t),r=v.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r||(!r||n)&&t<e?-1:1},m={compareIdentifiers:g,rcompareIdentifiers:function(t,e){return g(e,t)}},y=d.MAX_LENGTH,_=d.MAX_SAFE_INTEGER,b=p.re,x=p.t,w=m.compareIdentifiers,j=function(){function t(e,n){if(o(this,t),n&&"object"===i(n)||(n={loose:!!n,includePrerelease:!1}),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>y)throw new TypeError("version is longer than ".concat(y," characters"));if(h("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,!(n=e.trim().match(n.loose?b[x.LOOSE]:b[x.FULL])))throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>_||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(0<=e&&e<_)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}return s(t,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(h("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),w(this.major,e.major)||w(this.minor,e.minor)||w(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],i=e.prerelease[n];if(h("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return w(r,i)}while(++n)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var n=0;do{var r=this.build[n],i=e.build[n];if(h("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return w(r,i)}while(++n)}},{key:"inc",value:function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;0<=--n;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}e&&(this.prerelease[0]!==e||isNaN(this.prerelease[1]))&&(this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}]),t}(),S=d.MAX_LENGTH,O=p.re,k=p.t,E=function(t,e){if(e&&"object"===i(e)||(e={loose:!!e,includePrerelease:!1}),t instanceof j)return t;if("string"!=typeof t)return null;if(t.length>S)return null;if(!(e.loose?O[k.LOOSE]:O[k.FULL]).test(t))return null;try{return new j(t,e)}catch(t){return null}},C=function(t,e){return(e=E(t,e))?e.version:null},M=function(t,e){return(e=E(t.trim().replace(/^[=v]+/,""),e))?e.version:null},T=function(t,e,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new j(t,n).inc(e,r).version}catch(t){return null}},P=function(t,e,n){return new j(t,n).compare(new j(e,n))},A=function(t,e,n){return 0===P(t,e,n)},I=function(t,e){if(A(t,e))return null;var n,r=E(t),i=E(e),o=(e=r.prerelease.length||i.prerelease.length)?"pre":"";e=e?"prerelease":"";for(n in r)if(("major"===n||"minor"===n||"patch"===n)&&r[n]!==i[n])return o+n;return e},N=function(t,e){return new j(t,e).major},D=function(t,e){return new j(t,e).minor},R=function(t,e){return new j(t,e).patch},L=function(t,e){return(e=E(t,e))&&e.prerelease.length?e.prerelease:null},B=function(t,e,n){return P(e,t,n)},$=function(t,e){return P(t,e,!0)},F=function(t,e,n){return t=new j(t,n),n=new j(e,n),t.compare(n)||t.compareBuild(n)},z=function(t,e){return t.sort((function(t,n){return F(t,n,e)}))},V=function(t,e){return t.sort((function(t,n){return F(n,t,e)}))},q=function(t,e,n){return 0<P(t,e,n)},H=function(t,e,n){return P(t,e,n)<0},G=function(t,e,n){return 0!==P(t,e,n)},U=function(t,e,n){return 0<=P(t,e,n)},Y=function(t,e,n){return P(t,e,n)<=0},W=function(t,e,n,r){switch(e){case"===":return"object"===i(t)&&(t=t.version),"object"===i(n)&&(n=n.version),t===n;case"!==":return"object"===i(t)&&(t=t.version),"object"===i(n)&&(n=n.version),t!==n;case"":case"=":case"==":return A(t,n,r);case"!=":return G(t,n,r);case">":return q(t,n,r);case">=":return U(t,n,r);case"<":return H(t,n,r);case"<=":return Y(t,n,r);default:throw new TypeError("Invalid operator: ".concat(e))}},X=p.re,K=p.t,Z=function(t,e){if(t instanceof j)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;var n,r=null;if((e=e||{}).rtl){for(;(n=X[K.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),X[K.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;X[K.COERCERTL].lastIndex=-1}else r=t.match(X[K.COERCE]);return null===r?null:E("".concat(r[2],".").concat(r[3]||"0",".").concat(r[4]||"0"),e)},Q=function(){function t(e,n){var r=this;if(o(this,t),n&&"object"===i(n)||(n={loose:!!n,includePrerelease:!1}),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof yt)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(t){return r.parseRange(t.trim())})).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(e));this.format()}return s(t,[{key:"format",value:function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var e=this,n=this.options.loose;t=t.trim();var r=n?J[tt.HYPHENRANGELOOSE]:J[tt.HYPHENRANGE];t=t.replace(r,vt(this.options.includePrerelease)),h("hyphen replace",t),t=t.replace(J[tt.COMPARATORTRIM],et),h("comparator trim",t,J[tt.COMPARATORTRIM]),t=(t=(t=t.replace(J[tt.TILDETRIM],nt)).replace(J[tt.CARETTRIM],rt)).split(/\s+/).join(" ");var i=n?J[tt.COMPARATORLOOSE]:J[tt.COMPARATOR];return t.split(" ").map((function(t){return ot(t,e.options)})).join(" ").split(/\s+/).map((function(t){return pt(t,e.options)})).filter(this.options.loose?function(t){return!!t.match(i)}:function(){return!0}).map((function(t){return new yt(t,e.options)}))}},{key:"intersects",value:function(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((function(t){return it(t,n)&&e.set.some((function(e){return it(e,n)&&t.every((function(t){return e.every((function(e){return t.intersects(e,n)}))}))}))}))}},{key:"test",value:function(t){if(!t)return!1;if("string"==typeof t)try{t=new j(t,this.options)}catch(t){return!1}for(var e=0;e<this.set.length;e++)if(gt(this.set[e],t,this.options))return!0;return!1}}]),t}(),J=p.re,tt=p.t,et=p.comparatorTrimReplace,nt=p.tildeTrimReplace,rt=p.caretTrimReplace,it=function(t,e){for(var n=!0,r=t.slice(),i=r.pop();n&&r.length;)n=r.every((function(t){return i.intersects(t,e)})),i=r.pop();return n},ot=function(t,e){return h("comp",t,e),t=lt(t,e),h("caret",t),t=st(t,e),h("tildes",t),t=ft(t,e),h("xrange",t),t=ht(t,e),h("stars",t),t},at=function(t){return!t||"x"===t.toLowerCase()||"*"===t},st=function(t,e){return t.trim().split(/\s+/).map((function(t){return ut(t,e)})).join(" ")},ut=function(t,e){return e=e.loose?J[tt.TILDELOOSE]:J[tt.TILDE],t.replace(e,(function(e,n,r,i,o){return h("tilde",t,e,n,r,i,o),r=at(n)?"":at(r)?">=".concat(n,".0.0 <").concat(+n+1,".0.0-0"):at(i)?">=".concat(n,".").concat(r,".0 <").concat(n,".").concat(+r+1,".0-0"):o?(h("replaceTilde pr",o),">=".concat(n,".").concat(r,".").concat(i,"-").concat(o," <").concat(n,".").concat(+r+1,".0-0")):">=".concat(n,".").concat(r,".").concat(i," <").concat(n,".").concat(+r+1,".0-0"),h("tilde return",r),r}))},lt=function(t,e){return t.trim().split(/\s+/).map((function(t){return ct(t,e)})).join(" ")},ct=function(t,e){h("caret",t,e);var n=e.loose?J[tt.CARETLOOSE]:J[tt.CARET],r=e.includePrerelease?"-0":"";return t.replace(n,(function(e,n,i,o,a){return h("caret",t,e,n,i,o,a),n=at(n)?"":at(i)?">=".concat(n,".0.0").concat(r," <").concat(+n+1,".0.0-0"):at(o)?"0"===n?">=".concat(n,".").concat(i,".0").concat(r," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".0").concat(r," <").concat(+n+1,".0.0-0"):a?(h("replaceCaret pr",a),"0"===n?"0"===i?">=".concat(n,".").concat(i,".").concat(o,"-").concat(a," <").concat(n,".").concat(i,".").concat(+o+1,"-0"):">=".concat(n,".").concat(i,".").concat(o,"-").concat(a," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".").concat(o,"-").concat(a," <").concat(+n+1,".0.0-0")):(h("no pr"),"0"===n?"0"===i?">=".concat(n,".").concat(i,".").concat(o).concat(r," <").concat(n,".").concat(i,".").concat(+o+1,"-0"):">=".concat(n,".").concat(i,".").concat(o).concat(r," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".").concat(o," <").concat(+n+1,".0.0-0")),h("caret return",n),n}))},ft=function(t,e){return h("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return dt(t,e)})).join(" ")},dt=function(t,e){t=t.trim();var n=e.loose?J[tt.XRANGELOOSE]:J[tt.XRANGE];return t.replace(n,(function(n,r,i,o,a,s){h("xRange",t,n,r,i,o,a,s);var u=at(i),l=u||at(o),c=l||at(a);return"="===r&&c&&(r=""),s=e.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&c?(l&&(o=0),a=0,">"===r?(r=">=",a=l?(i=+i+1,o=0):(o=+o+1,0)):"<="===r&&(r="<",l?i=+i+1:o=+o+1),"<"===r&&(s="-0"),n="".concat(r+i,".").concat(o,".").concat(a).concat(s)):l?n=">=".concat(i,".0.0").concat(s," <").concat(+i+1,".0.0-0"):c&&(n=">=".concat(i,".").concat(o,".0").concat(s," <").concat(i,".").concat(+o+1,".0-0")),h("xRange return",n),n}))},ht=function(t,e){return h("replaceStars",t,e),t.trim().replace(J[tt.STAR],"")},pt=function(t,e){return h("replaceGTE0",t,e),t.trim().replace(J[e.includePrerelease?tt.GTE0PRE:tt.GTE0],"")},vt=function(t){return function(e,n,r,i,o,a,s,u,l,c,f,d,h){return n=at(r)?"":at(i)?">=".concat(r,".0.0").concat(t?"-0":""):at(o)?">=".concat(r,".").concat(i,".0").concat(t?"-0":""):a?">=".concat(n):">=".concat(n).concat(t?"-0":""),u=at(l)?"":at(c)?"<".concat(+l+1,".0.0-0"):at(f)?"<".concat(l,".").concat(+c+1,".0-0"):d?"<=".concat(l,".").concat(c,".").concat(f,"-").concat(d):t?"<".concat(l,".").concat(c,".").concat(+f+1,"-0"):"<=".concat(u),"".concat(n," ").concat(u).trim()}},gt=function(t,e,n){for(var r=0;r<t.length;r++)if(!t[r].test(e))return!1;if(!e.prerelease.length||n.includePrerelease)return!0;for(var i=0;i<t.length;i++)if(h(t[i].semver),t[i].semver!==yt.ANY&&0<t[i].semver.prerelease.length){var o=t[i].semver;if(o.major===e.major&&o.minor===e.minor&&o.patch===e.patch)return!0}return!1},mt=Symbol("SemVer ANY"),yt=function(){function t(e,n){if(o(this,t),n&&"object"===i(n)||(n={loose:!!n,includePrerelease:!1}),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}h("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===mt?this.value="":this.value=this.operator+this.semver.version,h("comp",this)}return s(t,null,[{key:"ANY",get:function(){return mt}}]),s(t,[{key:"parse",value:function(t){var e=this.options.loose?_t[bt.COMPARATORLOOSE]:_t[bt.COMPARATOR];if(!(e=t.match(e)))throw new TypeError("Invalid comparator: ".concat(t));this.operator=void 0!==e[1]?e[1]:"","="===this.operator&&(this.operator=""),e[2]?this.semver=new j(e[2],this.options.loose):this.semver=mt}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(t){if(h("Comparator.test",t,this.options.loose),this.semver===mt||t===mt)return!0;if("string"==typeof t)try{t=new j(t,this.options)}catch(t){return!1}return W(t,this.operator,this.semver,this.options)}},{key:"intersects",value:function(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");if(n&&"object"===i(n)||(n={loose:!!n,includePrerelease:!1}),""===this.operator)return""===this.value||new Q(e.value,n).test(this.value);if(""===e.operator)return""===e.value||new Q(this.value,n).test(e.semver);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=W(this.semver,"<",e.semver,n)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator);e=W(this.semver,">",e.semver,n)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||a&&s||u||e}}]),t}(),_t=p.re,bt=p.t,xt=function(t,e,n){try{e=new Q(e,n)}catch(t){return!1}return e.test(t)},wt=function(t,e){return new Q(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))},jt=function(t,e,n){var r=null,i=null,o=null;try{o=new Q(e,n)}catch(t){return null}return t.forEach((function(t){o.test(t)&&(r&&-1!==i.compare(t)||(i=new j(r=t,n)))})),r},St=function(t,e,n){var r=null,i=null,o=null;try{o=new Q(e,n)}catch(t){return null}return t.forEach((function(t){o.test(t)&&(r&&1!==i.compare(t)||(i=new j(r=t,n)))})),r},Ot=function(t,e){t=new Q(t,e);var n=new j("0.0.0");if(t.test(n))return n;if(n=new j("0.0.0-0"),t.test(n))return n;n=null;for(var r=0;r<t.set.length;++r)t.set[r].forEach((function(t){var e=new j(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":n&&!q(n,e)||(n=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(t.operator))}}));return n&&t.test(n)?n:null},kt=function(t,e){try{return new Q(t,e).range||"*"}catch(t){return null}},Et=yt.ANY,Ct=function(t,e,n,r){var o,a,s,u,l;switch(t=new j(t,r),e=new Q(e,r),n){case">":o=q,a=Y,s=H,u=">",l=">=";break;case"<":o=H,a=U,s=q,u="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(xt(t,e,r))return!1;for(var c=0;c<e.set.length;++c){var f=function(n){n=e.set[n];var i=null,c=null;return n.forEach((function(t){t.semver===Et&&(t=new yt(">=0.0.0")),i=i||t,c=c||t,o(t.semver,i.semver,r)?i=t:s(t.semver,c.semver,r)&&(c=t)})),i.operator===u||i.operator===l||(!c.operator||c.operator===u)&&a(t,c.semver)||c.operator===l&&s(t,c.semver)?{v:!1}:void 0}(c);if("object"===i(f))return f.v}return!0},Mt=function(t,e,n){return Ct(t,e,">",n)},Tt=function(t,e,n){return Ct(t,e,"<",n)},Pt=function(t,e,n){return t=new Q(t,n),e=new Q(e,n),t.intersects(e)},At=yt.ANY,It=function(t,e,n){t=new Q(t,n),e=new Q(e,n);var r,i=!1,o=f(t.set);try{t:for(o.s();!(r=o.n()).done;){var a=r.value,s=f(e.set);try{for(s.s();!(u=s.n()).done;){var u=u.value;u=Nt(a,u,n),i=i||null!==u;if(u)continue t}}catch(t){s.e(t)}finally{s.f()}if(i)return!1}}catch(t){o.e(t)}finally{o.f()}return!0},Nt=function(t,e,n){if(1===t.length&&t[0].semver===At)return 1===e.length&&e[0].semver===At;var r,i,o,a=new Set,s=f(t);try{for(s.s();!(u=s.n()).done;){var u=u.value;">"===u.operator||">="===u.operator?r=Dt(r,u,n):"<"===u.operator||"<="===u.operator?i=Rt(i,u,n):a.add(u.semver)}}catch(t){s.e(t)}finally{s.f()}if(1<a.size)return null;if(r&&i){if(0<(o=P(r.semver,i.semver,n)))return null;if(0===o&&(">="!==r.operator||"<="!==i.operator))return null}var l,c=f(a);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(r&&!xt(d,String(r),n))return null;if(i&&!xt(d,String(i),n))return null;var h=f(e);try{for(h.s();!(p=h.n()).done;){var p=p.value;if(!xt(d,String(p),n))return!1}}catch(t){h.e(t)}finally{h.f()}return!0}}catch(t){c.e(t)}finally{c.f()}var v=f(e);try{for(v.s();!(g=v.n()).done;){var g=g.value,m=m||">"===g.operator||">="===g.operator,y=y||"<"===g.operator||"<="===g.operator;if(r)if(">"===g.operator||">="===g.operator){if(Dt(r,g,n)===g)return!1}else if(">="===r.operator&&!xt(r.semver,String(g),n))return!1;if(i)if("<"===g.operator||"<="===g.operator){if(Rt(i,g,n)===g)return!1}else if("<="===i.operator&&!xt(i.semver,String(g),n))return!1;if(!g.operator&&(i||r)&&0!==o)return!1}}catch(t){v.e(t)}finally{v.f()}return!(r&&y&&!i&&0!==o||i&&m&&!r&&0!==o)},Dt=function(t,e,n){return t&&(0<(n=P(t.semver,e.semver,n))||!(n<0||">"===e.operator&&">="===t.operator))?t:e},Rt=function(t,e,n){return t&&((n=P(t.semver,e.semver,n))<0||!(0<n||"<"===e.operator&&"<="===t.operator))?t:e},Lt={re:p.re,src:p.src,tokens:p.t,SEMVER_SPEC_VERSION:d.SEMVER_SPEC_VERSION,SemVer:j,compareIdentifiers:m.compareIdentifiers,rcompareIdentifiers:m.rcompareIdentifiers,parse:E,valid:C,clean:M,inc:T,diff:I,major:N,minor:D,patch:R,prerelease:L,compare:P,rcompare:B,compareLoose:$,compareBuild:F,sort:z,rsort:V,gt:q,lt:H,eq:A,neq:G,gte:U,lte:Y,cmp:W,coerce:Z,Comparator:yt,Range:Q,satisfies:xt,toComparators:wt,maxSatisfying:jt,minSatisfying:St,minVersion:Ot,validRange:kt,outside:Ct,gtr:Mt,ltr:Tt,intersects:Pt,simplifyRange:function(t,e,n){var r=[],i=null,o=null,a=t.sort((function(t,e){return P(t,e,n)})),s=f(a);try{for(s.s();!(l=s.n()).done;){var l=l.value;i=xt(l,e,n)?(o=l,i||l):(o&&r.push([i,o]),o=null)}}catch(t){s.e(t)}finally{s.f()}i&&r.push([i,null]);for(var c=[],d=0,h=r;d<h.length;d++){var p=u(h[d],2),v=p[0];v===(p=p[1])?c.push(v):p||v!==a[0]?p?v===a[0]?c.push("<=".concat(p)):c.push("".concat(v," - ").concat(p)):c.push(">=".concat(v)):c.push("*")}var g=c.join(" || ");t="string"==typeof e.raw?e.raw:String(e);return g.length<t.length?g:e},subset:It};!function(){function n(t,e){n.installed||(e?null!=Lt.valid(t.version)?(n.installed=!0,Lt.lt(t.version,"3.0.0")?Object.defineProperties(t.prototype,{axios:{get:function(){return e}},$http:{get:function(){return e}}}):(t.config.globalProperties.axios=e,t.config.globalProperties.$http=e),t.axios=e,t.$http=e):console.error("Unkown vue version"):console.error("You have to install axios"))}"object"==i(e)?t.exports=n:void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()}).call(this,n(94))},function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.r(e);var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(i,o).replace(a,",")};function u(t){try{return decodeURIComponent(t)}catch(t){0}return t}var l=function(t){return null==t||"object"==typeof t?t:String(t)};function c(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=u(n.shift()),i=n.length>0?u(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function f(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function h(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=p(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:m(e,i),matched:t?g(t):[]};return n&&(a.redirectedFrom=m(n,i)),Object.freeze(a)}function p(t){if(Array.isArray(t))return t.map(p);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=p(t[n]);return e}return t}var v=h(null,{path:"/"});function g(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function m(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||f)(r)+i}function y(t,e,n){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?_(o,a):String(o)===String(a)}))}function b(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var x={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=o.$createElement,u=n.name,l=o.$route,c=o._routerViewCache||(o._routerViewCache={}),f=0,d=!1;o&&o._routerRoot!==o;){var h=o.$vnode?o.$vnode.data:{};h.routerView&&f++,h.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=f,d){var p=c[u],v=p&&p.component;return v?(p.configProps&&w(v,a,p.route,p.configProps),s(v,a,i)):s()}var g=l.matched[f],m=g&&g.components[u];if(!g||!m)return c[u]=null,s();c[u]={component:m},a.registerRouteInstance=function(t,e){var n=g.instances[u];(e&&n!==t||!e&&n===t)&&(g.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[u]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[u]&&(g.instances[u]=t.componentInstance),b(l)};var y=g.props&&g.props[u];return y&&(r(c[u],{route:l,configProps:y}),w(m,a,l,y)),s(m,a,i)}};function w(t,e,n,i){var o=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function j(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function S(t){return t.replace(/\/\//g,"/")}var O=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},k=F,E=A,C=function(t,e){return N(A(t,e),e)},M=N,T=$,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function A(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=P.exec(t));){var u=n[0],l=n[1],c=n.index;if(a+=t.slice(o,c),o=c+u.length,l)a+=l[1];else{var f=t[o],d=n[2],h=n[3],p=n[4],v=n[5],g=n[6],m=n[7];a&&(r.push(a),a="");var y=null!=d&&null!=f&&f!==d,_="+"===g||"*"===g,b="?"===g||"*"===g,x=n[2]||s,w=p||v;r.push({name:h||i++,prefix:d||"",delimiter:x,optional:b,repeat:_,partial:y,asterisk:!!m,pattern:w?R(w):m?".*":"[^"+D(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function I(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function N(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",B(e)));return function(e,r){for(var i="",o=e||{},a=(r||{}).pretty?I:encodeURIComponent,s=0;s<t.length;s++){var u=t[s];if("string"!=typeof u){var l,c=o[u.name];if(null==c){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(O(c)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(0===c.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<c.length;f++){if(l=a(c[f]),!n[s].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===f?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?encodeURI(c).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):a(c),!n[s].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function D(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function R(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function L(t,e){return t.keys=e,t}function B(t){return t&&t.sensitive?"":"i"}function $(t,e,n){O(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=D(s);else{var u=D(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+u+l+")*"),o+=l=s.optional?s.partial?u+"("+l+")?":"(?:"+u+"("+l+"))?":u+"("+l+")"}}var c=D(n.delimiter||"/"),f=o.slice(-c.length)===c;return r||(o=(f?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+c+"|$)",L(new RegExp("^"+o,B(n)),e)}function F(t,e,n){return O(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return L(t,e)}(t,e):O(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(F(t[i],e,n).source);return L(new RegExp("(?:"+r.join("|")+")",B(n)),e)}(t,e,n):function(t,e,n){return $(A(t,n),e,n)}(t,e,n)}k.parse=E,k.compile=C,k.tokensToFunction=M,k.tokensToRegExp=T;var z=Object.create(null);function V(t,e,n){e=e||{};try{var r=z[t]||(z[t]=k.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function q(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var a=(o=r({},t)).params;return a&&"object"==typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var u=e.matched[e.matched.length-1].path;o.path=V(u,s,e.path)}else 0;return o}var f=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(o.path||""),d=e&&e.path||"/",h=f.path?j(f.path,d,n||o.append):d,p=function(t,e,n){void 0===e&&(e={});var r,i=n||c;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(l):l(a)}return r}(f.query,o.query,i&&i.options.parseQuery),v=o.hash||f.hash;return v&&"#"!==v.charAt(0)&&(v="#"+v),{_normalized:!0,path:h,query:p,hash:v}}var H,G=function(){},U={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,u=o.href,l={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==c?"router-link-active":c,v=null==f?"router-link-exact-active":f,g=null==this.activeClass?p:this.activeClass,m=null==this.exactActiveClass?v:this.exactActiveClass,_=s.redirectedFrom?h(null,q(s.redirectedFrom),null,n):s;l[m]=y(i,_,this.exactPath),l[g]=this.exact||this.exactPath?l[m]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,_);var b=l[m]?this.ariaCurrentValue:null,x=function(t){Y(t)&&(e.replace?n.replace(a,G):n.push(a,G))},w={click:Y};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=x})):w[this.event]=x;var j={class:l},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:s,navigate:x,isActive:l[g],isExactActive:l[m]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)j.on=w,j.attrs={href:u,"aria-current":b};else{var O=function t(e){var n;if(e)for(var r=0;r<e.length;r++){if("a"===(n=e[r]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(O){O.isStatic=!1;var k=O.data=r({},O.data);for(var E in k.on=k.on||{},k.on){var C=k.on[E];E in w&&(k.on[E]=Array.isArray(C)?C:[C])}for(var M in w)M in k.on?k.on[M].push(w[M]):k.on[M]=x;var T=O.data.attrs=r({},O.data.attrs);T.href=u,T["aria-current"]=b}else j.on=w}return t(this.tag,j,this.$slots.default)}};function Y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var W="undefined"!=typeof window;function X(t,e,n,r,i){var o=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){!function t(e,n,r,i,o,a){var s=i.path,u=i.name;0;var l=i.pathToRegexpOptions||{},c=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return S(e.path+"/"+t)}(s,o,l.strict);"boolean"==typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var f={path:c,regex:K(c,l),components:i.components||{default:i.component},alias:i.alias?"string"==typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:u,parent:o,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};i.children&&i.children.forEach((function(i){var o=a?S(a+"/"+i.path):void 0;t(e,n,r,i,f,o)}));n[f.path]||(e.push(f.path),n[f.path]=f);if(void 0!==i.alias)for(var d=Array.isArray(i.alias)?i.alias:[i.alias],h=0;h<d.length;++h){0;var p={path:d[h],children:i.children};t(e,n,r,p,o,f.path||"/")}u&&(r[u]||(r[u]=f))}(o,a,s,t,i)}));for(var u=0,l=o.length;u<l;u++)"*"===o[u]&&(o.push(o.splice(u,1)[0]),l--,u--);return{pathList:o,pathMap:a,nameMap:s}}function K(t,e){return k(t,[],e)}function Z(t,e){var n=X(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=q(t,n,!1,e),l=s.name;if(l){var c=o[l];if(!c)return u(null,s);var f=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in s.params)&&f.indexOf(d)>-1&&(s.params[d]=n.params[d]);return s.path=V(c.path,s.params),u(c,s,a)}if(s.path){s.params={};for(var h=0;h<r.length;h++){var p=r[h],v=i[p];if(Q(v.regex,s.path,s.params))return u(v,s,a)}}return u(null,s)}function s(t,n){var r=t.redirect,i="function"==typeof r?r(h(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return u(null,n);var s=i,l=s.name,c=s.path,f=n.query,d=n.hash,p=n.params;if(f=s.hasOwnProperty("query")?s.query:f,d=s.hasOwnProperty("hash")?s.hash:d,p=s.hasOwnProperty("params")?s.params:p,l){o[l];return a({_normalized:!0,name:l,query:f,hash:d,params:p},void 0,n)}if(c){var v=function(t,e){return j(t,e.parent?e.parent.path:"/",!0)}(c,t);return a({_normalized:!0,path:V(v,p),query:f,hash:d},void 0,n)}return u(null,n)}function u(t,n,r){return t&&t.redirect?s(t,r||n):t&&t.matchAs?function(t,e,n){var r=a({_normalized:!0,path:V(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,u(o,e)}return u(null,e)}(0,n,t.matchAs):h(t,n,r,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;X([e||t],r,i,o,n),n&&X(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){X(t,r,i,o)}}}function Q(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=t.keys[i-1];a&&(n[a.name||"pathMatch"]="string"==typeof r[i]?u(r[i]):r[i])}return!0}var J=W&&window.performance&&window.performance.now?window.performance:Date;function tt(){return J.now().toFixed(3)}var et=tt();function nt(){return et}function rt(t){return et=t}var it=Object.create(null);function ot(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=nt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ut),function(){window.removeEventListener("popstate",ut)}}function at(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=nt();if(t)return it[t]}(),a=i.call(t,e,n,r?o:null);a&&("function"==typeof a.then?a.then((function(t){ht(t,o)})).catch((function(t){0})):ht(a,o))}))}}function st(){var t=nt();t&&(it[t]={x:window.pageXOffset,y:window.pageYOffset})}function ut(t){st(),t.state&&t.state.key&&rt(t.state.key)}function lt(t){return ft(t.x)||ft(t.y)}function ct(t){return{x:ft(t.x)?t.x:window.pageXOffset,y:ft(t.y)?t.y:window.pageYOffset}}function ft(t){return"number"==typeof t}var dt=/^#\d/;function ht(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=dt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:ft((n=o).x)?n.x:0,y:ft(n.y)?n.y:0})}else lt(t)&&(e=ct(t))}else r&<(t)&&(e=ct(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var pt,vt=W&&((-1===(pt=window.navigator.userAgent).indexOf("Android 2.")&&-1===pt.indexOf("Android 4.0")||-1===pt.indexOf("Mobile Safari")||-1!==pt.indexOf("Chrome")||-1!==pt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function gt(t,e){st();var n=window.history;try{if(e){var i=r({},n.state);i.key=nt(),n.replaceState(i,"",t)}else n.pushState({key:rt(tt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function mt(t){gt(t,!0)}function yt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function bt(t,e){return wt(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return jt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function xt(t,e){return wt(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function wt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var jt=["params","query","hash"];function St(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Ot(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function kt(t){return function(e,n,r){var i=!1,o=0,a=null;Et(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var u,l=Tt((function(e){var i;((i=e).__esModule||Mt&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:H.extend(e),n.components[s]=e,--o<=0&&r()})),c=Tt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),r(a))}));try{u=t(l,c)}catch(t){c(t)}if(u)if("function"==typeof u.then)u.then(l,c);else{var f=u.component;f&&"function"==typeof f.then&&f.then(l,c)}}})),i||r()}}function Et(t,e){return Ct(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Ct(t){return Array.prototype.concat.apply([],t)}var Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Tt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Pt=function(t,e){this.router=t,this.base=function(t){if(!t)if(W){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function At(t,e,n,r){var i=Et(t,(function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=H.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,i,o)})):n(a,r,i,o)}));return Ct(r?i.reverse():i)}function It(t,e){if(e)return function(){return t.apply(e,arguments)}}Pt.prototype.listen=function(t){this.cb=t},Pt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Pt.prototype.onError=function(t){this.errorCbs.push(t)},Pt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(Ot(t,_t.redirected)&&o===v||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},Pt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,a,s=function(t){!Ot(t)&&St(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},u=t.matched.length-1,l=i.matched.length-1;if(y(t,i)&&u===l&&t.matched[u]===i.matched[l])return this.ensureURL(),s(((a=wt(o=i,t,_t.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var c=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),f=c.updated,d=c.deactivated,h=c.activated,p=[].concat(function(t){return At(t,"beforeRouteLeave",It,!0)}(d),this.router.beforeHooks,function(t){return At(t,"beforeRouteUpdate",It)}(f),h.map((function(t){return t.beforeEnter})),kt(h)),v=function(e,n){if(r.pending!==t)return s(xt(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),s(function(t,e){return wt(t,e,_t.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):St(e)?(r.ensureURL(!0),s(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(s(bt(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){s(t)}};yt(p,v,(function(){yt(function(t){return At(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(h).concat(r.router.resolveHooks),v,(function(){if(r.pending!==t)return s(xt(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){b(t)}))}))}))},Pt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Pt.prototype.setupListeners=function(){},Pt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=v,this.pending=null};var Nt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Dt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=vt&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Dt(t.base);t.current===v&&i===t._startLocation||t.transitionTo(i,(function(t){r&&at(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){gt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){mt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Dt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?gt(e):mt(e)}},e.prototype.getCurrentLocation=function(){return Dt(this.base)},e}(Pt);function Dt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Rt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Dt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Lt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=vt&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Lt()&&t.transitionTo(Bt(),(function(r){n&&at(t.router,r,e,!0),vt||zt(r.fullPath)}))},i=vt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ft(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){zt(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Bt()!==e&&(t?Ft(e):zt(e))},e.prototype.getCurrentLocation=function(){return Bt()},e}(Pt);function Lt(){var t=Bt();return"/"===t.charAt(0)||(zt("/"+t),!1)}function Bt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function $t(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ft(t){vt?gt($t(t)):window.location.hash=t}function zt(t){vt?mt($t(t)):window.location.replace($t(t))}var Vt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Ot(t,_t.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Pt),qt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!vt&&!1!==t.fallback,this.fallback&&(e="hash"),W||(e="abstract"),this.mode=e,e){case"history":this.history=new Nt(this,t.base);break;case"hash":this.history=new Rt(this,t.base,this.fallback);break;case"abstract":this.history=new Vt(this,t.base);break;default:0}},Ht={currentRoute:{configurable:!0}};function Gt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}qt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ht.currentRoute.get=function(){return this.history&&this.history.current},qt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Nt||n instanceof Rt){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;vt&&i&&"fullPath"in t&&at(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},qt.prototype.beforeEach=function(t){return Gt(this.beforeHooks,t)},qt.prototype.beforeResolve=function(t){return Gt(this.resolveHooks,t)},qt.prototype.afterEach=function(t){return Gt(this.afterHooks,t)},qt.prototype.onReady=function(t,e){this.history.onReady(t,e)},qt.prototype.onError=function(t){this.history.onError(t)},qt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},qt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},qt.prototype.go=function(t){this.history.go(t)},qt.prototype.back=function(){this.go(-1)},qt.prototype.forward=function(){this.go(1)},qt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},qt.prototype.resolve=function(t,e,n){var r=q(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},qt.prototype.getRoutes=function(){return this.matcher.getRoutes()},qt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},qt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(qt.prototype,Ht),qt.install=function t(e){if(!t.installed||H!==e){t.installed=!0,H=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",x),e.component("RouterLink",U);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},qt.version="3.5.1",qt.isNavigationFailure=Ot,qt.NavigationFailureType=_t,qt.START_LOCATION=v,W&&window.Vue&&window.Vue.use(qt),e.default=qt},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"Store",(function(){return f})),n.d(e,"createLogger",(function(){return C})),n.d(e,"createNamespacedHelpers",(function(){return S})),n.d(e,"install",(function(){return _})),n.d(e,"mapActions",(function(){return j})),n.d(e,"mapGetters",(function(){return w})),n.d(e,"mapMutations",(function(){return x})),n.d(e,"mapState",(function(){return b}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=i(t[n],e)})),o}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,u);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},l.prototype.update=function(t){!function t(e,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},l.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(e,n);0===t.length?this.root=i:this.get(t.slice(0,-1)).addChild(t[t.length-1],i);e.modules&&o(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var c;var f=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var u=this._modules.root.state;g(this,u,[],this._modules.root),v(this,u),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.config.devtools)&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},d={state:{configurable:!0}};function h(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;g(t,n,[],t._modules.root,!0),v(t,n,e)}function v(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};o(i,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:a}),c.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),c.nextTick((function(){return r.$destroy()})))}function g(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=m(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){c.set(s,u,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=y(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:r?t.commit:function(n,r,i){var o=y(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,n)}}}),i}(t,a,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,a+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,l)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,a+n,e,l)})),r.forEachChild((function(r,o){g(t,e,n.concat(o),r,i)}))}function m(t,e){return e.reduce((function(t,e){return t[e]}),t)}function y(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){c&&t===c||
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(t){0},f.prototype.commit=function(t,e,n){var r=this,i=y(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},f.prototype.dispatch=function(t,e){var n=this,r=y(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(t){0}var u=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(t){0}e(t)}))}))}},f.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},f.prototype.subscribeAction=function(t,e){return h("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},f.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},f.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},f.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),g(this,this.state,t,this._modules.get(t),n.preserveState),v(this,this.state)},f.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=m(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),p(this)},f.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},f.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},f.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(f.prototype,d);var b=k((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=E(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),x=k((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=E(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),w=k((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||E(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),j=k((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=E(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),S=function(t){return{mapState:b.bind(null,t),mapGetters:w.bind(null,t),mapMutations:x.bind(null,t),mapActions:j.bind(null,t)}};function O(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function k(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function E(t,e,n){return t._modulesNamespaceMap[n]}function C(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var u=t.logMutations;void 0===u&&(u=!0);var l=t.logActions;void 0===l&&(l=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var f=i(t.state);void 0!==c&&(u&&t.subscribe((function(t,a){var s=i(a);if(n(t,f,s)){var u=P(),l=o(t),d="mutation "+t.type+u;M(c,d,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),T(c)}f=s})),l&&t.subscribeAction((function(t,n){if(a(t,n)){var r=P(),i=s(t),o="action "+t.type+r;M(c,o,e),c.log("%c action","color: #03A9F4; font-weight: bold",i),T(c)}})))}}function M(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function T(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function P(){var t=new Date;return" @ "+A(t.getHours(),2)+":"+A(t.getMinutes(),2)+":"+A(t.getSeconds(),2)+"."+A(t.getMilliseconds(),3)}function A(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var I={Store:f,install:_,version:"3.6.2",mapState:b,mapMutations:x,mapGetters:w,mapActions:j,createNamespacedHelpers:S,createLogger:C};e.default=I}.call(this,n(52))}]);
|